Fork me on GitHub
#nbb
<
2022-11-10
>
sparkofreason05:11:05

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?

Daniel Gerson09:11:06

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.

borkdude11:11:28

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

👍 1
borkdude11:11:47

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

sparkofreason13:11:12

Okay. Thank you.

borkdude13:11:36

Perhaps there is a similar npm library though

sparkofreason13:11:03

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

Adrien Blavier15:02:20

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

borkdude15:02:18

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

Adrien Blavier15:02:27

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

borkdude15:02:50

Not with nbb currently

Adrien Blavier15:02:17

OK that’s fine. Thanks for the reply 🙂

borkdude15:02:52

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

borkdude15:02:13

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