home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / intercal.zip / pit / CATALOG < prev    next >
Text File  |  1996-06-20  |  3KB  |  90 lines

  1. This is the directory of programs written in INTERCAL.  It is named
  2. pit because src was already taken---that's where source code for the
  3. compiler lives---and pit seemed an appropriate place to throw
  4. INTERCAL programs anyway.  Most of these are no doubt full of bugs.
  5. Don't complain, you're lucky if anything written in INTERCAL works
  6. at all.
  7.  
  8. The subdirectory lib contains code fragments that are not complete
  9. programs.
  10.  
  11. Contents:
  12.  
  13. from original manual:
  14.   sample.i        Returns absolute value of a 16-bit 2s-complement number
  15.   lib/syslib-orig.i    Standard library (original buggy version)
  16.  
  17. by Jon Blow <blojo@ocf.berkeley.edu>
  18.   sink.i        Simple test program
  19.   random.i      Random number program
  20.   lib/plus.i    Increment .1
  21.  
  22. by Hans Olsson <f88ho@efd.lth.se>
  23.   lib/1910.doc  Listing of a random number routine.  Hans said he wrote this 
  24.         because he couldn't find (1910) in the system library, but
  25.         it's there in our lib/syslib.i.  We keep this around as an
  26.         example.  (What? Throw away INTERCAL code? Perish the thought!)
  27.  
  28. by Louis Howell <nazgul@llnl.gov>
  29.   life.i        Conway's game of Life, standard INTERCAL version
  30.   life2.i       This version uses COME FROM and character output
  31.     blinkers
  32.     t_tet
  33.     glider
  34.     gun         Input files for both Life programs
  35.   bubble.i      Bubble sort
  36.   icat.i        Sends input to output
  37.   lib/lib2.i    Currently contains only a decrement routine, see life.doc
  38.   pi.i        Calculate pi
  39.   primes.i    Find prime numbers
  40.   pow.i        prints a list of nth powers (test of exponentiation routine)
  41.   lib/syslib.i    Corrected version of system library.
  42.  
  43. by Matt Dimeo, via http://www.ionet.net/~timtroyr/funhouse/beer.html
  44.   beer.i        Print out the lyrics to "99 Bottles of Beer On The Wall"
  45.  
  46. by Stinglai Ka'abi <stinglai@bureau.World.GOV>:
  47.   random2.i    Another random-number generator
  48.  
  49. by Jacob Mandelson <jlm@cco.caltech.edu>
  50.   rot13.i    a ROT13 filter in INTERCAL
  51.  
  52. by Jan-Pieter Cornet <johnpc@xs4all.nl>
  53.   hail_mary.3i    print 1,000,000 Hail Marys
  54.   count.3i    count from 1 to 10 in TriINTERCAL
  55.  
  56. By Brian Raiter <breadbox@muppetlabs.com>
  57.   lib/numio.i    I/O routines 
  58.   lib/numio.doc    description of the I/O routines
  59.  
  60. The subdirectory tests contains some programs written only to test the
  61. compiler.
  62.  
  63. by David Moews
  64.   test1.i    prints DO THIS TEST HAS BEEN SUCCESSFULLY COMPLETED
  65.   test2.i    reads in two numbers and multiplies their product
  66.  
  67. David Moews wrote of the latter (test2.i):
  68.  
  69. The following program reads in two numbers and then prints their product.
  70. It consists of a trivial calling program followed by a cleaned-up version 
  71. of a portion of the INTERCAL subroutine library.  (Only a portion of 
  72. the INTERCAL subroutine library is present in the posted manual, and 
  73. that portion is full of typos.)
  74.  
  75. by Jan-Pieter Cornet <cornet@OTech.fgg.EUR.nl>
  76.   iogerunds.i    demonstrate gerund abstention
  77.  
  78. The programs test16bit.i, testarray.i, testcf.i, testlib2.i,
  79. limits.{i,3i}, testops.{3i,5i}, testsplat.i, were all written by Louis
  80. Howell.  Of these, testcf.i might be considered an interesting
  81. puzzle---try to figure out what it's doing.  The others are pretty
  82. boring, but are included as diagnostics and because so few other
  83. example programs exist.  Not all of these even produce interesting
  84. diagnostic output; it may be necessary to look at the degenerated C
  85. code to determine if the compiler is doing the right thing.
  86.  
  87.  
  88. End of file CATALOG
  89. -------------------
  90.