And it works fine so far. My initial impression was, "Why use a web server to run shell tools?" But, e.g. docco installed perfectly using node.js and npm.
Being a skeptic, I first tried pycco, a a similar tool but more traditionally installed pythonically. Something wasn't right and it didn't run. This is just one, unfair, data point. But it was a reassuring experience that javascript tools are showing up and working fine.
Another javascript tool installed and run using node.js and npm is PEG.js, a parser generator based on, well, PEGs (parsing expression grammars).
These tools run fine, and I'm thinking they startup much more quickly than the java-based rhino javascript runtime tools. I've not bothered to investigate though.
5 comments:
Are you kidding about node vs rhino performance? Some info and links here. Node is faster, and see this.
But speed isn't everything. Need to run on Windows? I don't know what the Node on windows story is. Rather use threads than async callback goop? Rhino wins there. Need to access Java junk? etc, etc.
Somebody should write a nice Lisp to run on top of the V8 VM.
Hi Patrick...
"Are you kidding about node vs rhino performance?"
Well, I wrote "much more quickly than rhino" I just did not want to make a concrete claim without having run rhino even once.
"But speed isn't everything."
Agreed.
"Need to run on Windows? I don't know what the Node on windows story is."
I no longer even *own* a machine with Windows, so in my case... no.
"Rather use threads than async callback goop? Rhino wins there."
I'm wondering how long before all the javascript runtimes support threads.
"Need to access Java junk?"
Not nearly as often as I used to! And most of my personal interest in javascript currently is still in the browser.
Good to hear from you.
"Somebody should write a nice Lisp to run on top of the V8 VM."
Hi Stefan - agreed. And I wonder how long before coffee-script, et al. blossom into a full, well-supported, "language ecosystem" on the javascript runtimes similar to what's happened the last few years on the JVM.
Good to hear from my old blogging friends.
"Somebody should write a nice Lisp to run on top of the V8 VM."
Well, instead I started a simple Scheme interpreter in pure javascript. Just about all it has at this point is a CPS interpreter, a trampoline, and full call/cc...
https://github.com/patrickdlogan/nconc
Post a Comment