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.2.tbz
sha256=594fac60b9273af7e1903f0689efa353121309d8de911376f91966c32cd3ab7f
sha512=68beb126919a214fa9e46d84566c97e6ff3667c6c4478f352f1145e5bf1888b2a5eaca9855f39d734b2e9dc5bc0c7650f45679d177d546a2b0ba53dced5f2d1f
doc/CHANGES.html
Changes
0.4.2
- Rename
RegExp.lastIndex->RegExp.last_index - Rename
RegExp.setLastIndex->RegExp.set_last_index
0.4.1
- Remove
uutf
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.