News for hackers. Stuff that matters.
Re:Ki – A lisp for your JavaScript by weavie on Monday June 16, 2014 @06:46AM (#7898267)
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 by lantiga on Monday June 16, 2014 @08:08AM (#7898568)
[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.