sourceror
sourceror copied to clipboard
Improve `Sourceror.parse_expression/2`
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.