package quickjs

  1. Overview
  2. Docs
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/quickjs to quickjs-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_float for incomplete exponents ("1e", "1e+", "1e-") to return the parsed number instead of None, matching JavaScript spec. Workaround for quickjs-ng/quickjs#1259

0.3.0

  • Fix openSUSE
  • Breaking: Reorganized API to mirror JavaScript built-in objects for quickjs

    • DtoaNumber.Prototype (toString, toFixed, toPrecision, toExponential, toRadix)
    • AtodGlobal (parse_float, parse_float_partial)
    • IntToStringNumber (of_int, of_int32, of_int64, of_int_radix, etc.)
    • New String.Prototype module (to_lower_case, to_upper_case, normalize)
    • New Unicode module 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.exec interface to return result

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.