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 78DEEEA1B for ; Tue, 4 Dec 2012 10:24:47 +0000 (UTC) Received: (qmail 75911 invoked by uid 500); 4 Dec 2012 10:24:46 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 75666 invoked by uid 500); 4 Dec 2012 10:24:45 -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 75636 invoked by uid 99); 4 Dec 2012 10:24:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2012 10:24:44 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FRT_ADOBE2,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [69.167.147.50] (HELO franklin.liquidweb.com) (69.167.147.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2012 10:24:36 +0000 Received: from localhost ([127.0.0.1]:35060) by franklin.liquidweb.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1Tfpfg-00024j-5X for flex-dev@incubator.apache.org; Tue, 04 Dec 2012 05:24:12 -0500 Received: from 64.223.161.192 ([64.223.161.192]) by franklin.liquidweb.com (Horde Framework) with HTTP; Tue, 04 Dec 2012 05:24:11 -0500 Message-ID: <20121204052411.60156p1forjj70wb@franklin.liquidweb.com> Date: Tue, 04 Dec 2012 05:24:11 -0500 From: Michael Schmalle To: flex-dev@incubator.apache.org Subject: Re: ABC -> JS References: <149F8129B58B2D418508E63117D9C5419B5B4CFF6D@nambx05.corp.adobe.com> In-Reply-To: <149F8129B58B2D418508E63117D9C5419B5B4CFF6D@nambx05.corp.adobe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.11) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - franklin.liquidweb.com X-AntiAbuse: Original Domain - incubator.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - teotigraphix.com X-Get-Message-Sender-Via: franklin.liquidweb.com: authenticated_id: teotigra/from_h X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org Quoting Gordon Smith : > The possibility of transcoding ABC -> JS (rather than AS -> JS, MXML > -> JS, CSS -> JS, and .properties -> JS) has come up on another > thread. I should mention that this approach is the one that the > architect of the Falcon compiler (Chris Brichford, who recently left > Adobe) recommended for getting to JS. Bernd Paradies, who did > FalconJS, was on another team and decided to run with AS -> JS. You say he decided to fun with AS -> JS, this is because he used a implementation of a tree walker that is still traversing the AST correct? What makes that code REALLY confusing is although you say he is using AS, there is a huge amount of ABC opcode in that code he wrote. SO I will say to anybody, in the current state of the FalconJS compiler, you NEED to know opcdes to be able to fix anything. This is hwy I kinda got bummed out, I don't know that stuff so it's like walking in the dark but knowing your standing on the ground at least. Knowing the cookie jar is right in front of you but has a lock on it... :) > One advantage of ABC -> JS is that it solves the problem of having a > 3rd party SWC that you don't have source code for but want to > transcode to JS. Couldn't we write an intermediary SWC parsing tool that could create classes with native stubs (by parsing the ABC in the SWF), like Frank has done, then feed those into the parse session? > > One disadvantage is that you have to have a good understanding of > the ABC format and its opcodes. I would say this is a major disadvantage in this open source environment. > - Gordon > > -- Michael Schmalle - Teoti Graphix, LLC http://www.teotigraphix.com http://blog.teotigraphix.com