antlr-monaco
v0.3.0-alpha2
Published
ANTLR integration with Monaco Editor
Downloads
113
Readme
antlr-monaco
:warning: Warning: The project is still experimental
Tools to integrate ANTLR4 grammars in the Monaco Editor.
Installation
With NPM:
npm install antlr-monaco
With Yarn:
yarn add antlr-monaco
Dependencies
This library depends on antlr4ts, antlr4-c3 and monaco-editor which are not bundled with it.
Usage
The library has 3 main modules:
Grammar
The base of the project. It has a completion engine (based on antlr-c3) that can be configured to suggest tokens and rules.
Monaco
The integration of the grammar into the Monaco Editor. These are the implemented components:
Test
Some functions to reduce the boilerplate of unit tests.
Examples
The examples
folder includes these languages:
- DPM-XL
Collaboration
License
Apache 2.0