[E-Lang] Hydro & E operator expansions
Mark S. Miller
markm@caplet.com
Tue, 20 Mar 2001 16:53:22 -0800
At 04:40 PM Tuesday 3/20/01, Dean Tribble wrote:
>>Does anyone object to this Python-like style of naming operator expansions?
>
>The only concern I have with the Python-style renaming is that the message
>names are not meaningful to any existing class or library. Thus, they
>don't, play well with external libraries. Is there an easy way to deal with
>that?
Yes. The E-to-Java binding mechanism easily "adds" methods to Java classes
as seen through E colored glasses. The mechanism is the *Sugar classes in
the "meta" package tree, seen in the last section of
http://www.erights.org/javadoc/overview-summary.html . The E language
programmer sees all Java objects only through these glasses. The ELIb/Java
programmer sees through these glasses whenever they do an "E.call(..)" or
"E.send(..)", but not, obviously, when they do a Java "."
At least one issue in this problem space is easy. ;)
Cheers,
--MarkM