Skip to content
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

New parser #509

Merged
merged 1 commit into from
Nov 7, 2019
Merged

New parser #509

merged 1 commit into from
Nov 7, 2019

Conversation

casey
Copy link
Owner

@casey casey commented Nov 5, 2019

I have finally rewritten the parser. What was once the Parser is now the Analyzer.

God what a grind.

Tests with Janus against v0.4.5 show no regressions.

Fixes #426.

Just's first parser performed both parsing, i.e the transformation of a
token stream according to the language grammar, and a number of consistency
checks and analysis passes.

This made parsing and analysis quite complex, so this diff introduces a
new, much cleaner `Parser`, and moves existing analysis into a dedicated
`Analyzer`.
@casey casey merged commit b2285ce into master Nov 7, 2019
@casey casey deleted the new-parser branch November 7, 2019 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reform the parser
1 participant