Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.71 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.71 KB

lang-coem

This repository contains:

Setup

Build:

npm run build

Test:

Edit cases in cases.txt, then:

npm test

API Reference

coem() → LanguageSupport

Coem language support.

coemLanguage: LRLanguage

A language provider based on the Lezer Coem parser, extended with highlighting and indentation information.

References

The grammar was largely based on the Python grammar and developed with the help of the Lezer System Guide.

Testing for the grammar was informed by the tests for Python and tests for @lezer/generator.

The language support began with the CodeMirror lang-example repository and was largely based on the Python language support.