guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: r6rs incompatibilities


From: Mike Gran
Subject: Re: r6rs incompatibilities
Date: Sun, 23 May 2010 09:02:00 -0700 (PDT)

> From: Julian Graham address@hidden

> One thing I noticed while look at Andreas' `wak' project is that the
> use of `#!r6rs' seems to be pretty common, which conflicts with
> Guile's support for SCSH-style block comments.  Find attached a
> (somewhat inelegant) patch that adds support for the `#!r6rs' lexeme
> in the default reader.  (What do people think about this?  Is there a
> better way to do it?)

What happens with this patch if the file only contains the four
characters "#!r6" followed by EOF?  Does it behave appropriately
after calling scm_ungetc on EOF?  (I guess that would make it an 
unterminated hash bang comment.)

Thanks,
Mike




reply via email to

[Prev in Thread] Current Thread [Next in Thread]