Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!ames!ucbcad!ucbvax!CZHRZU1A.BITNET!K538911 From: K538911@CZHRZU1A.BITNET Newsgroups: comp.lang.modula2 Subject: Re: Source for a modula-2 compiler Message-ID: <8703061832.AA07714@Cayuga.cs.Rochester.Edu> Date: Fri, 6-Mar-87 04:44:43 EST Article-I.D.: Cayuga.8703061832.AA07714 Posted: Fri Mar 6 04:44:43 1987 Date-Received: Sun, 8-Mar-87 07:09:36 EST Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 29 >We are doing a research project here, and would like the source code for >a compiler for a structured language such as M2, so we don't have to write >one. If anyone has such source code, preferably written in a moderately >high level language, please let us know. Thanks, You can get the source of the RT-11 Modula directly from the ETH in Zuerich or from DECUS (the compiler is on there tapes). The compiler is written in Modula-2 and has a small system-dependent kernel in machine-language. But: If you are doing research projects on such a compiler, why don't you use a compiler-generator (e.g. YACC)? This would be a much more systematic approach, I think. Or why don't you read Wirth's book about Compiler-Construction (in german: "Compilerbau") and build his PL/0 compiler described there? Patrik --------------------------------------------------------------- Patrik Eschle E-Mail : K538911 at CZHRZU1A.BITNET Private : Winterthurerstr. 529, CH-8051 Zuerich (Switzerland) Phone : 1-40 72 39 Institute : Physikinstitut der Universitaet Zuerich Schoenberggasse 9, CH-8001 Zuerich Phone : 1-257 29 11 ---------------------------------------------------------------