chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Add support for R7RS syntax-rules extensio


From: John Cowan
Subject: Re: [Chicken-hackers] [PATCH] Add support for R7RS syntax-rules extensions
Date: Sat, 15 Jun 2013 14:12:31 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

Peter Bex scripsit:

> There are still some issues with the expander/module system about
> which I'm unsure: currently you need to import-for-syntax r7rs because
> chicken's syntax-rules gets seen otherwise and it will complain about
> these extensions when you use them.

There are three patterns that need to be supported:

1) Compile an R7RS library

2) Compile or interpret an R7RS main program (with the ability to import
at least R7RS libraries, and preferably Chicken libraries too)

3) Run an R7RS REPL or interpret an R7RS script (not a standardized idea,
but very useful)

The difference between (2) and (3) is that in a main program, no
identifiers are initially available except `import`, and everything else
has to be imported; in a script, at least (scheme base) is available, and
whatever else seems like a good idea, standard or non-standard, should be
available too.  AFAIK Chicken has nothing corresponding to main programs.

-- 
John Cowan    http://ccil.org/~cowan    address@hidden
The work of Henry James has always seemed divisible by a simple dynastic
arrangement into three reigns: James I, James II, and the Old Pretender.
                --Philip Guedalla



reply via email to

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