You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We already have the line number and range information for the node we're currently parsing, so it would be very easy to improve error messages by a lot by actually printing out the code and underlining the range where the error occurred.
In fact, I wonder if Tree-sitter's C API allows us to even syntax highlight this code, which would be seriously cool.
The text was updated successfully, but these errors were encountered:
We already have the line number and range information for the node we're currently parsing, so it would be very easy to improve error messages by a lot by actually printing out the code and underlining the range where the error occurred.
In fact, I wonder if Tree-sitter's C API allows us to even syntax highlight this code, which would be seriously cool.
The text was updated successfully, but these errors were encountered: