Commit 01783b6
feat: add MariaDB parser to monorepo (#34)
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 <noreply@anthropic.com>1 parent bc210c6 commit 01783b6
34 files changed
Lines changed: 167328 additions & 1 deletion
File tree
- .github/workflows
- mariadb
- examples
| 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