bril
bril copied to clipboard
Reference interpreter errors could be more useful
trafficstars
A cool thing to add to the brili reference interpreter would be more informative messages about error locations. We can't give source locations, because the interpreter runs on ASTs instead of source code, but we could indicate which instruction index inside which function produced the error.
We actually could now add source positions, since #161.