2.99 ScriptFu: enhance TinyScheme syntax error messages for paren matching
TinyScheme has cryptic error messages for the most common cases: mismatched parenthesis.
The issue is in the embedded TinyScheme interpreter. When given "())" yields error message "illegal token 1". Similarly for "." it yields error message "illegal token 2". When given "(" it yields "EOF"
"EOF" should say "syntax error: expected right parenthesis".
"error: illegal token 1" should say "syntax error: unexpected right parenthesis".
"error: illegal token 2" should say "syntax error: unexpected dot".
This won't fix all the cryptic error messages, just the most common ones.
Unfortunately, this is in TinyScheme code, which we usually don't touch. I will cross post this issue upstream.