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.1.tbz
sha256=146725bf2d0ef5ef95d7cf72a524c6f72697c7c619627be5fb2451f9daf6d28e
sha512=190962b9044f7b044bb36d8c8eb42223fbc7a31160429917725cf931e2c608c5ee0f669bcbca1a9fe731c62759c427c6e832fccad3f35a282ca517ad75631d25
doc/CHANGES.html
Changes
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.