Skip to content

Use checked-in parser for prebuild#31

Merged
adsharma merged 1 commit into
masterfrom
prebuild-checked-in-parser
Jun 5, 2026
Merged

Use checked-in parser for prebuild#31
adsharma merged 1 commit into
masterfrom
prebuild-checked-in-parser

Conversation

@adsharma

@adsharma adsharma commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make generate-grammar-prod use the checked-in Cypher parser instead of the removed ladybug submodule
  • keep manual grammar regeneration on npm run generate-grammar, as documented in the README

Why

The prebuild workflow failed after the submodule removal because generate-grammar-prod still tried to run ladybug/scripts/antlr4/keywordhandler.py. CI only needs a parser present for production packaging, and the generated parser is checked into src/utils/CypherParser.

Validation

  • npm run generate-grammar-prod

@adsharma adsharma marked this pull request as ready for review June 5, 2026 22:47
@adsharma adsharma merged commit d7fd7fa into master Jun 5, 2026
1 check passed
@adsharma adsharma deleted the prebuild-checked-in-parser branch June 5, 2026 22:47
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