-
Notifications
You must be signed in to change notification settings - Fork 17
use PUSH_LITERAL to simplify grammar
#285
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
Conversation
📝 WalkthroughWalkthroughThe changes update dependency versions in the Cargo configuration from version 2.7 to 2.8 for both pest and pest_derive. Modifications in the matcher module adjust how the 📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (9)
🧰 Additional context used🧬 Code Definitions (1)src/query/selectors.rs (5)
🔇 Additional comments (78)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Use pest's new (as of 2.8.0)
PUSH_LITERAL. This reduces the number of rules we need in the grammar.One complication is that the
stringrule now needs to end withDROP. So we could either keep thestringas only non-empty and then add theDROPafter eachstring?, or we could have it include empty. The latter is simpler, but means we need to then add a check for explicit*in the table matcher.