nbb 2022-11-10

Trying to use instaparse with nbb, and getting the following error:

----- Error --------------------------------------
Message:  Could not find namespace: instaparse.macros
Could not find namespace: instaparse.macros
Is there some option I need to specify, or am I just out of luck with instaparse?

Not sure how it could ever have worked with clojurescript though, and the lack of use of reader conditionals. I'm probably not getting something.

CLJS executes .clj files when run from the JVM for macros

👍 1

but instaparse isn't SCI-compatible, for other reasons, it also doesn't run with bb

Okay. Thank you.

Perhaps there is a similar npm library though

Quite a few, I've been looking through them.

Any recommandations? Can’t seem to find any decent ones.

In the meanwhile, there is now https://github.com/babashka/instaparse-bb for babashka

Thanks for the reply. Can I use this with nbb? I suppose not?

Not with nbb currently

OK that’s fine. Thanks for the reply 🙂

Could be an idea to make pods available to nbb as well

I guess all of those exposed functions would be async though, but technically possible