Compiling to recurrent neurons