Herbert Snorrason wrote:
On Sat, 27 Nov 2004 22:48:42 +0100, liorean <[EMAIL PROTECTED]> wrote:

CLR, JVM and C/C++ implementations exists. As parrot is supposed to be
better for dynamic languages, I guess EcmaScript 3.0 would fit right
in with parrot.



I'd love to contribute. Could one write an initial compiler in
JavaScript, compile from SEE or SpiderMonkey and then run the compiler
on that implementation?

What the compiler would do is to transform JS code into PIR ... you most likely could do that in any language, so another JS implementation wouldn't be impossible.

Hi,

I got started on a ECMAScript-Project, but I haven't really gotten very far and haven't looked at it since August.

The basis for 'js2pir.js' is narcissus, http://lxr.mozilla.org/mozilla/source/js/narcissus/, which is a JavaScript interpreter written in JavaScript.
'narcissus' runs on SpiderMonkey, and the plan was of course to eventually do the bootstrapping.


I have put the sources on http://www.schmalhofer.info/schmalhofer/bernhard/projects/oxpecker/. There are propably a couple of files missing, as I had to recover from an unfortunate 'make distclean'.
The status is that "Hello World", but not much else, was running in August.


In case that a real ECMAScript-project gets started, I'd be happy to contribute.

CU, Bernhard

--
**************************************************
Dipl.-Physiker Bernhard Schmalhofer
Senior Developer
Biomax Informatics AG
Lochhamer Str. 11
82152 Martinsried, Germany
Tel: +49 89 895574-839
Fax: +49 89 895574-825
eMail: [EMAIL PROTECTED]
Website: www.biomax.com
**************************************************

Reply via email to