Dev builds synced with nextgen source by github
Find a file
Ben Noordhuis 0b0b794605
Simplify close_lexical_var (#726)
Its implementation was borderline wrong: calling it with is_arg=TRUE
segfaults because it looks up the var ref index in the wrong array.

Fortunately, there is only one caller and it only passes FALSE.
2024-11-26 00:34:46 +01:00
.github/workflows Drop GCC 4.8 CI 2024-11-25 22:18:05 +01:00
docs Add quickjs-rusty to projects using NG 2024-11-21 14:23:15 +01:00
examples Prefix stdlib modules with "qjs:" 2024-10-24 22:24:03 +02:00
gen Fix leak when interpreter exits due to exception 2024-11-25 11:07:07 +01:00
test262@8eee4552a7 Update test262 (#680) 2024-11-13 14:36:07 +01:00
tests Improve line:column tracking (#660) 2024-11-07 22:03:00 +01:00
.gitattributes Ignore diff for generated files 2024-09-23 23:36:54 +02:00
.gitignore Fix crash in deserializer (#602) 2024-10-17 08:45:04 +02:00
.gitmodules Don't automatically update test262 submodule 2024-11-08 15:02:48 +01:00
CMakeLists.txt Bump CMake version to 3.10 2024-11-18 11:02:29 +01:00
ctest.c Make quickjs.h -Wall -Wextra -pedantic clean (#628) 2024-10-26 17:10:18 +02:00
cutils.c Remove unnecessary parameters 2024-11-20 15:52:52 +01:00
cutils.h Auto-detect ASan at compile time (#638) 2024-10-29 19:54:33 +01:00
cxxtest.cc Make quickjs.h -Wall -Wextra -pedantic clean (#628) 2024-10-26 17:10:18 +02:00
dirent_compat.h Add support for building with ClangCL on Windows 2023-11-30 01:23:09 +01:00
fuzz.c Fix crash in deserializer (#602) 2024-10-17 08:45:04 +02:00
getopt_compat.h Add support for building with ClangCL on Windows 2023-11-30 01:23:09 +01:00
libbf.c Fix out-of-bound write in libbf 2024-10-07 22:34:01 +02:00
libbf.h Guard int128_t typedef 2024-07-30 11:09:21 +02:00
libregexp-opcode.h regexp: fixed the zero advance logic in quantifiers 2024-09-14 22:00:48 +02:00
libregexp.c regexp: fixed the zero advance logic in quantifiers 2024-09-14 22:00:48 +02:00
libregexp.h Add 'extern' statements to public headers for C++ compatibility 2024-07-15 00:23:49 +02:00
libunicode-table.h Add RegExp.escape (#687) 2024-11-15 12:17:38 +01:00
libunicode.c Add RegExp.escape (#687) 2024-11-15 12:17:38 +01:00
libunicode.h Add RegExp.escape (#687) 2024-11-15 12:17:38 +01:00
LICENSE Update LICENSE 2023-12-06 00:00:15 +01:00
list.h Add 'extern' statements to public headers for C++ compatibility 2024-07-15 00:23:49 +02:00
Makefile Make quickjs.h -Wall -Wextra -pedantic clean (#628) 2024-10-26 17:10:18 +02:00
qjs.c Fix leak when interpreter exits due to exception 2024-11-25 11:07:07 +01:00
qjsc.c Fix leak when interpreter exits due to exception 2024-11-25 11:07:07 +01:00
quickjs-atom.h Make Iterator.from spec compliant 2024-11-15 13:35:25 +01:00
quickjs-c-atomics.h Enable support for GCC compler v < 4.9 2023-11-29 09:22:27 +01:00
quickjs-libc.c Fix leak when interpreter exits due to exception 2024-11-25 11:07:07 +01:00
quickjs-libc.h Report async failures via exit code 2024-09-10 21:42:01 +02:00
quickjs-opcode.h Support private brand checks 2024-09-24 18:37:02 +02:00
quickjs.c Simplify close_lexical_var (#726) 2024-11-26 00:34:46 +01:00
quickjs.h Work around msvc definition of NAN 2024-11-18 10:49:30 +01:00
README.md Fix broken link in README 2024-11-15 13:30:06 +01:00
repl.js Fix catching all exceptions from std.evalScript 2024-11-25 10:44:05 +01:00
run-test262.c Fix leak when interpreter exits due to exception 2024-11-25 11:07:07 +01:00
test262-fast.conf Add faster test262 test target (#362) 2024-04-09 10:36:49 +02:00
test262.conf Add Math.sumPrecise (#697) 2024-11-16 11:34:14 +01:00
test262_errors.txt Make Iterator.from spec compliant 2024-11-15 13:35:25 +01:00
tests.conf Fix cyclic import/export segfault (#568) 2024-10-16 10:13:38 +02:00
unicode_download.sh Update to Unicode 16.0 2024-11-09 23:14:52 +01:00
unicode_gen.c Add RegExp.escape (#687) 2024-11-15 12:17:38 +01:00
unicode_gen_def.h Update to Unicode 16.0 2024-11-09 23:14:52 +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.