[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Parsing eval errors
From: |
Chris Dennis |
Subject: |
Parsing eval errors |
Date: |
Sat, 06 Jun 2009 17:53:12 +0100 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090409) |
Hello Guilers
Is there some code anywhere for parsing the error information caught
from local-eval?
The following code is the best I have come up with so far, but the
messages it produces aren't pretty:
(define (error-handler key . args)
(display (object->string key))
(for-each (lambda (arg)
(display (_ ", arg="))
(display (object->string arg)))
args)
(newline))
(catch #t (local-eval s-expr (the-environment))
error-handler)
regards
Chris
--
Chris Dennis address@hidden
Fordingbridge, Hampshire, UK
- Parsing eval errors,
Chris Dennis <=