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

DeloitteDigitalAT/grammars-v4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis Status

grammars-v4

Grammars written for ANTLR v4

This repository is a collection of Antlr4 grammars.

The root directory name is the all-lowercase name of the language parsed by the grammar. For example, java, cpp, csharp, c, etc...

Examples

Contributing

The grammars-v4 tree uses Travis in conjunction with antlr4test-maven-plugin to test all grammars against example inputs. This ensures that all grammars on the tree parse, compile and work with the example inputs.

Therefore:

  • Pull requests which cause test failures will be rejected
  • Pull requests which include additional examples to be used as test cases are strongly preferred

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.

Testing the Grammars

mvn clean test

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • ANTLR 79.2%
  • Assembly 11.4%
  • Java 7.7%
  • C# 1.0%
  • Swift 0.3%
  • PLSQL 0.2%
  • Other 0.2%