nand2tetris / web-ide

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

[feature]: enable uploading of user-written test scripts #442

Open maueroats opened 2 months ago

maueroats commented 2 months ago

Tool

CPU Emulator

Interface

Website (https://nand2tetris.github.io/web-ide)

Contact Details

I will follow this issue and reply here.

What feature are you proposing?

In the CPU Emulator and the VM Emulator, the user cannot upload test scripts. They can use test scripts from the existing projects.

The ability to upload test scripts would be helpful in debugging the larger projects, where the user may be running the CPU Emulator on code they have generated themselves.

For example, in Project 8 even the "Simple Function Call" test is quite comprehensive. It helped me to be able to have a truly minimal example - a very very small function (say just return 555) to follow the basic setup and teardown of a function frame.

Additional Comments

No response

Do you want to try to add this feature?

Code of Conduct

maueroats commented 2 months ago

Ahh, I think would be included in PR #411? That looks like it is having trouble moving forward.