avelino · @avelino
361 followers · 24 posts · Server clj.social

RT @borkdude: squint v0.1.15, ClojureScript syntax to JS compiler

This version adds defclass, directly inspired by shadow-cljs to prevent fragmentation in the CLJS ecosystem

t.co/mQrk2gQztC

See screenshot of how to use it with lit!

t.co/EmAgh4xrnY

#squintcljs #clojure #clojurescript

Last updated 1 year ago

(λ. borkdude) · @borkdude
1132 followers · 624 posts · Server mastodon.social

Thanks to @lilactown_ now has `for` and `doseq`!

github.com/squint-cljs/squint

#squintcljs #clojure #clojurescript

Last updated 2 years ago

(λ. borkdude) · @borkdude
1128 followers · 596 posts · Server mastodon.social
(λ. borkdude) · @borkdude
1128 followers · 596 posts · Server mastodon.social
(λ. borkdude) · @borkdude
1052 followers · 483 posts · Server mastodon.social

Try , it has threading macros :)

squint-cljs.github.io/squint/


---
RT @stevekrouse
I want the pipe operator in JavaScript so badly. If there were a kickstarter for it, I'd be so in
twitter.com/stevekrouse/status

#squintcljs #clojure #clojurescript

Last updated 2 years ago

(λ. borkdude) · @borkdude
1014 followers · 411 posts · Server mastodon.social
(λ. borkdude) · @borkdude
970 followers · 367 posts · Server mastodon.social

It's an honour. This funding is important for me to be able to continue the work I'm doing. Thank you community and @cljtogether! 🙏

Here's to another year of , , , SCI, , , , , and ... more?!

🍾 🎉
---
RT @cljtogether
Our members have picked 10 developers to receive long-term funding for 2023! Each developer will get $1.5k/mo for 12 months ($180k total): @BB
twitter.com/cljtogether/status

#clojure #cljKondo #babashka #nbbcljs #scittlecljs #cherrycljs #squintcljs #vsjoyride

Last updated 2 years ago

(λ. borkdude) · @borkdude
961 followers · 355 posts · Server mastodon.social

In keyword calls like `(:foo x)` are compiled to `(get x "foo")`. This is why you can use `(:foo x)` instead of writing the interopsy `(.-foo x)`, making interop, if you squint real hard, seem more Clojury!

#squintcljs #clojure #clojurescript

Last updated 2 years ago

(λ. borkdude) · @borkdude
942 followers · 325 posts · Server mastodon.social

I've been told that Svelte was hard to target with ClojureScript. With squint and cherry this is possible since the compiler can be installed as an NPM dependency and can run in JS, as a Svelte preprocessor.


---
RT @borkdude
Svelte +

github.com/Dangercoder/svelte-


twitter.com/borkdude/status/16

#clojure #clojurescript #squintcljs

Last updated 2 years ago

(λ. borkdude) · @borkdude
938 followers · 325 posts · Server mastodon.social
(λ. borkdude) · @borkdude
933 followers · 324 posts · Server mastodon.social

Squint now supports passing down props in JSX using `:&` inspired by @lilactown_'s helix.

github.com/squint-cljs/squint

#clojure #clojurescript #squintcljs

Last updated 2 years ago

(λ. borkdude) · @borkdude
716 followers · 157 posts · Server mastodon.social

In 2018 I organized Advent of CLJC: a repo of clj + cljs solutions that were tested and benchmarked on @CircleCI.

github.com/borkdude/advent-of-

Is anyone up for the challenge of doing it with , / / this year? :)

#cherrycljs #squintcljs #clojure #adventofcode #babashka #nbbcljs

Last updated 2 years ago

(λ. borkdude) · @borkdude
615 followers · 119 posts · Server mastodon.social