squint

borkdude 2026-06-22T10:21:11.126249Z

got replicant working with squint now (locally): https://clojurians.slack.com/archives/C06JZ4X334N/p1782123543253039?thread_ts=1781281729.595119&cid=C06JZ4X334N

🆒 4
❤️ 7
Harold 2026-06-22T12:47:36.943179Z

did it require many changes to squint?

borkdude 2026-06-22T12:48:35.904329Z

yes, mostly adding some no-op core functions like keyword? and a bunch of edge case fixes like (disj nil :foo) etc. and things like sets and maps not being callable as functions (except when they are literals)

borkdude 2026-06-22T12:48:54.261199Z

I'm about to bring out a new squint version with those fixes, will post here

rafaeldelboni 2026-06-22T13:44:56.777019Z

Thats super cool!

2026-06-22T14:12:29.491969Z

Looking fwd to trying this!

Harold 2026-06-22T15:10:50.972969Z

Nice.

borkdude 2026-06-22T18:51:31.255939Z

See #C06MAR553

chromalchemy 2026-06-22T19:38:38.289989Z

If i have an older NPM or Yarn project and cant use Vite, can I still use this?

borkdude 2026-06-22T19:41:31.208709Z

yes, just compile yourself but you don't get to use a browser REPL

👍 1
borkdude 2026-06-22T19:42:02.553129Z

you can still use squint watch

borkdude 2026-06-22T20:34:44.208069Z

One pretty huge change (both in code and in behavioral change/improvement) in the newest squint is that lazy seqs are now cached, like in CLJS. So running over one lazy seq twice won't re-calculate things anymore. Goodbye warn-on-lazy-reusage!! Also they are now way faster than the old squint and also than CLJS.

7
🤘 3
🤘🏼 1
⚡ 11