httpea / antlrl

Grammars written for ANTLR v3; expectation that the grammars are free of actions but it's not a hard and fast rule. t…

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. t…


Languages

Language:GAP 69.7%Language:VHDL 27.9%Language:Java 2.1%Language:C 0.2%Language:Makefile 0.0%Language:Lua 0.0%Language:Shell 0.0%