https://github.com/antlr/grammars-v3
Grammars written for ANTLR v3; expectation that the grammars are free of actions but it's not a hard and fast rule. there is no common license!
https://github.com/antlr/grammars-v3
Last synced: 4 months ago
JSON representation
Grammars written for ANTLR v3; expectation that the grammars are free of actions but it's not a hard and fast rule. there is no common license!
- Host: GitHub
- URL: https://github.com/antlr/grammars-v3
- Owner: antlr
- Created: 2016-01-04T21:26:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-03T18:48:55.000Z (8 months ago)
- Last Synced: 2025-01-08T23:42:13.932Z (5 months ago)
- Language: GAP
- Size: 660 KB
- Stars: 25
- Watchers: 6
- Forks: 30
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# grammars-v3
A collection of [Antlr3](http://www.antlr3.org/) grammars, from [http://www.antlr3.org/grammar/list.html](http://www.antlr3.org/grammar/list.html)
Expectation that the grammars are free of actions but it's not a hard and fast rule. There is no common license!
Beware of the licenses on the individual grammars. **THERE IS NO COMMON
LICENSE!** When in doubt or you don't know what you're doing, please use
the BSD or MIT license.Warning
------------These are legacy Antlr3 grammars. Many have not been updated for the latest version of Antlr3, and may fail to parse using the latest Antlr3. The grammars that parse properly are those that are not commented out in the root `pom.xml`
Testing the Grammars
------------The directory /support/antlr3test-maven-plugin contains a maven plugin which compiles the grammars and then runs them against examples in the /examples subdirectory to verify that the grammars compile and produce a clean parse for each example.
To use the plugin, you will have to compile and install it.
cd support/
mvn clean package installYou can then test all grammars:
mvn clean testTravis Status
---------