Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-31 Thread Justin Mclean
HI, > IMO, it is also wasteful and even more harmful to present issues up front > based on faulty assumptions to the point where you scare folks from > working on it, and make unsubstantiated accusations about the IP integrity > of popular GitHub sites. Any “accusations” as you put it were not un

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-31 Thread Alex Harui
On 5/30/15, 10:28 PM, "Justin Mclean" wrote: >> Let’s propose ways to make progress. Please make sure you have clarity >>on >> the pieces involved before speculating on possible blockers, and then >> propose how we can proceed, not why we should stop. > >If it did turn out to be a blocker a l

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-31 Thread Michael Schmalle
On Sun, May 31, 2015 at 1:28 AM, Justin Mclean wrote: > Hi, > > > No need to raise a legal JIRA, we don’t have to bundle this stuff. > > If they are not bundled and they are optional i.e. comply with this [1][2] > then that’s fine. > > > Let’s propose ways to make progress. Please make sure you

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-30 Thread Justin Mclean
Hi, > No need to raise a legal JIRA, we don’t have to bundle this stuff. If they are not bundled and they are optional i.e. comply with this [1][2] then that’s fine. > Let’s propose ways to make progress. Please make sure you have clarity on > the pieces involved before speculating on possible

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-30 Thread Alex Harui
On 5/30/15, 4:26 PM, "Justin Mclean" wrote: >Hi, > >> Mike and Alex, in case you missed it, Microsoft includes a lib.d.ts file >> with the TypeScript compiler that defines the core JS types, including >>DOM >> APIs. It is very clearly licensed Apache 2.0 (with a license header in >>the >> file

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-30 Thread Josh Tynjala
I think you completely misunderstood me. The "developers" I was referring to aren't Apache contributors. I'm referring to a hypothetical Apache tool that would have a clear license. It might not even contain any third-party code at all. This hypothetical tool would allow someone to convert d.ts fil

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-30 Thread Justin Mclean
Hi, > Mike and Alex, in case you missed it, Microsoft includes a lib.d.ts file > with the TypeScript compiler that defines the core JS types, including DOM > APIs. It is very clearly licensed Apache 2.0 (with a license header in the > file too) in their official repository on Github: That would c

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-30 Thread Michael Schmalle
Yeah regarding this licensing issues aside, I looked all over and didn't see any type of lexer/parser/tokenizer for this "grammar". Obviously this means it will be a huge amount of work to get something up and running. I don't have enough time to do this and work on the compiler at the same time,

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Josh Tynjala
Mike and Alex, in case you missed it, Microsoft includes a lib.d.ts file with the TypeScript compiler that defines the core JS types, including DOM APIs. It is very clearly licensed Apache 2.0 (with a license header in the file too) in their official repository on Github: https://github.com/Micros

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread OmPrakash Muppirala
On Fri, May 29, 2015 at 5:13 PM, Justin Mclean wrote: > HI, > > > This is not some random github repo. It is maintained by > > http://definitelytyped.org/, which is basically a repository of d.ts > files > > for popular javascript libraries. > > Which means very little license or providense wise

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Josh Tynjala
If there are any concerns about copyright that cannot be overcome, I think it makes perfect sense to simply create at tool to parse and convert d.ts files and so there on the Apache side. Let the individual developers figure copyright status on their own when using the tool. I'm sure something lik

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Justin Mclean
Hi, > If anyone has other concerns we might want to discuss that on private@. IMO Probably best to keep it here given a few people in this thread are not PMC members and don’t have access to that list. Thanks, Justin

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Justin Mclean
HI, > This is not some random github repo. It is maintained by > http://definitelytyped.org/, which is basically a repository of d.ts files > for popular javascript libraries. Which means very little license or providense wise. Note that their own the contribution guide asks you to add a header

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Justin Mclean
Hi, > So what is stopping me from making my own parser and offering libraries on > my won github account that is not tied to Apache? Nothing in fact the Apache license encourages you to do so. The Apache license allow you to reuse the code in just about any way you like. [1] Think of it as the

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Alex Harui
On 5/29/15, 4:12 PM, "OmPrakash Muppirala" wrote: >Also, only the d.ts files will be used and not the actual library itself. >The actual library will be loaded at runtime. I didn’t see anything in the CanvasJS EULA preventing someone else from making a d.ts file. So I think we’re still good t

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Josh Tynjala
The file may not have a license header, but the repository has a license file at its root: https://github.com/borisyankov/DefinitelyTyped/blob/master/LICENSE The part of the header that says "Project: http://canvasjs.com/"; is referring to which project that this d.ts file should be used *with*.

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread OmPrakash Muppirala
This is not some random github repo. It is maintained by http://definitelytyped.org/, which is basically a repository of d.ts files for popular javascript libraries. As such, all files listed here are MIT license. Outside of Apache (and such organizations), it is not very common to add a license

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Michael Schmalle
So what is stopping me from making my own parser and offering libraries on my won github account that is not tied to Apache? With IDL parser, if I made my own parser could that be used at Apache? Mike On Fri, May 29, 2015 at 6:51 PM, Justin Mclean wrote: > HI, > > > Good. All of these pieces

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Justin Mclean
HI, > Good. All of these pieces seem to be Apache compatible. Sorry but that may not actually be the case. 1) The file has no licence header [1] and from the header seems it may be part of the CanvasJS project [2] which is a paid for product [3] and also has an EULA [4] which doesn’t look ap

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Michael Schmalle
Well if my memory serves me Roland updated the parser and emitter to emit ActionScript. Yes, it was SharpKit and Mike modeled his javascript generation(that I emulated with Randori compiler) from SharpKit output. So it's Roland that did all the parsers and converters. Every piece of the compiler

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Alex Harui
On 5/29/15, 1:19 PM, "Michael Schmalle" wrote: >On Fri, May 29, 2015 at 4:17 PM, Alex Harui wrote: > >> Good. All of these pieces seem to be Apache compatible. We still need >>to >> figure out how to create the two SWCs in an Apache-compatible way, but I >> don’t expect to get blocked there.

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Michael Schmalle
On Fri, May 29, 2015 at 4:17 PM, Alex Harui wrote: > Good. All of these pieces seem to be Apache compatible. We still need to > figure out how to create the two SWCs in an Apache-compatible way, but I > don’t expect to get blocked there. > > Ok, All my work is riding on this Alex. :) Mike >

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Alex Harui
Good. All of these pieces seem to be Apache compatible. We still need to figure out how to create the two SWCs in an Apache-compatible way, but I don’t expect to get blocked there. -Alex On 5/29/15, 1:05 PM, "Michael Schmalle" wrote: >Of the main repo README >" > >This project is licensed und

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Michael Schmalle
Of the main repo README " This project is licensed under the MIT license. Copyrights on the definition files are respective of each contributor listed at the beginning of each definition file. " Mike On Fri, May 29, 2015 at 4:02 PM, Michael Schmalle wrote: > > https://github.com/borisyankov

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Josh Tynjala
The license for the DefinitelyTyped project is here: https://github.com/borisyankov/DefinitelyTyped/blob/master/LICENSE On Fri, May 29, 2015 at 1:02 PM, Michael Schmalle wrote: > > https://github.com/borisyankov/DefinitelyTyped/blob/master/canvasjs/canvasjs.d.ts > > For example. > > Mike > > On

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Michael Schmalle
https://github.com/borisyankov/DefinitelyTyped/blob/master/canvasjs/canvasjs.d.ts For example. Mike On Fri, May 29, 2015 at 4:00 PM, Alex Harui wrote: > If I understand, you are planning to grab a d.ts file from somewhere and > translate it. Give us an example of one you plan to use. It shou

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Alex Harui
If I understand, you are planning to grab a d.ts file from somewhere and translate it. Give us an example of one you plan to use. It should have a header in it or some licensing associated with it. That’s the info that will help determine if it is “safe”. On 5/29/15, 12:49 PM, "Michael Schmalle

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread OmPrakash Muppirala
It looks like the DefinitelyTyped git repo would be the best option: https://github.com/borisyankov/DefinitelyTyped They have a vast collection of JS libraries and they are of MIT license. Thanks, Om On Fri, May 29, 2015 at 12:49 PM, Michael Schmalle < teotigraphix...@gmail.com> wrote: > Well, i

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Michael Schmalle
Well, if it's Apache safe I am already planning on writing a parser and renderer to .as files. So someone that knows, should investigate because I have no idea about licenses. I was actually thinking about writing it in TypeScript because I think it has it's own parser. I am investigating this, i

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Josh Tynjala
This would be really helpful! I'm all for piggy-backing off the work the TypeScript community did (with proper credit where it's due, of course), so that we don't need to start from scratch. - Josh On Fri, May 29, 2015 at 7:30 AM, Michael Schmalle wrote: > Hi, > > Is this considered reverse eng

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Alex Harui
On 5/29/15, 7:30 AM, "Michael Schmalle" wrote: >Hi, > >Is this considered reverse engineering? I don’t think you can “reverse engineer” a text file, so no. > >Does it violate Apache's terms in anyway? One factor Apache considers is the licensing on any text file. There is a web page here [1