On Nov 11, 2008, at 3:14 PM, marcomaggi wrote:


On Nov 11, 3:38 pm, Abdulaziz Ghuloum <[EMAIL PROTECTED]> wrote:
There might be different regions at the macro use
with different bindings.

Maybe you don't immediately see how this could be,
[...]
It may be tricky if you're just learning macros,
[...]
It's tricky to get right and you'll end up just
confusing yourself.

Sorry if that sounded too intimidating. :-)

Thanks for the example! I will mull over it.

I am trying to learn something partially out of curiosity,
partially because I want to write an example-based section
of documentation on SYNTAX-CASE,

You might want to look at TSPL and the two IU tech reports
355 and 356 for some examples.

and partially because
I guess that there are things about Scheme that I will not be
able to understand until I have a mental model of what
a syntax object is (for example library phases).

In Ikarus, syntax objects have absolutely nothing to do
with phasing/levels; they are about scope and only about
scope (visibility and meaning of identifiers, where they
came from, what they bind, etc.).  Phasing, levels,
instantiation, compilation, etc., are all issues that are
controlled by other mechanisms that, for the most part,
have nothing to do with syntax objects.

Aziz,,,

Reply via email to