← All projects
Project record1 mention
Originally shared on Hacker News

ESON Lezer grammar for CodeMirror

A Lezer grammar providing syntax highlighting for the ESON data format in the browser via the CodeMirror project; its flexibility allowed implementing additional features like custom folding.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. ESON Lezer grammar for CodeMirror

    A Lezer grammar providing syntax highlighting for the ESON data format in the browser via the CodeMirror project; its flexibility allowed implementing additional features like custom folding.

    Posted by @dlgltlzed · Original source ↗

    Source text · @dlgltlzed · · Source ↗

    To highlight the syntax in the browser I checked out the CodeMirror project that uses Lezer grammars. It is very flexible and allowed me to implement additional features like custom folding.