1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
expr Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
id Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
mexpr Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
simplecalc Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
tweak Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
zero-one Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README

This directory contains examples for the Perl 5 code generation target.

First you need to compile ANTLR, running "ant" in the top level directory.

Then you need to build the Perl module.

    perl Makefile.PL
    make

After that you need to compile the grammar using ANTLR, for example by using
the antlr.bat I've added.

    cd examples\expr
    ..\..\antlr Expr.g

Finally you can run the example programs.