Skip to content

Grammars written for ANTLR v4; expectation that the grammars are free of actions.

Notifications You must be signed in to change notification settings

whazor/grammars-v4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fcb94f9 · Oct 31, 2015
Aug 3, 2015
Aug 3, 2015
Aug 3, 2015
Jun 27, 2014
Aug 3, 2015
Aug 3, 2015
Sep 7, 2015
May 4, 2015
Oct 31, 2015
Aug 3, 2015
Aug 3, 2015
Oct 30, 2015
Aug 3, 2015
Oct 31, 2015
Oct 31, 2015
Aug 11, 2015
Oct 25, 2015
Aug 3, 2015
Mar 30, 2015
Aug 3, 2015
Aug 3, 2015
Sep 10, 2015
Aug 3, 2015
Aug 3, 2015
Aug 3, 2015
Oct 31, 2015
Aug 3, 2015
Oct 31, 2015
Aug 3, 2015
Oct 31, 2015
Oct 31, 2015
Oct 31, 2015
Aug 3, 2015
Nov 11, 2014
Aug 3, 2015
Aug 3, 2015
Aug 3, 2015
Aug 3, 2015
Oct 3, 2015
Oct 26, 2015
Aug 3, 2015
Oct 31, 2015
Aug 25, 2015
Aug 3, 2015
Aug 23, 2015
Aug 3, 2015
Apr 30, 2015
Oct 31, 2015
Aug 3, 2015
Jun 1, 2015
Nov 14, 2014
Aug 3, 2015
Aug 3, 2015
Oct 31, 2015
Oct 31, 2015
Sep 13, 2015
Aug 5, 2015
Oct 26, 2015
Aug 3, 2015
Aug 3, 2015
Oct 30, 2015
Oct 31, 2015
Oct 31, 2015
Sep 8, 2015
Oct 31, 2015
Aug 3, 2015
Jul 11, 2015
Oct 26, 2015
Oct 26, 2015
Oct 31, 2015

Repository files navigation

grammars-v4

Grammars written for ANTLR v4

This repository is a collection of grammars without actions where the root directory name is the all-lowercase name of the language parsed by the grammar. For example, java, cpp, csharp, c, etc...

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.

Testing the Grammars

The directory /support/antlr4test-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 v4; expectation that the grammars are free of actions.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • ANTLR 72.6%
  • Assembly 16.9%
  • Java 10.1%
  • PLSQL 0.1%
  • Shell 0.1%
  • Python 0.1%
  • Other 0.1%