chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] [5] Decontaminate the "scheme" module by m


From: felix . winkelmann
Subject: Re: [Chicken-hackers] [PATCH] [5] Decontaminate the "scheme" module by moving nonstandard syntactic definitions
Date: Mon, 30 Oct 2017 13:28:05 +0100

> On Mon, Oct 30, 2017 at 09:18:23PM +1300, Evan Hanson wrote:
> > Nice work, applied.
> >
> > On 2017-10-28 21:18, Peter Bex wrote:
> > > PS: Does "syntax" belong in (chicken base) or in (chicken syntax)?
> >
> > I'd say (chicken syntax) makes more sense, unless there's a technical
> > reason why that would be difficult.
>
> Yeah, probably.  Feel free to move it correspondingly.
>
> Also, why do we need syntax?  Is it standardised or something?
> IIUC it's just an alias for quote.  At least in the compiler
> that's how it's treated.  In the interpreter there seems to be
> a different handling for it (???).
>
> It's not documented and rarely used (only in one or two places
> in core), so maybe we can just get rid of it, instead (after testing
> that replacing it with ##core#quote works).

The difference between "quote" and "syntax" is that the former strips
all syntactic information from the argument, the latter does not. The
implementation in core.scm looks wrong, though.


felix




reply via email to

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