home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / modula_3 / FAQ next >
Encoding:
Text File  |  1993-02-03  |  6.2 KB  |  180 lines

  1. Newsgroups: comp.lang.modula3,news.answers
  2. Subject: Modula-3 Frequently Asked Questions (FAQ)
  3. Followup-To: comp.lang.modula3
  4. Expires: 15 Mar 1993 00:00:00 GMT
  5. Approved: news-answers-request@MIT.Edu
  6.  
  7. Archive-name: Modula-3-faq
  8. Last-modified: Feb 04 1993
  9.  
  10.  
  11.          Modula-3 Frequently Asked Questions
  12.          ===================================
  13.  
  14.  
  15. What is Modula-3 ?
  16.  
  17.    The goal of Modula-3 is to be as simple and safe as it can be while
  18.    meeting the needs of modern systems programmers.  Instead of
  19.    exploring new features, we studied the features of the Modula
  20.    family of languages that have proven themselves in practice and
  21.    tried to simplify them into a harmonious language.  We found that
  22.    most of the successful features were aimed at one of two main
  23.    goals: greater robustness, and a simpler, more systematic type
  24.    system.
  25.  
  26.    Modula-3 descends from Mesa, Modula-2, Cedar, and Modula-2+.  It
  27.    also resembles its cousins Object Pascal, Oberon, and Euclid.
  28.  
  29.    Modula-3 retains one of Modula-2's most successful features, the
  30.    provision for explicit interfaces between modules.  It adds objects
  31.    and classes, exception handling, garbage collection, lightweight
  32.    processes (or threads), and the isolation of unsafe features.
  33.  
  34.  
  35. Is Modula-3 a superset of Modula-2 ?
  36.  
  37.    No; valid Modula-2 programs are not valid Modula-3 programs.  However,
  38.    there is a tool to help convert Modula-2 programs to Modula-3.
  39.  
  40.  
  41. Where can I get a description of Modula-3 ? 
  42.    
  43.    The definition of Modula-3 is contained in:
  44.  
  45.         System Programming with Modula-3
  46.         Edited by Greg Nelson
  47.         Prentice Hall Series in Innovative Technology
  48.         ISBN 0-13-590464-1
  49.         L.C. QA76.66.S87 1991
  50.  
  51.    also known as SPwM3.  Here is the table of contents:
  52.  
  53.         1. Introduction
  54.         2. Language Definition
  55.         3. Standard Interfaces
  56.         4. An Introduction to Programming with Threads
  57.         5. Thread Synchronization: A Formal Specification
  58.         6. I/O Streams: Abstract Types, Real Programs
  59.         7. Trestle Window System Tutorial
  60.         8. How the Language Got its Spots
  61.  
  62.    Chapters 2 and 3 have been reprinted in Sigplan Notices, Volume 27,
  63.    Number 8, August 1992, pp 15-42.
  64.  
  65.    Sam Harbison has written a more tutorial book about Modula3:
  66.  
  67.         Modula-3
  68.         Samuel P. Harbison
  69.         Prentice Hall, 1992
  70.         ISBN 0-13-596396-6
  71.  
  72. Where can I get other information on Modula-3 ?
  73.  
  74.    There is a Usenet newsgroup, comp.lang.modula3.  The archives of
  75.    that group are available via anonymous ftp from gatekeeper.dec.com
  76.    in pub/DEC/Modula-3/comp.lang.modula3.  If you do not have
  77.    access to Usenet, there is a relay mailing list; send a message to
  78.    m3-request@src.dec.com to be added to it.
  79.  
  80.    There are a couple high-level overview articles available:
  81.  
  82.         "Modula-3", Sam Harbison, Byte, Vol. 15, No. 12, October 1990,
  83.         pp 385+.
  84.  
  85.         "Safe Programming with Modula-3", Sam Harbison, Dr. Dobb's Journal,
  86.         Vol. 17, No. 10, October 1992, pp 88+.
  87.  
  88.    A description of the Modula-3 type system is in
  89.  
  90.         "The Modula-3 Type System", Luca Cardelli, Jim Donahue, Mick Jordan,
  91.         Bill Kalsow, Greg Nelson, Conference Record of the Sixteenth Annual
  92.         ACM Symposium on Principles of Programming Languages (POPL), Austin
  93.         Texas, January 11-13 1989, pp 202-212.
  94.  
  95.    The Trestle window system toolkit and higher-level FormsVBT toolkit,
  96.    available with Modula-3, are documented in the following reports:
  97.  
  98.         "Trestle Reference Manual", Mark S. Manasse and Greg Nelson,
  99.         SRC Research Report 68, December 1991.
  100.  
  101.         "Trestle Tutorial", Mark S. Manasse and Greg Nelson, SRC Research
  102.         Report 69, May 1, 1992.
  103.  
  104.         "The FormsVBT Reference Manual", Marc H. Brown and James R. Meehan,
  105.         (soon to be SRC Research Report ??).
  106.  
  107.    These reports can be ordered by e-mail; send your request to
  108.    src-reports@src.dec.com.
  109.  
  110. Where can I get an implementation ?
  111.  
  112.    There is only one implementation available today.  It has been built
  113.    by SRC and is available via anonymous ftp from gatekeeper.dec.com in
  114.    pub/DEC/Modula-3/release.  Contributed software can be found
  115.    in pub/DEC/Modula-3/contrib.
  116.  
  117.    The current version, 2.11, implements the language defined in SPwM3.
  118.    There are versions for the following machines:
  119.  
  120.         AIX386  IBM PC running AIX/PS2,
  121.         AP3000  Apollo DN4500 running Domain/OS
  122.         ARM     Acorn R260 running RISC iX 1.21
  123.         DS3100  DECstation 3100 and 5000 running Ultrix 4.0 and 4.2
  124.         HP300   HP 9000/300 running HP-UX 8.0
  125.     HPPA    HP 700/800 running HP-UX 8.0
  126.         IBMR2   IBM R6000 running AIX 3.1, 
  127.         IBMRT   IBM RT running IBM/4.3, 
  128.         NEXT    NeXT running ?
  129.     OKI     Okidata 7300 (i860) running AT&T SVR4.0
  130.         SPARC   SPARCstation running SunOS 4.1.x
  131.         SUN3    SUN3 running SunOS
  132.     SUN386  Sun 386i  running SunOS 4.0.1
  133.         UMAX    Encore Multimax running UMAX 4.3 (R4.1.1)
  134.         VAX     VAX running Ultrix 3.1
  135.  
  136.    SRC Modula-3 includes a user manual, compiler, runtime library,
  137.    some libraries and a few other goodies (see below).
  138.  
  139.    The compiler generates C as an intermediate language and should be
  140.    fairly easy to port.  Except for the very lowest levels of the
  141.    thread implementation, the entire system is written in Modula-3.
  142.  
  143.  
  144. What if I don't have ftp access ?
  145.  
  146.    Unfortunately, we cannot deliver Modula-3 other than by 
  147.    anonymous ftp.  
  148.  
  149.    Fortunately, Prime Time Freeware (PTF) includes Modula-3.  PTF is
  150.    a set of two ISO-9660 CDroms filled with 3GB of freeware, issued
  151.    semi-annually.  The latest issue, Volume 1, Number 2, July 1992,
  152.    contains SRC Modula-3 2.07.  PTF is distributed via bookstores and
  153.    mail.  You can reach PTF using:
  154.  
  155.     Email:  ptf@cfcl.com
  156.         Fax:    [1] (408) 738 2050
  157.         Voice:  [1] (408) 738 4832
  158.         Mail:   Prime Time Freeware
  159.              415-112 N. Mary Ave., Suite 50
  160.         Sunnyvale, CA 94086
  161.             USA
  162.  
  163. Can I contribute Modula-3 software ?
  164.  
  165.    Certainly.  Send us what you are willing to share, be it programs,
  166.    libraries or other things.  We'll put them in the distribution.
  167.  
  168.    Right now, the pub/DEC/Modula-3/contrib directory contains:
  169.  
  170.       m3rpc   an rpc system from Xerox Parc
  171.       M2toM3  a translator from Modula-2 to Modula-3
  172.       m3pc    an implementation of Modula-3 for PCs.
  173.    
  174.  
  175. -- 
  176. Eric.
  177.  
  178.  
  179.  
  180.