On Aug 17, 2014, at 2:29 PM, Carl Eastlund wrote:
> Comparing lexical context is a very involved process. Remember that every
> syntax object potentially carries context for an unbounded number of symbol
> names at an unbounded number of phases, since context information can be
> transferred
Comparing lexical context is a very involved process. Remember that every
syntax object potentially carries context for an unbounded number of symbol
names at an unbounded number of phases, since context information can be
transferred freely. Comparing all of them for equivalence would be quite
e
But those only work on identifiers, right?
But would something like this work?
(define (lexical-context=? s1 s2)
(bound-identifier=? (datum->syntax s1 ‘x) (datum->syntax s2 ‘x)))
Or would that miss something?
On Aug 17, 2014, at 1:31 PM, Roman Klochkov wrote:
> Maybe something of
>
> h
Maybe something of
http://docs.racket-lang.org/reference/stxcmp.html
?
Sat, 16 Aug 2014 23:32:10 -0400 от "Alexander D. Knauth" :
>Is there any way to check whether two syntax objects have the same lexical
>information, syntax-e (recursively), source location, properties, and whatever
>else
Is there any way to check whether two syntax objects have the same lexical
information, syntax-e (recursively), source location, properties, and whatever
else they have, even if they aren’t eq?
For the syntax-e and source-location this is straightforward, but if there’s no
accessor for the lexi
5 matches
Mail list logo