Various methods for catching errors exist in compilers. Document best approaches for doing so in this issue and tackle the following problems in error reporting:
[ ] Print location of statement before outputting any statement.
[ ] Print location of line number where a compile error happened to STDOUT.
[ ] Research and setup various error classes that can arise out of a badly written program and how they should be reported.
Errors to handle:
[ ] Proper declaration of required functions in attached classes.
[ ] Error if attached classes are being used and rubex/ruby is not required using lib.
Various methods for catching errors exist in compilers. Document best approaches for doing so in this issue and tackle the following problems in error reporting:
Errors to handle:
rubex/ruby
is not required usinglib
.