Commit f427489
feat: add PL/SQL parser to monorepo (#28)
This commit adds the Oracle PL/SQL parser (supporting Oracle 11g and 12c) from the standalone plsql-parser repository into the unified parser monorepo.
Changes:
- Added PL/SQL grammar files (PlSqlLexer.g4, PlSqlParser.g4)
- Added helper files (keywords.go, plsql_lexer_base.go, plsql_parser_base.go)
- Added test infrastructure with 338 example files and 32 sql-script examples
- Created Makefile for building and testing the parser
- Updated package names from 'parser' to 'plsql'
- Updated import paths to github.com/bytebase/parser/plsql
- Updated CI workflow to include plsql in the test matrix
- Generated parser files using ANTLR 4 with Go target
- All 370 tests passing successfully
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <[email protected]>1 parent af71f54 commit f427489
File tree
385 files changed
+414121
-1
lines changed- .github/workflows
- plsql
- examples-sql-script
- examples
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
385 files changed
+414121
-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