LL(k) grammar for ANSI C is available.

"Mohd Hanafiah Abdullah" <napi@cs.indiana.edu>
Tue, 30 Mar 1993 02:43:04 GMT

          From comp.compilers

Related articles
LL(k) grammar for ANSI C is available. napi@cs.indiana.edu (Mohd Hanafiah Abdullah) (1993-03-30)
| List of all articles for this month |

Newsgroups: comp.compilers
From: "Mohd Hanafiah Abdullah" <napi@cs.indiana.edu>
Keywords: C, parse, LL(1), FTP
Organization: Indiana University Computer Science, Bloomington
Date: Tue, 30 Mar 1993 02:43:04 GMT

Hi,


I happen to have an ANSI C grammar in LL(k) (1 <= k <= 2) that I wrote
sometime ago. It's written in Scheme, so you need to have a Scheme
interpreter to process the grammar using a program (f-f-d.s) that extracts
the FIRST/FOLLOW/DIRECTOR sets. The grammar and the Scheme program are in
the FTP archives at primost.cs.wisc.edu as
~ftp/pub/comp.compilers/cgram-ll1.Z.


Readers without FTP access can get it by mail, by sending "send cgram-ll1"
to compilers-server@iecc.cambridge.ma.us.


Enjoy.


Napi
--


Post a followup to this message

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