Re: Examples in Lex & Yacc (Peach Microsystems)
4 Jan 1997 20:50:24 -0500

          From comp.compilers

Related articles
Examples in Lex & Yacc (Benoist PINCON) (1997-01-03)
Re: Examples in Lex & Yacc (1997-01-04)
Re: Examples in Lex & Yacc (Dr Douglas J. Chappell) (1997-01-09)
| List of all articles for this month |

From: (Peach Microsystems)
Newsgroups: comp.compilers
Date: 4 Jan 1997 20:50:24 -0500
Organization: Peach Microsystems, Ottawa
References: 97-01-023
Keywords: lex, yacc wrote:

>I have to make a basic-like translator to C, but i miss of
>good examples.
>Anyone knows where to find some ?

Kernighan & Pike "The Unix Programming Environment" has an example
that starts as a + - * / calculator and goes through several versions,
adding variables & functions & perhaps arrays & . . . until it's a
reasonable little language. An appendix gives source for all versions.

Post a followup to this message

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