A One-Pass Algorithm for Overload Resolution in Ada
Theodore P. Baker · ACM Transactions on Programming Languages and Systems · 1982
OverloadA simple method is presented for detecting ambiguities and finding the correct interpretations of expressions in the programming language Ada.Unlike previously reported solutions to this problem, which require multiple passes over a tree structure, the method described here operates in one bottom-up pass, during which a directed acyclic graph is produced.The correctness of this approach is demonstrated by a brief formal argument.