Skip to content

Pretty print detailed AST and Interpreter errors#2

Open
DarkSystemGit wants to merge 1 commit into
gavinmorrow:mainfrom
DarkSystemGit:main
Open

Pretty print detailed AST and Interpreter errors#2
DarkSystemGit wants to merge 1 commit into
gavinmorrow:mainfrom
DarkSystemGit:main

Conversation

@DarkSystemGit
Copy link
Copy Markdown

Add in a preview of the line with the error and a arrow that points to the token, ex:

[Error] Variable not in scope: yz, at 8:1
 8 | yz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant