coolreader18
|
ca30ebcf5d
|
Genericize the wasm lib to not be specifically for the demo
This included changing RustObjectKind::RustFunction.function to be
a `Box<Fn()>` instead of a `fn()` to support closures.
|
2018-12-24 15:28:49 -06:00 |
|
coolreader18
|
4c32693c7b
|
Switch to using one workspace, move profile to root Cargo.toml
|
2018-12-24 15:28:49 -06:00 |
|
coolreader18
|
03c619f79e
|
Rearrange website directory and change webpack config
|
2018-12-18 18:22:30 -06:00 |
|
coolreader18
|
a796b134a5
|
Allow injecting JS variables into python with eval_py()
eval_py(`return js_vars["a"]`, { a: 9 }) == 9
|
2018-12-15 12:20:03 -06:00 |
|
coolreader18
|
e78a25132e
|
Remove dependency on num_bigint
|
2018-12-15 11:38:08 -06:00 |
|
coolreader18
|
3be6fee737
|
Clarify names of wasm builtins
|
2018-12-15 11:36:53 -06:00 |
|
coolreader18
|
921efd4d14
|
Switch to using json.dumps for py_to_js()
|
2018-12-15 11:33:37 -06:00 |
|
coolreader18
|
2ae1df590e
|
Rename run_code() to run_from_textbox()
|
2018-12-15 01:41:25 -06:00 |
|
coolreader18
|
f8cce25f69
|
Formatting; move the + '\n' hack to eval().
|
2018-12-15 01:31:44 -06:00 |
|
coolreader18
|
b428f2e3b3
|
Improve demo site
|
2018-12-15 00:49:47 -06:00 |
|
Shing Lyu
|
6021fca8cd
|
[WASM] Print the Rust panic to the output textarea
|
2018-12-11 21:50:25 +01:00 |
|
Shing Lyu
|
fabc67985a
|
Make the run button bigger so it doesn't overflow
|
2018-12-11 21:38:02 +01:00 |
|
Shing Lyu
|
13a9922d93
|
Fix the demo page travis build
|
2018-12-10 23:07:15 +01:00 |
|
Shing Lyu
|
b2aa7ac2fb
|
[WASM] Changed the demo to fibonacci calculation
|
2018-12-09 21:35:23 +01:00 |
|
Shing Lyu
|
3e231620cd
|
[WASM] Print STDOUT to textarea in HTML
|
2018-12-09 21:35:23 +01:00 |
|
Windel Bouwman
|
f8f9fa7fd0
|
Merge pull request #217 from RustPython/travis-demo
CI build and deploy demo page on master branch
|
2018-12-07 10:15:50 +01:00 |
|
Shing Lyu
|
b5c1990267
|
CI build and deploy demo page on master branch
|
2018-12-06 20:35:53 +01:00 |
|
Windel Bouwman
|
351a61f2b3
|
Merge pull request #216 from RustPython/forkme
Added fork me on github ribbon to demo page
|
2018-12-05 11:30:58 +01:00 |
|
Shing Lyu
|
71ea9b8f16
|
Added fork me on github ribbon to demo page
|
2018-12-04 20:58:00 +01:00 |
|
Shing Lyu
|
8d78c67d0b
|
Created a demo page so user can try their code online
|
2018-12-03 20:49:26 +01:00 |
|
Shing Lyu
|
5734fc29ca
|
Merge pull request #203 from RustPython/consolelog
Mapping Python print to JavaScript console.log
|
2018-12-03 20:48:43 +01:00 |
|
Shing Lyu
|
2c55c4793e
|
[WASM] Mapping print to console.log
|
2018-12-03 19:51:48 +01:00 |
|
Shing Lyu
|
c1ab263258
|
Removed unused wasm/src/main.rs file
|
2018-11-20 21:50:17 +01:00 |
|
rmliddle
|
27b5796b92
|
formatting fixes
|
2018-10-28 13:30:18 +11:00 |
|
rmliddle
|
958ee94bdc
|
HTML update
|
2018-10-28 13:25:36 +11:00 |
|
rmliddle
|
72d53fe807
|
move to wasm-bindgen + supporting application
|
2018-10-28 13:23:00 +11:00 |
|
rmliddle
|
ded30f8319
|
formatting and readme changes
|
2018-10-23 20:48:41 +11:00 |
|
rmliddle
|
edbac92160
|
basic instructions wasm build
|
2018-10-23 20:31:05 +11:00 |
|
rmliddle
|
c2f5394c75
|
binary crate + index.html for wasm build
|
2018-10-22 23:07:25 +11:00 |
|