home *** CD-ROM | disk | FTP | other *** search
/ Chip 1995 March / CHIP3.mdf / slakinst / contrib / gpc-1.000 < prev    next >
Encoding:
Text File  |  1995-08-04  |  3.0 KB  |  84 lines

  1.  
  2.  
  3.  
  4.             GPC -- Gnu Pascal Compiler
  5.             ==========================
  6.  
  7.     All parts of this compiler are copyrighted (C) by the Free
  8.     Software Foundation, Inc (FSF).
  9.  
  10.     The Pascal run time system is donated to FSF to be distributed
  11.     according to the FSF Library Copyright.
  12.  
  13.     See files COPYING and COPYING.LIB in corresponding directories
  14.     to see the permissions you have and what you don't have when
  15.     using this software.
  16.  
  17.     Everything is done with quite minimal changes to the GCC code,
  18.     so don't be too excited if you get error messages telling that
  19.     ANSI C denies something, or that your STRUCT definition is
  20.     broken, and what not. (Please send me sample code that
  21.     triggers such messages so I can fix it).
  22.  
  23.     I did it this way, as I wanted it to be easier to upgrade to
  24.     new releases of GCC, and of course since it was a lot easier
  25.     for me to modify code than to write it from scratch.
  26.  
  27.     There are some new files not present in the GCC; gpc-parser.y
  28.     which is the bison parser for the language, gpc-lex.c that has
  29.     the lexical analyzer stuff, gpc-defs.h which has definitions
  30.     used in various places, and gpc-util.c which includes the glue
  31.     to convert Pascal's way of thinking to the way the original
  32.     C-oriented c-*.c files think, and most of the new routines.
  33.  
  34.     All changes are flagged with #ifdef GPC (except those that are
  35.     already merged with the mainline GCC code).  Some language
  36.     independent files have also been modified, but most of the
  37.     changes are quite minimal or if not, new code has been added
  38.     to handle pascal. All in all, the GCC compiler is quite well
  39.     designed to support at least these kind of languages.
  40.  
  41.     GPC tries to be (for now) a Level 0 ISO 7185 compatible Pascal
  42.     processor. There are two levels in the Pascal standard; level
  43.     0 processors are not required to understand conformant arrays
  44.     (this is the only difference). The conformant arrays are
  45.     partially implemented in this version, but more likely they
  46.     crash the compiler than work at this time.
  47.  
  48.     I don't    have the ANSI standard, so I can't make
  49.     the comparision between ISO & ANSI, and it not the most
  50.     important thing now, anyway.  After everything else works,
  51.     it should be *easy* to implement the ANSI standard
  52.     modifications to the compiler. I think.
  53.  
  54.     GPC also imlements a large subset of the ISO/IEC 10206
  55.     international standard of the Extended Pascal language.
  56.     (See GPC.GUIDE for more info).
  57.  
  58.     See the file PROBLEMS to find out the major problems
  59.     of the GPC version in this directory.
  60.  
  61.     The file NEW-PVS-LIST contains the current results of running
  62.     the Pascal Validation Suite conformance tests (about 199
  63.     tests), one line (word) to tell why the test failed. PASSed
  64.     tests are not mentioned.  PVS tests also contain QUALITY
  65.     tests, errorhandling tests, implementation dependent tests,
  66.     but they will be checked later.
  67.     
  68.     ChangeLog contains a partial edit history.
  69.  
  70.             Yours,
  71.     
  72.                 Juki
  73.                 jtv@hut.fi
  74.     
  75.                 Jukka Virtanen
  76.                 Helsinki University of Technology,
  77.                 Computing Centre,
  78.                 Finland
  79.  
  80.     Anonymous ftp:
  81.  
  82.     Newest "public" gpc snapshot is available via anonymous
  83.     ftp in host kampi.hut.fi in directory jtv/gnu-pascal
  84.