Skip to content

milahu/lezer-parser-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

lezer grammar for the nix language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published