Ki – A lisp for your JavaScript
ki-lang.org
Ki – A lisp for your JavaScript
1–10 of 42 posts
Re: Ki – A lisp for your JavaScript
#2Why would I want to use this in preference to ClojureScript?
Re: Ki – A lisp for your JavaScript
#3See also: https://github.com/Gozala/wisp
Re: Ki – A lisp for your JavaScript
#4Why would I want to use this in preference to ClojureScript?
because the jvm is a pain?
Re: Ki – A lisp for your JavaScript
#5Re: Ki – A lisp for your JavaScript
#6Earlier 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
#7See also: https://github.com/Gozala/wisp
For a second I thought wisp was http://will.thimbleby.net/misc/ but nope.
Re: Ki – A lisp for your JavaScript
#8Why 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.
Re: Ki – A lisp for your JavaScript
#9Woow! This is really fucking cool! Thanks for sharing.
Re: Ki – A lisp for your JavaScript
#10Why 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.