cosmopolitan/third_party/quickjs
Justine Tunney a4b455185b
Bring back gc() function
Renaming gc() to _gc() was a mistake since the better thing to do is put
it behind the _COSMO_SOURCE macro. We need this change because I haven't
wanted to use my amazing garbage collector ever since we renamed it. You
now need to define _COSMO_SOURCE yourself when using amalgamation header
and cosmocc users need to pass the -mcosmo flag to get the gc() function

Some other issues relating to cancelation have been fixed along the way.
We're also now putting cosmocc in a folder named `.cosmocc` so it can be
more safely excluded by grep --exclude-dir=.cosmocc --exclude-dir=o etc.
2024-01-08 10:26:28 -08:00
..
doc Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
examples Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
tests Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
array.c Update quickjs (#890) 2023-11-30 10:51:16 -08:00
atof.c Reduce header complexity 2023-11-28 14:39:42 -08:00
atom.c Reduce header complexity 2023-11-28 14:39:42 -08:00
atomics.c Reduce header complexity 2023-11-28 14:39:42 -08:00
bigdecimal.c Reduce header complexity 2023-11-28 14:39:42 -08:00
bigint.c Reduce header complexity 2023-11-28 14:39:42 -08:00
BUILD.mk more modeline errata (#1019) 2023-12-16 23:07:10 -05:00
byte.c Reduce header complexity 2023-11-28 14:39:42 -08:00
call.c Bring back gc() function 2024-01-08 10:26:28 -08:00
Changelog Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
cutils.c Reduce header complexity 2023-11-28 14:39:42 -08:00
cutils.h Reduce header complexity 2023-11-28 14:39:42 -08:00
date.c Update quickjs (#890) 2023-11-30 10:51:16 -08:00
dbuf.c Reduce header complexity 2023-11-28 14:39:42 -08:00
diglet.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
diglet.h Reduce header complexity 2023-11-28 14:39:42 -08:00
eq.c Reduce header complexity 2023-11-28 14:39:42 -08:00
err.c Reduce header complexity 2023-11-28 14:39:42 -08:00
float.c Reduce header complexity 2023-11-28 14:39:42 -08:00
gc.c Reduce header complexity 2023-11-28 14:39:42 -08:00
gen.c Reduce header complexity 2023-11-28 14:39:42 -08:00
internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
iter.c Reduce header complexity 2023-11-28 14:39:42 -08:00
json.c Reduce header complexity 2023-11-28 14:39:42 -08:00
leb128.c Reduce header complexity 2023-11-28 14:39:42 -08:00
leb128.h Reduce header complexity 2023-11-28 14:39:42 -08:00
libbf.c Update quickjs (#890) 2023-11-30 10:51:16 -08:00
libbf.h Reduce header complexity 2023-11-28 14:39:42 -08:00
libregexp-opcode.inc Reduce header complexity 2023-11-28 14:39:42 -08:00
libregexp.c Reduce header complexity 2023-11-28 14:39:42 -08:00
libregexp.h Reduce header complexity 2023-11-28 14:39:42 -08:00
libunicode-table.inc Update quickjs (#890) 2023-11-30 10:51:16 -08:00
libunicode.c Reduce header complexity 2023-11-28 14:39:42 -08:00
libunicode.h Reduce header complexity 2023-11-28 14:39:42 -08:00
LICENSE Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
list.h Reduce header complexity 2023-11-28 14:39:42 -08:00
map.c Reduce header complexity 2023-11-28 14:39:42 -08:00
math.c Reduce header complexity 2023-11-28 14:39:42 -08:00
mem.c Reduce header complexity 2023-11-28 14:39:42 -08:00
object.c Update quickjs (#890) 2023-11-30 10:51:16 -08:00
parse.c Reduce header complexity 2023-11-28 14:39:42 -08:00
prim.c Reduce header complexity 2023-11-28 14:39:42 -08:00
promise.c Reduce header complexity 2023-11-28 14:39:42 -08:00
proxy.c Update quickjs (#890) 2023-11-30 10:51:16 -08:00
qjs.c Reduce header complexity 2023-11-28 14:39:42 -08:00
qjsc.c Bring back gc() function 2024-01-08 10:26:28 -08:00
qjscalc.js Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
quickjs-atom.inc Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
quickjs-libc.c Reduce header complexity 2023-11-28 14:39:42 -08:00
quickjs-libc.h Reduce header complexity 2023-11-28 14:39:42 -08:00
quickjs-opcode.inc Reduce header complexity 2023-11-28 14:39:42 -08:00
quickjs.c Update quickjs (#890) 2023-11-30 10:51:16 -08:00
quickjs.h Update quickjs (#890) 2023-11-30 10:51:16 -08:00
README.cosmo Update quickjs (#890) 2023-11-30 10:51:16 -08:00
readme.txt Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
reflect.c Reduce header complexity 2023-11-28 14:39:42 -08:00
regexp.c Reduce header complexity 2023-11-28 14:39:42 -08:00
repl.js Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
run-test262.c Reduce header complexity 2023-11-28 14:39:42 -08:00
shape.c Reduce header complexity 2023-11-28 14:39:42 -08:00
str.c Reduce header complexity 2023-11-28 14:39:42 -08:00
strbuf.c Reduce header complexity 2023-11-28 14:39:42 -08:00
test262.conf Update quickjs (#890) 2023-11-30 10:51:16 -08:00
test262_errors.txt Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
test262o.conf Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
test262o_errors.txt Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
TODO Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
tok.c Reduce header complexity 2023-11-28 14:39:42 -08:00
typedarray.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicode_download.sh Update quickjs (#890) 2023-11-30 10:51:16 -08:00
unicode_gen.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicode_gen_def.inc Update quickjs (#890) 2023-11-30 10:51:16 -08:00
uri.c Reduce header complexity 2023-11-28 14:39:42 -08:00
usage.c Reduce header complexity 2023-11-28 14:39:42 -08:00

The main documentation is in doc/quickjs.pdf or doc/quickjs.html.