Getting Started

  1. Download Irony and PGIrony;
  2. Add Irony.dll and PGIrony.dll to your project as references;
  3. Add Required Namespace References to Grammar File;
  4. Define Subclass stubs for Grammar class and AST support classes;
  5. Define Terminals;
  6. Define NonTerminals;
  7. Define Rules;
  8. Define Subclass stubs for required AstNodes;
  9. Compile and test AstGrammarTest.dll in Irony.GrammarExplorer.;
  10. Expand your stubs for MyAstContext and subclasses of AstNode as required.
The complete source code for AstGrammarTest - A Simple Statement-List grammar.

Notable Extensions:

Last edited Nov 7, 2012 at 11:04 PM by pgeerkens, version 23


No comments yet.