|
I tested the first two programs, Seven and ConvertToBin. Now I'm going to test the Square Dance program, which is a folder containing many jack files.
So what is the best way to compile folders?
Like in my compilation engine, It has VMWritter, JackTokenizer and Symbol Table.
So what I'm currently doing to compile a folder is create a new compilation engine for all of jack files.
And that creates many VMWritter, JackTokenizer and SymbolTable.
Like if we have 3 jack files. My compiler creates 3 compilation engine, in returns it will have
3 VMWritter
3 JackTokenizer
3 SymbolTable
Totally 9 objects. So I'm in doubt of missing a concept.
|