-
Notifications
You must be signed in to change notification settings - Fork 1k
Invoke REPL from code #726
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
Conversation
This PR experienced an intermediate failure state, I don't know if it's meaningful:
Wait a sec, it had gone green. The failed check prevailed. |
A FAQ is how to invoke REPL from code. Document the common entry points.
05ce72e
to
6e6d5c0
Compare
} | ||
interpret("""println("hello, world")""") | ||
interpret("""println(""") | ||
interpret("""val who = "world" ; println("hello, $who")""") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing interpolator?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that was to show the warning output. It should probably explain expected output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, thanks :)
The script println is missing.
|
@som-snytt is this ready for merge? |
(feel free to use your own merge powers if so) |
Let our powers merge! The doc will change soon anyway with Friendly Repl. FREPL. Or EPFL FREPL. If anyone reads this and complains, I will make amends by making emends. |
🎵 Just want to drink my REPL wine, down in the Lightning Bar 🎵 |
A FAQ is how to invoke REPL from code.
Document the common entry points.