Closed xyliew25 closed 4 months ago
@1001mei do you mind reviewing the changes done to ast
? I added some tests for the parser too.
Also, I'm so sorry for committing your commits, I must have messed up during rebasing and I'm not sure how to undo...
@1001mei do you mind reviewing the changes done to
ast
? I added some tests for the parser too.Also, I'm so sorry for committing your commits, I must have messed up during rebasing and I'm not sure how to undo...
Sure, no worries.
@1001mei I understand that there may be unnecessary complexities involved since the different components, i.e., type checker, compiler, ECE, require a simpler/more complicated AST structure. Hope these changes are not too disruptive.
Ya, I understand that each component might have different requirements on the AST structure. These changes do not affect the compiler too much, so feel free to merge them, I am totally fine with it.
Check commits.