照抄javac 1.7,剔除难点繁点。
通过各种方式打印出hello world!
完成
支持基本语法,非常基本,连while
和i++
这类都不支持,不支持泛型。
施工中...
完善编译流程,支持更多语法特性。
支持泛型。
胡作非为。
- install mingw and add /bin to system env
mkdir build
cd build
and thencmake .. -G "MinGW Makefiles"
make
ormingw32-make
cd ../bin
and thenSimpleCompiler.exe
cd ../TestHelloWorld
and thenjava Computer