Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > automatic detec...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 2373 of 2421
Post > Topic >>

automatic detection and replacement of constructs causing shift/reduce conflicts

by Tom Kramer <kramer@[EMAIL PROTECTED] > Mar 29, 2008 at 08:43 AM

I built a system that reads a file written in ISO standard EBNF and
builds a parse tree. Then it generates BNF equivalent to the EBNF and
writes YACC. While it is generating BNF, it examines the EBNF to see
if there are any of six types of construct that are known to cause
shift/reduce conflicts.  Alternate BNF constructs that do not change
the language and do not cause a shift/reduce conflict are known for
all six types. The system uses the alternate constructs while writing
the YACC. The work was done for a real-world application in which
there were 22 instances of the six sinful construct types.

There is nothing new about EBNF-to-YACC conversion, but I have not
been able to find anything in print about the automatic detection
and replacement of constructs that cause shift/reduce conflicts.
I am writing a paper about this.

1. Does anyone know of any prior work in this area?

2. Does this sound like a paper that will be of interest to
journals, and if so, what journals?

Thanks for your help.

Tom Kramer
kramer@[EMAIL PROTECTED]





 1 Posts in Topic:
automatic detection and replacement of constructs causing shift/
Tom Kramer <kramer@[EM  2008-03-29 08:43:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 13:07:27 CDT 2008.