Yea, it'd be very nice to turn fbc's parser/AST/symbol tables into a library. Including callbacks for error reporting and recovery. It's safe to say that the code currently isn't ready for this, though there have been adjustments to move into that direction and I think it'd be exciting to finish this.

Making such suggestions should be very easy from within the parser where an error occurs. Ideally it'd be connected to the error recovery. This would surely be quite some work when doing it for all cases of error handling in the parser, but at least it could be done step by step.

And then it could even filter the error recovery tips based on source location. Tracking the column reliably will need some additional work on the lexer though I think.