Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!rice!uw-beaver!milton!ogicse!pdxgate!parsely!percy!m2xenix!news From: news@m2xenix.psg.com (Randy Bush) Newsgroups: comp.lang.modula2 Subject: Re: COMPILING DEFINITION MODULES Message-ID: <1991Apr6.194653.21784@m2xenix.psg.com> Date: 6 Apr 91 19:46:53 GMT References: <1991Apr4.192514.1742@bradley.bradley.edu> Organization: Pacific Systems Group, Portland Oregon US Lines: 19 > I am writing a M2 compiler as part of an independent study. Could > some one please give me some ideas as to how .sym (or .ref) type > files, which basically store the symbol table in a file, are created? > Does anyone have any idea where I can find references which explain > how to do this? These are highly implementation dependent, and vary greatly depending on the style of your compiler. But, for Modula-2, there is the obvious lit ref: J. Gutknecht "Compilation Data Structures: An New Approach to Efficient Modula-2 Symbol Files" ETHZ/IFI yellow book #64 (also contains N. Wirth: "A Fast and Compact Compiler for Modula-2") -- Randy Bush / news@psg.com / ..!uunet!m2xenix!news