Commit Graph

724 Commits

Author SHA1 Message Date
Shing Lyu
6435ab3ad4 Added explanation why we cp file to pkg 2018-12-09 20:12:41 +01:00
Shing Lyu
d2565cd1b0 Print to html with JS-side function 2018-12-09 20:11:27 +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
Bojan
05d2faa227 Added call_or_unsupported to vm.rs
This is to prevent code duplication
2018-11-15 23:37:46 +01:00
Shing Lyu
bbdef3d8c8 Merge pull request #194 from RustPython/wasm-doc
Updated the wasm installation instruction
2018-11-15 16:57:07 +01:00
Shing Lyu
1a0677ab44 Updated the wasm installation instruction 2018-11-15 00:25:22 +01:00
Shing Lyu
2939e53717 Fixed wasm typos in README 2018-11-14 23:43:44 +01:00
Windel Bouwman
96c1c5a328 Use rusts internal hash algorithm. 2018-11-12 21:24:53 +01:00
Windel Bouwman
58b905f4df Merge pull request #182 from rmliddle/wasm-steps
Exposes API for running Python via JS
2018-11-12 20:30:52 +01:00
Windel Bouwman
49f855219a Implement sys.getrefcount, sys.ps1, sys.ps2 and sys.getsizeof 2018-11-11 20:54:30 +01:00
Adam Kelly
9cba8d2c3a Avoid crash debug logging circular dictionaries. 2018-11-11 18:32:27 +00:00
Adam Kelly
84ef6e3053 Add Frame.f_code. 2018-11-11 18:12:30 +00:00
Adam Kelly
a1b7c61fcf Implement sys._getframe() to the point where we can use it to get locals. 2018-11-11 17:54:30 +00:00
Windel Bouwman
f6d7e2fc7a Update readme with badges. 2018-11-08 19:49:56 +01:00
Windel Bouwman
9ba9ca1cf6 Merge pull request #183 from BojanKogoj/bojan/objobject-__and__-default
WIP: Added default __and__
2018-11-08 18:42:05 +01:00
Bojan
ccd1534f69 Merge branch 'master' into bojan/objobject-__and__-default 2018-11-07 22:34:44 +01:00
Bojan
e7cd83240c Changed to proper implementation in vm 2018-11-07 22:32:20 +01:00
Windel Bouwman
c4cbedae2f Extend min builtin function to support key and default. 2018-11-07 19:25:18 +01:00
Windel Bouwman
99af466a88 Move max function test cases to snippet dir. Implement key and default argument on max function. 2018-11-07 17:26:18 +01:00