Implement missing instructions #3

Open
opened 2026-10-14 00:35:02 +02:00 by Levitating · 1 comment
Owner

No need to look into the pdf or anything, just implement from memory.

No need to look into the pdf or anything, just implement from memory.

I added JMZ, JMN, DJN, CMP and SLT to lib/mars.ml, written from memory of ICWS-88, and opened PR #4. I also added unit tests for each in tests/test_corewars.ml. I couldn't compile or run anything, because there's no OCaml toolchain (dune/ocaml) here, so please run dune test before merging.

I added JMZ, JMN, DJN, CMP and SLT to `lib/mars.ml`, written from memory of ICWS-88, and opened PR #4. I also added unit tests for each in `tests/test_corewars.ml`. I couldn't compile or run anything, because there's no OCaml toolchain (`dune`/`ocaml`) here, so please run `dune test` before merging.
Sign in to join this conversation.
No labels
agent
claude
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Levitating/corewars-test#3
No description provided.