From: Greg Menke
Subject: Infix
Date: 
Message-ID: <m3lmgtjn4z.fsf@europa.pienet>
Hi,

I'm interested in giving infix a try in CL, I found an infix package
in the CMU archives.  Is there a "canonical" CL infix-related package
maintained elsewhere?  Google didn't come up with much seemingly
relevant.

Thanks,

Greg Menke

From: Drew McDermott
Subject: Re: Infix
Date: 
Message-ID: <3C03AD20.2E17C3C@yale.edu>
--------------88A6C5BF4778F5CD64F0A314
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Greg Menke wrote:

> I'm interested in giving infix a try in CL, I found an infix package
> in the CMU archives.  Is there a "canonical" CL infix-related package
> maintained elsewhere?  Google didn't come up with much seemingly
> relevant.
>

By "infix" do you mean some sort of macro that would enable you to write,
e.g.,

(infix x := y * (f(u) + f(v)))

or do you mean a full-scale lexical analyzer and parser that would allow
you to avoid seeing Lisp syntax at all?  So you might write

define fib(n)
{
   if n<2 then 1 else fib(n)+fib(n-1)
}

There have been packages that allowed this second form of infix.  Thirty
years ago there was a package called MLISP of this variety.  But people
who disliked Lisp syntax tended to drift to completely different
languages, such as ML, that have evolved in different directions from
Lisp.

   -- Drew McDermott





--------------88A6C5BF4778F5CD64F0A314
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Greg Menke wrote:
<blockquote TYPE=CITE>I'm interested in giving infix a try in CL, I found
an infix package
<br>in the CMU archives.&nbsp; Is there a "canonical" CL infix-related
package
<br>maintained elsewhere?&nbsp; Google didn't come up with much seemingly
<br>relevant.
<br>&nbsp;</blockquote>
By "infix" do you mean some sort of macro that would enable you to write,
e.g.,
<p><tt>(infix x := y * (f(u) + f(v)))</tt>
<p>or do you mean a full-scale lexical analyzer and parser that would allow
you to avoid seeing Lisp syntax at all?&nbsp; So you might write
<p><tt>define fib(n)</tt>
<br><tt>{</tt>
<br><tt>&nbsp;&nbsp; if n&lt;2 then 1 else fib(n)+fib(n-1)</tt>
<br><tt>}</tt>
<p>There have been packages that allowed this second form of infix.&nbsp;
Thirty years ago there was a package called MLISP of this variety.&nbsp;
But people who disliked Lisp syntax tended to drift to completely different
languages, such as ML, that have evolved in different directions from Lisp.
<p>&nbsp;&nbsp; -- Drew McDermott
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;</html>

--------------88A6C5BF4778F5CD64F0A314--
From: Andreas Bogk
Subject: Re: Infix
Date: 
Message-ID: <87herggq8m.fsf@teonanacatl.andreas.org>
Drew McDermott <··············@yale.edu> writes:

> There have been packages that allowed this second form of infix.�
> Thirty years ago there was a package called MLISP of this variety.�
> But people who disliked Lisp syntax tended to drift to completely
> different languages, such as ML, that have evolved in different
> directions from Lisp.

Well, there's always Dylan.

Andreas

-- 
"In my eyes it is never a crime to steal knowledge. It is a good
theft. The pirate of knowledge is a good pirate."
                                                       (Michel Serres)
From: Eric Moss
Subject: Re: Infix
Date: 
Message-ID: <3C03D27D.EB95BEA5@alltel.net>
Greg Menke wrote:
> 
> Hi,
> 
> I'm interested in giving infix a try in CL, I found an infix package
> in the CMU archives.  Is there a "canonical" CL infix-related package
> maintained elsewhere?  Google didn't come up with much seemingly
> relevant.

Infix arithmetic, or "infix" everything?  I could see infix arithmetic
being handy when coding equations pulled from a paper, but infix
anything else totally emasculates lisp, doesn't it?

Eric
From: Greg Menke
Subject: Re: Infix
Date: 
Message-ID: <m3r8qk9jmc.fsf@europa.pienet>
Eric Moss <········@alltel.net> writes:


> > I'm interested in giving infix a try in CL, I found an infix package
> > in the CMU archives.  Is there a "canonical" CL infix-related package
> > maintained elsewhere?  Google didn't come up with much seemingly
> > relevant.
> 
> Infix arithmetic, or "infix" everything?  I could see infix arithmetic
> being handy when coding equations pulled from a paper, but infix
> anything else totally emasculates lisp, doesn't it?
 

Infix arithmetic.  I prefer Lisp's normal style, but would like to see
what its like to use infix, and how it works out into real Lisp.  I'll
give the CMU version a try I guess.

Gregm