Well, if not some formal grammar at least something informal to look at.
Anything other than source code really...

I don't want the grammar to generate my own parser, I'm fine with Rhino's.
What I need the grammar mostly for is to know what to expect in the AST.
Some AST documentation would also fit my needs probably.

--emi


On Tue, Aug 25, 2009 at 7:30 PM, Attila Szegedi <[email protected]> wrote:

> 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
>>
>


-- 
Emilian Bold

http://www.emilianbold.ro :Java and NetBeans Platform-loving development
from Timisoara, Romania.

http://www.josekibold.ro : Java / iPhone development.
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to