all repos — nand2tetris @ 92ae841904b31a66bacce132fe7d53a868c21c6b

my nand2tetris progress

projects/06/POSSIBLE-BUGS.md

 1
 2
 3
 4
 5
 6
 7
 8
assembler1:
If a line contains a label larger than `(MAX_LINE_LEN - line_length)` (Note: technically beside the point here, but `MAX_LINE_LEN == 256`), the label may get truncated or something else will happen (I'm unsure...)

Junk may be allowed after C-type instruction based on how it's parsed (parsing exits once expected characters are found in the right places, so the whole line isn't necessarily validated)

It might be unsafe to assume `comp_start` and `jump_start` start at `&line[i+1]` after the '+' or ';' in `parse_c_type()` (unsure)