Compiler (sgsc)
This is the standalone script compiler and instruction listing generator for SGScript.
Command line syntax
sgsc [file|options]
Additional info
-h
: print help info-c
: compile the file-d
: dump bytecode to standard output-o
: specify bytecode output file (default: remove .sgs on end, add .sgc)
Example usage
sgsc -c src.sgs
- compilesrc.sgs
tosrc.sgc
sgsc -d src.sgs
- compilesrc.sgs
, dump generated bytecode