cosmopolitan/third_party/quickjs
Justine Tunney 8af197560e Improve Libc by making Python work even better
Actually Portable Python is now outperforming the Python binaries
that come bundled with Linux distros, at things like HTTP serving.
You can now have a fully featured Python install in just one .com
file that runs on six operating systems and is about 10mb in size.
With tuning, the tiniest is ~1mb. We've got most of the libraries
working, including pysqlite, and the repl now feels very pleasant.
The things you can't do quite yet are: threads and shared objects
but that can happen in the future, if the community falls in love
with this project and wants to see it developed further. Changes:

- Add siginterrupt()
- Add sqlite3 to Python
- Add issymlink() helper
- Make GetZipCdir() faster
- Add tgamma() and finite()
- Add legacy function lutimes()
- Add readlink() and realpath()
- Use heap allocations when appropriate
- Reorganize Python into two-stage build
- Save Lua / Python shell history to dotfile
- Integrate Python Lib embedding into linkage
- Make isregularfile() and isdirectory() go faster
- Make Python shell auto-completion work perfectly
- Make crash reports work better if changed directory
- Fix Python+NT open() / access() flag overflow error
- Disable Python tests relating to \N{LONG NAME} syntax
- Have Python REPL copyright() show all notice embeddings

The biggest technical challenge at the moment is working around
when Python tries to be too clever about filenames.
2021-08-18 22:16:23 -07:00
..
doc Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
examples Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
tests Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
array.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
atof.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
atom.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
atomics.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
bigdecimal.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
bigint.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
byte.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
call.c Make redbean SSL more tunable 2021-08-09 07:38:57 -07:00
Changelog Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
cutils.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
cutils.h Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
date.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
dbuf.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
diglet.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
diglet.h Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
eq.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
err.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
float.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
gc.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
gen.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
internal.h Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
iter.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
json.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
leb128.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
leb128.h Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
libbf.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
libbf.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libregexp-opcode.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libregexp.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
libregexp.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libunicode-table.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libunicode.c Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libunicode.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
LICENSE Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
list.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
map.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
math.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
mem.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
object.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
parse.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
prim.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
promise.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
proxy.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
qjs.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
qjsc.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
qjscalc.js Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
quickjs-atom.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
quickjs-libc.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
quickjs-libc.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
quickjs-opcode.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
quickjs.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
quickjs.h Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
quickjs.mk Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
README.cosmo Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
readme.txt Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
reflect.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
regexp.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
repl.js Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
run-test262.c Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
shape.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
str.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
strbuf.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
test262.conf Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07: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 build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
typedarray.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
unicode_download.sh Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
unicode_gen.c Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
unicode_gen_def.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
uri.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
usage.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
VERSION Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
wut.c Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00

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