@exercism/codemirror-lang-wren
TypeScript icon, indicating that this package has built-in type declarations

0.7.2 • Public • Published

codemirror-lang-wren NPM Version

This package implements Wren language support for the CodeMirror code editor. Originally derived from the JavaScript grammar and language support.

The project page for CodeMirror has more information, a number of examples and the documentation.

This code is released under an MIT license.

Language Support + Lezer Grammar

This includes both the CodeMirror LanguageSupport and the LezerLanguage 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

wren() → LanguageSupport

Wren support. Includes snippet completion.

wrenLanguage: LezerLanguage

A language provider based on the Lezer Wren parser provided in this very same package, extended with highlighting and indentation information.

lezerParser: Lezer#Parser

Lezer Wren parser.

snippets: Completion[]

A collection of simple Wren-related snippets.

Readme

Keywords

none

Package Sidebar

Install

npm i @exercism/codemirror-lang-wren

Weekly Downloads

1

Version

0.7.2

License

MIT

Unpacked Size

40.9 kB

Total Files

6

Last publish

Collaborators

  • joshgoebel
  • ihid
  • sleeplessbyte