From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: *** X-Spam-Status: No, score=3.1 required=5.0 tests=BAYES_20,FROM_WORDY, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,27b3f4ca3eb56d22,start X-Google-Attributes: gid103376,public From: "Nick Roberts" Subject: GNAT Error Reporting Date: 1999/02/18 Message-ID: <7ahkn2$kab$2@plug.news.pipex.net>#1/1 X-Deja-AN: 445766110 Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom) X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: comp.lang.ada Date: 1999-02-18T00:00:00+00:00 List-Id: Well, I can vouch for the sophistication of GNAT's (3.11) error reporting, anyway. I have only been trying it out for a short time, but it evidently does indeed produce clear, simple messages, and suggests (usually perfectly accurately) how to fix the error. Great! I give credit where it is due :-) For my own compiler, I shall try to provide similarly useful messages and suggestions. In addition, I fancy trying to put in the following features: (a) a utility to facilitate the tailoring of the text of error messages (to different languages, different target audiences, etc.); (b) an interactive facility which progressively suggests 'fixes' to a problem (most likely first); (c) the ability for the user to choose a suggested fix, and have that fix applied to the source text automatically; (d) maybe a way of graphically relating error parameters to the source text (something like little red boxes and arrows). These are just ideas. There seem (to me) to be a lot of possibilities. Is there any literature specifically on this subject available? ------------------------------------- Nick Roberts 'The time has come,' the Walrus said, 'To talk of many things: Of shoes--of ships--and sealing wax-- Of cabbages--and kings-- And why the sea is boiling hot-- And whether pigs have wings.' Lewis Carroll "Through the Looking Glass" -------------------------------------