incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <>
Subject Re: [FlexJS] Testing AS -> JS translation
Date Mon, 17 Dec 2012 18:54:15 GMT

On 12/17/12 10:36 AM, "Erik de Bruin" <> wrote:

> Mike,
> I try to talk about FalconJx, as I believe you call your "version" of
> the AS -> JS compiler when I talk about your work. I refer to FlexJS
> when I talk about the project to allow the user to write in an AS
> based framework (either based on Alex's approach or a new one, based
> on my experiences setting this up).
> Am I correct in assuming that the FalconJx compiler will take any AS
> files and translate it to JS using the rules we're working on in the
> Wiki? I mean, I can build a framework in AS (like Alex's, or maybe
> even use Flex itself) and build a complimentary framework in JS (like
> Alex did) and as long as the functionalities of these frameworks
> match, the user code can be put through FalconJx and the output should
> run, correct? How about MXML?
I have MXML sort of working for FalconJS, but my goal is just to get it to
work enough to compile the demo.  It may need more work to handle script
blocks, for example.  Hopefully Mike can just grab it and borrow most of it
for FalconJX.   It is all contained in an override of
MXMLClassDirectiveProcessor.  I'm hoping to get the AS -> JS output done
today or tomorrow.  Then I can start trying to build the demo using the
entire publisher tool chain from MXML files to JS.

Testing wise, I don't know enough about junit, but would it be possible to
reuse any Falcon tests and just assert different results?

Alex Harui
Flex SDK Team
Adobe Systems, Inc.

View raw message