Commit Graph

1690 Commits

Author SHA1 Message Date
Windel Bouwman
4095e0cad7 Modify location of set_attr so that we are able to create str python objects for the dictionary. 2018-12-12 22:06:19 +01:00
Windel Bouwman
31f50eda3d Merge pull request #226 from RustPython/demo-error
[WASM] Catch errors and show it in the standard output textarea
2018-12-12 20:01:31 +01:00
Windel Bouwman
0215830aaa Move set_attr and set_item to context. 2018-12-12 19:41:09 +01:00
Austen LeBeau
dd2b4e3c25 added isalnum, isalpha, isdigit, swapcase 2018-12-12 12:01:35 -06:00
Windel Bouwman
5c04ad8aae Make underlying dict type more hidden. 2018-12-12 15:13:40 +01:00
Austen LeBeau
07336fa984 initial fork commit 2018-12-11 22:44:56 -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
Windel Bouwman
95092be36d Merge pull request #225 from RustPython/test-demo
Fixed the travis build for deploying the demo page
2018-12-11 20:22:13 +01:00
Shing Lyu
0159051e95 Updated README about WASM build 2018-12-10 23:13:54 +01:00
Shing Lyu
13a9922d93 Fix the demo page travis build 2018-12-10 23:07:15 +01:00
Windel Bouwman
b46fc938d4 Merge pull request #224 from RustPython/readme-demo
Update README, adding demo and instruction for how to update doc
2018-12-10 22:18:37 +01:00
Shing Lyu
160cfe6155 Added link to online demo in README 2018-12-10 21:58:43 +01:00
Windel Bouwman
8345acc402 Change rustfmt check to stable. 2018-12-10 21:33:23 +01:00
Shing Lyu
bb4454912e Added instruction on updating online doc and demo page 2018-12-10 20:45:12 +01:00
Windel Bouwman
69d21e0ebb Merge pull request #222 from RustPython/wasm-output-pure-rs
[WASM] Print STDOUT to textarea on the demo page
2018-12-09 22:13:00 +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
Windel Bouwman
34a60ce6a2 Merge pull request #218 from RustPython/stabledoc
Use stable rust to build documentation
2018-12-05 11:30:38 +01:00
Shing Lyu
41d5dc52eb Use stable rust to build documentation 2018-12-04 21:15:51 +01:00
Shing Lyu
71ea9b8f16 Added fork me on github ribbon to demo page 2018-12-04 20:58:00 +01:00
Windel Bouwman
fa89e8803c Merge pull request #214 from RustPython/online-demo
Created a demo page so user can try their code online
2018-12-04 09:12:07 +01:00
Windel Bouwman
30bb111b1a Merge pull request #208 from RustPython/travis-fix
Limit the gh-pages deployment step to only nightly build
2018-12-04 09:01:16 +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
03911d98d7 Limit the gh-pages deployment step to only nightly build 2018-12-03 20:03:05 +01:00
Shing Lyu
2c55c4793e [WASM] Mapping print to console.log 2018-12-03 19:51:48 +01:00
Windel Bouwman
8eacbcbc06 Add builtins to sys.modules. Add __float__ method to int class. 2018-11-26 22:31:40 +01:00
Windel Bouwman
f227ce0498 Add random module 2018-11-25 23:20:10 +01:00
Windel Bouwman
eb51007993 Merge pull request #206 from RustPython/travis-branch
Push website to the master branch to simplify website development
2018-11-25 22:18:14 +01:00
Windel Bouwman
1b4b157a2d Merge pull request #207 from yodalee/math-implementation-with-statrs
Math implementation with statrs
2018-11-25 22:05:41 +01:00
yodalee
68892fb4e2 fix rustfmt 2018-11-25 22:13:26 +08:00
yodalee
04548db1e0 add implementation of special math function
function include: erf, erfc, gamma, lgamma
use package statrs' implementation
2018-11-25 20:10:34 +08:00
Windel Bouwman
ee2fb20f96 Merge pull request #205 from RustPython/readme-update
Added link to documentation in README
2018-11-24 12:05:52 +01:00
Shing Lyu
de61b1c685 Push website to the master branch to simplify website development 2018-11-24 10:43:56 +01:00
Shing Lyu
51271e5000 Added link to documentation in README 2018-11-24 10:37:19 +01:00
Windel Bouwman
a8fb2f3754 Merge pull request #204 from RustPython/travis-doc
Auto build and deploy documentation to website repo
2018-11-23 18:32:44 +01:00
Shing Lyu
023e6119c4 Auto build and deploy documentation to website repo 2018-11-23 11:51:39 +01:00
Windel Bouwman
083eb977ad Merge pull request #202 from RustPython/cleanup
Removed unused wasm/src/main.rs file
2018-11-22 21:37:32 +01:00
Shing Lyu
c1ab263258 Removed unused wasm/src/main.rs file 2018-11-20 21:50:17 +01:00
Windel Bouwman
be462afaa4 Add method to list and tuple class. 2018-11-17 12:31:24 +01:00
Windel Bouwman
a17fb3f4d0 Merge pull request #197 from BojanKogoj/bojan/vm-call_or_unsupported
WIP: Added call_or_unsupported to vm.rs
2018-11-17 09:07:19 +01:00
Shing Lyu
cd3429ce4d Merge pull request #193 from RustPython/readme-typo
Fixed wasm-bindgen typo in README
2018-11-16 14:44:00 +01:00
Bojan
0da1f73777 Removed empty space 2018-11-16 07:49:12 +01:00
Bojan
d972b07195 Fixed method comment 2018-11-15 23:47:11 +01:00
Bojan
f9860d083e Moved and to use new method 2018-11-15 23:42:17 +01:00
Bojan
15c6328ecd Moved sub to use new method 2018-11-15 23:42:03 +01:00