home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / MacMETH 3.2.1 / Sources / readme.CompilerSources < prev    next >
Encoding:
Text File  |  1994-11-11  |  3.6 KB  |  99 lines  |  [TEXT/MEDT]

  1.  
  2.   The Sources of the MacMETH Modula-2 Compiler
  3.   ============================================
  4.  
  5.   "M2CompilerSources" contains all the Sources of the Modula-2 Compiler
  6.   implemented within the MacMETH 3.2.1 System. The Compiler was derived
  7.   from N. Wirth's Single-Pass Modula-2 Compiler for the Lilith Computer.
  8.   During 1984, N. Wirth designed a new compiler for Modula-2: this new
  9.   compiler retained the partitioning of tasks from older multi-pass
  10.   compilers. Instead of each task constituting a pass - with sequential
  11.   input from and output to disk - it constituted a module with a mostly
  12.   procedural interface. Common data structures, such as the symbol table,
  13.   were defined in a data definition module imported by (almost) all other
  14.   modules. These modules represented a scanner, a parser, a table handler,
  15.   a handler of symbol files, and a code generator. The MacMETH Compilers
  16.   have their roots in this design philosophy and use nearly the same
  17.   module hierarchy. At this point, we greatly appreciate the principal
  18.   and essential contributions of Niklaus Wirth to the MacMETH Compilers.
  19.  
  20.   Each of the 2 folders "MacC2.6" and "MacC3.3" contains a Modula-2
  21.   Single-Pass Compiler for the Apple Macintosh. Included within a
  22.   folder are a set of definition and implementation modules and one
  23.   main module (Compile.MOD), the later being the main program of
  24.   the compiler. The following table list the most important modules
  25.   of the compiler, the module names and the associated functions:
  26.  
  27.      name               function
  28.      ----               --------
  29.  
  30.      Compile.MOD        Parser and Compiler's main program
  31.      M2Rx.xxx           Reference/Symbol-File Generator
  32.      M2Tx.xxx           Table Handler
  33.      M2Ex.xxx           Expression Evaluation
  34.      M2Cx.xxx           Control structures handling
  35.      M2Hx.xxx           (Hardware) Codegenerator
  36.      M2Lx.xxx           (Link-) Object-File Generator
  37.      M2Sx.xxx           Scanner
  38.      M2Dx.xxx           Data Definitions
  39.      ....               ....
  40.          
  41.  
  42.   Each folder contains not only a codegenerator for the MC68000, but
  43.   also an additional codegenerator for the MC68040 processor.
  44.  
  45.   Commandfiles for the bootstrap of the MC68000 compiler and/or the
  46.   self-compilation of the MC68040 compiler are included as well.
  47.  
  48.   All sources are compilable and executable on top of MacMETH 3.2.  
  49.  
  50.  
  51.   Folder "MacC2.6" :
  52.   --------------- 
  53.  
  54.   contains the sources of the MacMETH Modula-2 Compiler Version 2.6.
  55.   This version implements Modula-2 as described in the book
  56.  
  57.   N. Wirth, "Programming in Modula-2", Third corrected Edition,
  58.   Springer-Verlag Berlin Heidelberg New York Tokyo 1985.
  59.  
  60.   For differences from the report in the Third corrected Edition
  61.   and some restrictions see in the MacMETH 3.2 User Manual, 1992.
  62.  
  63.  
  64.   Folder "MacC3.3" :
  65.   --------------- 
  66.  
  67.   contains the sources of the MacMETH Modula-2 Compiler Version 3.3,
  68.   which corresponds to the implementation described in the book
  69.  
  70.   N. Wirth, "Programming in Modula-2", Fourth Edition,
  71.   Springer-Verlag Berlin Heidelberg New York Tokyo 1988.
  72.  
  73.   For differences from the report in the Fourth Edition and some
  74.   restrictions see in the MacMETH 3.2 User Manual, 1992, and
  75.   especially in Appendix B.
  76.  
  77.  
  78.  
  79.   Authors of the Modula-2 Compiler
  80.   ================================
  81.  
  82.   Niklaus Wirth        (NW)
  83.   Juerg Gutknecht   (JG)
  84.   Werner Heiz          (WH)
  85.   Hermann Seiler    (HS)
  86.  
  87.  
  88.  
  89.   Copyright
  90.   =========
  91.  
  92.   Copyright 1985 - 1994 Departement Informatik,
  93.   Eidgenoessische Technische Hochschule (ETH) Zuerich,
  94.   ETH Zentrum, CH-8092 Zuerich, Switzerland.
  95.  
  96.  
  97.   This software is subject to copyright.
  98.   Please read the copyright notice in the file "copyright"!
  99.