issues
search
mtx2d
/
nand2tetris
repo for the class https://www.nand2tetris.org/
0
stars
0
forks
source link
[project 11] refactor to make code more maintainable
#3
Open
mtx2d
opened
3 years ago
mtx2d
commented
3 years ago
remove global counters
self.if_level and self.while_level
is error prone because it is increased at one place and reset from a
different place
.
remove not used source file
vm_writer.py
is not used. Either refactor and use the file or remove it
break the giant
test_compilation_engine.py
into smaller tests
the test file is
currently 4000 lines
, break it into smaller tests.
test_compilation_engine.py
into smaller tests