guile-devel
[Top][All Lists]
Advanced

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

Re: About sweet-expression


From: Nala Ginrut
Subject: Re: About sweet-expression
Date: Tue, 13 Mar 2012 01:17:14 +0800



On Tue, Mar 6, 2012 at 12:35 PM, Mark H Weaver <address@hidden> wrote:
> Guile's reader is of no help at all with source properties.
> Fortunately, Guile provides all of the interfaces you need to do this
> job from Scheme: 'set-source-properties!', 'port-filename', 'port-line'
> and 'port-column'.  This will have to be implemented in the sweet
> _expression_ reader.

So, is there any standard for Guile what error messages should I provide?
Are port-filename ,port-line ,port-column three enough?
And how about the format should I throw with them?
What about this:
------------------------------cut-------------------------------------------
(error "invalid syntax!" port-filename port-line port-column)
------------------------------end------------------------------------------

Regards.

reply via email to

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