Open colltoaction opened 5 months ago
Diagrams naturally model instruction sets with multi-input to multi-output boxes for each instruction.
Each instruction such as mul or jump can be decorated as seen here:
mul
jump
The goal is to aid the user reasoning about state propagation between instructions. There should be wires for registers, labels, constants, flags. Connections should be inferred from the definition in the chosen ISA.
WebAssembly seems like a good target being a Lisp- (or at least S-expression-) based language.
Unachieved goals become simple in this system:
Diagrams naturally model instruction sets with multi-input to multi-output boxes for each instruction.
Each instruction such as
mul
orjump
can be decorated as seen here:The goal is to aid the user reasoning about state propagation between instructions. There should be wires for registers, labels, constants, flags. Connections should be inferred from the definition in the chosen ISA.