package quickjs
Bindings for QuickJS (a Javascript Engine to be embedded https://bellard.org/quickjs)
Install
dune-project
Dependency
Authors
Maintainers
Sources
quickjs-0.4.0.tbz
sha256=09f64b910cfd60c078cccaed2eb6775ada64a45644f83219134b3bb2e2fb4c74
sha512=35c8d98f93d4304a2ed4be32017c43d67edb92849b04efa11310b33a02c850ba47496d875aae37f716b31e57b2168c65ae416887c679ebcab0ab21fc90be955e
doc/CHANGES.html
Changes
0.4.0
- Breaking: Migrated from
bellard/quickjstoquickjs-ng/quickjs- the actively maintained community fork with Unicode 17.0.0 support, better spec compliance, and ongoing development - Fix arm32v7 tests on 32-bits
- Fix
Global.parse_floatfor incomplete exponents ("1e", "1e+", "1e-") to return the parsed number instead ofNone, matching JavaScript spec. Workaround for quickjs-ng/quickjs#1259
0.3.0
- Fix openSUSE
Breaking: Reorganized API to mirror JavaScript built-in objects for
quickjsDtoa→Number.Prototype(toString, toFixed, toPrecision, toExponential, toRadix)Atod→Global(parse_float, parse_float_partial)IntToString→Number(of_int, of_int32, of_int64, of_int_radix, etc.)- New
String.Prototypemodule (to_lower_case, to_upper_case, normalize) - New
Unicodemodule for character-level operations (is_cased, is_id_start, canonicalize, etc.)
- Added TC39/test262 test coverage for Number, String, Global, and Unicode modules
- Added tests for special values (NaN, Infinity) in Number.Prototype methods
- Fix String.Prototype.lastIndexOf
- Fix String.Prototype.match
0.2.0
- Full tests coverage from Official ECMAScript Conformance Test Suite for RegExp
- Support unicode in RegExp
- Support named groups in RegExp
- Bind to dtoa (Dtoa, Atod, IntToString)
0.1.2
- Support for named groups
- Change
RegExp.execinterface to returnresult
0.1.1
Bug fix for RegExp backtracking when not find a match
0.1.0
Initial release of quickjs. This release only includes bindings to libregexp and exposes the API of the QuickJS C library with the same shape as the JavaScript API: RegExp.