summaryrefslogtreecommitdiff
path: root/lang/duktape/DESCR
diff options
context:
space:
mode:
authoragc <agc>2016-05-05 03:59:48 +0000
committeragc <agc>2016-05-05 03:59:48 +0000
commit9f938b3b0f2f5342b2a3c7ad99dcbe07715ce0aa (patch)
tree1e7b4f5cddb1b90f1c76b1809175f9a7770f98c1 /lang/duktape/DESCR
parent22d83df1cdd6d916b4e805f8ebf32f20e890cdd4 (diff)
downloadpkgsrc-9f938b3b0f2f5342b2a3c7ad99dcbe07715ce0aa.tar.gz
Add duktape 1.5.1, an MIT-licensed Javascript engine.
This is the command-line tool, which uses the recently added libduktape package. Duktape is an embeddable Ecmascript E5/E5.1 engine with a focus on portability and compact footprint. By integrating Duktape into your C/C++ program you can easily extend its functionality through scripting. You can also build the main control flow of your program in Ecmascript and use fast C code functions to do heavy lifting. The terms Ecmascript and Javascript are often considered more or less equivalent, although Javascript and its variants are technically just one environment where the Ecmascript language is used. The line between the two is not very clear in practice: even non-browser Ecmascript environments often provide some browser-specific built-ins. Duktape is no exception, and provides the commonly used print() and alert() built-ins. Even so, we use the term Ecmascript throughout to refer to the language implemented by Duktape.
Diffstat (limited to 'lang/duktape/DESCR')
-rw-r--r--lang/duktape/DESCR14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/duktape/DESCR b/lang/duktape/DESCR
new file mode 100644
index 00000000000..f6fb6577632
--- /dev/null
+++ b/lang/duktape/DESCR
@@ -0,0 +1,14 @@
+Duktape is an embeddable Ecmascript E5/E5.1 engine with a focus on
+portability and compact footprint. By integrating Duktape into your
+C/C++ program you can easily extend its functionality through
+scripting. You can also build the main control flow of your program
+in Ecmascript and use fast C code functions to do heavy lifting.
+
+The terms Ecmascript and Javascript are often considered more or less
+equivalent, although Javascript and its variants are technically just
+one environment where the Ecmascript language is used. The line
+between the two is not very clear in practice: even non-browser
+Ecmascript environments often provide some browser-specific built-ins.
+Duktape is no exception, and provides the commonly used print() and
+alert() built-ins. Even so, we use the term Ecmascript throughout to
+refer to the language implemented by Duktape.