Re: [Java] Function Binding Redux (long post)

David Abrahams <[email protected]>
Newsgroups gmane.comp.lib.boost.langbinding
Message-ID <[email protected]>
on Fri Jul 20 2007, John Moeller <fishcorn-AT-gmail.com> wrote:

> Okay.  So I've been spending the last few weeks attempting to figure out 
> how one would use a "natural" syntax to make a function call in the Java 
> Langbinding, that is, if you have a Langbinding class "X" and a function 
> "f" defined as a member, how can you write code such as this:
>
>    X x = new X(...);
>    ...
>    SomeClass sc = x.f(y, z, 42);

Is this Java or C++ code?

In the domain of language binding, if you want to be understood, you
have to be constantly vigilant for these ambiguities, especially when
the two languages have similar syntaxes.

I didn't read further in detail, so you might want to revisit the
whole post and look for other instances of this issue.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

The Astoria Seminar ==> http://www.astoriaseminar.com


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.