Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-28 Thread Josh Tynjala
I would prefer not to have that dependency, but if it helps us avoid some sticky issues that will slow you down, then let's keep using it for now. Focusing on the big picture seems more important right now, and we can clean things up later. - Josh On May 28, 2015 8:09 AM, "Michael Schmalle" wrote

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-28 Thread Michael Schmalle
On Thu, May 28, 2015 at 11:00 AM, Josh Tynjala wrote: > Well, the original plan of matching TypeScript's output is fine with me. I > didn't mean to confuse you by throwing something extra in there. I haven't > looked as closely at Babel, but I heard good things. I figured knowledge of > Babel wou

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-28 Thread Josh Tynjala
Well, the original plan of matching TypeScript's output is fine with me. I didn't mean to confuse you by throwing something extra in there. I haven't looked as closely at Babel, but I heard good things. I figured knowledge of Babel would be good to have around to sanity check things in case TypeScr

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-28 Thread Michael Schmalle
Well see Josh, I am good at writing cross compilers but have spent hardly any time understanding all the nuances of javascript. Each time I have written this thing, I have had a spec given to me by others that I made work. So I am kind of looking for that spec here so I have something concrete to

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-28 Thread Josh Tynjala
Yeah, the ES5 output. While I think the output looks good from TypeScript, I figured it wouldn't hurt to point out an alternative. I'm sure it's pretty similar, but when it comes to the little details, you might see something there that you like better. - Josh On May 27, 2015 4:01 PM, "Michael Sch

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread João Fernandes
Yes from babel or from traceur but babel output is way cleaner. On May 28, 2015 00:01, "Michael Schmalle" wrote: > So basically your saying the output of ES5 from Babel? > > Mike > > On Wed, May 27, 2015 at 6:47 PM, Josh Tynjala > wrote: > > > You might also consider looking at the output of Bab

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Michael Schmalle
So basically your saying the output of ES5 from Babel? Mike On Wed, May 27, 2015 at 6:47 PM, Josh Tynjala wrote: > You might also consider looking at the output of Babel. Babel transpiles > ECMAScript 6 back to older versions of the language that are more widely > supported today. TypeScript is

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Michael Schmalle
kludge to me is an ugly half solution for something that shouldn't have to have a solution. :) I am trying to figure out all the stuff I will run into if I go this way and this sounds like a road block. I seriously don't think TS has implemented a super property call yet. It's in the github issue

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Josh Tynjala
You might also consider looking at the output of Babel. Babel transpiles ECMAScript 6 back to older versions of the language that are more widely supported today. TypeScript is trying to be a superset of ES6, so it should be pretty similar. http://babeljs.io - Josh On Wed, May 27, 2015 at 2:23 P

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Alex Harui
On 5/27/15, 3:42 PM, "Michael Schmalle" wrote: >On Wed, May 27, 2015 at 6:35 PM, Alex Harui wrote: > >> >> >> On 5/27/15, 3:32 PM, "Michael Schmalle" >>wrote: >> >> >BTW, the ONE HELL I had with Randori was this get_ set_ crap, this will >> >make is SO much easier. :) >> >> True, but IMO, the

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Alex Harui
On 5/27/15, 3:37 PM, "Michael Schmalle" wrote: >Well, that is semantics that challenge me, the get_, set_ was kludge and I >hate kludge. :) I’m not sure of your definition of “kludge” but while Object.defineProperties is quite cool for translating: function get foo():int { } function set foo(

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Michael Schmalle
On Wed, May 27, 2015 at 6:35 PM, Alex Harui wrote: > > > On 5/27/15, 3:32 PM, "Michael Schmalle" wrote: > > >BTW, the ONE HELL I had with Randori was this get_ set_ crap, this will > >make is SO much easier. :) > > True, but IMO, there is still hell in calling the superclass’s getter > and/or se

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Michael Schmalle
Well, that is semantics that challenge me, the get_, set_ was kludge and I hate kludge. :) I will make a jxemitter branch when I start. Mike On Wed, May 27, 2015 at 6:35 PM, Alex Harui wrote: > > > On 5/27/15, 3:32 PM, "Michael Schmalle" wrote: > > >BTW, the ONE HELL I had with Randori was th

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Alex Harui
On 5/27/15, 3:32 PM, "Michael Schmalle" wrote: >BTW, the ONE HELL I had with Randori was this get_ set_ crap, this will >make is SO much easier. :) True, but IMO, there is still hell in calling the superclass’s getter and/or setter. -Alex

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Michael Schmalle
BTW, the ONE HELL I had with Randori was this get_ set_ crap, this will make is SO much easier. :) Mike On Wed, May 27, 2015 at 6:29 PM, Michael Schmalle wrote: > Get/Set > > For this TypeScript; > > class foo { > private _bar:Boolean = false; > get bar():Boolean { > return this

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Alex Harui
Yes, so good that will be in alignment. On 5/27/15, 3:29 PM, "Michael Schmalle" wrote: >Get/Set > >For this TypeScript; > >class foo { >private _bar:Boolean = false; >get bar():Boolean { >return this._bar; >} >set bar(theBar:Boolean) { >this._bar = theBar; >}

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Michael Schmalle
Get/Set For this TypeScript; class foo { private _bar:Boolean = false; get bar():Boolean { return this._bar; } set bar(theBar:Boolean) { this._bar = theBar; } } It produces; var foo = (function () { function foo() { this._bar = false; } Ob

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Alex Harui
On 5/27/15, 1:54 PM, "Michael Schmalle" wrote: >Ok, > >I am a doer... :) Since this is all POC right now and I am up to learn >some >JS, I will use this as a format. I have done this JSEmitter 2 times now so >the 3rd isn't going to be that hard, maybe the charm for me to. > >Note, most of the e

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Michael Schmalle
On Wed, May 27, 2015 at 5:46 PM, Alex Harui wrote: > > > > Hey, can you email Roland about AS3Commons’ ZIP library? We use that in > the Installer and I think it needs to be moved someplace more stable like > GitHub because the old links to it stopped working. > > Yeah if I get a hold of him to

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Alex Harui
On 5/27/15, 1:13 PM, "Michael Schmalle" wrote: >On Wed, May 27, 2015 at 4:02 PM, Alex Harui wrote: > >> >> This is where, for Apache projects, it gets tricky/messy. Tamarin code >>is >> MPL (or xGPL) and Apache doesn’t like have source code dependencies on >> those licenses. You can have a d

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Michael Schmalle
Ok Update. I have been researching TypeScript and it's output, this is what I am doing. For some reason this "just" makes sense to me and the are 100's of examples I can use to test the code generation against. Josh, I would say if you want to start experimenting with your framework, use what you

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Michael Schmalle
Ok, I am a doer... :) Since this is all POC right now and I am up to learn some JS, I will use this as a format. I have done this JSEmitter 2 times now so the 3rd isn't going to be that hard, maybe the charm for me to. Note, most of the expressions and statements are already done. As noted, inher

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Josh Tynjala
When I played with TypeScript, I loved that I could subclass CreateJS prototypes very easily. As long as something like that is possible from ActionScript (assuming I could provide a SWC or something for CreateJS or whichever library I want to use), I don't have too strong of an opinion on how the

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Michael Schmalle
On Wed, May 27, 2015 at 4:02 PM, Alex Harui wrote: > > This is where, for Apache projects, it gets tricky/messy. Tamarin code is > MPL (or xGPL) and Apache doesn’t like have source code dependencies on > those licenses. You can have a dependency on compiled MPL code so if > there was a swc in a

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Alex Harui
On 5/27/15, 12:05 PM, "Michael Schmalle" wrote: >> OK, one more thought: there may be reverse-engineering issues about >replacing playerglobal/airglobal, but I was hoping we might find some >Tamarin code laying around that has what we’d start with for jsglobal.swc. > >Hmmm, yeah I re-read the B

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Michael Schmalle
> OK, one more thought: there may be reverse-engineering issues about replacing playerglobal/airglobal, but I was hoping we might find some Tamarin code laying around that has what we’d start with for jsglobal.swc. Hmmm, yeah I re-read the Builtin, I really thought Roland did use code from an open

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Michael Schmalle
On Wed, May 27, 2015 at 2:50 PM, Alex Harui wrote: > New thread: > > > > On 5/27/15, 9:52 AM, "Michael Schmalle" wrote: > > >Well, when I said "teach" I just meant getting into the code. Really, I > >know the base part of the compiler and the walker/visitor framework well > >;-), so getting Falc

[FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-27 Thread Alex Harui
New thread: On 5/27/15, 9:52 AM, "Michael Schmalle" wrote: >Well, when I said "teach" I just meant getting into the code. Really, I >know the base part of the compiler and the walker/visitor framework well >;-), so getting FalconJX to use an HTML.swc would be exactly what I am >looking for to

Re: [FalconJX FlexJS] JIRA issues and helping with the compiler

2015-05-27 Thread Michael Schmalle
Kewl, I figured as much but I don't have the experience with HTML/SVG I would be learning through this. Well you will have to treat me like a kid but I am willing to help you out on this graphics stuff. Mike On Wed, May 27, 2015 at 2:17 PM, OmPrakash Muppirala wrote: > On Wed, May 27, 2015 at

Re: [FalconJX FlexJS] JIRA issues and helping with the compiler

2015-05-27 Thread OmPrakash Muppirala
On Wed, May 27, 2015 at 11:06 AM, Michael Schmalle < teotigraphix...@gmail.com> wrote: > Ok, I will have these screenshots then. Must I didn't know non logged in > people couldn't view images on KVR. > > http://snag.gy/ajFEZ.jpg > > http://snag.gy/vCJen.jpg > > http://snag.gy/785HX.jpg > > This he

Re: [FalconJX FlexJS] JIRA issues and helping with the compiler

2015-05-27 Thread Michael Schmalle
Ok, I will have these screenshots then. Must I didn't know non logged in people couldn't view images on KVR. http://snag.gy/ajFEZ.jpg http://snag.gy/vCJen.jpg http://snag.gy/785HX.jpg Mike On Wed, May 27, 2015 at 2:01 PM, OmPrakash Muppirala wrote: > On Wed, May 27, 2015 at 10:58 AM, Michael

Re: [FalconJX FlexJS] JIRA issues and helping with the compiler

2015-05-27 Thread OmPrakash Muppirala
On Wed, May 27, 2015 at 10:58 AM, Michael Schmalle < teotigraphix...@gmail.com> wrote: > @Om > > Checkout page 1 and 2 of this thread. I am using OSC and AIR/Feathers to > control Bitwig(Audio DAW). > > http://www.kvraudio.com/forum/viewtopic.php?f=259&t=435857 > > The above is the same type of st

Re: [FalconJX FlexJS] JIRA issues and helping with the compiler

2015-05-27 Thread Michael Schmalle
@Om Checkout page 1 and 2 of this thread. I am using OSC and AIR/Feathers to control Bitwig(Audio DAW). http://www.kvraudio.com/forum/viewtopic.php?f=259&t=435857 The above is the same type of stuff I am drawing in my Caustic apps. Let me know if that makes sense to you. Mike On Wed, May 27,

Re: [FalconJX FlexJS] JIRA issues and helping with the compiler

2015-05-27 Thread OmPrakash Muppirala
On Wed, May 27, 2015 at 10:46 AM, Michael Schmalle < teotigraphix...@gmail.com> wrote: > Alex, > > Thinking about this more. > > I have 1 or 2 apps that are more "administrative" such as a library > manager, MIDI importer, metadata manager for the Caustic files that are on > the device. > > Seeing

Re: [FalconJX FlexJS] JIRA issues and helping with the compiler

2015-05-27 Thread Michael Schmalle
Alex, Thinking about this more. I have 1 or 2 apps that are more "administrative" such as a library manager, MIDI importer, metadata manager for the Caustic files that are on the device. Seeing that HTML is more text/editor centric, I could see myself trying to get the native extension working s

Re: [FalconJX FlexJS] JIRA issues and helping with the compiler

2015-05-27 Thread Michael Schmalle
On Wed, May 27, 2015 at 12:37 PM, Alex Harui wrote: > > > On 5/27/15, 9:02 AM, "Michael Schmalle" wrote: > > > > >In the FlexJS and FalconJX categories there is not much and just assuming > >since your are basically the main committer on the compiler right now, > >that > >you just fix stuff and

Re: [FalconJX FlexJS] JIRA issues and helping with the compiler

2015-05-27 Thread Alex Harui
On 5/27/15, 9:02 AM, "Michael Schmalle" wrote: >Alex, mainly aimed at you. I was skimming the JIRA in FlexJS and have a >couple questions. > >What is the difference between; > >Apache ASJS 1.0 > >Apache FlexJS 1.0 >

[FalconJX FlexJS] JIRA issues and helping with the compiler

2015-05-27 Thread Michael Schmalle
Alex, mainly aimed at you. I was skimming the JIRA in FlexJS and have a couple questions. What is the difference between; Apache ASJS 1.0 Apache FlexJS 1.0 Is t