heirich@cs.ucsd.edu (Alan Heirich) (03/24/89)
I would like to find sources for LALR grammars for any and all of the following languages: ISO Pascal, Pascal variants, Berkeley C, ANSI Standard C (proposed), Modula II. If anyone out there can point me to sources I would be grateful. Please note, these must be in LR(1) form. Many (most?) of the grammars that I have encountered in books have been for recursive descent or other top-down parsing methods, and therefore are not acceptable by bottom-up parser generators. I want to develop compilers with YACC, so the grammars must be acceptable by a LALR generator. Thanks in advance. - Alan Heirich - Dept. Computer Science & Engineering - University of California at San Diego - heirich@cs.ucsd.edu [I've sent the proto-ANSI C grammar that's been floating around the net. Other contributions would be welcome. -John] -- Send compilers articles to ima!compilers or, in a pinch, to Levine@YALE.EDU Plausible paths are { decvax | harvard | yale | bbn}!ima Please send responses to the originator of the message -- I cannot forward mail accidentally sent back to compilers. Meta-mail to ima!compilers-request