Article View: comp.lang.modula2
Article #4965Re: Lex and Yacc for Modula-2
From: Mark Woodruff
Date: Mon, 19 Feb 1990 17:02
Date: Mon, 19 Feb 1990 17:02
20 lines
1189 bytes
1189 bytes
In article <4314@daffy.cs.wisc.edu>, Troy Zerr <daffy!rt13.cs.wisc.edu!zerr@SPEEDY.WISC.EDU> 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
Technical Details
Message-ID:
<90050.120246MARK@UCF1VM.BITNET>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!UCF1VM.BITNET!MARKReferences:
<4314@daffy.cs.wisc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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 <INFO-M2%UCF1VM.BITNET@PSUVM.PSU.EDU> Organization: University Of Central Florida Lines: 20