Skip to content

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!

Notifications You must be signed in to change notification settings

teverett/grammars-v3

 
 

Repository files navigation

grammars-v3

A collection of Antlr3 grammars, from 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 install

You can then test all grammars:

mvn clean test

Travis Status

About

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!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • GAP 69.7%
  • VHDL 28.0%
  • Java 2.1%
  • C 0.2%
  • Makefile 0.0%
  • Lua 0.0%