jscl-node
v1.0.1
Published
JSCL (Javascript Common Lisp) now in npm!
Downloads
1
Readme
jscl-node
Bringing the awesome JSCL to npm! (repl available here)
Usage
Current Status
Currently I just build a fresh jscl.js from the repo and throw it on npm, but in future iterations I'll be trying to provide a usability layer between (see below).
In Node (Coming Soon)
import jscl from 'jscl';
jscl(`(DEFUN hello() ("HELLO WORLD"))`) // Prints -> HELLO WORLD
jscl.evaluate(`(DEFUN goodbye() ("BYE WORLD"))`) // Prints -> BYE WORLD
jscl.load(`${__dirname}/hello.lsp`) // Evaluates an entire file
CLI (Coming soon)
$ npm install -g jscl
$ jscl "(DEFUN hello() ("HELLO WORLD"))" # Prints -> HELLO WORLD
$ jscl hello.lsp # Loads and evaluates file
Limitations
This project simple provides jscl, it does not add any functionality to it! To learn more about JSCL, check it out