Re: Language Design n Compiler

Matthias-Christian ott <ott@mirix.org>
Mon, 14 Dec 2009 21:37:23 +0100

          From comp.compilers

Related articles
Language Design n Compiler sran.harshdeep@gmail.com (honey sran) (2009-12-14)
Re: Language Design n Compiler ott@mirix.org (Matthias-Christian ott) (2009-12-14)
Re: Language Design n Compiler cr88192@hotmail.com (BGB / cr88192) (2009-12-14)
Re: Language Design n Compiler kkylheku@gmail.com (Kaz Kylheku) (2009-12-15)
| List of all articles for this month |

From: Matthias-Christian ott <ott@mirix.org>
Newsgroups: comp.compilers
Date: Mon, 14 Dec 2009 21:37:23 +0100
Organization: Compilers Central
References: 09-12-026
Keywords: practice
Posted-Date: 15 Dec 2009 00:33:11 EST

On Mon, Dec 14, 2009 at 11:44:30AM -0800, honey sran wrote:
> hi i'm new to compilers and language design. i want to write a simple
> language and its grammer- with elementary operations say addition ,
> subtraction,printing etc. and corresponding compiler for that
> language- how and from where should i to start( what all know how is
> required to design a language.). plz point out the steps involved in
> the whole process.


The GNU Bison manual contains the example [1] you asked for. Bison is
generally not a bad starting point if you don't want to read text books
and just want to experiment a bit.


Regards,
Matthias-Christian


[1] http://www.gnu.org/software/bison/manual/html_node/Infix-Calc.html



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.