-
Notifications
You must be signed in to change notification settings - Fork 27
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
Interpreter in interactive mode: do not attempt to evaluate expression while parser says EOF #151
Comments
once this implemented, #150 probably should be reverted, because it reads in whole script completely which is aint right. I believe we should keep eventually one code path for both interactive and batch mode:
|
I think this is a regression. Could you please try to bisect? |
i think |
Revision 1c23eed precedes using the external parser that handles newlines differently for interactive input.
|
huh it seem to be working at the time of filing this one #80 |
I don't remember multi-line input ever working for the console frontend. It works very well for importing files through the "<<" operator, which is very important for loading normal source files. I did not prioritize highly multi-line support for the console frontend, which I think explains this bug. |
I've probably created a false memory of it based on the demo program seen above. However, I think it should be easy to make multi line input work in the terminal. Just keep writing the readllines to the But I don't know enough about the internals of this project to be sure it's that simple. |
Desired behavior:
The text was updated successfully, but these errors were encountered: