pcmacdon / 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.

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

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.6%Language:JavaScript 17.2%Language:Yacc 2.3%Language:CSS 1.3%Language:Makefile 0.7%Language:HTML 0.6%Language:Shell 0.3%