Fork me on GitHub
#announcements
<
2019-10-14
>
carocad19:10:48

parcera the grammar-based Clojure(script) parser is now 3 times faster than before 🚀. Unfortunately this lead to some breaking changes so make sure to check the release notes 😅 - https://github.com/carocad/parcera - https://github.com/carocad/parcera/releases/tag/v0.3.0

borkdude12:10:18

Curious to hear what made it faster 🙂

carocad14:10:36

following and understanding the Performance notes from Instaparse. two main points: - defining all tokens completely instead of on parts - avoid checking all paths of the grammar by using ordered OR instead of unordered or.

carocad14:10:16

@U04V15CAJ btw, no more empty whitespaces 😏

carocad14:10:18

still not blazing fast as your parser but much better than before. I am still checking how can I make it faster though 🤔

borkdude14:10:13

rewrite-clj isn't my parser btw

borkdude14:10:19

I'm only using it

daslu20:10:22

Upcoming web meeting meeting: @ikitommi about Malli -- plain data schemas in Clojure/Script https://twitter.com/scicloj/status/1183845705380696064