Thread overview | |||||
---|---|---|---|---|---|
|
August 22, 2002 writing compiler | ||||
---|---|---|---|---|
| ||||
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 Re: writing compiler | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bill Stanton | 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 Re: writing compiler | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | 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. |
Copyright © 1999-2021 by the D Language Foundation