Hi Noah,

I think it makes sense to have a reader that actually returns comments.
That, to me, is the general solution: the REPL reader just treats a
comment as whitespace.

On Sun 13 Feb 2011 16:22, Noah Lavine <noah.b.lav...@gmail.com> writes:

> - The quicker way: if the language in use is scheme, change the
> next-char function (repl.scm line 205) to know about comments, so that
> if it saw a semicolon, it would snarf everything until the end of the
> line.

Nasty, but a good idea I think!  Care to submit a patch? :)

Andy
-- 
http://wingolog.org/

Reply via email to