Compiling ast and parser