[Top][All Lists]

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

Re: Tree-IL Questions

From: Noah Lavine
Subject: Re: Tree-IL Questions
Date: Thu, 17 Nov 2011 14:23:10 -0800

>> Then I have a new goal: understand that. :-)
> The deal is that macroexpansion produces tree-il.  The usual
> macroexpander is provided by psyntax.  But before psyntax is loaded,
> when the first bits of Scheme are seen, there is a boot expander written
> in C that produces tree-il, with support for a subset of Scheme.  This
> is in expand.[ch].
> Obviously it can't load scheme in order to get the vtable for <seq>, for
> example, so it defines some core subset of tree-il in C.
> Then when tree-il loads, it grabs that core subset and re-exports it.
> Does that help?

Yes, and thank you very much for the explanation!

reply via email to

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