This is the home of Code Transformation Language (CodeTL). The purpose of CodeTL is to allow a wide audience to automatically scale a variety of transformations on their codebases.
-
If you have already configured maven settings, skip this step. Copy
settings_example.xmltosettings.xml. Replace<ARTIFACTORY_USER>and<ARTIFACTORY_TOKEN>with username and token from jFrog account onsettings.xmlfile. -
To install packages and dependencies. Run the following command under root directory of the project.
mvn -s settings.xml clean install
-
Download antlr from
https://www.antlr.org/download/antlr-4.7.2-complete.jar. -
Go to
src/main/java/io/pixee/dsl/java/directory and run the commands below.
java -Xmx500M -cp <path>/antlr-4.7.2-complete.jar org.antlr.v4.Tool DSL.g4