# Examples ## 1. Introduction - StraightLinePL: examples of a compiler and an interpreter for a toy language ## 4. Parsing in Practice - StraightLinePL: an interpreter for the toy language using Java Tree Builder ## 7. Code Generation - StraightLinePL: a compiler for the toy language using BCEL to generate bytecode ## 10. PEGs - SimplePackrat: a scannerless parser and a packrat parser for an expression language - JParsecTutorial: standard tutorial example ## 13. Program Transformation [ON] - Stratego: expression language with Stratego/XT [not working in latest version?] - TXL: several examples of transformations in TXL - ASTExamplePlugin: sample refactoring plugin to rename fields in eclipse - AJTJP: logging demo with AspectJ - AJVisitor: making a class visitable with AspectJ ---