From: Alexander Schofield Date: 2002-02-20T09:18:04+09:00 Subject: Re: Operator overloading and multiple arguments I'll bet you liked playing in traffic as a child ;~). Just thought I'd let you know about a new Dialect of Lisp called Arc (by Paul Graham, author of "ANSI Common Lisp", and "On Lisp"). One of the interesting things about this is that in addition to having macros similar to CL's, it has a way to define *syntax* as abbreviation for S-exps. http://www.paulgraham.com/arc.html Of course, the fact that an implementation doesn't exist yet might hinder your investigation. Phil Tomson wrote: > Yep. Already ran into that. I was going to override 'and' and 'or' so > that they could be used in equations: > > a <= {b or c} > b <= {d and f} > > ...but 'and' and 'or' have a lower precedence than '<=', so I had to > change to using '*' and '+', like: > > a <= {b + c} > b <= {d * f} > > It would kind of be nice to be able to specify a precedence for an > overloaded operator, but that's a lot to ask for, I suppose. > Phil -- Alexander Schofield