Skip to content

Coem grammar and language support for Lezer and CodeMirror.

License

Notifications You must be signed in to change notification settings

coem-lang/lang-coem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Coem grammar and language support for Lezer and CodeMirror.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published