>I really enjoyed C# programming when I used it more. Why didn't you continue >down the C# path for Randori?
We did. There are Randori versions for both C# and ActionScript and several big deployed apps on both. However, TypeScript launched and began gaining popularity. IMO, it makes a lot more sense as a language to target JS than C# or AS with less runtime emulation required to make things work out and a cleaner approach in a bunch of other ways, which makes sense... it was designed for this purpose. At the time the TypeScript compiler wasn't extensible unfortunately so I didn't have a way to hook in the Randori work there or I would have, and I haven't kept up with it to see if that changed. Mike On Wed, Dec 17, 2014 at 12:14 PM, Michael A. Labriola < labri...@digitalprimates.net> wrote: > > Om- > > >Thanks for the link. I went through the whole documentation (still > >have > some questions, though). It looks pretty solid. Any reason there has > not been much activity on Randori for a while? Are you planning some > new updates any time soon? > > Nope. There wasn't enough interest in cross-compiling ActionScript to > JavaScript to make it worth the considerable time investment to continue. > While many people were interested, most of the real-world clients we > met with had decided on a rewrite strategy and weren't interested in > maintaining code in ActionScript. > > >The cross-compiler is straight up FalconJX, right? Or has there been > more modifications done to FalconJX? > > No, it's quite different in a lot of ways and the code it outputs is > considerably so. We weren't aiming at the same target so they are > divergent. They are forked from the same code though. > > >I would love for parts of Randori getting folded back in. Do you > >think > FlexJS would be a good fit? I do quite a bit of similarities between > Randori and FlexJS. > > I think that any parts of Randori that feel applicable can certainly > be used by FlexJS and any other parts can be taken by Apache freely > but Randori and FlexJS are orthogonal. Randori believed in > cross-compiling logic and providing OO access to a newly written UI in > HTML/JS. FlexJS is on a different path than that. > > >At some point I would like to see some nice JQuery (and perhaps Dojo) > integration with FlexJS. Any chance the current tools in Randori can > be re-purposed and used in FlexJS? > > Yeh, with minor modifications you could take libraries and provide > those for FlexJS users. You could probably also absorb some of the > compiler metadata and strategies we used to make library writing easier. > > >Essentially, what I am looking for is a set of AS3 APIs which have an > equivalent JavaScript API for the existing JQuery UI library. Any > help that can make this happen would be great. > > It's tricky to be honest AS is much more limited than JS in many ways. > We don't have method overloading so the fact that most JS libraries > allow arguments to functions to be multiple types at different times > makes it complex. You may want to start by looking at the list > typescript has (if you haven't already). [1] I tried to write a parser > that would read theirs and create AS versions but the fact the > TypeScript has overloaded interface definitions, etc. made it impossible for > all but the simplest of libraries. > The SharpKit project (C# to JS) also has a ton and served as some of > Randori's inspiration as the first version of Randori was written for C#. > > Mike > > [1] https://github.com/borisyankov/DefinitelyTyped >