I have ported the Icon translator and interpreter to the Macintosh using
THINK C 5.0.1 under System 7. This is not the MPW version. I used the
"console" feature in THINK C. Since I am not sure how much interest there
is in the Mac community, I will initially offer to e-mail the binaries to
anyone interested. Just send e-mail making the request. Source code is not
available from me, but may be available from the Icon project. I submitted
the ported code to the project.
At this stage, coexpressions are not activated, and calling C routines is
not supported.
Don Klett
dsk@arch3.att.com
(908)949-2283
From icon-group-request Tue Jan 14 17:51:39 1992
Received: from optima.cs.arizona.edu by cheltenham.cs.arizona.edu; Tue, 14 Jan 92 17:51:39 MST
Received: from ucbvax.Berkeley.EDU by optima.cs.arizona.edu (4.1/15)
id AA01375; Tue, 14 Jan 92 17:51:33 MST
Received: by ucbvax.Berkeley.EDU (5.63/1.43)
id AA17429; Tue, 14 Jan 92 16:41:19 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
for icon-group@cs.arizona.edu (icon-group@cs.arizona.edu)
(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 2 Jan 92 19:47:27 GMT
From: cis.ohio-state.edu!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!netnews.upenn.edu!msuinfo!uchinews!ellis!goer@ucbvax.berkeley.edu (Richard L. Goerwitz)
Organization: University of Chicago Computing Organizations
I don't know excactly how relevant this is to the discussion of ICON vs
PERL vs AWK, but in order to convince colleagues at our institute of the
usefulness of ICON, (they're all AWK freaks) I wrote an ICON lib that
emulates AWK. Once you load this library into an ICON program, you can
do "AWK" and ICON in the same program. Of course, some names (like the $
operator in AWK) have different names in my LIB, but who cares?
Of course, is is not exactly the same as AWK. For instance, you cannot
use (literally) the /pattern/ { action ... } form of AWK. But this is
something ICON is especially suited for, so why not do *that* in ICON
qua ICON? So functionally, what you end up with (in my
opinion) is a mixture of advanced pattern matching, and the ease of
having files conveniently split up in addressable columns. These
programs are of course somewhat slower than original gawk or nawk
programs, unless you compile them, perhaps.
A nice thing about this mixture (seen from the viewpoint of an AWK user)
is that you can use CSETs as field separators and that you can use the
(beautiful) ICON SET datatype.
Currently, I'm trying to implement this module using co-expressions,
which would in principle mean that you can open many AWK-streams at
the same time, which would make the combination even more fruitful.
I'm interested in some comments.
Jan Peter de Ruiter
Max Planck Institute for Psycholinguistics
Nijmegen
The Netherlands
janpeter@mpi.kun.nl
From icon-group-request Fri Apr 17 06:38:37 1992
Received: from optima.cs.arizona.edu by cheltenham.cs.arizona.edu; Fri, 17 Apr 92 06:38:37 MST
Received: from ucbvax.Berkeley.EDU by optima.cs.arizona.edu (4.1/15)
id AA23021; Fri, 17 Apr 92 06:38:35 MST
Received: by ucbvax.Berkeley.EDU (5.63/1.43)
id AA18607; Fri, 17 Apr 92 06:29:10 -0700
Received: from USENET by ucbvax.Berkeley.EDU with netnews
for icon-group@cs.arizona.edu (icon-group@cs.arizona.edu)
(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 26 Mar 92 20:15:56 GMT
From: dog.ee.lbl.gov!network.ucsd.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!ellis!goer@ucbvax.berkeley.edu (Richard L. Goerwitz)
Organization: University of Chicago Computing Organizations
As quoted from <9204171836.AA10232@shepard.sunquest.com> by whm@SHEPARD.SUNQUEST.COM (Bill Mitchell):
+---------------
|
| Richard L. Goerwitz wrote:
|
| Personally, I feel good about Common LISP. It's even more bloated than
| Icon, though, and people who are really into clean LISP dialects seem
| to prefer Scheme. ...
|
| I just can't let this comment pass. "[Common Lisp is] even more bloated
| than Icon" implies that Icon is bloated. The reference manual in the 2e of
| the Icon book is a slim forty pages. Icon is certainly not a small language
| and I've heard Ralph say it's big, but "bloated" goes too far. I think just
| the opposite -- Icon has very good ratio of expressability to size of
| language specification.
+---------------
Very much agreed. In fact, I've currently encountered only *one* thing that
might make a worthwhile extension to Icon; and it looks like a logical
extension of existing features, so it's not exactly out of place. I
encountered an application where I wanted to use something like Icon's pattern
matching on what amounted to token streams. The generalized form is "pattern
matching" on types other than strings; I've implemented it (well, sort of) as
a library loosely modeled on Icon's string pattern matching and using
coroutines. But I think it also needs a lot more though before it can be
considered for inclusion into Icon. (The problem with the library is it's
still rather type-dependent.)
Other than that one possible future extension (again, ONLY when it's ready,
which it very much isn't in at least my current visualization) it seems to me
that Icon is quite expressive for all its essential simplicity. It's amazing
(at least to those of us accustomed to "conventional" programming languages)
how much cruft can be avoided by the use of Iconisms such as goal-directed
evaluation, etc.
++Brandon
--
Brandon S. Allbery, KF8NH [44.70.4.88] allbery@NCoast.ORG
Senior Programmer, Telotech, Inc. (if I may call myself that...)
From wgg@cs.ucsd.edu Sun Apr 19 13:43:03 1992
Received: from optima.cs.arizona.edu by cheltenham.cs.arizona.edu; Sun, 19 Apr 92 13:43:03 MST
Received: from ucsd.edu by optima.cs.arizona.edu (4.1/15)
id AA26642; Sun, 19 Apr 92 13:43:00 MST
Received: from odin.ucsd.edu by ucsd.edu; id AA04163
sendmail 5.64/UCSD-2.2-sun via SMTP
Sun, 19 Apr 92 13:42:44 -0700 for icon-group@cs.arizona.edu
Received: from gremlin.ucsd.edu by odin.ucsd.edu (4.1/UCSDPSEUDO.4)
id AA29599 for dog.ee.lbl.gov!network.ucsd.edu!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ncoast!allbery@ucbvax.berkeley.edu; Sun, 19 Apr 92 13:42:43 PDT
Received: by gremlin.ucsd.edu (4.1/UCSDPSEUDO.4)
id AA24368 for icon-group@cs.arizona.edu; Sun, 19 Apr 92 13:42:42 PDT
Date: Sun, 19 Apr 92 13:42:42 PDT
From: wgg@cs.ucsd.edu (William Griswold)
Message-Id: <9204192042.AA24368@gremlin.ucsd.edu>
To: dog.ee.lbl.gov!network.ucsd.edu!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ncoast!allbery@ucbvax.berkeley.edu,
icon-group@cs.arizona.edu
Subject: Re: Icon bloated?
Icon is tiny compared to Common Lisp (CL). The recent 2nd edition manual
for CL is some 1000 pages, in smaller print than the Icon book. Fortunately
for programmers, Icon and CL subset nicely, allowing a gentle introduction
to each. However, there is still the problem that it is often faster to
code a function yourself than to find the Icon/CL function that does the
equivalent thing.
Another problem with language bloating is implementing programming tools
for a language. Although a programmer can learn one feature at a time,
few tools will work at all unless they support the whole language. I would
guess that much of Ralph's objection to the size of Icon is due to the cost
of maintaining the Icon Project's language systems, not the learning curve.
As software engineers push for ever-higher programmer productivity, they
are increasingly looking at tool solutions to programming problems, rather
than languages. However, language size is a considerable barrier when
moving from research into practice. For example, I have a program
restructuring tool for a subset of the LISP dialect Scheme. To move this
system to CL is such a monumental task that I cannot consider it in a
research environment. For the same reason DARPA/DoD is looking for Ada
subsets that researchers can use for their tools research. No sane
researcher would ever build a tool for a complete language as complex as Ada.
Bill Griswold
UC San Diego
From icon-group-request Sun Apr 19 19:35:17 1992
Received: from optima.cs.arizona.edu by cheltenham.cs.arizona.edu; Sun, 19 Apr 92 19:35:17 MST
Received: from ucbvax.Berkeley.EDU by optima.cs.arizona.edu (4.1/15)
id AA06041; Sun, 19 Apr 92 19:35:14 MST
Received: by ucbvax.Berkeley.EDU (5.63/1.43)
id AA05043; Sun, 19 Apr 92 19:26:55 -0700
Received: from USENET by ucbvax.Berkeley.EDU with netnews
for icon-group@cs.arizona.edu (icon-group@cs.arizona.edu)
(contact usenet@ucbvax.Berkeley.EDU if you have questions)