8000 Final demo improvements by coolreader18 · Pull Request #245 · RustPython/RustPython · GitHub
[go: up one dir, main page]

Skip to content

Final demo improvements #245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 29 commits into from
Dec 29, 2018
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
03c619f
Rearrange website directory and change webpack config
coolreader18 Dec 19, 2018
4c32693
Switch to using one workspace, move profile to root Cargo.toml
coolreader18 Dec 18, 2018
ca30ebc
Genericize the wasm lib to not be specifically for the demo
coolreader18 Dec 22, 2018
2ea9dca
Add example, change some stuff in the demo to align with example
coolreader18 Dec 23, 2018
d54d2b1
Make scripts executable
coolreader18 Dec 23, 2018
840c507
Improve UX for demo
coolreader18 Dec 23, 2018
ab23f2c
Use str.format for the demo
coolreader18 Dec 23, 2018
24507de
Re-add conflicting files
coolreader18 Dec 24, 2018
ffcd40b
Remove conflicting files
coolreader18 Dec 24, 2018
d1d9585
Change the instances of Fn(..) -> PyResult to a RustPyFunc trait alias
coolreader18 Dec 24, 2018
63b3f3e
Fix blanket impl of RustPyFunc
coolreader18 Dec 24, 2018
132930e
Allow passing closures from JS to python via `vars`
coolreader18 D 8000 ec 26, 2018
e0959b9
Implement error conversion for js_to_py
coolreader18 Dec 26, 2018
94d6a91
Fix js_to_py with JS `undefined`
coolreader18 Dec 26, 2018
c38796b
Add some documentation for functions on the demo site
coolreader18 Dec 26, 2018
877206d
Switch from shell to npm scripts for demo using webpack and @wasm-too…
coolreader18 Dec 27, 2018
2968982
Change README portion for compiling wasm
coolreader18 Dec 27, 2018
ada92d3
Add conflicting files
coolreader18 Dec 19, 2018
dfadd03
Remove (now outdated) previously conflicting files
coolreader18 Dec 27, 2018
396842e
Readd conflicting files
coolreader18 Dec 19, 2018
8303743
Remove RustPyFunc trait, just use Fn(..) everywhere
coolreader18 Dec 27, 2018
1f02cc0
Squash all demo commits onto one branch
coolreader18 Dec 28, 2018
4cc7f5a
Merge #console and #code styles
coolreader18 Dec 28, 2018
b277280
Add README and manifest fields for the WASM library
coolreader18 Dec 28, 2018
1d5df41
Add doc comments and typescript custom section
coolreader18 Dec 28, 2018
36997e1
Comment out WB's TS definitions using a hack
coolreader18 Dec 28, 2018
d7fdc5c
Fix typescript hack
coolreader18 Dec 28, 2018
e65639f
Remove yarn.lock
coolreader18 Dec 29, 2018
231e3f2
Export PyEvalOptions in typescript defs
coolreader18 Dec 29, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use str.format for the demo
  • Loading branch information
coolreader18 committed Dec 24, 2018
commit ab23f2c94018cd0554d0f648fe63cf1ed6b1893a
2 changes: 1 addition & 1 deletion wasm/demo/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>RustPython Demo</h1>
count = 0
until = 10

print("These are the first " + str(until) + " number in a Fibonacci sequence:")
print("These are the first {} numbers in a Fibonacci sequence:".format(until))

while count < until:
print(n1)
Expand Down
0