/corewars-compiler

CoRed: A high-level programming language for corewars (work in progress)

Primary LanguageOCamlGNU General Public License v3.0GPL-3.0

corewars-compiler

By fabaindaiz

This software aims to be an easier way to write and optimize code for corewars. corewars-compiler uses its own mini functional language called RED which can then be compiled into optimized redcode.

work in progress.

Instructions of use

  • See REFERENCE.md for develop and run.
  • See LANGUAGE.md for RED language reference.
  • See TUTORIAL.md for a RED language tutorial.

Intepreters

To execute the resulting redcode you can use one of these redcode interpreters.

TODO

  • Create a RED language tutorial
  • Improve control flow instructions and conditions
  • Reduce duplicate code and improve compiled redcode

Acknowledgements

References

Getting started

Redcode learning

Redcode wariors

Redcode reference

Corewars koth