condense9/hark-lang

Compile debug info into executable

Closed this issue · 1 comments

So that when something goes wrong, a traceback can display the source.

Simple naive approach: attach debug info (filename, line number, line text) to each machine instruction emitted.

Done!