This sounds like a reasonable idea to me... However, why not just use the Python interface that Xiaojun created?

Edward


At 12:29 PM 4/4/2003 -0800, Jim Kleckner wrote:
Re-phrasing this question:

Is there any reason not to map the publicly visible
(i.e. settable and gettable) fields of a Java object
into the fields of a RecordToken?

On the face of it, it would be a good fusion of the two
evaluation disciplines.

Comments?

Jim

Jim Kleckner wrote:

Beg pardon if this has been hashed over before.

While reading the Data Package section of the design
document and thinking about coupling Java code with
simulation code, it occurred to me that Java class
implementations that satisfy the properties of
immutability could be passed around and accessed in
expressions if they were made accessible from a
subclass of RecordToken.  Let's call it
"StructureToken" since ObjectToken is already claimed.

I have a number of classes that implement structures
that might be made visible in this way.

Comments?

Jim




----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

------------ Edward A. Lee, Professor 518 Cory Hall, UC Berkeley, Berkeley, CA 94720 phone: 510-642-0455, fax: 510-642-2739 [EMAIL PROTECTED], http://ptolemy.eecs.berkeley.edu/~eal


---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]

Reply via email to