Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B851DEC1F for ; Sat, 29 Dec 2012 16:44:44 +0000 (UTC) Received: (qmail 88951 invoked by uid 500); 29 Dec 2012 16:44:43 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 88828 invoked by uid 500); 29 Dec 2012 16:44:43 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 88817 invoked by uid 99); 29 Dec 2012 16:44:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Dec 2012 16:44:43 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aharui@adobe.com designates 64.18.1.241 as permitted sender) Received: from [64.18.1.241] (HELO exprod6og123.obsmtp.com) (64.18.1.241) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Dec 2012 16:44:34 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob123.postini.com ([64.18.5.12]) with SMTP ID DSNKUN8d3XaEvBtJh2tUPxF4qcp8SNfBdP5n@postini.com; Sat, 29 Dec 2012 08:44:14 PST Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id qBTGfG1v019783 for ; Sat, 29 Dec 2012 08:41:16 -0800 (PST) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id qBTGiCAV013221 for ; Sat, 29 Dec 2012 08:44:12 -0800 (PST) Received: from NAMBX02.corp.adobe.com ([10.8.127.96]) by nacas01.corp.adobe.com ([10.8.189.99]) with mapi; Sat, 29 Dec 2012 08:44:12 -0800 From: Alex Harui To: "flex-dev@incubator.apache.org" Date: Sat, 29 Dec 2012 08:44:11 -0800 Subject: Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... ) Thread-Topic: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... ) Thread-Index: Ac3l4UbjpDDfQFEhSeaqJEV3LgGpPgAAnNzF Message-ID: In-Reply-To: <20121229112603.14903zie9tkx315n@franklin.liquidweb.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-Entourage/13.13.0.120411 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On 12/29/12 8:26 AM, "Michael Schmalle" 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. >=20 > 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. >=20 > 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. --=20 Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui