Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!ncar!ico!haddock!ima!esegue!compilers-sender From: SPNHC@CUNYVM.CUNY.EDU (Spiros) Newsgroups: comp.compilers Subject: Pascal like compiler using lex & yacc. Any examples ?? Keywords: lex, yacc, pascal, question Message-ID: <90260.190821SPNHC@CUNYVM.BITNET> Date: 17 Sep 90 23:08:20 GMT Sender: compilers-sender@esegue.segue.boston.ma.us Reply-To: Spiros Organization: City University of New York/ University Computer Center Lines: 18 Approved: compilers@esegue.segue.boston.ma.us Hi all, I am trying to build a compiler using the lex and yacc Unix tools, The compiler will take as input a pascal like language. I have not used the lex or yacc tools before. Are there any examples around or in a ny FTP site ? If you have done something similar in the past and you do not mind sharing your code I would be thankfull if you could send them over, I will use C for the drivr program. Thank's a lot in advance Spiros e-mail address : SPNHC@CUNYVM.CUNY.EDU (internet) SPNHC@CUNYVM.BITNET (Bitnet) [Take a look at Holub's recent book on compilers, which includes an entire compiler for such a language and the tools to build it. -John] -- Send compilers articles to compilers@esegue.segue.boston.ma.us {ima | spdcc | world}!esegue. Meta-mail to compilers-request@esegue.