CharlesAverill/Purple

Add position info to ASTNode

CharlesAverill opened this issue · 1 comments

ASTNodes should have filename, line_number, and character_number attributes so that compile errors found in the code generation phase print out the correct position information instead of EOF

Kinda works, good enough for now. Will revisit later.