Skip to content

Conversation

@arsalan0c
Copy link
Owner

This PR changes the message shown when try again is invoked after a program has been entered, in order to improve user friendliness.

The change is from

undefined

to

"There are no more values of: <program entered by user>"

@arsalan0c arsalan0c self-assigned this Apr 28, 2020
@arsalan0c arsalan0c added the enhancement New feature or request label Apr 28, 2020
@arsalan0c arsalan0c merged commit 75c0fdd into master Apr 28, 2020
arsalan0c added a commit that referenced this pull request May 2, 2020
…ixes) (source-academy#594)

* Fix bug: yield new array (#40)

* fix bug: yield new array for array expression

* Add user friendly REPL message (#43)

* add user friendly REPL message

* Add randomized amb operator (#15)

Adds the ambR operator which functions similarly to amb
but makes choices randomly instead of sequentially.

Also adds landing page and library documentation for
the operator, and adds this operator into the specs.

* Add while loops (#39)

This PR adds support for while loops, including break,
continue and return statements in the loop body.

It also tweaks the scheduler so that stackoverflow errors
are captured and displayed to the user.

Co-authored-by: anubh-v <[email protected]>

* Clear the stack trace of any error created in REPL (#46)

* Add for loops (#41)

This PR adds support for for loops, including break,
continue and return statements in the loop body.
Co-authored-by: Anubhav <[email protected]>

* Add documentation for loops (#44)



Co-authored-by: anubh-v <[email protected]>

* Improve comments in non-det interpreter (#47)

* Remove unhelpful comment

* Fix spelling in comment

Co-authored-by: Arsalan Cheema <[email protected]>
Co-authored-by: martin-henz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants