cd code
Read README.md
Build & run code/ex1_calc
Lexer : Splits source code in to tokens which are special keywords and structures of specific programming language
Parser : Identifies patterns of token set and build Abstract Syntax Tree(AST).
Generator : Generates the syntax of target language
(Lexer and Parser source codes will be generated automatically by Antlr)
ex2_imagegen: Use a visitor and navigate the parsing tree produced by a parser. C++ program generates simple images
Read https://tomassetti.me/getting-started-antlr-cpp/
Read 'Hot to run second example' in code/README.md
Build & run code/ex2_imagegen