nand2tetris / web-ide

A web-based IDE for https://nand2tetris.org
https://nand2tetris.github.io/web-ide
Other
84 stars 22 forks source link

Add init functions to OS and call them in Sys.init #461

Closed netalondon closed 2 months ago

netalondon commented 2 months ago

This adds no-op init functions into the VM Emulator. These initializations are already performed by the simulator builtins in the TypeScript implementation. This exposes them for correctness when Jack compilers emit them as part of the sys.jack and OS bootstrap.

Closes #438