Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!tut.cis.ohio-state.edu!ucbvax!CTC.CONTEL.COM!reid From: reid@CTC.CONTEL.COM (Tom Reid x4505) Newsgroups: comp.lang.modula2 Subject: Re: Lex and Yacc for Modula-2 Message-ID: <9002191454.AA06701@ctc.contel.com> Date: 19 Feb 90 14:54:39 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List Organization: The Internet Lines: 29 >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 >Univ. of Wisconsin >Dept. of Math. > Please excuse my posting this to the whole net but messages kept bouncing because the computer "SPEEDY" in the original posting wasn't found. I have a translator writer system that is usable but still needs lots of work and documentation. It is not yacc/lex-like. It is EBNF, attributed grammar, recursive descent with the ability to define attributes and imports so the complete parser module can be generated. It is written in FST m-2 for the pc. It is still a month or more (I am doing this at night and weekends) away from being ready for prime time. Let me know what you`re timing is. Tom. Thomas F. Reid, Ph. D. (703)818-4505 (work) Contel Technology Center (703)742-8720 (home) 15000 Conference Center Blv Net: reid@ctc.contel.com P.O. Box 10814 Chantilly, Va. 22021-3038