Closed Holt59 closed 3 years ago
I pushed two commits addressing this and #2 to inf-2-3-tweaks. Feel free to try them and leave feedback.
I pushed two commits addressing this and #2 to inf-2-3-tweaks. Feel free to try them and leave feedback.
Thanks, appreciate the changes.
I think you made a typo here
https://github.com/wrye-bash/wizparse/blob/inf-2-3-tweaks/wizards/wizard.g4#L146
Should probably be "Exponentiation" :)
body
is present at the end of bothforRangeLoop
andforInLoop
but it would make more sense to have it within theforStmt
rule:Edit: Actually it would also make sense for the
Identifier
to be inforStmt
.Note: I am trying to write an interpreter, so I am probably going to open quite a few issues regarding potential improvements to the parser or questions regarding the language itself. I'll probably send you a PR for the parser when I'm done. I hope questions can help improve the specification.