[antlr-interest] overloaded functions
Krishanu Debnath
krishanu at cal.interrasystems.com
Wed Jan 4 05:35:51 PST 2006
Bryan Ewbank wrote:
> 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
>
>
VHDL Language has exactly same function overloading semantics. You may
find it useful looking free VHDL simulator source code like freehdl,
tyvis(?).
Krishanu
More information about the antlr-interest
mailing list