flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Schmalle <apa...@teotigraphix.com>
Subject RE: [FalconJx] MXML implementation notes
Date Mon, 21 Jan 2013 18:18:31 GMT
Gordon, every time you reply to something I say, it seems like I'm  
offending you. I really am not. :)

What I meant to say was ActionScript AST flows naturally out to String  
source code, where as MXML requires pre and post processing of the AST  
to make total sense of what you "might" produce.

The AST itself is not "ugly", its the processing of it and making sens  
of it the way you need it. I'm too poetic sometimes and I apologize  
for that.

I spent the last day studying the MXMLClassDirectiveProccessor and  
fully understand how to traverse the MXML AST.

So sorry for the misunderstanding, I didn't mean the AST is an ugly duckling.


Quoting Gordon Smith <gosmith@adobe.com>:

>> MXML is an ugly duckling compared to surfing the AS AST
> What issues are you referring to?
> - Gordon
> -----Original Message-----
> From: Michael Schmalle [mailto:apache@teotigraphix.com]
> Sent: Sunday, January 20, 2013 1:50 PM
> To: dev@flex.apache.org
> Subject: [FalconJx] MXML implementation notes
> Hi,
> Alex this one is aimed at you. I have been studying what you have  
> done for the whole day today and managed by copying about 1000  
> various lines of code to my prototype MXML emitter got your Fragment  
> lists to be populated by my traversal.
> Now the question is, can you in about 5-6 paragraphs give me a nice  
> detailed approach of yours with what is "needed".
> For example, I see;
> - The main application mxml file, this looks as though it's getting  
> translated pretty "vanilla".
>    - you are renaming with the "dummy" post fix, why?
>    - in the constructor you are just using the InstanceNode values  
> (I know this is all being done behind the scenes, I get how the  
> directives work now and are processed recursively)
> - The MyInitialView is sketchy, is uiDescriptors being created by  
> you or is that property created by the MXMLClassDirective?
> - Same with he event handlers, I see that is being take care of by  
> the process method.
> I really think if you can give me as much information of what "you  
> are doing and need", I could have FalconJx producing the MXML sooner  
> than later. As I said I already have it spinning, just need to know  
> exactly what you need at the moment.
> Also, this is where the framework will work out nice since when I  
> need to emit ActionScript for the MXML, I will pass it the current  
> emitter and send it through the ASBlockWalker.
> I will also be honest and say, MXML is an ugly duckling compared to  
> surfing the AS AST, so when I say I can get your code working sooner  
> than later, I really mean I can get exactly what you have, to prove  
> we have all the right tools to put effort into the FalconJx version  
> because it will produce everything we need.
> Mike
> --
> Michael Schmalle - Teoti Graphix, LLC
> http://www.teotigraphix.com
> http://blog.teotigraphix.com

Michael Schmalle - Teoti Graphix, LLC

View raw message