K538911@CZHRZU1A.BITNET (03/06/87)
>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 ---------------------------------------------------------------