On Sun, Jul 09, 2006 at 04:11:55PM -0700, chromatic wrote:
> On Sunday 09 July 2006 02:15, Vishal Soni wrote:
> 
> > I am not an expert on which approach is the way to go:
> > 1. Hack Mozilla's JavaScript excution engine to generate PIR.
> 
> If there's a fairly direct correspondence between JS bytecode (if there is 
> such a thing; I have no idea -- whatever internal ops it uses to represent a 
> program to execute), this may be easiest to start.
> 
> > 2. Use the Compiler Tool Chain developed by Parrot Wizards to implement
> > JavaScript engine.
> 
> This is probably the best long-term approach, at least if you find someone 
> good to write the grammar.  (I hate parsing.)

FWIW, I'm more than happy to help with the grammar, especially if
there's an existing definition to work from.

Pm

Reply via email to