You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Sami Vaarala 49a0946e8f ditz issue update 11 years ago
api-testcases api testcase fixes 11 years ago
bugs ditz issue update 11 years ago
doc remove scons files, will be replaced by plain makefiles 12 years ago
ecmascript-testcases fix ecmascript testcase for ToNumber() valgrind issue: print something at the end to ensure we reach the end (empty expect string is a bad idea) 11 years ago
examples some example files 11 years ago
licenses murmurhash2 license 12 years ago
references Ecmascript E5 and E5.1 specifications as references (license allows redistribution) 12 years ago
runtests add package.json for runtests 11 years ago
src add feature selection macros to duk_features.h so that the user never needs to define them 11 years ago
website some =seealso refs 11 years ago
.gitignore add stripped files to ignore too 12 years ago
LICENSE.txt add a basic README and LICENSE 12 years ago
Makefile top level makefile cleanup fix 11 years ago
README.txt.dist add separate example makefiles for a test program and a command line tool 11 years ago
bin2img.py dummy helper for visualizing binaries as images (curiosity) 11 years ago
combine_src.py add a very experimental dist mechanism for providing a combined source (duktape.c + duktape.h) 11 years ago
make_dist.sh tweak README.txt, add a ((o) Duktape -header to cmdline example 11 years ago
make_maint.sh placeholder maintenance release script 11 years ago

README.txt.dist

=======
Duktape
=======

Duktape is a small and portable Ecmascript E5/E5.1 implementation.
It is intended to be easily embeddable into C programs, with a C API
similar in spirit to Lua's.

The goal is to support the full E5 feature set like Unicode strings
and regular expressions. Other feature highlights include:

* Custom types (like pointers and buffers) for C integration

* Reference counting and mark-and-sweep garbage collection
(with finalizer support)

* Co-operative threads, a.k.a. coroutines

* Tail call support

You can browse Duktape programmer's API using the off-line version included
in this distributable, or at::

http://www.duktape.org/

Building and integrating Duktape into your project is very straightforward.
See Makefile.example for an example::

$ cd <dist_root>
$ make -f Makefile.example
[...]
$ ./test
Hello world!
2+3=5

To build an example command line tool, use the following::

$ cd <dist_root>
$ make -f Makefile.cmdline
[...]
$ ./duk
((o) Duktape
[... build info ...]
duk> print('Hello world!');
Hello world!
= undefined

The source code should currently compile cleanly on Linux and OSX
(Darwin), for both x86 and ARM. The goal is of course to compile
on almost any reasonable platform.

There is a separate tar ball for developing Duktape: it contains
internal documentation and unit tests which are not necessary to
use Duktape.

Duktape is licensed under the MIT license (see ``LICENSE.txt``).
MurmurHash2 is used internally; it is also under the MIT license.

Have fun!

--
Sami Vaarala
sami.vaarala@iki.fi