|
|
||
|---|---|---|
| doc | ||
| lib | ||
| src/pp | ||
| util | ||
| .gitignore | ||
| README.md | ||
| build.xml | ||
README.md
Prerequisites
Boppi requires JDK 1.8 or higher and Ant. Both must be available in the environment.
Installation
Run ant build to perform a basic build of the project: it initialises output directories, generates ANTLR files and compiles all java files. To skip ANTLR file generation, run ant do-init and ant do-build separately.
Run ant build-all to do the above and generate javadoc documentation, run JUnit tests and produce a runnable JAR file.
To see all possible targets, run ant -verbose -projecthelp.
Command line use
After building a JAR file, a command boppi becomes available in the dist/ folder. This command can be used to compile and run files or perform an interactive session. See boppi --help and boppi interactive --help for more information.
Directory structure
bincontains compiled java code and required text files (afterant do-build)distcontains a runnable JAR, script files and a copy of the libraries required to run the JAR (afterant do-build-jar)doccontains a report of the project and attached example filesdoc/javadoccontains javadoc documentation of the project (afterant do-javadoc)doc/junitcontains a report of JUnit tests (afterant do-junitandant do-junit-report)
libcontains Java libraries required for the project, excluding those in the JDK 1.8srcsrc/pp/iloccontains java code for a slightly modified ILOC virtual machinesrc/pp/s1184725/boppicontains java code for the Boppi language
utilcontains Pygments lexers for both ILOC and Boppi and scripts to run the Boppi command line interface (used for the JAR build).