[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Implement SRFI-105 curly infix expressions.

From: Ludovic Courtès
Subject: Re: [PATCH] Implement SRFI-105 curly infix expressions.
Date: Thu, 18 Oct 2012 18:03:57 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)


Mark H Weaver <address@hidden> skribis:

> address@hidden (Ludovic Courtès) writes:
>> My understanding was that the sweet-expressions folks already had
>> something, no?
> The implementation they have (which they call a "demo") reimplements the
> entire reader from scratch.  There are several problems with this, the
> worst of which is that it strongly discourages anyone from using the
> syntax in code that they'd like to deploy.  You can't simply publish a
> module with '#!curly-infix' at the top and have people use it.  You have
> to ask them to install the sweet-expressions implementation first, and
> then ask them to somehow arrange for your code to be read using the
> special reader.

Would it help if it were distributed as part of Guile?  That’s something
we could do when the implementation is considered reasonably stable.

Then the current read.c would just need to be extended to dispatch the
#! thing.


(I have nothing against your approach either, but I like the idea of
less work for us, and less C.  ;-))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]