scsh-users
[Top] [All Lists]

Eval in scheme48

To: scsh-news@zurich.ai.mit.edu
Subject: Eval in scheme48
From: vking@bayarea.net (Virgil King)
Date: 29 Mar 2002 12:25:39 -0800
Organization: http://groups.google.com/
I'm playing with a little command interpreter that does essentially
(eval (read) (interaction-environment)) at one point and found that
within the eval non-exported symbols in packages aren't successfully
resolved as they are in expressions entered in the top-level scheme48
environment, meaning that the evaluated expressions can't call
exported functions from packages that reference non-exported symbols.
1) Is this indeed the behavior of eval in scheme48 or am I mistaken,
and 2) if the former does anyone have any advice on how to go about
fixing this? I don't see why (eval x (interaction-environment)) should
have a different result than entering x in the top-level environment.

TIA,
Virgil

<Prev in Thread] Current Thread [Next in Thread>
  • Eval in scheme48, Virgil King <=