diff options
author | Frederick Yin <fkfd@fkfd.me> | 2022-08-30 14:46:23 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2022-08-30 14:46:23 +0800 |
commit | b439d663a3f3d4d275f07339c1c0e794808f67d9 (patch) | |
tree | 6ab4a6b152336271f4d38c961cee67922020192e /projects/hackc/__main__.py | |
parent | d303447dc7a830489828be2e66ccf8c36af4aed6 (diff) |
hackc: parse variable declaration
Also add a handful of overloading operators to Token
Diffstat (limited to 'projects/hackc/__main__.py')
-rw-r--r-- | projects/hackc/__main__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/hackc/__main__.py b/projects/hackc/__main__.py index 1cb5c3f..c50461a 100644 --- a/projects/hackc/__main__.py +++ b/projects/hackc/__main__.py @@ -18,7 +18,7 @@ def compile_jack(input_path: Path, extensions: list, verbose: bool): for input_fn in jack_files: parser = Parser(input_fn, extensions=extensions) parser.tokenize() - parser.print_tokens() + parser.parse() if __name__ == "__main__": |