Re: generating error messages

Subject: Re: generating error messages
From: Toby Speight <Toby.Speight@xxxxxxxxxxxxxx>
Date: 17 Sep 1998 14:35:38 +0100
Louis> Louis-Dominique Dubeau <URL:mailto:ldd@xxxxxxxxxxx>

0> In article <q8n27yrj4w.fsf@xxxxxxxxxxxxxxxxxxx>, Louis wrote:

Louis> I've been writing a dsssl script that does some checks on the
Louis> SGML document instead of producing any sosofo.
Louis>
Louis> Now, I'd like to be able to produce error messages that tell
Louis> the line and column number in the input file.  (error ...)
Louis> doesn't do it: it generates an error message that mentions the
Louis> dsssl script used and the line and column number of the call in
Louis> the script.

You're looking for (node-list-error str nl) from 10.1.4.

One thing I'd like is to be able to indicate the calling code in an
error report.  This would be useful in functions that find they've
been called with the wrong argument types - they would be able to
behave like primitives in that respect.  I suspect that implementing
that behaviour would cause tail-call elimination to be less effective
(like using jade -G), so it's not on my "real" wish-list.

-- 


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • generating error messages
    • Louis-Dominique Dubeau - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id IAA07269Thu, 17 Sep 1998 08:52:46 -0400 (EDT)
      • Toby Speight - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA08468Thu, 17 Sep 1998 09:28:42 -0400 (EDT) <=
      • <Possible follow-ups>
      • Avi Kivity - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA07733Thu, 17 Sep 1998 09:08:15 -0400 (EDT)
        • Louis-Dominique Dubeau - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA08962Thu, 17 Sep 1998 09:41:04 -0400 (EDT)
        • Mitch C. Amiano - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA18201Mon, 21 Sep 1998 10:58:41 -0400 (EDT)