Email list hosting service & mailing list manager


Re: Prefix, not postfix David Van Horn 12 Apr 2006 15:43 UTC

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:
>    <identifier>=<expression>
> 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.

David