On 3/14/16, 8:34 AM, "Michael Schmalle" <teotigraphix...@gmail.com> wrote:

>On Mon, Mar 14, 2016 at 11:29 AM, Alex Harui <aha...@adobe.com> wrote:
>
>>
>>
>> On 3/14/16, 8:19 AM, "Michael Schmalle" <teotigraphix...@gmail.com>
>>wrote:
>>
>> >That said, there is only "so much" that compiler can do because I
>>hacked
>> >it
>> >together in about a month. Thinking about a way to create something
>>that
>> >can support a yriad amount of definitions that are supported by the
>> >current
>> >TS community is definitely something to think about.
>>
>> Yes, but when last discussed, Justin called the licensing integrity of
>>the
>> TS files into question, so it may be less work for us to have any code
>> that generates extern SWCs from those files come from a non-Apache
>>project
>> unless someone wants to take the time to sort through it all.  Of course
>> Apache is interested in all sorts of things like dts2as to be
>>open-sourced
>> at Apache, but the reality is that it won't always be the case.
>>
>>
>Yeah, Yeah yeah :) I remember that conversation and that is why I made the
>compiler. But, I forgot that it was never resolved.

It is really up to Josh as to whether he wants to bring dts2as to Apache.
He has every right to keep it outside of Apache and maybe even make some
money off of it.

>
>Ok I ask this, is there anything it doesn't do right now for the core
>stuff
>you are working?

Are you asking about ExternC?  It works well enough for good extern .js
files.  The problem is that there are a few libraries (Google Closure
Library and CreateJS and probably Cordova) were there is no externs files
so we are asking ExternC to try to process the actual code, which it
doesn't do so well, so we've fashioned other ways of skipping ExternC or
batch modification of the .js files to get ExternC to work and that is
making more work for Chris' Maven stuff since the 8 SWCs have at least 3
or 4 different recipes.

IMO, it would be awesome to see ExternC grow into a tool that could
generate the SWCs from the actual library code so folks don't have to
maintain d.ts files or extern .js files, but I think that's a ton of work
especially given that some JS libraries are written with different JS
patters like the IIFE pattern.

Also, Chris and I are wondering if ExternC could be its own folder like
compiler and compiler.jx.  It might simplify the Maven work.

-Alex


Reply via email to