Related articles |
---|
C compiler from scratch. vikranthit@gmail.com (Vikranth) (2009-07-13) |
Re: C compiler from scratch. Meyer-Eltz@t-online.de (Detlef Meyer-Eltz) (2009-07-15) |
Re: C compiler from scratch. gopi.onthemove@gmail.com (gopi) (2009-07-16) |
Re: C compiler from scratch. DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-07-18) |
Re: C compiler from scratch. s_dubrovich@yahoo.com (2009-07-25) |
From: | gopi <gopi.onthemove@gmail.com> |
Newsgroups: | comp.compilers |
Date: | Thu, 16 Jul 2009 22:02:32 -0700 (PDT) |
Organization: | Compilers Central |
References: | 09-07-024 |
Keywords: | C, parse |
Posted-Date: | 17 Jul 2009 14:41:22 EDT |
On Jul 13, 5:40 pm, Vikranth <vikrant...@gmail.com> wrote:
> Hi , I am looking for C grammar that is suitable for building a (hand
> written) compiler from scratch.Does the grammar provided in appendix
> of K&R book work? Or any alternatives please?
The grammar that comes with a recent edition of the book should
definitely work. Depends on whether you would like to build a compiler
for K&R C, ISO / ANSI C89 or the more recent C99.
STF comes with a complete C Grammar file (optional add-on). The
grammar file is an STML model that can be used with STF tools.
http://www.sankhya.com/info/products/tools/stf.html
SANKHYA Teraptor extensively makes use of these capabilities for a lot
of activities (not for C compiler).
http://www.sankhya.com/info/products/teraptor/teraptor.html
Sankhya Technologies Private Limited
http://www.sankhya.com
E-mail: gopi@sankhya.com
Mobile: +91 94408 78042
Skype: gopibulusu
US (Voice-Mail)
(408) 556-9757
Return to the
comp.compilers page.
Search the
comp.compilers archives again.