Skip to content

ae6rt/gradle-antlr4-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Gradle build template for ANTLR4 projects. Just type "gradlew build" to compile the grammar files and begin using in your src/main and src/test source roots.

This work inspired by

http://fenrock.wordpress.com/2012/05/17/gradle-and-antlr-3-x/

Remove the

apply from: file('gradle/idea.gradle')

if you are not using IntelliJ. This is an IDE nice to have that adds the generated sources to the IDE source roots.

The g4 grammar and t.* sample input files were taken from Terence Parr's source code for the book The Definitive ANTLR4 Reference.

About

A Gradle / ANTLR4 project template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published