Commit Graph

390 Commits

Author SHA1 Message Date
Michael Droettboom 9dc47c4c6c Fix build so emsdk runs first 2018-03-30 13:13:04 -04:00
Michael Droettboom b8c3e600c2 Add end-to-end build. Travis tests. 2018-03-30 13:08:06 -04:00
Michael Droettboom 2ad135ef06 Add testing 2018-03-30 10:51:13 -04:00
Michael Droettboom eab618ec2f Simplify pyodide.js 2018-03-30 10:35:28 -04:00
Michael Droettboom 695bf2c80f Use WASM instead of asm.js 2018-03-29 15:24:33 -04:00
Michael Droettboom 693fac82bc Fix threading 2018-03-23 09:44:47 -04:00
Michael Droettboom 5041c4ddd1 Add version of webbrowser.py that works in pyodide 2018-03-22 12:30:18 -04:00
Michael Droettboom 199b6ff21a Emit message when Python init is complete 2018-03-21 15:10:55 -04:00
Michael Droettboom a0d40e011e Fix makefiles running from scratch 2018-03-21 14:55:00 -04:00
Michael Droettboom 7e6754902c Reduce filesystem size 2018-03-21 10:45:25 -04:00
Michael Droettboom ddd0a73b85 Add lazy importing for a 2x speedup importing numpy 2018-03-21 10:05:16 -04:00
Michael Droettboom 1e354c8d1f Handle errors without tracebacks 2018-03-20 19:00:23 -04:00
Michael Droettboom e0e1b12d9c Fix reference counting 2018-03-20 19:00:15 -04:00
Michael Droettboom 280de281aa First working Numpy 2018-03-20 18:58:59 -04:00
Michael Droettboom 12bd22bab4 Add pyodide to iodide dynamically using API 2018-03-08 10:45:43 -05:00
Michael Droettboom 6914e0f8c8 Fix repr 2018-03-08 10:44:37 -05:00
Michael Droettboom c06cda30b9 Fix Js to Python type coercion 2018-03-07 11:37:06 -05:00
Michael Droettboom 5bfe045262 Fix throwing of exceptions from Python to JS 2018-03-07 11:05:08 -05:00
Michael Droettboom d7e4cb8a9c Convenient access to repr() on the Javascript side 2018-03-07 11:04:46 -05:00
Michael Droettboom 8e3e360836 Improve compiled-in modules list 2018-03-07 11:04:28 -05:00
Michael Droettboom 69568a53b9 Fix for recent versions of emscripten 2018-03-07 11:04:15 -05:00
Michael Droettboom 05d82c1d3e Remove modules that are always statically linked anyway 2018-03-02 17:33:51 -05:00
Michael Droettboom 2e5a0432fa Support `pyimport` on the Javascript side. 2018-03-01 11:55:24 -05:00
Michael Droettboom bc8b55dc79 Add support for `from js import *` 2018-02-28 19:43:03 -05:00
Michael Droettboom 314ec07227 Add 'from js import X' on Python side 2018-02-28 19:43:03 -05:00
Michael Droettboom d4eb51b167 Fix #10: Display full exception and traceback 2018-02-28 19:41:27 -05:00
Michael Droettboom bd6aec63d8 Clean up Makefile 2018-02-28 15:39:16 -05:00
Michael Droettboom a913895bbe Update build instructions 2018-02-28 09:12:26 -05:00
Michael Droettboom f2c08119af Add internal cpython build 2018-02-27 17:57:22 -05:00
Michael Droettboom 617dbcf4ea Fix #5: Python 3.6 support 2018-02-26 17:21:26 -05:00
Michael Droettboom bec7ce3e21 Throw Python exceptions as Javascript exceptions 2018-02-26 16:11:36 -05:00
Michael Droettboom df1c2e2cad Fix #3: Wrap Python objects for Javascript usage 2018-02-26 15:25:05 -05:00
Michael Droettboom 64ded33c4f Use a separate class for bound methods. 2018-02-26 10:32:10 -05:00
Michael Droettboom 54b55455a3 Fix #7: Refactor code into separate modules 2018-02-26 10:02:52 -05:00
Michael Droettboom 1de972ef3f Use pyodide, rather than Module, as the main namespace 2018-02-26 08:31:46 -05:00
Michael Droettboom 67566d9530 Update README 2018-02-24 12:52:47 -05:00
Michael Droettboom 7e5b45a08e Fix #4: Use WASM 2018-02-24 12:47:13 -05:00
Michael Droettboom 191ca2c7bd Bulk of initial work. 2018-02-23 14:34:33 -05:00
Michael Droettboom 528b70e8e0 Update the .gitignore 2018-02-23 14:26:01 -05:00
Michael Droettboom 183acfd9d7
Initial commit 2018-02-23 14:21:29 -05:00