Say you write a program in GOOL and want to produce Java, C++, C#, and run this output. Here is how to proceed.
input/
gool.properties
Test.gool
GoolCompiler
output/java, output/csharp, output/cpp
Via the terminal:
javac -d output/java/Test.class output/java/Test.java; java output/java/Test.class
gmcs -debug+ /t:exe /out:Test.exe output/csharp/Test.cs; mono output/csharp/Test.exe
g++ -I /usr/include/ -o output/cpp/Test.bin output/cpp/Test.cpp; output/cpp/Test.bin
There was an error while loading. Please reload this page.