[antlr-interest] overloaded functions

Bryan Ewbank ewbank at gmail.com
Wed Jan 4 05:22:53 PST 2006


Anyone have references on algorithms to disambigute calls of
overloaded functions?  I'm familiar with how C++ does it, but am
looking for other options.

To make it more complex (ugh), the language allows name/value pairs
for parameters as well as positional parameters.  Hence you might see:
   f(10, 2.0)
   f(10, b=2.0)
   f(a=10, b=2.0)
all of which are equivalent functions.

Thanks in advance,
- Bryan Ewbank


More information about the antlr-interest mailing list