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.
|
|
5 years ago | |
|---|---|---|
| c2logic | 5 years ago | |
| examples | 5 years ago | |
| include | 5 years ago | |
| .clang-format | 5 years ago | |
| .clang-tidy | 5 years ago | |
| .gitignore | 5 years ago | |
| .pylintrc | 5 years ago | |
| .style.yapf | 5 years ago | |
| LICENSE | 5 years ago | |
| README.md | 5 years ago | |
| compile_flags.txt | 5 years ago | |
| mypy.ini | 5 years ago | |
| setup.py | 5 years ago | |
README.md
c2logic
Compiles C code to Mindustry logic.
Usage
python3 -m c2logic filename -O optimization_level
where filename is a string and optimization_level is an int
See examples for API sample usage.