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. Custom parsing subroutines
  16. Custom parsing subroutines
  17. <PGE::Text::bracketed>
  18. Creating a custom parse subroutine in PIR
  19. Creating a custom parse subroutine in PIR
  20. Example
  21. Expression parsing
  22. Expression parsing
  23. Operator precedence parsing
  24. Operator precedence parsing
  25. Syntactic categories
  26. Operator traits
  27. Operator traits
  28. Still more operator traits
  29. Calling other rules -- the "parsed" trait
  30. Calling the operator precedence parser as a subrule
  31. !!! Important note !!!
  32. When things go wrong -- syntax errors
  33. <PGE::Util::die>
  34. Syntax errors w/die
  35. Syntax errors w/die
  36. Conclusions
Copyright © 2006 Patrick Michaud