Home | History | Annotate | only in /external/antlr/antlr-3.4/runtime/Perl5/examples
Up to higher level directory
NameDateSize
expr/13-Nov-2012
id/13-Nov-2012
mexpr/13-Nov-2012
README13-Nov-2012412
simplecalc/13-Nov-2012
tweak/13-Nov-2012
zero-one/13-Nov-2012

README

      1 This directory contains examples for the Perl 5 code generation target.
      2 
      3 First you need to compile ANTLR, running "ant" in the top level directory.
      4 
      5 Then you need to build the Perl module.
      6 
      7     perl Makefile.PL
      8     make
      9 
     10 After that you need to compile the grammar using ANTLR, for example by using
     11 the antlr.bat I've added.
     12 
     13     cd examples\expr
     14     ..\..\antlr Expr.g
     15 
     16 Finally you can run the example programs.
     17