nand2tetris / web-ide

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

Chip: insertion sort accounts for both incoming and outgoing edges. #339

Closed DavidSouther closed 3 months ago

DavidSouther commented 3 months ago

This is a narrower / smaller approach than #328, without needing to pull in an entire second graph, as Chips already implement the graph. This makes the topo insertion sort correctly handle internal/external/before/after pins. The test is the same as from #328.

Closes #327