[r6rs-discuss] Better diagnostic messages for unmatched parentheses?
Michael Sperber
sperber at informatik.uni-tuebingen.de
Thu Jun 14 03:59:11 EDT 2007
Shiro Kawai <shiro at lava.net> writes:
> 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.
>
> (Forcing users to use Emacs isn't a solution).
If you really want to help users, I'd suppose DrScheme's method of
looking at the indentation is probably best. However, can't you simply
give `library' special treatment in your reader?
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
More information about the r6rs-discuss
mailing list