Refactored AST generation, AST support for rll