Kinda hacky, but might scale enough for machine code. This was really hard to debug. Single tests passed, but when I ran all tests I got breakage because tests long before (from the 056trace layer) were not cleaning up properly. My instinct was to call clear-stream on Trace-stream, which was wrong (the trace didn't have the wrong contents, it was literally a bad object). It was also wrong in a counter-productive way: calling clear-stream on a real Trace stream (which is the size of a page of memory) takes a long time in emulated mode. |
||
---|---|---|
.. | ||
assort | ||
assort.subx | ||
crenshaw2-1 | ||
crenshaw2-1.subx | ||
crenshaw2-1b | ||
crenshaw2-1b.subx | ||
dquotes | ||
dquotes.subx | ||
factorial | ||
factorial.subx | ||
handle | ||
handle.subx | ||
hex | ||
hex.subx | ||
pack | ||
pack.subx | ||
Readme.md | ||
subx-common.subx | ||
survey | ||
survey.subx |
Larger programs than in the subx/examples/ subdirectory, combining the techniques demonstrated there.