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
(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
> 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)
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
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