Syntax 4.2
- Introduction
- Sample Output
- Concepts
- File Structure
- Lexer
- Production Rules
- Error Management
- Lexer Driven Parsing
Syntax maven plugin
Subtopics:
The Maven Plugin is used to generate artifacts from syntax files through maven. It is a maven plugin whose execution is usually tied to the generate-sources life cycle phase.
syntax-maven-plugin supports two goals: help and generate. The help goal allows for a detailed information of the goals, and a detailed information of the configuration arguments when -Ddetail=true.
Please read the Usage section for a description of the fragment of code to install the plugin in your pom.
To get help, please run
mvn syntax:help -Ddetail=true
In order to execute syntax as configured, please run
mvn syntax:generate