ino is a minimalist C API to execute JavaScript code and to expose native methods to JavaScript execution contexts.
The common headers for all ino implementations are distributed separately from the implementation code.
The code is released under an ISC-style license.
Usage
Both ino implementations and applications/libraries using them are meant to be including <ino/lib.h> in their source files.
Furthermore, ino implementations also need to #define the INO_IMPLEMENTATION flag before such inclusion and should provide suitable pkg-config files for the build systems of applications/libraries to retrieve compiler and linker flags.
The headers package itself supplies a pkg-config file (package name: ino-headers-0) specifying compiler flags for the inclusion of headers.
Documentation
You can take a look at the auto-generated documentation.
Installation
Download
See the downloads page.
Build-time dependencies
- an environment capable of running Autotools-based build systems;
- (optional) GNU Autoconf >= 2.68 and GNU Automake to regenerate the build system;
- (optional) Natural Docs>= 1.5 to regenerate the build system and/or the documentation
Installation instructions
As usual:
$ ./configure && make install
(make is not needed).
Extra ./configure options
- --with-pkgconfigdir=DIR
- Where to put pkg-config’s .pc files [LIBDIR/pkgconfig]
