On 5/29/15, 2:11 PM, "Michael Schmalle" <teotigraphix...@gmail.com> wrote:

>Yeah it is but we were talking about property super calls and this was
>brought up.
>
>Alex, understand I am ignorant here with js. I probably have 100+ emails
>now pleading for somebody to tell me how I should emitter super calls to
>properties.
>
>Josh wasn't keen on the whole GCC dependency but we then talked about
>class
>loading.
>
>So... I still need to know how I should do this (accessors).

I’m not quite sure what you are looking for.  IMO, if you use more of the
JSFLexJSEmitter, you should get goog.require/provide and goog.inherit (and
calls to “base”). And that will be a way to do dependencies and super
calls.  And I think that would be a valid first attempt, we aren’t saying
it is THE way to do this.  Then maybe once you see how that looks, you’ll
see how to use other inheritance patterns and dependency management APIS.
You said you already did AMD.

I suppose we could just use this “canonical” output and have each
implementation write their versions of createClass, but I just think you
want the output to look more like what you expect, whether that is code
using GCL or code using Object.create or something else.

-Alex

Reply via email to