Skip to content

Latest commit

 

History

History

README.md

The StarRocks parser is a parser for StarRocks SQL. It is based on the ANTLR4.

Build

Before build, you need to install the ANTLR4.

requirements:

./build.sh

Update grammar

Manually change the grammar file in this project

  1. run ./build.sh to generate the parser code.

Test the parser

Run TestStarRocksSQLParser in parser_test.go to test the parser.

go test -v

References