Hayden
|
14a5214e82
|
support format g4 (#232)
* chore: install antlr-format-cli to format g4 files
* style: format all g4 files
* chore: apply antlr-format to lint-staged
|
2023-12-12 20:05:21 +08:00 |
|
Hayden
|
f9dbd9fc23
|
Refactor/basic parser (#182)
* feat: replace errorCollector with ParserErrorListener to collect lexer error
* refactor: remove useless method in basicParser
* feat: correct splitSQLByStatement method
* feat: rename parse to parseWithCache and add new parse method
* refactor: rename parserTree to parseTree
* test: rename parserTree to parseTree
* refactor: rename parserError to parseError
* feat: export ErrorHandler type
* feat: use errorhandler form params
* test: basic parser unit tests
* style: lint via prettier
|
2023-10-16 17:59:28 +08:00 |
|
Hayden
|
7de192d486
|
chroe: devops (#180)
* ci: add dependencies about lint tool
* ci: replace eslint with prettier
* ci: add husky, cz and commitlint
* style: lint fix via prettier
* ci: add prettier and check-types to github workflow
'
|
2023-10-13 11:16:36 +08:00 |
|