mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 04:19:18 +08:00
36e29ef859
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
18 lines
386 B
Markdown
18 lines
386 B
Markdown
# Generate Parser with Antlr4
|
|
|
|
## Install Antlr4
|
|
|
|
Please follow [install antlr4](https://github.com/antlr/antlr4/blob/master/doc/go-target.md) to install the antlr tool.
|
|
|
|
The version of antlr tool: `4.9`.
|
|
|
|
## Code Generate
|
|
|
|
After you install the antlr4, you can generate the parser code in golang with:
|
|
|
|
```shell
|
|
go generate
|
|
```
|
|
|
|
All generated code will be under directory `generated`.
|