Use AST as parser output

note, also remove the generated parsetab.py from the repo.
Calculate symbol positions.
Implement the IR layer.