A small javascript interpreter integrating Database and Web in C.
wget http://jsish.org/jsi/zip/jsi -O jsi.zip
unzip jsi.zip && cd jsi && make
jsish -u tests
jsish -W js-demos/wspage.html # Websockets
jsish -S mysqlite.db # Web GUI for Sqlite.
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);' # Simple C-extension.
Quote this and this -- by Me
DOC | DESCRIPTION | DOC | DESCRIPTION |
---|---|---|---|
Build | Downloading, building and using | Reference | Command reference (generated) |
Builtins | Command descriptions & examples | Interp | Interpreter API |
Coding | Developing with Jsi | Logging | Logging support |
CData | Generate C extensions & structs | Misc | Various topics |
C-API | The non-script API | MySql | MySql database API |
DBQuery | Sqlite database queries from C | Sqlite | Sqlite database API |
Debug | Debugging in Jsi | Testing | Testing facility for scripts |
Demos | Demo applications | Types | Function parameter types |
Deploy | Deploying Jsi apps | Web | Web and WebSocket support |
- https://jsish.org: Fossil repository and enhanced docs.
- https://github.com/pcmacdon/jsish: Github repository and issues.