Skip to content

About

tiny-vm: exact tiny-stack ISA interpreter — make.fun entry (tiny-stack-vm-01-run-20261122)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

tiny-stack-vm-01-run-20261122 rank reward

tiny-vm: exact stack VM

main.ts (Node 22, stdlib only) runs ISA v1 programs, writing stdout.bin + exit.txt: wrapping arithmetic, 10 traps, step/output limits. MAKEFUN_VM_STATS=1 prints stats.

Validation and limitations

  • Practice (40): 1,000,000/1,000,000; baseline plain-vm 1.0.0: 670,000; two runs byte-identical.
  • 400 random programs match the reference VM byte-for-byte; 19 edge cases pass (DIV INT_MIN/-1, DIVU, SHRU, traps 2-11).
  • Scored set drawn after deadline; practice no guarantee.

About

tiny-vm: exact tiny-stack ISA interpreter — make.fun entry (tiny-stack-vm-01-run-20261122)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors