feathersui / feathersui-starling-sdk

SDK for building Feathers UI (AS3/Starling) applications with MXML
https://feathersui.com/learn/as3-starling/sdk/
Apache License 2.0
42 stars 13 forks source link

Implement new SDK compiler using the Falcon compiler #33

Open teotigraphix opened 8 years ago

teotigraphix commented 8 years ago

I'm putting this here just so if anybody else reads it and wants to chime in.

Background; I have worked extensively with the Falcon compiler mainly in creating/writing the FalconJX compiler FlexJS uses to cross compile AS/MXML to JS.

The problem I see is that I wrote a traversing framework that was a visitor and walker implementation which was an abstraction outside of the actual AST Falcon produces when it parses AS3.

The actual MXML compiler uses JBurg and is completely outside of my knowledge base. I don't off the top of my head know of any hooks to extend MXML generation or even how to start.

I do understand "what" the original compiler does as far as setting up AS to be compiled again so the theory is there for me but I am totally lacking in the vision from start to end of what I need to do to get Falcon to produce different byte code since there is no code generation pass.

Anyway, I think this could be HUGE for Starling and Feathers if it could be done since then we could add a whole bunch of specific things that could enhance the dynamic nature of constructing a Starling/Feathers mobile/desktop app.

I think I will start with posting on the apache dev list.