The grammar of ECMA-262 spec is cruelly hard to represent in any kind of a regular grammar used by normal parser generators. That's why you don't really encounter these :-)

Attila.

On 2009.08.25., at 15:58, Emilian Bold wrote:

Hy,

I would like to know if we have some proper grammar for the parser used in Rhino. It seems to be a direct port of the C variant, which also doesn't look to have some grammar by my quick look into the Firefox repository.

The ECMA specification does seem to provide some grammar but I would like to know specifically Rhino's. Part of the reason is to see who maps to what in
Rhino and to know what to expect in the AST (which I use directly when
needed).

--emi
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to