a simple c compiler in java. It is a incomplete project.
prepare:
- JDK8
- Ant
- 32 bit lib
sudo apt-get install -y gcc-multilib g++-multilib libc6-i386 lib32ncurses5 lib32stdc++6
Then, you can use ant to build source code.
cd KCC //cd source directory
ant
shell: cd classes //generated class directory
shell:java compiler.Compiler source.c