Transform a JSON grammar into a syntax-highlight parser for CodeMirror
-
Updated
Dec 2, 2025 - JavaScript
A grammar describes the syntax of a programming language, and might be defined in Backus-Naur form (BNF). A lexer performs lexical analysis, turning text into tokens. A parser takes tokens and builds a data structure like an abstract syntax tree (AST). The parser is concerned with context: does the sequence of tokens fit the grammar? A compiler is a combined lexer and parser, built for a specific grammar.
Transform a JSON grammar into a syntax-highlight parser for CodeMirror
Transform a JSON grammar into a syntax-highlight parser for ACE Editor
invariant codebase of editor-grammar (codemirror-grammar, ace-grammar,prism-grammar,syntaxhighlighter-grammar, highlightjs-grammar,..)
General-purpose recursive descent parser and evaluator
A input field with a syntax-based completion
Context free grammar utilities.
Recherche Intelligence Musicale. Faire de l'OMR sur Gallica, et jouer les partitions dans Gallica.
Translator from EBNF to simple BNF
My first toy language. Created exclusively for learning purposes.
Localisation de photographies de Gallica-BnF