Subject: Re: Newbie questions [Followup to comp.lang.lisp]
From: rpw3@rigden.engr.sgi.com (Rob Warnock)
Date: 1999/05/06
Newsgroups: comp.lang.lisp
Message-ID: <7grqp0$6ui3i@fido.engr.sgi.com>
Christopher R. Barry <cbarry@2xtreme.net> wrote:
+---------------
| rpw3@rigden.engr.sgi.com (Rob Warnock) writes:
| > Johan Kullstam  <kullstam@ne.mediaone.net> wrote:
| > | lisp has infix syntax.
| > +---------------
| > 
| > I think you meant to say, "Lisp has PREFIX syntax".
| > (At least, I *hope* that's what you meant to say...)
| 
| I believe I remember seeing someone use an infix syntax package (in
| this group?) and it looked something like #I(2 + foo * pi ...).
+---------------

Uh... That's what Lisp *can* do, if *you* choose to write a reader macro
function that implements an infix parser and bind it to a dispatch character
(in this case, "I", which is undefined by default in standard CL) for the
non-terminating dispatching macro character "#" in *your* application program.
But it's not built into Lisp. Lisp's native syntax (in the absence of macro
characters) is prefix:

	(+ 2 (* foo pi))


-Rob

-----
Rob Warnock, 8L-855		rpw3@sgi.com
Applied Networking		http://reality.sgi.com/rpw3/
Silicon Graphics, Inc.		Phone: 650-933-1673
1600 Amphitheatre Pkwy.		FAX: 650-933-0511
Mountain View, CA  94043	PP-ASEL-IA