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 Sourceror.parse_expression/2 #17

Open
doorgan opened this issue Jun 22, 2021 · 0 comments
Open

Improve Sourceror.parse_expression/2 #17

doorgan opened this issue Jun 22, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@doorgan
Copy link
Owner

doorgan commented Jun 22, 2021

Sourceror.parse_expression/2 tries to parse an expression on a line-by-line basis, but it would be better if it were able to parse the largest single expression by reading the source code character by character.

With the current behavior it will also fail to parse a valid expression if the rest of the last line has an incomplete expression.

@doorgan doorgan added the enhancement New feature or request label Jun 22, 2021
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

No branches or pull requests

1 participant