Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!UCF1VM.BITNET!MARK From: MARK@UCF1VM.BITNET (Mark Woodruff) Newsgroups: comp.lang.modula2 Subject: Re: Lex and Yacc for Modula-2 Message-ID: <90050.120246MARK@UCF1VM.BITNET> Date: 19 Feb 90 17:02:46 GMT References: <4314@daffy.cs.wisc.edu> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List Organization: University Of Central Florida Lines: 20 In article <4314@daffy.cs.wisc.edu>, Troy Zerr says: > >Has anyone heard of a version of lex, yacc or similar compiler-building >tools? I'm writing a compiler in Modula-2 and I'd rather keep the >whole thing in Modula-2 rather than linking in a bunch of C code. > >Thanks a lot. > >Troy Zerr Well the managerial consultant at the company where I used to work wrote a version of Yacc in Turbo Prolog... Seriously, translating the output of Yacc to any language (I've translated it to both Rexx and 370 Assembly) automatically is quite easy. The combination of translated Yacc output and M2 might work nicely for you. mark