cherry 2024-02-19

I feel like when using cherry I almost want to just leave behind the concept of namespaces & just stay in JS module land

That would not make for a very nice repl experience, I think.

🫣 1

squint/cherry has a different mode for the REPL: it emits both global stuff which emulates namespaces and also JS modules for any JS that might interoperate

for prod it only emits ES6 modules

ah I didn’t consider the REPL stuff. @borkdude does your message mean the REPL could work without namespaces? and if you don’t mind, could you perhaps give an update on the state of REPLs in cherry/squint?

you can see the REPL output here for example: https://squint-cljs.github.io/cherry/ although the nREPL stuff currently only works with squint, it's possible to copy it, but it's not yet finished

🙏 1