codemirror-lang-gleam
This package implements basic Gleam language support for the
CodeMirror code editor.
Language Support + Lezer Grammar
This includes both the CodeMirror LanguageSupport
and the LRLanguage
grammar all bundled into a single small repository with a simple build process.
Maintainers
There is a very rough developer tool in devtool
that can be used for testing.
npm run build-devtool
API Reference
-
gleam() → LanguageSupport
-
Gleam support.
-
gleamLanguage: LRLanguage
-
A language provider based on the Lezer Gleam parser provided in this very same package.
-
lezerParser: Lezer#Parser
-
Lezer Gleam parser.