From: Glynn Clements Subject: Re: Help for Regular Expression or Context Free Grammar for C statement Date: Wed, 5 May 2004 08:15:25 +0100 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <16536.38029.831716.449252@cerise.nosuchdomain.co.uk> References: <002501c4325e$5ac48640$ae63d103@patni.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <002501c4325e$5ac48640$ae63d103@patni.com> List-Id: Content-Type: text/plain; charset="us-ascii" To: Jogesh Kanojia Cc: linux-c-programming@vger.kernel.org Jogesh Kanojia wrote: > 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. -- Glynn Clements