rrthomas / mit

A simple stack-based VM
Other
10 stars 3 forks source link

DRY: generate the code and documentation from a data-spec #52

Open rrthomas opened 5 years ago

rrthomas commented 5 years ago

Literate Racket combining mit.tex and src/spec.py, which contains a complete data description that can be turned into YAML for easy parsing. It's not a general-purpose VM description DSL, but should contain:

With this it should be possible to:

rrthomas commented 4 years ago

This issue is not properly fixed: the spec document is still not generated. Divergence from the code has recently been noted! Reopening.