summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2022-03-21 23:00:33 +0000
committerrillig <rillig@pkgsrc.org>2022-03-21 23:00:33 +0000
commit6ac3a520d5b52868bf9b92aa27614f8fbfae518f (patch)
tree55987a4349c6d1fd771ae74ff5567b14629479a0 /lang
parent24970b903db054e3bbcdf2d24fcd5521ad39114b (diff)
downloadpkgsrc-6ac3a520d5b52868bf9b92aa27614f8fbfae518f.tar.gz
lang/quickjs: import DESCR from wip/quickjs
Diffstat (limited to 'lang')
-rw-r--r--lang/quickjs/DESCR25
-rw-r--r--lang/quickjs/Makefile3
2 files changed, 25 insertions, 3 deletions
diff --git a/lang/quickjs/DESCR b/lang/quickjs/DESCR
index fc9097690c9..af7d41ed5e1 100644
--- a/lang/quickjs/DESCR
+++ b/lang/quickjs/DESCR
@@ -1,5 +1,26 @@
QuickJS is a small and embeddable Javascript engine. It supports the
ES2020 specification including modules, asynchronous generators and
-proxies. It optionally supports mathematical extensions such as big
-integers (BigInt), big floating point numbers (BigFloat) and operator
+proxies.
+
+It optionally supports mathematical extensions such as big integers
+(BigInt), big floating point numbers (BigFloat) and operator
overloading.
+
+Main Features:
+ * Small and easily embeddable: just a few C files, no external
+ dependency, 190 KiB of x86 code for a simple hello world program.
+ * Fast interpreter with very low startup time: runs the 56000
+ tests of the ECMAScript Test Suite in about 100 seconds on a
+ single core of a desktop PC. The complete life cycle of a runtime
+ instance completes in less than 300 microseconds.
+ * Almost complete ES2020 support including modules, asynchronous
+ generators and full Annex B support (legacy web compatibility).
+ * Passes 100% of the ECMAScript Test Suite.
+ * Can compile Javascript sources to executables with no external dependency.
+ * Garbage collection using reference counting (to reduce memory
+ usage and have deterministic behavior) with cycle removal.
+ * Mathematical extensions: BigInt, BigFloat, operator overloading,
+ bigint mode, math mode.
+ * Command line interpreter with contextual colorization implemented
+ in Javascript.
+ * Small built-in standard library with C library wrappers.
diff --git a/lang/quickjs/Makefile b/lang/quickjs/Makefile
index 35da395d5bf..44120400711 100644
--- a/lang/quickjs/Makefile
+++ b/lang/quickjs/Makefile
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.9 2022/01/30 10:55:03 he Exp $
+# $NetBSD: Makefile,v 1.10 2022/03/21 23:00:33 rillig Exp $
NAME= quickjs
QJS_DATE= 2021-03-27
VERSION= ${QJS_DATE:S/-//g}
DISTNAME= ${NAME}-${QJS_DATE}
PKGNAME= ${NAME}-${VERSION}
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= https://bellard.org/quickjs/
EXTRACT_SUFX= .tar.xz