Skip to content

Conversation

bleibig
Copy link
Contributor

@bleibig bleibig commented Nov 19, 2012

Adds support for multiline commands in the REPL similarly to GHCi by delimiting with :{ .. :}, e.g.

rusti> :{
rusti| x  
rusti| +
rusti| y
rusti| :}

evaluates x + y.

I also refactored how the repl reads and processes lines a bit to support this.

@graydon
Copy link
Contributor

graydon commented Nov 20, 2012

LGTM, thanks!

@graydon graydon merged this pull request into rust-lang:master Nov 20, 2012
RalfJung added a commit to RalfJung/rust that referenced this pull request Nov 10, 2024
Get/set thread name shims return errors for invalid handles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants