Announcement: ECMScript 4 to ECMAScript 3 translator released

Olav Kjær olav at olav.dk
Mon Jun 9 10:21:20 PDT 2008


Hi everyone,

I have released Mascara version 0.1, an ECMAScript 4 to ECMAScript 3
compiler. <http://ecmascript4.com>

The code is still alpha-quality, but since it to a certain extend could be
regarded as an independent ES4 implementation, I thought it would be
relevant to announce on this mailing list.

There is an online interface <http://ecmascript4.com> where you can try it
out without installing anything.

Since comments on the implementation probably aren't appropriate for this
list, you are welcome to mail me directly, or to comment on the blog <
http://blog.ecmascript4.com> which I have set up for tracking the project.

While the implementation will probably never be a complete to-the-letter
implementation of the ES4 spec (e.g. the type checking is static - with
erasure - rather than runtime, and some features like metaprogramming and
generators are impractical to implement without support in the target
engine), I do believe it could be useful for raising awareness of ECMAScript
4 among web developers and to show that the language works in "the real
world".

I suspect many developers are wary of investing in a technology which might
not be supported by IE without 3-party plug-in. And even if IE decide to
support ES4 natively, it would take years to reach ubiquitous support, which
is required for mainstream acceptance. The translator-approach shows a
viable migration path, where developers can start using ES4-constructs
today, without abandoning browser compatibility.

(Note: I actually started the project several years ago, based on the now
obsolete Netscape draft. However the current version is updated to support
the current spec as far as I can follow it on the wiki.)

Regards

Olav Junker Kjær
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20080609/f33014f3/attachment-0002.html 


More information about the Es4-discuss mailing list