Re: BNF to YACC utility

Jonathan Spanier <J.R.Spanier@Queens-Belfast.AC.UK>
16 Feb 1999 23:22:22 -0500

          From comp.compilers

Related articles
BNF to YACC utility htchang@home.com (Hyun-Taek Chang) (1999-02-15)
Re: BNF to YACC utility J.R.Spanier@Queens-Belfast.AC.UK (Jonathan Spanier) (1999-02-16)
| List of all articles for this month |
From: Jonathan Spanier <J.R.Spanier@Queens-Belfast.AC.UK>
Newsgroups: comp.compilers,comp.lsi.cad
Date: 16 Feb 1999 23:22:22 -0500
Organization: Queen's University of Belfast
Distribution: inet
References: 99-02-074
Keywords: parse, yacc

Hyun-Taek Chang wrote:


> Is there any utility program translating the BNF form of grammar to YACC
> grammar? I don't want to reinvent the wheel.


Yes, I have been writing a Perl script (5.004) to convert to YACC and
LEX. However, I have not really tested it on a useful "language". The
idea was to get BNF grammers for VLSI CAD and somehow make a reverse
compiler from an intermediate parsed description. This would allow a
means to interface between different CAD languages .....


Jonathan


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.