0.3.0-alpha2 • Published 8 months ago

antlr-monaco v0.3.0-alpha2

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
8 months ago

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

Authors

0.3.0-alpha2

8 months ago

0.3.0-alpha

9 months ago

0.2.0

1 year ago