You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
571 B
571 B
c2logic
Compiles C code to Mindustry logic. Still in beta, so compiled output may not be fully optimized.
Usage
python3 -m c2logic filename -O optimization_level
where filename is a string and optimization_level is an integer.
See examples for API sample usage.
Documentation
See include/mindustry.h for API definitions.
Unsupported Features
- drawing
- getlink
- memory cell read/write
- do-while
- continue
- goto
- actual functions
- structs
- enums
Some of these features may be worked around using _asm().