[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Prefix, not postfix
On Tue, 2006-04-11 at 15:51 -0700, Per Bothner wrote:
> An alternative worth considering is an infix syntax. For example:
> (button color="red" font="Helvetica")
> I.e. the syntax is:
> This would be translated by the reader into (say):
> (make-association '<identifier> <expression>)
> Unfortunately, this syntax does conflict with historical
> <identifier> syntax in certain presumably-very-rare cases.
This conflict is not at all rare. There are a dozen R5RS identifiers
such as string=? that would break under this particular infix syntax.