Saúl Ibarra Corretgé 5f2fb55994 Port Bellard's register-based regexp engine
Replace quickjs-ng's stack-based libregexp with Fabrice Bellard's
register-based backtracking engine, which
is faster and guarantees linear bytecode size growth. This also brings the
regexp implementation to full parity with upstream: v flag, regexp modifiers,
duplicate named capture groups, properties of strings, and Script=Unknown.

Includes the following upstream commits from bellard/quickjs:
  7ab2341  faster and simpler implementation of regexp backtracking
  a774007  removed buffer overflows introduced in regexp optimizations
  371c06e  ensure regexp bytecode size grows linearly with the input
  47aac8b  regexp: a set of registers instead of an auxiliary stack
  5907aa6  added missing lre_poll_timeout()
  f113949  removed alloca() in lre_exec(); \s/\S opcodes; optimized \b/\B
  7bd1ae2  \x{N} is a syntax error
  24379bf  added regexp duplicate named groups; fixed reset of captures
  f95b8ba  added regexp modifiers
  d7cdfdc  regexp: added v flag support; CR_OP_SUB + properties of strings
  fc524f7  added missing 'Unknown' unicode Script
2026-06-27 12:43:44 +02:00
2026-06-09 23:47:50 +02:00
2026-06-20 23:41:32 +02:00
2026-01-07 23:07:34 +01:00
2026-04-09 12:53:36 +02:00
2025-11-08 13:55:58 +01:00
2026-03-21 18:08:53 +01:00
2026-02-15 23:15:11 +01:00
2026-02-15 23:15:11 +01:00
2025-10-16 13:45:16 +02:00
2026-06-23 09:37:51 +02:00
2026-03-21 12:55:22 +01:00
2024-11-15 13:30:06 +01:00
2025-12-07 23:03:12 +01:00
2026-05-19 22:46:37 +02:00
2026-01-07 00:34:56 +01:00
2025-12-01 18:51:39 +01:00
2026-02-15 22:56:51 +01:00

⚡️ QuickJS - A mighty JavaScript engine

Overview

QuickJS is a small and embeddable JavaScript engine. It aims to support the latest ECMAScript specification.

This project is a fork of the original QuickJS project by Fabrice Bellard and Charlie Gordon, after it went dormant, with the intent of reigniting its development.

Getting started

Head over to the project website for instructions on how to get started and more documentation.

Authors

@bnoordhuis, @saghul, and many more contributors.

S
Description
QuickJS, the Next Generation: a mighty JavaScript engine
Readme MIT
40 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 92.2%
JavaScript 6.7%
CMake 0.5%
Meson 0.5%
Makefile 0.1%