This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using Kawa as an embedded scripting language


On 08/25/2011 12:01 PM, Per Bothner wrote:
Aha! The one-argument eval ends up calling gnu.expr.Language.eval. However,
two-argument eval ends up calling kawa.lang.Eval#evalBody - which *does*
have
the necessary logic to set the class name. And coincidentally (?) the
same way.
(Great minds think alike - especially when it's the same mind a few
years apart.)

So things work now, but it seems some refactoring or code-sharing would
be appropriate.

I checked in fixes to make this cleaner, IMO. -- --Per Bothner per@bothner.com http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]