Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!pacbell!att!occrsh!erc3ba!rsc
From: rsc@erc3ba.UUCP (Rich Chomiczewski)
Newsgroups: comp.lang.c
Subject: Is right recursive C grammar necessary?
Keywords: right-recursive c-grammar
Message-ID: <428@erc3ba.UUCP>
Date: 14 Jun 88 20:16:59 GMT
Organization: AT&T ERC, Princeton NJ
Lines: 14


The ANSI C yacc parser written by Jeff Lee contains right recursive rules.
For example:

	declaration_specifiers
		: storage_class_specifier
	 	| storage_class_specifier declaration_specifiers
			etc.
		;

Is this right recursive grammar required by the ANSI C committee?
Can the above rule be written left recursive and still conform
to the ANSI C standard?
___
Rich (erc3ba!rsc)