flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )
Date Sat, 29 Dec 2012 16:44:11 GMT

On 12/29/12 8:26 AM, "Michael Schmalle" <apache@teotigraphix.com> wrote:

>> FWIW, my understanding of Falcon is that each class source file is a
>> compilation unit and compilation units are parsed in separate threads.
>> Therefore there is no actual point where all ASTs are sitting around.  I can
>> see a callback when the ASTs for a individual compilation unit is ready to
>> be reduced, but I don't know if you can or want to synchronize all AST
>> generation across all compilation units.
> I think you're half correct. If you look at it from a parsing point
> your correct, but if you look at it from a definition compilation
> point it's incorrect.
> To create a SWF file, Falcon uses the Workspace and a step to
> reconnect all scopes which is syncornized after all compilation units
> have been parsed.
I hadn't noticed that.  I will look for it next time I'm wading through the
compiler.  What I thought I saw was that a unit would request abc from
another unit, which would result not only in its parsing but in its
reduction to byte code which I would think you would want to avoid if you
are trying to sync everything up.

Alex Harui
Flex SDK Team
Adobe Systems, Inc.

View raw message