nand2tetris / web-ide

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

Compare files / Output files #154

Closed Shimon-Schocken closed 1 month ago

Shimon-Schocken commented 1 year ago

When the simulation is successful, the compare and output files should be exactly the same: Line numbers, column dividers (vertical bar characters), blank lines, etc.

By the way, some scripts do have blank lines. Is this intentional? To make them more readable?

DavidSouther commented 1 year ago

Is this not the case currently? The compare panel adds formatting and highlighting, but the underlying files (in memory) are otherwise identical. I did edit some scripts for readability when copying them from the course site to this repo.

Shimon-Schocken commented 1 year ago

They are the same contents wise, but not format wise. Let's talk about it in our next zoom meeting.

DavidSouther commented 1 month ago

This format was implemented at some point