jsish
Home
Not logged in

Jsi is a JavaScript Interpreter/shell which can embed easily into a C application to add:

Functions in Jsi can take parameters with types and default values, eg.

function foo (n:number, str:string=''):number { return n+str.length; }

Typed-functions assume an important role in Jsi, both for scripting and in C-extensions.


A selected list of topics:

Name DescriptionName Description
Language Jsi feature comparison with other languages System Jsi built-in methods
Functions Functions with argument types and/or defaults Filesystem File, Channel, Zvfs, exec, console, etc...
Amalgamation The fastest way to add-in Jsi support: jsi.c Info Interpreter introspection
Debugging Use of debuggers and directives Interp Context for javascript execution
Logging Message logging for debugging and tracing Websocket Websocket extension
Packages Packages for both javascript and binary Socket Socket (TCP and UDP) extension
Modules Javascript modules Sqlite Sqlite database extension
Extending Creating user defined C-extensions MySql MySql database extension
Jsi-Lite C-code usable without an interpreter Zvfs Zipping files and Zero Install application
Threads Threads and mutex Carray Simplified C structs to scripting and/or Sqlite