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

expr-parser: flatten prose even more #515

Merged
merged 3 commits into from
Feb 15, 2023
Merged

expr-parser: flatten prose even more #515

merged 3 commits into from
Feb 15, 2023

Conversation

bakkot
Copy link
Contributor

@bakkot bakkot commented Jan 30, 2023

This completes the change begun in 6bd7fae, making the expr-parser node types a superset of the ecmarkdown node types (instead of having a wrapper node, Fragment). This makes some things worse (using 'name' instead of 'type' for the discriminant; using a complicated 'location' property instead of start/end keys), but overall it's worth it to drop the layer of indirection, I think.

@bakkot bakkot merged commit 93d8376 into main Feb 15, 2023
@bakkot bakkot deleted the messing-with-loc branch February 15, 2023 06:22
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.

1 participant