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

Parse grammars with proc_macro tokens and remove "negative lookahead". #113

Merged
merged 2 commits into from
May 14, 2019

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented May 14, 2019

Fixes #110 and closes #14 (without providing a replacement).

Copy link
Contributor

@CAD97 CAD97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Cargo.toml Outdated
@@ -31,7 +31,7 @@ doctest = false
test = false

[patch.'crates-io']
grammer = { git = "https://github.com/lykenware/grammer", rev = "e108acbe83271761538bf5b2ff2daeaaafa5919c" }
grammer = { git = "https://github.com/lykenware/grammer", rev = "d4f2dcd2e35c31cee0acd08ad5bcc898704004a9" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid downstream users having to specify the grammer revision, this should be upgraded to a "proper" git dependency rather than going through [patch.crates-io] which only applies from the root manifest.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to get rid of this soon by releasing the first version of grammer, once it's useful by itself.

@eddyb eddyb merged commit 002ccf0 into rust-lang:master May 14, 2019
@eddyb eddyb deleted the bangless branch May 14, 2019 16:26
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.

Parse proc_macro tokens instead of strings Get rid of (negative) lookahead (somehow)
2 participants