Skip to content
Tom Everett edited this page Dec 10, 2017 · 29 revisions

Welcome to the grammars-v4

Grammars-v4 is a collection of antrl4 grammars contributed by authors around the world. Grammars-v4 uses antlr4test-maven-plugin and travis to ensure that all grammars on the tree compile properly with Antlr4. Additionally each grammar has a directory of examples which antlr4test-maven-plugin](https://github.com/antlr/antlr4test-maven-plugin) uses to ensure that the grammars on the source tree can parse example without errors.

A core value of grammars-v4 is that any grammar downloaded from grammars-v4 will compile properly with Antlr4, and has been validated against some example inputs.

FAQ

What are the licensing terms for Grammars-v4?

There is no single license for the grammars, each grammar has it's own license. Check inside the grammar files for licensing terms

My PR was rejected! Why?!

If your PR breaks the existing tests, it will be rejected. Additionally, we ask that any incremental changes made to grammar files have examples contributed to the /examples directory for that grammar to ensure that future changes to the grammars don't introduce regressions

Are there examples of how to use the grammars?

Look here

Clone this wiki locally