4 Commits

Author SHA1 Message Date
bcallah
5c327e456f Update to quickjs-2020.09.06
A full changelog is here: https://bellard.org/quickjs/Changelog
From gkoehler@, who also tested it on macppc and powerpc64!
2020-09-23 15:37:32 +00:00
jca
eaf409c2ea Unbreak non-amd64: check __LP64__ to detect 64 bits host OS
This fixes pointer truncation on sparc64 and probably mips64.
Bump REVISION since quickjs previously built on arm64 but with
different bignum sizing.

ok cwen@ bcallah@ (maintainer)
2020-01-15 14:30:50 +00:00
jca
22c0aa1bff Big endian fix: detect endianness using endian.h
ok cwen@ bcallah@ (maintainer)
2020-01-15 14:25:46 +00:00
bcallah
f927ef7855 Import lang/quickjs, a small, embeddable JavaScript engine in C.
ok fcambus@, who independently developed a very similar port of this

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
overloading.
2019-12-21 14:24:03 +00:00