lava-oushudb-dt-sql-parser/docs/Tutorials.md

28 lines
759 B
Markdown
Raw Normal View History

2020-08-28 13:29:47 +08:00
# Tutorials
## Antlr4 installation
## How to extend new grammar
## How to expose Javascript interface in this project
## Integrate with Monaco Editor
2021-01-05 16:06:56 +08:00
## Release
# npm run script
npm run release -- --release-as minor
# Or
npm run release -- --release-as 1.1.0
2020-08-28 13:29:47 +08:00
## 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>