Skip to content
/ jsish Public

Jsi is a small, C-embeddable javascript interpreter with tightly woven Web and DB support.

License

Notifications You must be signed in to change notification settings

pcmacdon/jsish

Repository files navigation

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);'