QuickJS, the Next Generation: a mighty JavaScript engine
Find a file
Tyler Rockwood 33f72491a9
Add method to GetClassID (#275)
* Add method to GetClassID

If you want to extend a built-in class you need it's class ID and there
is no robust way to get that without this accessor.

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>

* introduce constant for invalid class ID

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>

---------

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
2024-02-20 09:29:08 +01:00
.github/workflows CI to silent wget by -nv (--no-verbose) 2024-02-16 08:57:15 +01:00
doc Handle serialization endianness transparently (#152) 2023-11-28 22:49:01 +01:00
examples Replace JSValueConst with JSValue (#195) 2023-12-10 15:15:42 +01:00
gen Check-in all generated C files 2024-02-13 09:49:57 +01:00
test262@c1281dba45 Enable test262 on CI (#11) 2023-11-04 10:27:57 +01:00
tests Fix for/in iteration over proxy objects (#241) 2023-12-30 22:47:32 +01:00
.gitignore Add support for compiling with Microsoft Visual Studio C++ (MSVC) (#246) 2024-01-16 12:42:05 +01:00
.gitmodules Enable test262 on CI (#11) 2023-11-04 10:27:57 +01:00
CMakeLists.txt Add WASI support 2024-02-14 08:59:15 +01:00
cutils.c Retain function source code in serialized bytecode (#218) 2023-12-16 01:01:26 +01:00
cutils.h Fix tcc build, remove PACK macro (#271) 2024-02-18 13:39:33 +01:00
dirent_compat.h Add support for building with ClangCL on Windows 2023-11-30 01:23:09 +01:00
getopt_compat.h Add support for building with ClangCL on Windows 2023-11-30 01:23:09 +01:00
libbf.c Fix UB in bf_set_ui() 2023-12-02 16:05:10 +01:00
libbf.h Fix building with tcc (#170) 2023-12-03 13:36:51 +01:00
libregexp-opcode.h Optimize RegExp ASCII literal matching (#94) 2023-11-19 17:26:45 +01:00
libregexp.c Implement RegExp 'v' flag, part 1 (#229) 2023-12-21 19:37:31 +01:00
libregexp.h Implement RegExp 'v' flag, part 1 (#229) 2023-12-21 19:37:31 +01:00
libunicode-table.h Drop CONFIG_ALL_UNICODE and enable it by default 2023-11-20 10:52:04 +01:00
libunicode.c Add NetBSD support (#177) 2023-12-07 15:48:31 +01:00
libunicode.h Drop CONFIG_ALL_UNICODE and enable it by default 2023-11-20 10:52:04 +01:00
LICENSE Update LICENSE 2023-12-06 00:00:15 +01:00
list.h Add container_of macro 2023-12-23 00:11:41 +01:00
Makefile Check-in all generated C files 2024-02-13 09:49:57 +01:00
qjs.c Run V8 spec conformance test suite (#243) 2024-01-02 07:47:40 +01:00
qjsc.c Retain function source code in serialized bytecode (#218) 2023-12-16 01:01:26 +01:00
quickjs-atom.h Implement Error.prepareStackTrace support 2023-12-19 15:36:44 +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 Add WASI support 2024-02-14 08:59:15 +01:00
quickjs-libc.h Replace JSValueConst with JSValue (#195) 2023-12-10 15:15:42 +01:00
quickjs-opcode.h Fix 'return' handling with 'yield' in 'for of' or with finally blocks 2023-12-14 11:49:14 +01:00
quickjs.c Add method to GetClassID (#275) 2024-02-20 09:29:08 +01:00
quickjs.h Add method to GetClassID (#275) 2024-02-20 09:29:08 +01:00
README.md Remove old project files 2023-11-17 23:55:43 +01:00
repl.js Fix repl autocompletion for regexp with flags 2023-11-24 20:57:03 +01:00
run-test262.c Fix run-test262 dynamic import (#237) 2023-12-27 10:19:58 +01:00
test262.conf Implement RegExp 'v' flag, part 1 (#229) 2023-12-21 19:37:31 +01:00
test262_errors.txt Fix evaluation order of computed properties 2024-01-16 12:43:35 +01:00
unicode_download.sh updated to Unicode 14.0.0 2022-03-06 19:00:24 +01:00
unicode_gen.c Fix typo in #undef (#222) 2023-12-16 15:11:28 +01:00
unicode_gen_def.h Update to Unicode 15.0.0 (#89) 2023-11-18 22:29:53 +01:00
v8-tweak.js Run V8 spec conformance test suite (#243) 2024-01-02 07:47:40 +01:00
v8.js Run V8 spec conformance test suite (#243) 2024-01-02 07:47:40 +01:00
v8.sh Run V8 spec conformance test suite (#243) 2024-01-02 07:47:40 +01:00
v8.txt Run V8 spec conformance test suite (#243) 2024-01-02 07:47:40 +01:00

QuickJS - A mighty JavaScript engine

Friendly QuickJS fork focused on reigniting the project.

🚧 Work in progress.