428d851913
* refactor: generic rename to mysql * refactor: g4 with mysql syntax * test: mysql syntax * refactor: remove useless keywords * refactor: remove nonReserved keywords * refactor: lint specificFunction --------- Co-authored-by: liuyi <liuyi@dtstack.com>
34 lines
340 B
Markdown
34 lines
340 B
Markdown
# dt-sql-parser
|
|
|
|
## Get Start
|
|
|
|
installing the dependencies after cloned project:
|
|
|
|
```bash
|
|
yarn install
|
|
```
|
|
|
|
- test
|
|
|
|
```bash
|
|
yarn test
|
|
```
|
|
|
|
## Compile the grammar sources
|
|
|
|
Compile one language:
|
|
|
|
```bash
|
|
yarn antlr4 --lang=mysql
|
|
```
|
|
|
|
Compile all languages:
|
|
|
|
```bash
|
|
yarn antlr4 --all
|
|
```
|
|
|
|
## Branch Organization
|
|
|
|
## Source Code Organization
|