Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.97 KB

readme.md

File metadata and controls

52 lines (35 loc) · 1.97 KB

lezer-parser-nix

This is a Nix grammar for the lezer parser system.

The code is licensed under an MIT license.

Dev

To watch & test, with entr installed run npm run watch

usage

  • monaco-lezer-parser - use lezer parsers in monaco-editor
    • also has a grammar file for nix: monaco-lezer-parser/grammars/nix.json
  • codemirror editor has native support for lezer parsers
    • pro: lightweight, modular
    • con: less mature than monaco-editor

demos

similar projects

related

this project is based on

other Nix parsers

Nix language spec