-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
Extract the parser
and validator
from the pest_derive
crate into pest_meta
#159
Merged
Merged
Changes from 19 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
c1e30aa
Extract ast, parser and validator into pest_meta
Victor-Savu 5525216
Separate defaults generation from consume_rules
Victor-Savu 1319bde
Rename Grammar{Parser,Rule} -> Pest{Parser/Rule}
Victor-Savu 02d445d
Use the `maplit` crate for defining keyword sets
Victor-Savu 47cfdbd
Remove unused rules `soi` and `eoi`
Victor-Savu 927ac86
Use functional style for validation
Victor-Savu d718e67
Make validator return Result instead of panicking
Victor-Savu f0337c3
Add macro for PestParser rules
Victor-Savu b934c5a
Use `match` in the state parsing macro syntax
Victor-Savu 4b1101d
Remove `pest_meta` dependency on `quote`
Victor-Savu 7387dde
Add use-case for `pest_meta` as a syntax colorizer
Victor-Savu 49e39e0
Remove redundant example section in Cargo.toml
Victor-Savu 7c44ad9
Put spaces inside braces in all the unsafe places
Victor-Savu 076898c
Merge branch 'master' into feature/meta
Victor-Savu 8729712
Merge branch 'master' into feature/meta
Victor-Savu 1f471b2
Qualify grammar errors
Victor-Savu a390796
Fix expected value of `missing_rhs` test
Victor-Savu f87b084
Bootstrap the parser using an older `pest_derive`
Victor-Savu 4a07821
Bootstrap pest parser using pest_derive v1.0.3
Victor-Savu dae7e88
Reference strings, idents and ranges in the AST nodes
Victor-Savu 4d7fe48
Change pest_meta licence to MIT/Appache-2.0
Victor-Savu 4d0448b
Format according to review
Victor-Savu 33195d7
Fix failing tests
Victor-Savu 03515ab
Merge branch 'master' into feature/meta
Victor-Savu 55f0098
Revert "Reference strings, idents and ranges in the AST nodes"
Victor-Savu 2057588
Merge branch 'master' into feature/meta
dragostis 95c5e5f
Removed meta example, for now.
dragostis 333c9d8
Improved formatting.
dragostis 9b044a5
Renames grammar file.
dragostis c5e533a
Added pest_meta to projects.
dragostis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,6 @@ | |
members = [ | ||
"pest", | ||
"pest_derive", | ||
"pest_grammars" | ||
"pest_grammars", | ||
"pest_meta" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
A translation rule for
_push
would also be needed.