Go to Mindustry (MLOG) compiler, runtime and decompiler (WIP)
GPL-3.0 License
A Web IDE is available here
There are several example programs available on the wiki.
return
from functionsfor
loopsif
/else if
/else
statementsswitch
statementbreak
/continue
/fallthrough
statementsgoto
statementsUsage:
go-mlog [command]
Available Commands:
completion generate the autocompletion script for the specified shell
decompile Decompile MLOG to Go
execute Execute MLOG
help Help about any command
transpile Transpile Go to MLOG
trex Transpile Go to MLOG and execute it
typings Output typings as JSON
version Print current go-mlog version
Flags:
--colors Force log output with colors
--comment-offset int Comment offset from line start (default 60)
--comments Output comments
-h, --help help for go-mlog
--log string The log level to output (default "info")
--metrics Output source metrics after execution
--numbers Output line numbers
--output string Output file. Outputs to stdout if unspecified
--source Output source code after comment
--stacked string Use a provided memory cell/bank as a stack