3 ms·
Hey, I’m a founder of Nextjournal and one of the authors of clojure-mode. Highly recommend checking out CodeMirror 6 [1], it’s really well done. On of the main
by kvlr 6y ago
Hey, I’m a founder of Nextjournal and one of the authors of clojure-mode.
Highly recommend checking out CodeMirror 6 [1], it’s really well done. On of the main benefits is its blazingly fast incremental parsing system called lezer [2], which is heavily influenced by tree-sitter. The Clojure grammar file is at [3].
I’ve done a small video about this at launch [4] and you can also play with this on Nextjournal [5].
Let me know if you have questions or feedback.
[1]: https://codemirror.net/6/ https://codemirror.net/6/
[2]: https://lezer.codemirror.net/ https://lezer.codemirror.net/
[3]: https://github.com/lezer-parser/clojure/blob/master/src/clojure.grammar https://github.com/lezer-parser/clojure/blob/master/src/cloj...
[4]: https://twitter.com/mkvlr/status/1352274315354529792 https://twitter.com/mkvlr/status/1352274315354529792
[5]: https://nextjournal.com/try/mk/rule-30 https://nextjournal.com/try/mk/rule-30