Skip to content

A browser based editor for a simple DSL to perform calculations

License

Notifications You must be signed in to change notification settings

lloydsun/calc-monaco-editor

 
 

Repository files navigation

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

About

A browser based editor for a simple DSL to perform calculations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 39.5%
  • TypeScript 35.1%
  • HTML 14.9%
  • Kotlin 5.9%
  • ANTLR 4.2%
  • CSS 0.4%