Skip to content
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

Improve REPL's multiline parsing #1428

Open
bugarela opened this issue Apr 23, 2024 · 0 comments
Open

Improve REPL's multiline parsing #1428

bugarela opened this issue Apr 23, 2024 · 0 comments
Labels
UX impacts or improves user experience

Comments

@bugarela
Copy link
Collaborator

For now, the REPL only supports parsing multiline things when there is some sort of open braces that still need to be closed when a newline appears. We should take approaches from other languages and try to make this better.

@josef-widder was trying to paste runs like this in the REPL, and the only way to do it right now is to add some curly braces around it:

init
  .then(something)
  .then(something_else)
@bugarela bugarela added the UX impacts or improves user experience label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UX impacts or improves user experience
Projects
None yet
Development

No branches or pull requests

1 participant