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

nuaimat/grammars-v4

 
 

Folders and files

NameName
Last commit message
Last commit date
Feb 6, 2015
Jun 27, 2014
May 25, 2014
May 4, 2015
Apr 7, 2015
May 24, 2014
Aug 4, 2014
Jun 22, 2013
Apr 30, 2015
Dec 15, 2014
May 25, 2015
Jul 7, 2015
May 31, 2014
Mar 30, 2015
May 19, 2014
Jun 10, 2014
Jul 10, 2015
Oct 16, 2013
May 19, 2014
May 19, 2014
Jul 6, 2015
May 19, 2014
Mar 21, 2014
Feb 18, 2014
May 29, 2014
May 27, 2014
Aug 1, 2014
Sep 6, 2014
Nov 11, 2014
Jul 18, 2014
May 25, 2014
Mar 20, 2015
Jun 20, 2014
May 20, 2014
May 31, 2014
Apr 30, 2015
May 19, 2014
May 24, 2014
Jun 1, 2015
Nov 14, 2014
Feb 3, 2015
Apr 15, 2014
Apr 29, 2015
Jun 8, 2014
Jul 3, 2015
Nov 24, 2014
May 19, 2014
Jun 26, 2014
Jul 28, 2014
Feb 17, 2015
Jun 22, 2015
Jun 6, 2015
Nov 27, 2014
May 19, 2014
Jul 3, 2015
May 31, 2014
Jun 26, 2014

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.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 63.3%
  • ANTLR 20.5%
  • VHDL 9.5%
  • Objective-C 3.2%
  • Java 3.1%
  • Swift 0.3%
  • Other 0.1%