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

Re: [Scheme-reports] R7RS small in R6RS library

On Fri, Nov 25, 2011 at 9:42 PM, OKUMURA Yuki <mjt@x> wrote:
> 2011/11/26 Grant Rettke <grettke@x>:
>> On Thu, Nov 24, 2011 at 11:43 AM, OKUMURA Yuki <mjt@x> wrote:
>>> == Racket ==
>>> Racket cannot treat files without #!lang or #!r6rs as R6RS library. So
>>> I couldn't implement r7rs-bridge on Racket.
>>> (Isn't there any workaround to make r6rs as a "default" language?)
>> plt-r6rs.exe
> Thank you for the answer, but plt-r6rs is only works for _programs_.
> ie. We cannot import R6RS _libraries_ without #!r6rs even if plt-r6rs used.
> Adding #!r6rs will break use of the library from R7RS implementations.
> The most important idea for my project(r7rs-bridge) is share exactly
> same library files between
> R7RS implementations and R6RS ones... because many programs are
> divided into several libraries.

When R6RS came out a lot of the guys ended up hand-writing glue code
to expose the same files to both R5 and R6 due to such compatibility

Scheme-reports mailing list