Commit 2b2fa56
feat: add Snowflake SQL parser to monorepo (#24)
Add ANTLR4-based Snowflake SQL parser from snowsql-parser repository into the parser monorepo.
Changes:
- Add snowflake/ directory with grammar files (SnowflakeLexer.g4, SnowflakeParser.g4)
- Add Makefile with build and test targets following the pattern of other parsers
- Include 25 SQL test examples covering various Snowflake syntax features
- Update package name and import paths to github.com/bytebase/parser/snowflake
- Add snowflake to CI workflow to run tests automatically
- All 25 test cases passing
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <[email protected]>1 parent d526c43 commit 2b2fa56
File tree
38 files changed
+204219
-1
lines changed- .github/workflows
- snowflake
- examples
38 files changed
+204219
-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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
Large diffs are not rendered by default.
0 commit comments