You should take a look at FalconJX (same repo as Falcon): it is
designed specifically to be a cross-compiler that can compile to
various output languages. It sounds to me you are trying to re-invent
the wheel by starting from Falcon. FalconJX currently has code
branches that handle the various flavours of JS we're putting out, but
you can use those as the basis and your guide for creating a path that
will result in nice clear C# output.

EdB



On Thu, Dec 4, 2014 at 4:53 AM, 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



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Reply via email to