-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Description
Aim of this is to increase contribution velocity on this repository without impacting users.
Current situation
- If you have 2 PRs changing any two parts of the grammar, they will immediately conflict with each other because of the dramatic changes in generated code (usually those changes are not mergeable)
- This means parallel PRs are in constant queue and need to be updated after each merge to the master
Suggestion
- Grammar PRs only bring in changes to
grammar.js,corpus/*orsrc/scanner.c- notparser.cor any other generated code- This will dramatically reduce the conflicts and will make all PRs more likely to be mergeable without manual updates
- CI still checks for parser code being generated from grammar alone, and run tests against that
- When we feel like a release is due, we actually generate parser code and commit it as a separate PR
Because of the CI checks, the above process should be safe, at the cost of not containing the latest-est generated code in master. Which IMO is not a big deal.
Metadata
Metadata
Assignees
Labels
No labels