3.1352 Icon (100)

Elaine Brennan & Allen Renear (EDITORS@BROWNVM.BITNET)
Thu, 3 May 90 17:00:23 EDT

Humanist Discussion Group, Vol. 3, No. 1352. Thursday, 3 May 1990.

Date: Wed, 02 May 90 22:31:22 CST
From: "Robin C. Cover" <ZRCC1001@SMUVM1>
Subject: ICON PROGRAM UTILITIES

ICON Programs for HUMANISTS

For HUMANISTS just on the verge of temptation to look at the Icon
programming language, I supply a further inducement: the title list for
about 60 little programs that come with version 8 (of the PC and OS/2
implementation, at least). Richard Goerwitz has noted several times that
Icon supports string handling very well: it's of obvious interest to
HUMANISTS. I like these little programs because they provide examples
of how to do very useful things with just a few lines of code.

Dominik Wujastyk recently gave details (3.1339) on obtaining Icon
version 8 from the University of Arizona. Using ftp (remote login,
or via one of the mail-based ftp services) is fastest: ftp to
cs.arizona.edu and get /icon/v8/READ.ME to see what files you need
for your system.

Here is the title list of sample programs which came with PC version 8:

# Title: Animal game (expert system)
# Title: Arrange data into columns
# Title: Comnpute state transitions for Huffman decoding.
# Title: Deal bridge hands
# Title: Delaminate file
# Title: Delaminate file using tab characters
# Title: Desk calculator
# Title: Diagram character intersections of strings
# Title: Display intersection of words
# Title: Display representations of characters in file
# Title: Display solutions to n-queens problem
# Title: Entab an Icon program
# Title: Expression Measurement Program Generator
# Title: Filter out identical adjacent lines
# Title: Filter to word wrap a range of text
# Title: Format mailing labels
# Title: Generate Farberisms
# Title: Generate instances of sentences from context-sensitive grammars
# Title: Generate randomly selected sentences from a grammar
# Title: Generate random text
# Title: Generate recognizer for sentences in a context-free language
# Title: Generate sentences in Lindenmayer system
# Title: Generate solutions to the n-queens problem
# Title: Generate strings from the MIU system
# Title: Generic filter skeleton in Icon
# Title: Icon "link" Cross Reference Utility
# Title: Icon preprocessor
# Title: Instances of different syntactic forms in Icon
# Title: LZW Compression and Decompression Utility
# Title: Laminate files
# Title: Lips interpreter
# Title: List commands and macros in a roff document
# Title: List different words
# Title: Package multiple files
# Title: Parse arithmetic expressions
# Title: Parse simple statements
# Title: Play kriegspiel
# Title: Play the game of solitaire
# Title: Print Icon program
# Title: Process LaTeX .idx file
# Title: Produce complement of file specification
# Title: Produce concordance
# Title: Produce cross reference for Icon program
# Title: Produce keywords in context
# Title: Produce load map of UNIX obect file
# Title: Produce random parenthesis-balanced strings
# Title: Produce script for the ed editor
# Title: Show differences files
# Title: Shuffle lines in a file
# Title: Simulate a Turing machine
# Title: Sort Icon procedures
# Title: Sort groups of lines
# Title: Sort mailing labels by ZIP code
# Title: Split Icon program into separate files
# Title: Summarize Icon memory management
# Title: Tabulate characters in a file
# Title: Tabulate properties of text file
# Title: Tabulate words in a file
# Title: Trim lines in a file
# Title: Unpackage files
# Title: Utility to find undeclared variables in Icon source program.
# Title: Write Icon code to write input
# Title: Write a character ruler to standard output

Robin Cover
3909 Swiss Avenue
Dallas, TX 75204
(214) 296-1783/841-3657
BITNET: zrcc1001@smuvm1
INTERNET: robin@txsil.lonestar.org