Dmars – A modern Core Wars toolchain
5 days ago
- #Redcode assembler
- #Core War simulator
- #Rust reimplementation
- dmars is a Rust reimplementation of pMARS, the canonical Core War toolchain.
- It includes an assembler handling the full ICWS'94 preprocessor and a simulator for battles, with ICWS'88 restrictions available via a flag.
- The tool compiles to WebAssembly, enabling a browser playground for writing and fighting warriors.
- Performance matches pMARS for single battles and is faster for multiple battles due to parallel processing.
- Installation options include shell installer for macOS/Linux, Cargo, and pre-built binaries from GitHub.