Hi Jonathan,

first, I'll strongly recommend that you take a look at WebAssembly as a
possible alternative to what you're trying to do. It'll be integrated into
the web platform more and more over the coming years, and might just
satisfy your needs.

That being said, you can find the Tamarin sources here:
http://hg.mozilla.org/tamarin-redux

I'll warn you, though: what you're trying to do is a monumental task. I'm
assuming you don't want to outright replace SpiderMonkey, but add Tamarin
as a runtime. At least, that's the _much_ simpler path forward: the JS
engine is very heavily depended upon by the rest of the browser's platform.

This much simpler path still entails a huge amount of work: you'll have to
integrate the Tamarin runtime into Gecko's event loop and document
processing pipeline to have bytecode loaded and executed at the right time.
Then you'll have to implement all the parts (that most people would assume
to be part) of the ActionScript 3 standard library that're actually
implemented in the Flash Player and thus not available.

After that, create bindings for the thousands of APIs the web platform
includes, or at least the substantial subset you'll need to do anything
useful. The problem with that is that the implementation behind many of
these APIs is strictly tailored towards exposure via JS, so you'll have to
make substantial changes deep inside Gecko internals for that, too.

Finally, and most importantly, do note that the chances of any of this ever
being accepted as patches to mozilla-central are pretty much nonexistent.
You should think through possible ways of this getting into the hands of
people before diving into the technical implementation.


Till


On Fri, Aug 12, 2016 at 2:14 AM, Jonathan Moore <jdm...@gmail.com> wrote:

> Can someone please help me build Tamarin. Is the source code for the
> the action script compiler still around. I would like to have
> ActionMonkey on my own browser..I'm just not that happy with the
> future of the web. I do like actionscript.It doesn't have to be
> officially supported I'll maintain it.
>
> Thanks,
>
> Jonathan Moore
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to