3 ms·
Seems like building off of a Lezer grammar for Clojure would have been the way to go. It's lightweight, fast, and supports very fast incremental re-parsing. [0]
by erichocean 4y ago
Seems like building off of a Lezer grammar for Clojure would have been the way to go. It's lightweight, fast, and supports very fast incremental re-parsing. [0]
If anyone wants a fun project, adding Parinfer [1] support to lang-clojure [2] for CodeMirror 6 would be welcome.
[0] https://github.com/nextjournal/lezer-clojure https://github.com/nextjournal/lezer-clojure
[1] https://shaunlebron.github.io/parinfer/ https://shaunlebron.github.io/parinfer/
[2] https://github.com/nextjournal/lang-clojure https://github.com/nextjournal/lang-clojure