Skip to contentSkip to conversation

Help for Regular Expression or Context Free Grammar for C statement

DISCUSSION Jogesh Kanojia 2 participants 2 messages May 5, 2004

lore
Share & tools
lore
#0 lore raw

Hi
i am looking out for a Regular Expression or Context Free Grammar for the following statements of C language (Normally use while Compiler Design):
(a) Assignment
(b) For
(c) Switch

Please note that this is not related to Syntax format.

Please let me know .

Regards,
Jogesh Kanojia,
Sr. Software Engineer.
Patni Computer Systems Limited
Mobile:- +91 9820275701
Tel:+91-22-27611090 Ext.4018

#1 lore raw
Quoted 5 lines · Jogesh Kanojia

i am looking out for a Regular Expression or Context Free Grammar for the following statements of C language (Normally use while Compiler Design):
(a) Assignment
(b) For
(c) Switch

A copy of the ANSI C9X standard can be obtained from:

	http://anubis.dkuug.dk/jtc1/sc22/open/n2794/n2794.txt
	http://anubis.dkuug.dk/jtc1/sc22/open/n2794/n2794.pdf

A summary of the language grammar can be found in Annex A.

Signature · 1 line
Glynn Clements <[email protected]>