Skip to content

Latest commit

 

History

History
25 lines (12 loc) · 716 Bytes

README.md

File metadata and controls

25 lines (12 loc) · 716 Bytes

Jsi is a javascript-ish interpreter with builtin websocket-server, sqlite and C-extensibility.

Home | Docs

Start

Get source and build '''make'''.

Or download a binary: https://github.com/pcmacdon/jsibin/

🚩 See Start.

Usage

./jsish -W -docs /          # Jsi web-docs.
./jsish -S mysqlite.db      # Sqlite web-gui.

Compile and run a simple C-extension.

./jsish -c -jsc "function add(n1:number, n2:number=1):number { n1+=n2; \nRETURN(n1);\n }" Sum 
./jsish -e 'require("Sum",0); return Sum.add(9,3);'