yacc大师 [英] yacc gurus

查看:80
本文介绍了yacc大师的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我一直试图为我的yacc语法添加一个中等规则,但我总是得到

转移并减少冲突


pel-0.0.3.y包含12个转换/减少冲突和12个减少/减少

冲突。


有没有人知道其他方式?我正在使用yacc然后我尝试了bison但是

它们是相同的,我已经完成了手册中的内容但是他们有一个

非常有限的中规则主题


感谢先知

__________________

解决方案

In文章< 27 ****************************** @ localhost.talkab outprogramming.com>,

Profetas< xu ***** @ yahoo.com>写道:

我一直试图在我的yacc语法中添加一个中间规则,但我总是得到转移并减少冲突




你可以通过在comp.compilers中询问这个来获得更好的结果。


-

rr


Profetas写道:


你好
我一直试图为我的yacc语法添加一个中间规则,但我总是得到转移并减少冲突



这是一个以什么方式提问的问题?


Brian Rodenborn

>这是一个以什么方式提问的问题?

如果你不知道这个话题甚至不回复,那就谷歌吧


Hi
I have been trying to add a mid-rule to my yacc grammar but I always get
shift and reduce conflicts

pel-0.0.3.y contains 12 shift/reduce conflicts and 12 reduce/reduce
conflicts.

does anobody know other way? I was using yacc and then I tried bison but
they are the same, I have done what is in the manual but there they have a
very limited mid-rule topic

Thanks The Prophet
__________________

解决方案

In article <27******************************@localhost.talkab outprogramming.com>,
Profetas <xu*****@yahoo.com> wrote:

I have been trying to add a mid-rule to my yacc grammar but I always get
shift and reduce conflicts



You may get better results by asking this in comp.compilers.

--
rr


Profetas wrote:


Hi
I have been trying to add a mid-rule to my yacc grammar but I always get
shift and reduce conflicts


And this is a C question in what way?


Brian Rodenborn


>And this is a C question in what way?
If you don''t know the topic don''t even reply, google it


这篇关于yacc大师的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆