Clojure/Script mode for CodeMirror 6(nextjournal.github.io)
nextjournal.github.io
Clojure/Script mode for CodeMirror 6
https://nextjournal.github.io/clojure-mode/
2 comments
Really nice. Looks like nextjournal is making a big bet on clojure: https://twitter.com/mkvlr/status/1355272185733111809?s=19
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/
[2]: https://lezer.codemirror.net/
[3]: https://github.com/lezer-parser/clojure/blob/master/src/cloj...
[4]: https://twitter.com/mkvlr/status/1352274315354529792
[5]: https://nextjournal.com/try/mk/rule-30