Patent
1996-12-12
1999-01-26
Trammell, James P.
395708, G06F 946
Patent
active
058647007
ABSTRACT:
A priority queue is used to sequence template instantiations in compiling C++ programs. If the analysis of a C++ code fragment encounters a name that requires full instantiation and no matching full instantiation exists, the parse is terminated and rescheduled, and a full instantiation is scheduled as an antecedent of the failed parse. "Antecedent" means that the failed parse code fragment will not be reparsed until after the full instantiation has succeeded. Only when the full instantiation has succeeded will the terminated parse be reconsidered. Parsing full instantiations may cause additional full instantiations. These are handled in the same manner; the additional instantiation is scheduled, and the current parse is failed and rescheduled. At the time of scheduling, the antecedent instantiation is marked with its dependent, so that the dependent chain give the chronology of the instantiation. This makes it easy to generate historical or "traceback" information for meaningful error messages.
REFERENCES:
patent: 5179702 (1993-01-01), Spix et al.
patent: 5280617 (1994-01-01), Brender et al.
patent: 5303369 (1994-04-01), Borcherding et al.
patent: 5375239 (1994-12-01), Mortson
patent: 5604908 (1997-02-01), Mortson
patent: 5630128 (1997-05-01), Farrell et al.
patent: 5655096 (1997-08-01), Branigin
patent: 5710902 (1998-01-01), Sheaffer et al.
Barton John Joseph
Karasick Michael
Streeter David Joseph
International Business Machines - Corporation
Sbrollini Jay P.
Smith Demetra R.
Trammell James P.
LandOfFree
Sequencing and error detection of template instantiations during does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Sequencing and error detection of template instantiations during, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Sequencing and error detection of template instantiations during will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-1457211