[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: syntax-local-value patch for discussion
From: |
Andy Wingo |
Subject: |
Re: syntax-local-value patch for discussion |
Date: |
Thu, 26 Jan 2012 12:31:03 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Hi Stefan,
On Mon 23 Jan 2012 17:06, Stefan Israelsson Tampe <address@hidden> writes:
> and when parse is ready to unpack S we could have
>
> S = #(syntax-object #<struct-s> wrap-part hygiene)
>
> Now I basically solve this problem by constructing
Why do syntax->datum and datum->syntax not work for you to pack and
unpack these structs in syntax objects?
> a = (vector 'syntax-object (vector-ref (struct-s-code (syntax->datum S)) 1)
> (un-mark wrap-part) hygiene)
Gross :)
Andy
--
http://wingolog.org/