Re: FlexJS Random crazy thought

2017-08-07 Thread Harbs
Combining Josh’s idea and this one sounds really interesting. > It is probably technically possible. But would it attract TS folks? I don’t know, but there’s lots of advantages to Flex that might attract folks if they could use a language they’re comfortable with. I’m not sure how well

Re: FlexJS Random crazy thought

2017-08-07 Thread Alex Harui
Sure, trying to replicate the TS compiler in our code base would be a lot of work especially if we wanted to also get SWF output. But I think for JS-only output there is a possible shortcut where we replace Google Closure Compiler with the TS compiler and essentially pass through the TS code. Of

Re: FlexJS Random crazy thought

2017-08-07 Thread Josh Tynjala
I've considered the idea of extending the TypeScript compiler to understand MXML, and elements would contain TypeScript instead of ActionScript. Creating a new compiler for TypeScript would be a massive effort (even considering the similarities between ActionScript and TypeScript), so it would be

Re: FlexJS Random crazy thought

2017-08-07 Thread Alex Harui
It is probably technically possible. But would it attract TS folks? Other crazy ideas along these lines are: 1) have FalconJX output TS as well as JS 2) extend AS with some of the popular TS features 3) make sure it is really easy to use TS libraries in FlexJS. My 2 cents, -Alex On 8/7/17,

FlexJS Random crazy thought

2017-08-07 Thread Harbs
I was thinking about how we could increase adoption of FlexJS and I had a thought: How crazy would it be to make Falcon understand TypeScript? TypeScript is currently very popular for many of the reasons that we like ActionScript. The difference is that ActionScript is not the current fad.