Thanks Darrell for pointing me to the codegen.
On 6 Dec 2014 10:06, "Darrell Loverin" <darrell.love...@gmail.com> wrote:

> >used to convert from MXML to Actionscript and then to ABC. Does anyone
> know
> >anything about this and if so, can they point me to it? Thanks and all the
> >best.
>
> For a prime example of generating AS code look in the PreLink class in the
> MXML compiler (in the sdk repo). Look at methods that start with "codegen".
> There are also velocity templates in the flex2.compiler.mxml.gen package.
>
>
> -Darrell
>
> On Wed, Dec 3, 2014 at 10:53 PM, Jesse Nicholson <
> ascensionsyst...@gmail.com
> > wrote:
>
> > I commented earlier about porting the flash runtime + flex to
> > typescript/javascript and was asked to send an email to this list with
> more
> > info plus my progress. In terms of progress, I'd say that I have
> somewhere
> > north of 250K lines of doc comments and code done, with a lot to fill in.
> > The entire Flash + AIR API exists with all constants, properties methods
> > classes etc defined (methods stubbed out) with the implementation details
> > left to be filled in (for methods).
> >
> > The largest bit of work to do (by far) is Flex, which I've come up with
> > really lazy solution to solve. I've started writing a source to source
> > compiler based on Falcon, that consumes and tokenizes the AS input and
> > emits X target (for me right now, it's C#, since my initial
> implementation
> > is C# which then cross-compiles to Typescript using NetJS. Ultimate goal
> > for me is to have a platform where users can code in either
> > JS/TypeScript/C#, whatever they choose, and seamlessly move between
> targets
> > (Native with Mono, Native with something like Cordova, or Browser only).
> >
> > Anyway that's what I'm doing and if anyone is interested in the end
> result,
> > let me know. Right now I have a question. While pouring over falcons
> > source, I noticed comments where MXML "now gets compiled directly to
> > bytecode". The comment goes on to imply that once upon a time, the
> compiler
> > used to convert from MXML to Actionscript and then to ABC. Does anyone
> know
> > anything about this and if so, can they point me to it? Thanks and all
> the
> > best.
> >
> > --
> > Jesse Nicholson
> >
>

Reply via email to