instaparse

If you're not trampolining your parser, why bother getting up in the morning?
2020-07-15T22:29:26.037600Z

Hi! If instaparse parses a string in Clojure but fails to do the same in cljs with an identical grammar, what's a good place to start debugging?

aengelberg 2020-07-15T22:30:23.038600Z

instaparse defers to the host language when it comes to regex syntax, so if you have a #"…" in your grammar that might be a good place to start

2020-07-15T22:31:02.039Z

Aha! I do, will check that, thanks

2020-07-15T22:42:00.040100Z

Got it, it was Javas [^]+] vs. JS' [^\]+] , thanks again 🙂 Writing the parser was a breeze btw!

👏 1
aengelberg 2020-07-15T22:42:22.040600Z

nice! cool to hear that, thx