package quickjs

Build not checked
  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.1.0.tbz
sha256=bd0ada2cea7051f0d359310bfc6e67453ffc3057e158c4abefc6ba9073d4f1ce
sha512=bfda4ad6d72f27323eac592e2eff4fdab23f465f4a2fcad4743e0654ec18030bed952aec0c27c0b4ed43833c1c97ea4364b4ad563d9b2213aa851fdf3d06f394

Description

Added to opam-repository:

README

quickjs

quickjs.ml is a set of OCaml bindings for QuickJS. QuickJS is a small and embeddable JavaScript engine. It supports the ES2020 specification including modules, asynchronous generators, proxies and BigInt.

The project exposes two libraries:

  • quickjs.bindings with the QuickJS C API
  • quickjs which exposes a polished API on top of quickjs.bindings with the same shape as the JavaScript API

Motivation

The purpose of this project is to provide the same behaviour as the JavaScript engines from browsers (SpiderMonkey, JavaScriptCore, ChakraCore, v8) into OCaml. So code that runs in the browser (via Melange) can be run in native with the same results.

Documentation

API reference

Status

This is a work in progress, and currently only includes bindings to RegExp (binded to libregexp) check the to bind issues from the issue tracker.

Dependencies (5)

  1. ctypes
  2. integers
  3. reason >= "3.10.0"
  4. ocaml >= "5.0.0"
  5. dune >= "3.8" & < "3.25"

Dev Dependencies (5)

  1. ocamlformat = "0.26.1" & with-test
  2. ocaml-lsp-server with-test
  3. odoc with-doc
  4. fmt with-test
  5. alcotest with-test

Optional Dependencies

None

Used by (1)

  1. universal-portal

Build status

Results of building quickjs with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.6.0 n/a good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure