r/Clojure • • Nov 01 '23

Porting a ClojureScript project to squint

https://blog.michielborkent.nl/porting-cljs-project-to-squint.html
21 Upvotes

10 comments sorted by

7

u/aaroniba Nov 01 '23

I've been using squint to sprinkle in some javascript into an otherwise server-driven HTML web app, where introducing the whole clojurescript compiler would be too heavyweight. I have been having a great experience using squint in this context. Thank you u/Borkdude !

4

u/[deleted] Nov 01 '23

I’m pleased to see Squint chugging along.

1

u/stevemolitor Nov 07 '23

This is cool - happy to see Squint (and Cherry) progress and articles!

I think they're also good for node.js programmers wanting to write little scripts and services using the node API.

Any word on nrepl support? Squint / Cherry + Cider for node scripts would be awesome.

1

u/Borkdude Nov 07 '23

Working on nREPL support!

1

u/Borkdude Nov 10 '23

u/stevemolitor Version 0.4.39 of squint now has a Node.js nREPL server. It's not complete and probably has bugs but it works in my emacs.

1

u/stevemolitor Nov 11 '23

Awesome thanks I will check it out!

1

u/stevemolitor Nov 07 '23

Awesome!

Also worth noting that for server-side node stuff the extra bundle size of Cherry is less of a concern.

1

u/Borkdude Nov 07 '23

True but the size of the to-be-loaded JS still affects Node.js startup time though

4

u/[deleted] Nov 01 '23

[removed] — view removed comment

1

u/Borkdude Nov 01 '23

Magic ;)