scsh-users
[Top] [All Lists]

Accessing ,commands from Scheme

To: scsh@martigny.ai.mit.edu
Subject: Accessing ,commands from Scheme
From: Eric Marsden <emarsden@mail.dotcom.fr>
Date: 25 May 1998 13:18:50 +0200
Sender: mod17g22@tgv.edu.ups-tlse.fr
Hello,

I realize that the ,commands are meant for interactive use. However,
it would occasionally be useful to access them from within a script.
For example, CGI scripts could print a backtrace on error, to give a
little context for debugging.

I did try accessing the (preview) function, but doing so requires
importing many low-level modules and doesn't feel very clean. Is there
a more general solution?

Also, might there be a way of getting the interpreter to print the
line number where an error occurs? Other languages I should not name
are capable of this.

-- 
Eric Marsden
emarsden @ mail.dotcom.fr
It's elephants all the way down

<Prev in Thread] Current Thread [Next in Thread>
  • Accessing ,commands from Scheme, Eric Marsden <=