build: optimize cli and add eslint

This commit is contained in:
xiaowei
2020-08-28 13:29:47 +08:00
parent c069f9f714
commit d86a6e7638
41 changed files with 4180 additions and 70411 deletions

22
docs/Roadmap.md Normal file
View File

@ -0,0 +1,22 @@
# RoadMap
## Supported SQL Language
- Generic SQL
<https://github.com/mysql/mysql-workbench/tree/8.0/library/parsers/grammars>
- Hive SQL
- Impala SQL
- Spark SQL
- MySQL
- TSQL
- PLSQL
## TODO
- Unify parser generate to Antlr4
- Generic SQL
- Flink SQL
- Libra SQL
- Oracle SQL
- TiDB
MySQL Compatible Syntax

9
docs/Tutorials.md Normal file
View File

@ -0,0 +1,9 @@
# Tutorials
## 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>