Commit da5da3c
feat: add MariaDB parser to monorepo
This commit adds the MariaDB parser from the standalone mariadb-parser repository into the unified parser monorepo.
Changes:
- Added MariaDB grammar files (MariaDBLexer.g4, MariaDBParser.g4)
- Added test infrastructure with 22 example SQL files
- Created Makefile for building and testing the parser
- Updated package names from 'parser' to 'mariadb'
- Updated import paths to github.com/bytebase/parser/mariadb
- Updated CI workflow to include mariadb in the test matrix
- Generated parser files using ANTLR 4 with Go target
- All 22 tests passing successfully
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent bc210c6 commit da5da3c
File tree
34 files changed
+167328
-1
lines changed- .github/workflows
- mariadb
- examples
34 files changed
+167328
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Large diffs are not rendered by default.
0 commit comments