adam-mcdaniel / sage

A programming language that's wise beyond its bytes!🌱🌿🪴
https://adam-mcdaniel.net/sage-website
MIT License
414 stars 15 forks source link

Add more comments for debugging, and also add debugging symbols #39

Open adam-mcdaniel opened 1 year ago

adam-mcdaniel commented 1 year ago

It would be nice to insert more comments in the generated assembly at the LIR level. This is straightforward.

It would also be nice to have debugging symbols in the assembly (and possibly VM code as well) to allow a program to step through the compiled code and reference against the source code.