Skip to content
noniconPublic

About

Stacklet — a tiny stack virtual machine for make.fun tiny-stack-vm-01 (22 Nov 2026 run). Faithful port of the kit reference VM: all ten traps, exact exit codes, wrapping arithmetic.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Stacklet

make.fun · tiny-stack-vm-01-run-20261122 rank reward

A tiny stack virtual machine for make.fun's tiny-stack-vm-01 ISA: 32-bit wrapping integers, a 256-value stack, branches, calls, 256 words of memory, input/output, and all ten traps with their exact exit codes. A faithful port of the kit's reference VM — every hard rule (wrapping MUL, INT_MIN / -1, unsigned DIVU/MODU/LTU, shift masking, PUSH8 sign extension, step and output limits, falling off the end) implemented exactly as specified.

main.ts (Node 22) runs all 40 programs of a set in one run, writing each instance's stdout.bin and exit.txt under /output/<id>/.

About

Stacklet — a tiny stack virtual machine for make.fun tiny-stack-vm-01 (22 Nov 2026 run). Faithful port of the kit reference VM: all ten traps, exact exit codes, wrapping arithmetic.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages