dyoo/WeScheme — Issue #46: read errors need highlighting too
Author: dyoo
Created: 2012-01-24 17:00:29+00:00
State: open

WeScheme currently isn't doing a great job at highlighting read-based errors. The following erroneous code:

(define hex-digits
(vector #\0 #\1 #\2 #\3
#\4 #\5 #\6 #\7
#\8 #\9 #\a #\b
#\c #\d #e #\f))

gives the slightly unhelpful error message

:98:18: read: no digits

with no highlighting. But we know exactly where the error is showing up at least, though we don't necessarily know
how long.