Thread overview
writing compiler
Aug 22, 2002
Bill Stanton
Aug 22, 2002
Pavel Minayev
Aug 28, 2002
KarL
August 22, 2002
Hi

I'm about to write a compiler for a Basic subset. I was wondering if it was possible to write it completely in C (including the parsing).


August 22, 2002
On Wed, 21 Aug 2002 23:13:47 -0700 "Bill Stanton" <bstanton@NOSSPAM.com> wrote:

> Hi
> 
> I'm about to write a compiler for a Basic subset. I was wondering if it was possible to write it completely in C (including the parsing).

Yes, it is.
August 28, 2002
Pavel Minayev <evilone@omen.ru> wrote in message news:CFN374904410105093@news.digitalmars.com...
> On Wed, 21 Aug 2002 23:13:47 -0700 "Bill Stanton" <bstanton@NOSSPAM.com>
wrote:
>
> > Hi
> >
> > I'm about to write a compiler for a Basic subset. I was wondering if it
was
> > possible to write it completely in C (including the parsing).
>
> Yes, it is.

Read the old book "prorgamming in the unix environment" by Kernighan and
Pike.
Good example of using Yacc, Lex.

Then buy the Lex and Yacc book.  This one has even example on MySql parser.