Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pditommaso/antlr-hello
Classic Hello world example for ANTLR4 grammar parser
https://github.com/pditommaso/antlr-hello
Last synced: 21 days ago
JSON representation
Classic Hello world example for ANTLR4 grammar parser
- Host: GitHub
- URL: https://github.com/pditommaso/antlr-hello
- Owner: pditommaso
- License: gpl-3.0
- Created: 2017-03-26T14:46:05.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-26T14:54:09.000Z (almost 8 years ago)
- Last Synced: 2024-10-16T09:56:20.626Z (2 months ago)
- Language: Java
- Size: 21.5 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ANTLR4 Hello world
==================Classic *Hello world* example for an ANTLR4 grammar parser.
Get started
------------Use the following command to compile and run the example
```
./gradlew run
```Relevant files
--------------* `Hello.g4`: grammar definition
* `test.txt`: simple input file
* `src/main/Hello.java`: parser launcher class
* `src/antlr4`: generate lexer and parser classes