Live data from Hacker News

Ki – A lisp for your JavaScript

ki-lang.org

1–10 of 42 posts

Re: Ki – A lisp for your JavaScript

#6
post #5

Earlier quoted context omitted.

because the jvm is a pain?

ClojureScript is not executed on the JVM.

But it does have a fairly tight integration with clojure, and also uses the JVM-based closure compiler. However, I'd way rather see a clojurescript runtime for v8 than another language "inspired by" clojurescript.

Re: Ki – A lisp for your JavaScript

#10
post #8
post #2

Why would I want to use this in preference to ClojureScript?

I'm guessing, since this is a set of sweet.js macros you could mix Ki and Javascript code in the same file. So you could only use the lisp bits when you really needed to.

[Hi, author here] Yes, that is basically the idea. ki functions are js functions, same goes for vars, which makes it easy to jump from js to ki and back, without giving up on immutability, etc. Note that ki is not really intended as a ClojureScript alternative at all. It's more a way to take advantage of its data structures and some of its expressiveness from a pure JS ecosystem.
Post reply on HN