[r6rs-discuss] Better diagnostic messages for unmatched parentheses?
One of the most frequent complaints from entry-level Scheme
programmers is that, when they miss one close parenthesis of
a definition, a naive implementation reports missing parenthesis
at the end of file, giving no clue of which definition has
the problem.
I made Gauche's reader report the position of opening
parenthesis which misses the closing one, and it works
well for most cases to identify the toplevel definition
that actually have missing closing paren. However, with
R6RS library syntax this strategy becomes useless, for the
reader will report the beginning of the 'library' form.
I just wonder if those who have tried the proposed library
form have any idea to address this issue.
(Forcing users to use Emacs isn't a solution).
--shiro
Received on Thu Jun 14 2007 - 03:02:04 UTC
This archive was generated by hypermail 2.3.0
: Wed Oct 23 2024 - 09:15:01 UTC