squint

martinklepsch 2024-10-26T09:02:21.238589Z

zod is also a popular option in that space, more typescript oriented but usable from JS too

m3tti 2024-10-24T15:10:59.117729Z

That look nice

tianshu 2024-10-24T21:15:41.583959Z

For people who have tried to build something with squint. I'm wondering about the experience.

borkdude 2024-10-25T07:50:35.357099Z

maybe @martinklepsch would like to chime in?

tianshu 2024-10-25T08:28:58.358959Z

I'm also curious about the source-map. In my experience with clojurescript(mostly shadow-cljs), source map is important, as it's very difficult to read the compiled javascript.

borkdude 2024-10-25T08:29:42.949779Z

squint doesn't have source maps. in my experience it's pretty easy to read the compiled code and see where it came from mentally

borkdude 2024-10-25T08:30:03.732649Z

squint might have source maps in the future though, I have a branch with a partially working version, but it's a lot of work to finish it

tianshu 2024-10-25T08:34:00.348299Z

So source-map is not necessary for squint in your opinion as the generated javascript is much easier to read?

borkdude 2024-10-25T08:34:34.654249Z

it would be a nice to have of course

borkdude 2024-10-25T08:34:53.077579Z

probably at some point in the future

borkdude 2024-10-25T08:35:03.713179Z

having a browser REPL is more important which is what I'm working on right now

1
😍 4
🎉 4
tianshu 2024-10-25T08:36:36.138699Z

Oh I see. Nice job! I can't wait to use it. I really like the idea for a lightweight clojurescript compiler.