As a old Lisp user, I really missed my read-eval-print loop when I moved
to Java. Thanks for making BeanShell!

I read the BeanShell user guides on both the JDE and BeanShell sites,
but could not find the answers to the following small questions.  So
if you don't mind:

(1) Does/can bsh automatically load an initialization file when it
starts up?  (E.g., It would be convenient to include some standard
import statements and "show").

(2) If I redefine (and recompile) a class after it has been loaded
into bsh (e.g., to fix a bug discovered by playing with it in the
shell), does bsh automatically reload the latest version of the class
when I use it again (e.g., by checking creation dates)?  If not, I
suppose I could do this myself using the ClassLoader, but it would be
a long statement. (I noticed the "load" command, but seems to be only
for serialized objects, not class files).

Thank you very much,

-- 
    Charles Rich     |    Mitsubishi Electric Research Laboratory (MERL)
 617-621-7507 phone  |                   201 Broadway
 617-621-7550 fax    |                Cambridge, MA 02139
    [EMAIL PROTECTED]    |                http://www.merl.com

Reply via email to