5
Duktape is a small and portable Ecmascript E5/E5.1 implementation. It is
6
intended to be easily embeddable into C programs, with a C API similar in
7
spirit to Lua's. Duktape supports the full E5 feature set such as errors
8
(with tracebacks), Unicode strings, and regular expressions. Other feature
11
* Custom types (like pointers and buffers) for C integration
13
* Reference counting and mark-and-sweep garbage collection
14
(with finalizer support)
16
* Co-operative threads, a.k.a. coroutines
20
You can browse Duktape programmer's API and other documentation at::
22
http://www.duktape.org/
24
In particular, you should read the getting started section::
26
http://duktape.org/guide.html#gettingstarted
28
Building and integrating Duktape into your project is very straightforward.
29
See Makefile.example for an example::
32
$ make -f Makefile.example
38
To build an example command line tool, use the following::
41
$ make -f Makefile.cmdline
45
duk> print('Hello world!');
49
There are further examples in the ``examples/`` directory. Although
50
Duktape itself is widely portable, some of the examples are Linux only.
51
For instance the ``eventloop`` example illustrates how ``setTimeout()``
52
and other standard timer functions could be implemented on Unix/Linux.
54
This distributable contains Duktape version 0.10.0, created from git
55
commit 78c73a152c35749ff5fe237209c353503ea6534d (v0.9.0-664-g78c73a1).
57
Duktape is copyrighted by its authors (see ``AUTHORS.txt``) and licensed
58
under the MIT license (see ``LICENSE.txt``). MurmurHash2 is used internally;
59
it is also under the MIT license.
63
Sami Vaarala (sami.vaarala@iki.fi)