/Nand-2-Tetris-Part-II

Nand2tetris part 2 done in python upto syntax analyser.

Primary LanguagePython

Nand-2-Tetris-Part-II

Nand2Tetris / NandToTetris Part 2 / II done in python upto syntax analyser of Jack Compiler.

Usage:

This program will create parsed XML files for all .jack files in the directory

Linux Terminal

for parsing all jack files in a directory python3 compile.py -d <Directory_path>

for parsing a single jack file python3 compile.py -f <file_path>

Windows command Line:

for parsing all jack files in a directory python compile.py -d <Directory_path>

for parsing a single jack file python compile.py -f <file_path>