Compile and Run Cylvre Programs

Note: This instruction has only been tested for Windows. To test for other OS, refer this issue

Now that you got the compiler up and running, it's time to finally execute some Cylvre Files!

To compile the Cylvre file, execute

java -classpath <path to jar file>* CylvreCompiler.compiler.Forge <path to Cylvre file>*

The jar file naming convention is Cylvre-version.jar with version being the version of Cylvre. The jar file will most probably be located in the libs directory which is located in Cylvre's build directory.

To run the compiled file, execute

java <name of Class File>*

*Replace with appropriate info

Now that you know how to compile and run Cylvre files, let's move on to the basics of Cylvre's syntax.

Last updated