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 E0CBED31C for ; Wed, 28 Nov 2012 23:48:07 +0000 (UTC) Received: (qmail 34635 invoked by uid 500); 28 Nov 2012 23:48:06 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 34598 invoked by uid 500); 28 Nov 2012 23:48:06 -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 34590 invoked by uid 99); 28 Nov 2012 23:48:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 23:48:06 +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 devudesign@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-wg0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 23:48:00 +0000 Received: by mail-wg0-f43.google.com with SMTP id dq12so6369192wgb.0 for ; Wed, 28 Nov 2012 15:47:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=U3wQGAOdSWHaHaZR2fbpHQjCRm2C2MYIG+XXTX5S/ZI=; b=tGNgBfGcz0t1l4sS5aBBRtSYlbUZ5Qju2Bewt8hi5YrrM6aygQV1PW2FqCKtw6qYWL 8O6jUOfP+6nJv6hObtYMFK7ADeNIpRPJfjqOJGbdSf4bvrlZVLuSQtXpTAmF9a3H/Hf1 eS3wS1nGRjYC08PpH6EaTntUWFDmltwiIKKcefqlckvsrtcrFdsFWYTR57zfEKXI/7p6 5nV/Bm7vDnbHC7TmIvXdOmB8iGvhLB24KOBdpX8SAHGOanoDWjutxYlIHtUalFrbFsY+ u8ETQ/sWd8iIRQnm94Ri9Xn+1fqRCjHKTO5x+4qOFa5+8dCRR+74PMdPdiFqzh7874xd HuCg== Received: by 10.180.94.226 with SMTP id df2mr35655827wib.11.1354146460107; Wed, 28 Nov 2012 15:47:40 -0800 (PST) Received: from [127.0.0.1] (cpc2-slam5-2-0-cust350.2-4.cable.virginmedia.com. [81.106.109.95]) by mx.google.com with ESMTPS id dm3sm9035943wib.9.2012.11.28.15.47.38 (version=SSLv3 cipher=OTHER); Wed, 28 Nov 2012 15:47:39 -0800 (PST) Message-ID: <50B6A2A0.9040306@gmail.com> Date: Wed, 28 Nov 2012 23:47:44 +0000 From: Daniel Wasilewski User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: flex-dev@incubator.apache.org Subject: Re: [FalconJS] concepts References: <50B68DFB.2000004@gmail.com> <20121128172617.99734qine25om1zd@teotigraphix.com> <50B6979D.1040905@gmail.com> <20121128180855.49354x2ufd84t37r@teotigraphix.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Here we go! welcome on board :) On 11/28/2012 11:43 PM, Frank Wienberg wrote: > Hi folks, > > here is another "outsider" who would like to contribute to the JS runtime > format, if you are interested. > I am co-founder of the Open Source project Jangaroo, and as such have been > dealing with JavaScript-to-ActionScript-3 compilation for several years now. > In response to Bernd Paradies blogging about FalconJS, I blogged about > "simulating ActionScript 3 language features" extensively: > > - > http://blog.jangaroo.net/2011/11/simulating-actionscript-in-javascript.html > - > http://blog.jangaroo.net/2011/12/simulating-actionscript-in-javascript.html > - http://blog.jangaroo.net/2012/01/simulating-actionscript-parameter.html > - > http://blog.jangaroo.net/2012/01/simulating-actionscript-rest-parameter.html > > All described solutions are actually implemented in the Jangaroo Runtime, > which takes care of the code translated from AS3 to JS by the Jangaroo > Compiler coming alive. > In principle, we follow the "classic route", with the exception of how we > simulate private members: see the first two blog posts. > At first look the Jangaroo Runtime may seem overly complex to you, but it > does many more things (class loading / dependency management; class > initialization = execute static code at the right time; allow keeping > generated JS code and source AS3 code as similar as possible; automatic > method binding / correct "this", etc.), and the concepts described in the > blob posts also work without these additional features. > The Jangaroo Compiler is written in Java and has a separate code generator > (well you obviously won't need the parser) which might be worth having a > look at: > https://github.com/CoreMedia/jangaroo-tools/blob/master/jangaroo/jangaroo-compiler/src/main/java/net/jangaroo/jooc/backend/JsCodeGenerator.java > If you dare to use Maven ;-), it is really easy to play around with our > code generation: Just set up your own projects within minutes, starting > from an example project like > https://github.com/fwienber/jooflash-app-template or > https://github.com/CoreMedia/jangaroo-ext-as-examples . > > Greetings, > -Frank- > > Frank Wienberg > Software Architect & Jangaroo Evangelist > > *frank.wienberg@coremedia.com* > > * frank@jangaroo .net* > > CoreMedia AG > content | context | conversion > > Ludwig-Erhard-Str. 18 > 20459 Hamburg, Germany > www.coremedia.com > > Executive Board: Gerrit Kolb (CEO), Dr. Klemens Kleiminger (CFO) > Supervisory Board: Prof. Dr. Florian Matthes (Chairman) > Trade Register: Amtsgericht Hamburg, HR B 76277 > -------------------------------------------------------- >