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.

31 lines
490 B

  1. # c2logic
  2. Compiles C code to Mindustry logic.
  3. # Usage
  4. `python3 -m c2logic filename -O optimization_level`
  5. where `filename` is a string and `optimization_level` is an int
  6. See [examples](./examples) for API sample usage.
  7. # Documentation
  8. TODO
  9. See `include/mindustry.h`.
  10. # Unsupported Features
  11. - drawing
  12. - getlink
  13. - memory cell read/write
  14. - do-while
  15. - continue
  16. - goto
  17. - actual functions
  18. - structs
  19. - enums
  20. Some of these features may be worked around using `_asm()`.