[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] ANN: first draft of R7RS small language available
- To: Andy Wingo <wingo@x>
- Subject: Re: [Scheme-reports] ANN: first draft of R7RS small language available
- From: Vitaly Magerya <vmagerya@x>
- Date: Fri, 29 Apr 2011 18:32:39 +0300
- Cc: scheme-reports@x
- In-reply-to: <m3tydhxic2.fsf@unquote.localdomain>
- References: <BANLkTi=hSfKrHo13BUMP==SNPCX-+As0HQ@mail.gmail.com> <BANLkTi=kSqWZpF-fAPObreiuAf9FxPb85w@mail.gmail.com> <BANLkTik2QF-u=58SLtQDTTWnx6htQxhqXA@mail.gmail.com> <Pine.SOC.4.64.1104161240590.14128@oow.het.brown.edu> <BANLkTi=7N-mRVJ_ZDyHp7C+XxJZS4hgf4A@mail.gmail.com> <m3ei4lz8oa.fsf@unquote.localdomain> <m362pxz132.fsf@unquote.localdomain> <4DBABE1C.9010107@gmail.com> <m3tydhxic2.fsf@unquote.localdomain>
Andy Wingo wrote:
>> Folks, why do we at all match keywords (e.g. "else") lexically instead
>> of textually?
>
> What do you mean by "lexically" and by "textually" here?
Lexically: as syntax-rules matches literal identifiers in R5RS (or
R6RS), i.e. match if both the input and the pattern identifiers
refer to the same binding, or if both are unbound and textually
identical.
Textually: match if both identifiers are textually the identical,
ignoring whatever bindings they might refer to.
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports