Fork me on GitHub
#cherry
<
2024-02-19
>
martinklepsch21:02:52

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

pez21:02:56

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

1
borkdude21:02:15

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

borkdude21:02:30

for prod it only emits ES6 modules

martinklepsch05:02:13

ah I didn’t consider the REPL stuff. @U04V15CAJ 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?

borkdude18:02:40

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