Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!umich!sharkey!sbcs!max!rosalia From: rosalia@max.sunysb.edu (Mark Galassi) Newsgroups: comp.unix.wizards Subject: Re: Examples of LEX And/Or YACC Requested Message-ID: <1990Feb21.012357.27010@max.sunysb.edu> Date: 21 Feb 90 01:23:57 GMT References: <22502@adm.BRL.MIL> Reply-To: rosalia@max.sunysb.edu (Mark Galassi) Organization: Institute for Theoretical Physics, SUNY at Stony Brook Lines: 19 In article <22502@adm.BRL.MIL> AL296641@tecmtyvm.mty.itesm.mx (Antonio Quesada-Duarte) writes: > Does anybody knows of a server (either BITNET or InterNet) where i can find >examples of scripts for LEX and/or YACC?? You might want to look in 2 places: 1. Kernighan and Pike, The UNIX Programming Environment. one of the last chapters is on developing a language with YACC, and they go into lex a little. 2. The Bison manual, by Stallman and another fellow. They have 3 examples of calculators written with Bison (the GNU replacement of YACC) Hope that helps, -- {These opinions are mine, and should be everybody else's :-)} Mark Galassi rosalia@dirac.sunysb.edu rosalia@mozart.UUCP rosalia@sunysbnp.BITNET