On 11/27/15, 2:36 AM, "Deepak MS" <megharajdee...@gmail.com> wrote:

>http://www.greg-mcleod.com/index.php/introducing-as3js/
>
>http://as3js.org/
>
>Not sure if any of you have already come across that. Can this be
>leveraged
>for FlexJS? Just a thought...

Interesting, first I've heard of it.  From a quick read, we are way ahead
and his summary of FlexJS isn't quite correct: FalconJX will compile any
AS3 to JS and is smart about it.  Using regular expressions as he does
obviously works in many cases, but if you are someone who initializes
internal variables from constructor variables of the same name as in:

class Foo
{
  var prop:String;

  function Foo(prop:String)
  {
     this.prop = prop;
  }
}

then using regular expressions is likely to fail you.

What do others on the PMC think?  Should we craft a formal response on his
blog or have it done by individuals?  I'd rather have him join forces with
us, but I don't think we need any of his code except maybe some Node.js
integration.

A response might read:

------
Hi,

Just wanted you to be aware that FlexJS also lets you write AS for native
JS without having to use Flash/Flex APIs.  And our compiler does have a
true lexer/parser.  We agree that AS is a great language for writing JS
and you are welcome to join forces with us at the Apache Software
Foundation.

The Apache Flex PMC
-------

Thoughts?
-Alex

Reply via email to