jscl-node

1.0.1 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i jscl-node

Weekly Downloads

2

Version

1.0.1

License

ISC

Last publish

Collaborators

  • brwnrclse