grammarware / software-evolution

Software Evolution
MIT License
1 stars 0 forks source link

Errors. #8

Open DanielMocanovici opened 7 months ago

DanielMocanovici commented 7 months ago

How important are errors in this project? For example what if a piece of codes gives an error for the right reason but that is not representative of the actual issue or issued at the right line of code in the file.

grammarware commented 7 months ago

Error reporting in parsers and compilers can get very elaborate, so I'd say you don't have the luxury of overdoing it here simply due to time constraints of the course. Realistic compilers have a numbering scheme for their errors, and each error has a few test cases to trigger and nearly-trigger the problem, per error code.

In your case I'd say be opportunistic and just focus on getting those errors right that are the most painful for you and that report the errors that you happen to be debugging and/or suffering the most from.