Nicholas H.Tollervey
db978d7155
webassembly: Dispatch micropython-print via document not mp_js_stdout.
2022-11-07 15:09:56 +11:00
Damien George
2d406f2226
webassembly: Support piping in a program on stdin.
...
The performance benchmark suite can now be run on the webassembly port.
Signed-off-by: Damien George <damien@micropython.org>
2022-11-03 23:35:22 +11:00
Damien George
7a505d57dc
webassembly: Change "stack" argument to "heapsize".
...
Because that's what mp_js_init() takes as its argument.
Signed-off-by: Damien George <damien@micropython.org>
2022-11-03 18:47:48 +11:00
Damien George
d65edaa232
webassembly: Use Date's now() instead of getTime().
...
Using now() is a bit faster because it doesn't need to create a new Date.
Signed-off-by: Damien George <damien@micropython.org>
2022-11-03 18:47:48 +11:00
Damien George
46bb52adf6
webassembly: Add support for VFS and enable VFS_POSIX.
...
This gets filesystem support working.
Signed-off-by: Damien George <damien@micropython.org>
2022-11-01 13:53:06 +11:00
Damien George
54478eb9e7
webassembly/mpconfigport: Use MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES.
...
This simplifies the config file. This is not a no-op, it does enable a few
new features to bring the port in line with this config level.
Signed-off-by: Damien George <damien@micropython.org>
2022-11-01 13:10:45 +11:00
Nicholas H.Tollervey
af54d2ce9f
javascript: Rename this port to 'webassembly'.
2022-08-22 12:03:39 +01:00