- What is the Parrot Compiler Toolkit?
- Basic compilation overview, June 2007
- Basic compilation overview, June 2007
- Basic compilation overview, June 2007
- Basic compilation overview, June 2007
- Basic compilation overview, June 2007
- Basic compilation overview, June 2007
- What the compiler writer needs to create
- Steps to writing a compiler
- "abc" example
- Define a grammar - "abc example"
- Compile parse grammar with Perl6Grammar
- Install parse grammar in HLLCompiler object
- Building a HLL parser
- Build compiler and test parsing
- HLLCompiler class
- Parrot Abstract Syntax Tree (PAST)
- Implementation note
- PAST::Node
- PAST::Val
- PAST::Op
- An ast grammar for our "abc example" (term node)
- An ast grammar for our "abc example" (statement node)
- An ast grammar for our "abc example" (ROOT node)
- astgrammars in Perl 6
- Compiling the ast grammar (TGE)
- Install the astgrammar into HLLCompiler object
- (Re-)Build compiler and test ast
- Or, as PIR:
- Or, as an executable
- Tool effectiveness
- Other PAST node types
- PAST::Var
- PAST::Block
- Bottom-up, operator precedence compilation
- Changes to grammar for bottom-up example
- Defining tokens
- AST for expression tokens
- Traits on expression tokens can be useful here
- Some PIR code for handling expression tokens
- Other examples, time permitting:
- Where we're going from here
- Sneak peek: transformation rules using NQP #1
- Sneak peek: transformation rules using NQP #2
- Sneak peek: transformation rules using NQP #2
- Sneak peek: transformation rules using NQP #3
- .end