32 lines
779 B
Markdown
32 lines
779 B
Markdown
# Tutorials
|
|
|
|
## Antlr4 installation
|
|
|
|
## How to extend new grammar
|
|
|
|
## How to expose Javascript interface in this project
|
|
|
|
## Integrate with Monaco Editor
|
|
|
|
## Release
|
|
|
|
npm run script
|
|
|
|
```bash
|
|
npm run release -- --release-as minor
|
|
```
|
|
|
|
Or
|
|
|
|
```bash
|
|
npm run release -- --release-as 1.1.0
|
|
```
|
|
|
|
## Reference
|
|
|
|
- <https://tomassetti.me/writing-a-browser-based-editor-using-monaco-and-antlr/>
|
|
- [SQL](https://en.wikipedia.org/wiki/SQL)
|
|
- [FlinkSQL](https://github.com/apache/flink/blob/master/flink-table/flink-sql-parser/src/test/java/org/apache/flink/sql/parser/CreateTableLikeTest.java)
|
|
- [antlr4 grammar](https://github.com/antlr/grammars-v4/tree/master/sql)
|
|
- <https://github.com/apache/spark/blob/master/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4>
|