simulator

This commit is contained in:
Jesenko, Jakob 2025-12-07 21:46:10 +01:00
parent 6d722acba9
commit a9323bb7d9
10 changed files with 459 additions and 0 deletions

8
sim/src/sim.gleam Normal file
View file

@ -0,0 +1,8 @@
import sim/machine
pub fn main() -> Nil {
let machine = machine.init("../arith.obj")
echo machine
machine.step(machine, machine.get_instructions())
Nil
}