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
By default it will be found in ../GOOLJAVA, ../GOOLCS, ../GOOLCPP. You can change this in gool.properties.
../GOOLJAVA, ../GOOLCS, ../GOOLCPP
Via the terminal:
javac -d ../GOOLJAVA ../GOOLJAVA/Test.java; java output/java/Test
gmcs -debug+ /t:exe /out:Test.exe ../GOOLCS/Test.cs; mono ../GOOLCS/Test.exe
g++ -I /usr/include/ -o ../GOOLCPP/Test.bin ../GOOLCPP/Test.cpp; output/cpp/Test.bin
Via eclipse, Java generated code:
Via eclipse, C# generated code:
Via eclipse, C++ generated code:
There was an error while loading. Please reload this page.