[3031] in java-interest

home help back first fref pref prev next nref lref last post

Re: Java eval?

daemon@ATHENA.MIT.EDU (Mario Ruggier)
Fri Oct 27 06:57:02 1995

To: java-interest@java.sun.com
Cc: ruggier@ptsun00.cern.ch, aimar@ptsun00.cern.ch
In-Reply-To: <9510270031.AA05555@jersey.uoregon.edu> 
Reply-To: Mario Ruggier <ruggier@ptsun00.cern.ch>
Date: Fri, 27 Oct 1995 09:28:19 +0100
From: "Mario Ruggier" <ruggier@ptsun00.cern.ch>

Hi,

>Mario Ruggier asked:
>> Is it possible in Java to read a piece of Java code at runtime  and 
>> execute it, as in Lisp, Smalltalk and Perl ? 
>
>Are you asking if you can load a piece of Java code *into* a Perl script and 
>execute it?  Or are you asking if you can cause a Java program to load in 
>another piece of Java code and execute that?
>
>Sean Russell

I am asking whether it is possible to have a Java program calculate
pieces of Java code and execute them. This may be useful for example
when requiring to read data that may be in many formats. A data format
specific class may be computed on the fly and instantiated, facilitating
the manipulation of the data. This is trivial to do in Lisp. 
Is it possible in Java ? 

thanks,

Mario Ruggier
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Programming Techniques Group,                     Bat. 1, R-003
ECP Division, CERN                              +41 22 767 8072
CH-1211 Geneva 23                       ruggier@ptsun00.cern.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                               http://ptsun00.cern.ch/~ruggier/

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post