On Tue, Aug 09, 2005 at 02:06:58PM +0200, TSa wrote:
> >The first one is about the compilation cycle:
> >
> >    http://pugscode.org/images/simple-compilation.png
> 
> Question: where is the namespace in the picture?
> I would expect it to be build in parallel to the
> syntax tree between parser and compiler. From there
> it might be serialized like PIL itself? Or as part
> of it? Only the Target Code Emitters might strip
> it if the target doesn't need or support it.

Packages, aka namespaces, are mutable pointers from names to pads.

They are emitted as part of PIL structure.

Also, thanks for the earlier suggestion about modeling container types
as parametric types; it's indeed a valid suggestion and
I'll try to use that idea in my current prototype.  Will write more
when I get the automatic insertion of coercion statements working.

Thanks,
/Autrijus/

Attachment: pgpv9miJWduUa.pgp
Description: PGP signature

Reply via email to