Live data from Hacker News

Show HN: Dak – a Lisp-like language that transpiles to JavaScript

daklang.com

21–24 of 24 posts

Re: Show HN: Dak – a Lisp-like language that transpiles to JavaScript

#22

Really reminds me of Parenscript[0], which is a subset of Common Lisp that transpiles to JS with no runtime. It's basically a thin skin around JS and it feels more like writing JS with a Lisp syntax. What I feel is missing from Parenscript is runtime macro-expansion, hard to do without using JS to build the AST. [0] https://parenscript.common-lisp.dev/

Ah, I remember seeing this a long time ago. It seemed like something CL fans would enjoy, but to me it felt verbose. I guess this is my Clojure preference showing.

Regarding runtime macro-expansion - since Dak is written in JavaScript, it comes for free.

Re: Show HN: Dak – a Lisp-like language that transpiles to JavaScript

#24
post #17

I'm enjoying reading your transpiler[0], especially how well you use generator functions. Currently I'm building a similar language in a more opinionated object-oriented style, yet I still find yours inspiring. 0. https://github.com/daaku/dak/blob/main/packages/transpiler/s...

Thanks! My fear taking this path is around performance. I've not done any profiling yet, and I'm hoping I don't regret taking this path when I get around to it.

Well you know what they call un-optimized code? Shipped :)
Post reply on HN