Parrot/PGE, parsers Parsers, Perl 6 Rules, and the Parrot Grammar Engine  
  1. Overview
  2. Introduction
  3. Parsing
  4. Syntax
  5. Syntax
  6. Grammars
  7. Parser Grammar Engine (PGE)
  8. Parser Grammar Compiler (pgc.pir)
  9. Example
  10. Compiling the grammar
  11. Using the compiled parser subroutines from PIR
  12. Token vs. rule
  13. Token vs. rule
  14. Token vs. rule
  15.  
  16. Custom parsing subroutines
  17. Custom parsing subroutines
  18. <PGE::Text::bracketed>
  19. Creating a custom parse subroutine in PIR
  20. Creating a custom parse subroutine in PIR
  21. Example
  22. Expression parsing
  23. Expression parsing
  24. Operator precedence parsing
  25. Operator precedence parsing
  26. Syntactic categories
  27. Operator traits
  28. Operator traits
  29. Still more operator traits
  30. Calling other rules -- the "parsed" trait
  31. Calling the operator precedence parser as a subrule
  32. !!! Important note !!!
  33. When things go wrong -- syntax errors
  34. <PGE::Util::die>
  35. Syntax errors w/die
  36. Syntax errors w/die
  37. Conclusions
Copyright © 2006 Patrick Michaud