New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Privatize the Lexer API #2040
Privatize the Lexer API #2040
Conversation
6d4734f
to
de9481a
Compare
There are a bunch of changes to the state machine for the parsing, do you think you could describe some of the background there? |
Sure. I usually write commits with the intention that they can be reviewed commit-by-commit. The changes to the parser state machine are from "handle includes in the parser". Previously there were some TODOs in the lexer:
This basically tries to address some of those issues by having the Let me know if you have more questions. (I wrote this code about 2 months ago so I no longer remember all the details.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good. Thanks for cleaning all of this up.
c9845cd
to
221099a
Compare
Becomes an implementation detail of the
Parser
.