The homework of 'Programming Languages' class
- install 'java'
- make a 'g4' file (Parser Rule, Lexer Rule)
- make a 'input.txt' (source file)
- run 'antlr.bat'
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It's widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build and walk parse trees.
- download url : https://www.antlr.org/download
- github : https://github.com/antlr