Steps to writing a compiler
- Define a parse grammar
- Compile parse grammar with Perl6Grammar.pir
- Install parse grammar in HLLCompiler object
- Test parsing with --target=parse
- Create an ast grammar
- Install ast grammar in HLLCompiler object
- Test using --target=past, --target=pir, --target=post