Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 593 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 593 Bytes

calc-monaco-editor

This project is explained in the article Writing a browser based editor using Monaco and ANTLR.

A browser based editor for a simple DSL to perform calculations.

It shows how to integrate ANTLR with monaco.

Calc Example

Generating the lexer and the parser

./gradlew generateParser

Build everything and run the server

npm install
./gradlew generateParser
tsc
webpack
cd server
./gradlew runServer

Now visit http://localhost:8888