home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / intercal.zip / README.OS2 < prev   
Text File  |  1997-05-27  |  3KB  |  54 lines

  1.                          INTERCAL for OS/2
  2.  
  3. When I first saw Visual Age COBOL, I knew that the time was right for
  4. a port of C-INTERCAL to the OS/2 platform.  So I did it.  Now to start
  5. on Visual Age INTERCAL, an idea the world is not yet ready for....
  6.  
  7. In the mean time, for those of you who are seriously into intellectual
  8. self-flagellation, here is the C-INTERCAL compiler, as created by Eric
  9. S. Raymond as a weekend hack.  While the idea of actually implementing
  10. INTERCAL and foisting it upon an unsuspecting programming public may
  11. have it's detractors, INTERCAL's strangled syntax and semantics present
  12. a serious challenge to the compiler writer - Mr Raymond, my hat's off 
  13. to you! (then again, I don't _wear_ hats, but nevermind).
  14.  
  15. A few notes on the OS/2 Implementation:
  16.  
  17. 0) The C-INTERCAL compiler, ick.exe, was compiled with the EMX development
  18.    system for OS/2, and requires the EMX runtime system to be installed in
  19.    order to run. 
  20.  
  21. 1) C-INTERCAL works by translating the INTERCAL (or TriINTERCAL) code to
  22.    C, and then compiling the C code.  The EMX port of GCC is the compiler
  23.    expected by ick.exe.  Therefore, you need to have the EMX/GCC C compiler
  24.    installed, as well as the EMX runtime, if you wish to use this package.
  25.    It would (probably) be possible to modify ick to use another compiler than
  26.    EMX - I have not done so, though. Ick also assumes that you have gcc in
  27.    your path - a reasonable assumption for a gcc install.
  28.  
  29. 2) Ick uses a C-skeleton, several include files, and a runtime library for
  30.    compilation and linking.  It also may use some system libraries written
  31.    in INTERCAL.  These are all found in the \lib directory off the main dir
  32.    after the distribution is unzipped.  The  following environment variables
  33.    should be set to point at this directory (no trailing slashes or back-
  34.    slashes), so that Ick can find these things:
  35.  
  36.     ICKLIBDIR
  37.     ICKINCLUDEDIR
  38.  
  39.    Yes, I know I could have had a single environmnet variable for this, but 
  40.    having two is more in keeping with the spirit of INTERCAL, generally.
  41.  
  42. That should be it.  Just one more thing:
  43.  
  44.    I CANNOT BE HELD RESPONSIBLE FOR ANY BRAIN DAMAGE OCCURRING DURING THE  
  45.    USE OF THE INTERCAL PROGRAMMING LANGUAGE, THE C-INTERCAL COMPILER (ICK),
  46.    OR ANY APPLICATION WRITTEN IN INTERCAL.  THIS SYSTEM MAY NOT BE USED FOR
  47.    NUCLEAR OR LIFE-CRITICAL REAL-TIME CONTROL APPLICATIONS, NOR MAY IT BE 
  48.    USED FOR ANY PURPOSE INVOLVED WITH THE PRODUCTION OF WEAPONS OF MASS
  49.    DESTRUCTION, WHETHER THEY BE NUCLEAR, BIOLOGICAL, CHEMICAL, ELECTRICAL,
  50.    MECHANICAL, OR OTHER.
  51.  
  52.    THIS OS/2 PORT OF THE INTERCAL COMPILER IS RELEASED UNDER THE SAME 
  53.    RESTRICTIONS AS THE ORIGINAL SOURCE.  SEE THE FILE 'COPYING' FOR DETAILS.
  54.