nMars - Core War MARS for .NET 

nMars - redcode parser

Parser structure

Below are structures of parser. File is parsed by LALR grammar, statements and expressions are produced. Then are statements turned to warrior instructions.

nMars redcode parser

Targeting to be full ICWS '94 RedCode specification compliant.
Current implementation doesn't support (yet)
- EQU macro substitutions (now it works like functions)
- registers in-place assignments (k=k+1)
It's based on GOLD parser by Devin Cook
And Calitha .NET Engine for GOLD parser by Robert van Loenhout which was little bit modified.

Page will be extended soon.