coolreader18
|
524470789f
|
Add eval() method, rename run() to exec()
|
2019-02-17 13:19:19 -06:00 |
|
coolreader18
|
bead3f67d0
|
Fix conversion from ArrayBuffer, allow array_buffer in fetch
|
2019-02-17 11:50:05 -06:00 |
|
coolreader18
|
416f088b32
|
Convert ArrayBuffers and TypedArrays to Python bytearrays
|
2019-02-17 11:22:29 -06:00 |
|
coolreader18
|
b043f2199f
|
Fix js_py_typeerror
|
2019-02-17 09:14:06 -06:00 |
|
coolreader18
|
7405c842c8
|
Add some more options to fetch()
|
2019-02-17 08:49:19 -06:00 |
|
coolreader18
|
d0b4751ab2
|
Remove the VM pointer from the map when it's dropped
|
2019-02-17 08:08:22 -06:00 |
|
coolreader18
|
00bc9e9199
|
Convert fetch to use wasm_bindgen_futures
|
2019-02-17 01:12:38 -06:00 |
|
coolreader18
|
f00c3c8a7b
|
Fix fetch builtin
|
2019-02-17 00:24:58 -06:00 |
|
coolreader18
|
a86069d9f2
|
Store the WASM id in the VirtualMachine, add a (broken) fetch builtin
|
2019-02-16 23:41:41 -06:00 |
|
coolreader18
|
3e22c4f146
|
Add print to default vm scope
|
2019-02-16 21:43:51 -06:00 |
|
coolreader18
|
c83ff47f3a
|
Fix error with new compile() and set_attr/item()
|
2019-02-16 21:31:10 -06:00 |
|
coolreader18
|
f55a8ead68
|
Merge branch 'master' into wasm-vm-class
|
2019-02-16 20:23:35 -06:00 |
|
coolreader18
|
6851767654
|
Fix RefCell borrowing errors
|
2019-02-16 20:18:27 -06:00 |
|
silmeth
|
0c626dd595
|
rename objstr::get_value_as_ref to objstr::borrow_value
|
2019-02-15 19:29:58 +01:00 |
|
ZapAnton
|
f1654cb890
|
Migrated the project to the Rust 2018 edition
|
2019-02-14 12:02:32 +03:00 |
|
Windel Bouwman
|
33d272f795
|
Merge pull request #464 from holygits/internal-error-types
Introduce Parser and Compiler Errors
|
2019-02-14 07:07:21 +01:00 |
|
holygits
|
570b28439a
|
Fix tests
|
2019-02-14 12:31:20 +13:00 |
|
holygits
|
4453c3e561
|
Create error types for parser and compiler
Pass through locations and tokens in ParseError
|
2019-02-14 10:21:21 +13:00 |
|
silmeth
|
bd64869686
|
fix None kwargs to print in vm and in wasm_builtins
|
2019-02-12 23:17:17 +01:00 |
|
silmeth
|
3d17cc0aa1
|
copy print() kwargs handling over to wasm_builtins
|
2019-02-12 22:27:04 +01:00 |
|
ZapAnton
|
08d767b010
|
Fixed the unnecessary_mut_passed clippy warning
|
2019-02-12 17:12:11 +03:00 |
|
ZapAnton
|
e8467c3bfe
|
Fixed the redundant_closure clippy warning
|
2019-02-12 17:10:53 +03:00 |
|
Adam Kelly
|
769b889097
|
Source path should always be set, make it non-optional for code object.
|
2019-02-09 12:22:51 +00:00 |
|
coolreader18
|
9b6516e175
|
Allow closures to be passed from Python to JS if using a WASM VM
|
2019-02-05 21:04:24 -06:00 |
|
coolreader18
|
a24cd8368a
|
Merge branch 'master' into wasm-vm-class
|
2019-02-05 17:53:21 -06:00 |
|
stratusjerry
|
7134885775
|
Spellcheck
|
2019-02-05 13:39:16 -05:00 |
|
coolreader18
|
de3762cabf
|
Add .run(); fix .addToScope(); add panic-catcher for debugging
|
2019-02-05 00:39:16 -06:00 |
|
coolreader18
|
f7c91c7df0
|
Add add_to_scope() method for WASM VM
|
2019-02-04 20:36:19 -06:00 |
|
coolreader18
|
3bec2260bb
|
Rename VMStore
|
2019-02-04 18:58:53 -06:00 |
|
Windel Bouwman
|
7096434f95
|
Implement some clippy tips
|
2019-02-04 17:17:54 +01:00 |
|
coolreader18
|
f47864f0ac
|
Return Ok(()) from destroy()
|
2019-01-31 16:33:11 -06:00 |
|
coolreader18
|
136a476cd8
|
Call assert_valid() in destroy()
|
2019-01-31 16:13:55 -06:00 |
|
coolreader18
|
b32b732abe
|
Run cargo fmt
|
2019-01-30 14:35:00 -06:00 |
|
coolreader18
|
d0a4f9d7f5
|
Make destroy() method public
|
2019-01-30 12:40:08 -06:00 |
|
coolreader18
|
f064bcaf57
|
Add ids() function to VMStore and destroy() method to VirtualMachine
|
2019-01-30 12:33:32 -06:00 |
|
coolreader18
|
13b2f83084
|
Fix vms.get()
|
2019-01-30 12:30:56 -06:00 |
|
coolreader18
|
4020ee7d41
|
Add a bare-bones VirtualMachine class to the WASM library
|
2019-01-30 12:18:59 -06:00 |
|
Adam Johnson
|
32a58f8897
|
Update example
Improve spelling, grammar, and HTML a bit on the example page.
|
2019-01-10 14:07:08 +00:00 |
|
coolreader18
|
231e3f2f16
|
Export PyEvalOptions in typescript defs
|
2018-12-28 21:57:41 -06:00 |
|
coolreader18
|
e65639f61a
|
Remove yarn.lock
|
2018-12-28 21:43:13 -06:00 |
|
coolreader18
|
d7fdc5c177
|
Fix typescript hack
|
2018-12-28 14:42:43 -06:00 |
|
coolreader18
|
36997e12d9
|
Comment out WB's TS definitions using a hack
|
2018-12-28 14:35:45 -06:00 |
|
coolreader18
|
1d5df4130a
|
Add doc comments and typescript custom section
|
2018-12-27 22:31:15 -06:00 |
|
coolreader18
|
b2772804f2
|
Add README and manifest fields for the WASM library
|
2018-12-27 21:06:59 -06:00 |
|
coolreader18
|
4cc7f5aa9c
|
Merge #console and #code styles
|
2018-12-27 20:43:09 -06:00 |
|
coolreader18
|
1f02cc0fa3
|
Squash all demo commits onto one branch
|
2018-12-27 20:28:12 -06:00 |
|
coolreader18
|
8303743aab
|
Remove RustPyFunc trait, just use Fn(..) everywhere
|
2018-12-27 11:50:14 -06:00 |
|
coolreader18
|
396842ef9d
|
Readd conflicting files
|
2018-12-27 00:04:20 -06:00 |
|
coolreader18
|
dfadd03f95
|
Remove (now outdated) previously conflicting files
|
2018-12-27 00:02:33 -06:00 |
|
coolreader18
|
ada92d33a3
|
Add conflicting files
|
2018-12-27 00:01:20 -06:00 |
|