Stephen Deken wrote:
> All I wanted to do was run JSLint at the command line. Surely it can't > be that hard? Yet SpiderMonkey has no I/O capabilities at all.Maybe try compiling with -DJS_HAS_FILE_OBJECT and using the File object?
Yep, works great -- if you've got a full mozilla source tree and not just spidermonkey. Oh, and the patience to build mozilla.
-Dom