使用Gox语言自身编写的图形界面
Check the version.
gox -version
Show help.
gox -h
Run a script file.
gox test.gox
And all the switches in Gox should be like "-type=code", not "-type code".
Start the interpreter in REPL mode.
> gox
the REPL runs like this,
> a=1 1 > b=2.3 2.3 > a+b 3.3 > printfln("a: %v", a) a: 1> exit() exit status 1
use "quit()" or "exit()" function to exit.