grammatica-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Grammatica-users] Yacc grammar


From: Oliver Bock
Subject: Re: [Grammatica-users] Yacc grammar
Date: Mon, 08 Feb 2010 15:37:02 +1100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1

I have not needed anything like this in Grammatica, although I have some vague memory of using them in YACC about 15 years ago.  Perhaps you can restructure your grammar to get the same effect, although I don't know how.


On 8/02/2010 3:32 PM, Samir A. Mohamed wrote:
I'm not sure how to convert the precedence statements in Yacc grammar into Grammatica like:

%right TPREINCR TPREDECR
%left '.' PPAREN

%glr-parser

Any ideas?

On Sun, Feb 7, 2010 at 11:23 PM, Oliver Bock <address@hidden> wrote:
Very unlikely, I would say.  Doesn't YACC let you embed C code in your parser?  You will have to hand-translate that stuff so you may as well do it all manually anyway.


  Oliver


On 8/02/2010 2:58 PM, Samir A. Mohamed wrote:
Folks,

I just joined the mailing list and I'm wondering if there is a tool that can convert a Yacc grammar to Grammatica grammar format?

thnx,
Samir
_______________________________________________ Grammatica-users mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/grammatica-users


_______________________________________________
Grammatica-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/grammatica-users


_______________________________________________ Grammatica-users mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/grammatica-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]