Skip to content

feat: add PartiQL parser to monorepo#31

Merged
h3n4l merged 2 commits into
mainfrom
add-partiql-parser
Nov 3, 2025
Merged

feat: add PartiQL parser to monorepo#31
h3n4l merged 2 commits into
mainfrom
add-partiql-parser

Conversation

@h3n4l
Copy link
Copy Markdown
Member

@h3n4l h3n4l commented Nov 3, 2025

Summary

  • Migrates the PartiQL parser from standalone partiql-parser repository
  • Adds test coverage with simple.sql example
  • Updates CI workflow to include partiql in test matrix
  • All tests passing successfully

Changes

  • Added PartiQL grammar files (PartiQLLexer.g4, PartiQLParser.g4)
  • Added 1 test example (simple.sql)
  • Created Makefile for building and testing the parser
  • Updated package names from parser to partiql
  • Updated import paths to github.com/bytebase/parser/partiql
  • Updated .github/workflows/tests.yml to include partiql parser
  • Generated parser files using ANTLR 4 with Go target

Test plan

  • PartiQL parser test passing
  • Parser generation successful with ANTLR 4
  • CI workflow updated to include partiql parser
  • Package names and imports updated correctly

🤖 Generated with Claude Code

h3n4l and others added 2 commits November 3, 2025 17:47
This commit adds the PartiQL parser from the standalone partiql-parser repository into the unified parser monorepo.

Changes:
- Added PartiQL grammar files (PartiQLLexer.g4, PartiQLParser.g4)
- Added test infrastructure with 1 simple.sql example
- Created Makefile for building and testing the parser
- Updated package names from 'parser' to 'partiql'
- Updated import paths to github.com/bytebase/parser/partiql
- Updated CI workflow to include partiql in the test matrix
- Generated parser files using ANTLR 4 with Go target
- All tests passing successfully

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@h3n4l h3n4l enabled auto-merge (squash) November 3, 2025 10:01
@h3n4l h3n4l merged commit 5830231 into main Nov 3, 2025
5 checks passed
@h3n4l h3n4l deleted the add-partiql-parser branch November 3, 2025 10:01
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