Re:ClojureScript 1.7: ClojureScript can compile itself
by mfikes on Friday July 31, 2015 @03:08PM
(#9983684)
You can dynamically compile and run ClojureScript scripts so long as you have properly hooked things up to a JavaScript engine. I've started on an effort that makes this easy OS X, wrapping JavaScriptCore and I could see similar efforts for Node.js. Here's what I've been working on: http://planck.fikesfarm.com It can run scripts you have on disk, etc, and it has basic file I/O capabilities at the moment so you can write simple text processing scripts, for example.
[ Parent
| on HN ]
Re:ClojureScript 1.7: ClojureScript can compile itself
by tbatchelli on Friday July 31, 2015 @10:27PM
(#9985623)
planck is a really exciting project. What IO capabilities do you think are missing at this point?
Re:ClojureScript 1.7: ClojureScript can compile itself
by mfikes on Friday July 31, 2015 @11:21PM
(#9985776)
Just for DX / ergonomics, I'd like to mimic more of the file I/O stuff that you have in Clojure, especially the ability to cope with streams. And then perhaps having network I/O would be interesting as well.
Then there is the `clojure.java.shell` namespace that could prove very useful for scripting.