Compiler for JFTT class at the Wrocław University of Science and Technology
Wojciech Kwaśniewicz
By default, the file 'input' is used as input for the compiler. 'output' is the output file of the compiler, and the input file for the VM.
sudo apt install openjdk-11-jdkcd cln-directory
./configure
sudo make installmake vmmake runbuild/libs/compiler-all.jar - the compiler src/main/antlr - grammar src/main/java/parser - generated grammar in Java by ANTLR src/main/java/compiler - compiler source files
- internet connection is required for the first compilation
- DIV and MOD algorithms use numbers greater than the inputs. May cause problems on the non-cln virtual machine.