gradle-sablecc-plugin is an open source and freely distributed plugin for the Gradle software designed especially to create parsers using SableCC, on any operating system where the Java runtime environment is installed.
It is well known that SableCC supports automatic CST-to-AST transformation, analysis helpers, and emits visitor patterns. In order to use this Gradle plugin, you will need to create a default configuration that will transform the src/main/sablecc directory into build/generated-sources/sablecc.
Mandatory usage example
To use this Gradle plugin, download the latest archive from Softoware, save it on a location of your choice and unpack it. Below is a real life example:
buildscript {
dependencies {
compile 'org.anarres.gradle:gradle-sablecc-plugin:[1.0.0,)'
}
}
apply plugin: 'sablecc'
sablecc {
// ...
}
Do not hesitate to read the project’s API documentation located at http://shevek.github.io/gradle-sablecc-plugin/docs/javadoc/ for more usage examples and comprehensive information about its functionality.
Under the hood, availability and supported operating systems
The gradle-sablecc-plugin software is written entirely in the Java programming language and has been designed to work with the latest versions of Gradle. Of course, this means that the application should run on any operating system where both the Java Runtime Environment (JRE) and Gradle are available.
Currently, the program has been successfully tested with various GNU/LInux distributions, on both 64-bit (x86_64) and 32-bit (x86) instruction set architectures. gradle-sablecc-plugin is available for download for free as a sources tarball, which can be optimized for a specific operating system or hardware platform.
Requirements:
- Java 2 Standard Edition Runtime Environment
- Gradle
Comments not found