2020-09-11 17:39:10 +08:00
|
|
|
# dt-sql-parser
|
|
|
|
|
2023-05-04 10:13:05 +08:00
|
|
|
## Get Start
|
2020-09-11 17:39:10 +08:00
|
|
|
|
2023-05-04 10:13:05 +08:00
|
|
|
installing the dependencies after cloned project:
|
2020-09-11 17:39:10 +08:00
|
|
|
|
2023-05-04 10:13:05 +08:00
|
|
|
```bash
|
|
|
|
yarn install
|
|
|
|
```
|
2020-09-11 17:39:10 +08:00
|
|
|
|
2023-05-04 10:13:05 +08:00
|
|
|
- test
|
|
|
|
|
|
|
|
```bash
|
|
|
|
yarn test
|
|
|
|
```
|
|
|
|
|
|
|
|
## Compile the grammar sources
|
|
|
|
|
|
|
|
Compile one language:
|
2020-09-11 17:39:10 +08:00
|
|
|
|
2023-05-04 10:13:05 +08:00
|
|
|
```bash
|
|
|
|
yarn antlr4 --lang=generic
|
|
|
|
```
|
|
|
|
|
|
|
|
Compile all languages:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
yarn antlr4 --all
|
|
|
|
```
|
|
|
|
|
|
|
|
## Branch Organization
|
2020-09-11 17:39:10 +08:00
|
|
|
|
|
|
|
## Source Code Organization
|