Open drognanar opened 8 years ago
This can get complicated with multi-line input. Perhaps we could use Console API to highlight the error locations (dark-red background color or light-red foreground color)?
Also note that VB compiler prints out ~~~ for errors. That could also work in REPL, although it makes the output longer since we need to echo the lines that contain the errors.
When parser fails it prints the error along with the location of failures. The REPL does not underline this location making it hard to locate the problem. For instance given the following submissions:
REPL will print the following error:
The following error message would be more readable: