setlxjs-cli
v1.0.2
Published
A command line interface for setlx.js
Downloads
2
Readme
SetlX.js Command Line interface
This is the Node.js command line interface for the SetlX.js transpiler.
Usage
transpile [--output <outpath>] <filepath>
Transpile a SetlX file to JavaScript.
<filepath>
: file or directory with .stlx
files
--output <outpath>
: file or directory to output the file(s) to
run <file>
Run a SetlX file with SetlX.js. The file gets transpiled internally and is then run with Node.js.
<file>
: A SetlX file to run
tree <expression>
Display the abstract syntax tree of a SetlX expression.
<expression>
: A SetlX expression to parse