Parrot Compiler Tools Parrot Compiler Tools  
  1. What is the Parrot Compiler Toolkit?
  2. Basic compilation overview, June 2007
  3. Basic compilation overview, June 2007
  4. Basic compilation overview, June 2007
  5. Basic compilation overview, June 2007
  6. Basic compilation overview, June 2007
  7. Basic compilation overview, June 2007
  8. What the compiler writer needs to create
  9. Steps to writing a compiler
  10. "abc" example
  11. Define a grammar - "abc example"
  12. Compile parse grammar with Perl6Grammar
  13. Install parse grammar in HLLCompiler object
  14. Building a HLL parser
  15. Build compiler and test parsing
  16. HLLCompiler class
  17. Parrot Abstract Syntax Tree (PAST)
  18. Implementation note
  19. PAST::Node
  20. PAST::Val
  21. PAST::Op
  22. An ast grammar for our "abc example" (term node)
  23. An ast grammar for our "abc example" (statement node)
  24. An ast grammar for our "abc example" (ROOT node)
  25. astgrammars in Perl 6
  26. Compiling the ast grammar (TGE)
  27. Install the astgrammar into HLLCompiler object
  28. (Re-)Build compiler and test ast
  29. Or, as PIR:
  30. Or, as an executable
  31. Tool effectiveness
  32. Other PAST node types
  33. PAST::Var
  34. PAST::Block
  35. Bottom-up, operator precedence compilation
  36. Changes to grammar for bottom-up example
  37. Defining tokens
  38. AST for expression tokens
  39. Traits on expression tokens can be useful here
  40. Some PIR code for handling expression tokens
  41. Other examples, time permitting:
  42. Where we're going from here
  43. Sneak peek: transformation rules using NQP #1
  44. Sneak peek: transformation rules using NQP #2
  45. Sneak peek: transformation rules using NQP #2
  46. Sneak peek: transformation rules using NQP #3
Copyright © 2007 Patrick Michaud