Skip to content

Commit

Permalink
Stylish thingies
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx committed Mar 4, 2024
1 parent 819a8aa commit 29cf22b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## 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.
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.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

The project exposes two libraries:

- **quickjs.bindings** with the QuickJS C API.
- **`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.
- **`quickjs`** which exposes a polished API on top of `quickjs.bindings` with the same shape as the JavaScript API.

### Motivation

Expand All @@ -16,6 +16,6 @@ The purpose of this project is to provide the same behaviour as the JavaScript e

[API reference](https://ml-in-barcelona.github.io/quickjs.ml/quickjs/index.html)

## Status
### Status

This is a work in progress, and currently only includes bindings to `RegExp` (binded to `libregexp`).
2 changes: 2 additions & 0 deletions function_description.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ module Types = Types_generated
module Functions (F : Ctypes.FOREIGN) = struct
open F

(* RegExp *)

let lre_compile =
F.foreign "lre_compile"
(* int *plen *)
Expand Down

0 comments on commit 29cf22b

Please sign in to comment.