code.pyret.org
code.pyret.org copied to clipboard
Website for serving Pyret to folks.
Steps: 1. Create a file named `a.arr` 2. Share this file. We obtain the following code in the dialog: `import shared-gdrive("a.arr", "xxxxxxxx") as A` 3. Rename the file to `b.arr`...
If we have a spy statement in, say, `lists.arr`. When the statement is executed, it will result in an error. Worse, the error has an error in it (unbound id)....
https://github.com/brownplt/code.pyret.org/blob/97d420cccb1198203d098c152a7c0f5e79aa6740/src/web/js/gdrive-locators.js#L419 https://github.com/brownplt/code.pyret.org/blob/97d420cccb1198203d098c152a7c0f5e79aa6740/src/web/js/check-ui.js#L554 https://github.com/brownplt/code.pyret.org/blob/97d420cccb1198203d098c152a7c0f5e79aa6740/src/web/js/trove/world.js#L598
Say I have: ``` fun f() block: print("hello") f() end f() ``` After clicking run, I hope to see the REPL position at the bottom. Currently, we only see the...
Suppose a student gets a starter file ``` include shared-gdrive("foobar", "google hash") ... ``` If they copy the hash to the address bar and reload the page, they can see...
Don't we have a Web page that explains what permissions CPO asks for? It should be easier to find this page, especially since the list of asks is so long....
Most things line-wrap properly, but the very first line of a check block doesn't line wrap, and so "check-block-1" and "Show/hide details" overlap.
If you have a managed account (e.g. through a school) that disables connected apps, CPO dies: trying to open a new document goes to about:blank, there's a 403 error that...
It would be nice to have a button that copy error message text nicely formatted to clipboard.