DoneJS version of QuickJS
bbf36d5b84
Big endian serialization was broken because: - it partially relied on `WORDS_ENDIAN` (unconditionally undef'd in cutils.h) - endianness was not handled at all in the bc reader. Modifications: - remove `WORDS_ENDIAN` - use `bc_put_u32()` / `bc_put_u64()` in `JS_WriteBigInt()` - use `bc_get_u32()` / `bc_get_u64()` in `JS_ReadBigInt()` - handle host endianness in `bc_get_u16()`, `bc_get_u32()`, `bc_get_u64()` and `JS_ReadFunctionBytecode()` - handle optional littleEndian argument as specified in `js_dataview_getValue()` and `js_dataview_setValue()` |
||
---|---|---|
doc | ||
examples | ||
tests | ||
.gitignore | ||
Changelog | ||
cutils.c | ||
cutils.h | ||
libbf.c | ||
libbf.h | ||
libregexp-opcode.h | ||
libregexp.c | ||
libregexp.h | ||
libunicode-table.h | ||
libunicode.c | ||
libunicode.h | ||
LICENSE | ||
list.h | ||
Makefile | ||
qjs.c | ||
qjsc.c | ||
qjscalc.js | ||
quickjs-atom.h | ||
quickjs-libc.c | ||
quickjs-libc.h | ||
quickjs-opcode.h | ||
quickjs.c | ||
quickjs.h | ||
readme.txt | ||
release.sh | ||
repl.js | ||
run-test262.c | ||
test262.conf | ||
test262_errors.txt | ||
test262o.conf | ||
test262o_errors.txt | ||
TODO | ||
unicode_download.sh | ||
unicode_gen.c | ||
unicode_gen_def.h | ||
VERSION |
The main documentation is in doc/quickjs.pdf or doc/quickjs.html.