Mercerenies / gdlisp

Lisp on the Godot platform
GNU General Public License v3.0
141 stars 1 forks source link

Error Message Details #45

Closed Mercerenies closed 3 years ago

Mercerenies commented 3 years ago

Right now, our error messages leave a lot to be desired. They tell you, in most cases, what is wrong but not where.

When we parse the source, we have information about where in the file we are. We need to transmit this information onto ir, then onto gdscript. This is going to necessitate a significant refactoring of the core data structures in both of those modules. Errors should then be able to tap into the file position information stored in those structures.

Mercerenies commented 3 years ago

See branch error-pos for progress on this issue.

Mercerenies commented 3 years ago

Steps:

Mercerenies commented 3 years ago

496fb3c closes this issue.