d3v3l0 / jsish

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

Home Page:https://jsish.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Docs | Docs-alt | Issues | jsish.org

Quick-Start

Download a binary for linux / win:

wget http://jsish.org/bin/jsish &&  chmod u+x jsish
wget http://jsish.org/bin/jsish.exe

Or get the source and build:

wget http://jsish.org/jsi.zip &&  unzip jsi.zip;  cd jsi;  make

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

About

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

https://jsish.org/

License:MIT License


Languages

Language:C 77.5%Language:JavaScript 17.1%Language:Yacc 2.3%Language:CSS 1.3%Language:Makefile 0.7%Language:HTML 0.6%Language:Shell 0.3%Language:C++ 0.1%