pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/quickjs lang/quickjs: import DESCR from wip/quickjs



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e1ab5d203b4d
branches:  trunk
changeset: 375720:e1ab5d203b4d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Mar 21 23:00:33 2022 +0000

description:
lang/quickjs: import DESCR from wip/quickjs

diffstat:

 lang/quickjs/DESCR    |  25 +++++++++++++++++++++++--
 lang/quickjs/Makefile |   3 ++-
 2 files changed, 25 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r 37db0ecd92bf -r e1ab5d203b4d lang/quickjs/DESCR
--- a/lang/quickjs/DESCR        Mon Mar 21 22:30:25 2022 +0000
+++ b/lang/quickjs/DESCR        Mon Mar 21 23:00:33 2022 +0000
@@ -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 -r 37db0ecd92bf -r e1ab5d203b4d lang/quickjs/Makefile
--- a/lang/quickjs/Makefile     Mon Mar 21 22:30:25 2022 +0000
+++ b/lang/quickjs/Makefile     Mon Mar 21 23:00:33 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index