Codemirror-grammar is a JS add on for codemirror syntax highlighter which simplifies the creation of syntax lexicons (what codemirror calls 'modes') by using a JSON-based definition format.
Questions tagged [codemirror-grammar]
1 questions
1
vote
1 answer
Codemirror-grammar how to make keyword checks case-insensitive
Codemirror is an excellent JS library for syntax coloring & highlighter etc. I have created a very simple 'macro' language for my project and want to use codemirror for it. However, writing a new mode / lexicon parser for codemirror is not a simpleā¦

Vanquished Wombat
- 9,075
- 5
- 28
- 67