[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to use ejacs to eval a file as with command line driven interpreter
From: |
Xah Lee |
Subject: |
how to use ejacs to eval a file as with command line driven interpreters |
Date: |
Thu, 8 Jan 2009 07:12:45 -0800 (PST) |
User-agent: |
G2/1.0 |
there's Stevey Yegge's javascript interpreter written in elisp.
http://code.google.com/p/ejacs/
by default it runs in emacs as a command line console.
my question is, is it possible to run ejacs with a file?
e.g. i have a file x.js, which i can run in shell with spidermonkey
like this:
js x.js
i wish to be able to use ejacs to eval a file. Otherwise it wouldn't
be useful to me.
Thanks.
Xah
∑ http://xahlee.org/
☄
- how to use ejacs to eval a file as with command line driven interpreters,
Xah Lee <=