Tutorials Antlr4 installation How to extend new grammar How to expose Javascript interface in this project Integrate with Monaco Editor Release npm run script npm run release -- --release-as minor Or npm run release -- --release-as 1.1.0 Reference https://tomassetti.me/writing-a-browser-based-editor-using-monaco-and-antlr/ SQL FlinkSQL antlr4 grammar https://github.com/apache/spark/blob/master/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4