1.0.1 • Published 9 years ago

jscl-node v1.0.1

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
9 years ago

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

1.0.1

9 years ago