Method and apparatus for generating executable code from object-

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 945

Patent

active

057908613

ABSTRACT:
The present invention provides an improved method and apparatus for generating executable computer code for an application program written in C++ source code. In typical prior art systems, application program source code that has not itself been modified must still generally be recompiled in the event that object-oriented class definitions used by the application program and contained in separate header files have been modified. The methods and apparatus of the present invention reduce the need for such recompilation, by using procedural interfaces to implement object-oriented interfaces at the compiled code level. Thus, in accordance with the present invention, compiled header file code is generated that includes accessors for accessing object instances of the class definitions, each of the accessors being a procedure operative to access the object instances of the corresponding class definition. Compiled application program code is generated which replaces object references with procedure calls to appropriate accessors. In this way, the application program and the header file class definitions remain relatively independent of each other with respect to implementation details, even at the compiled code level.

REFERENCES:
patent: 5423041 (1995-06-01), Burke et al.
patent: 5459868 (1995-10-01), Fong
patent: 5535391 (1996-07-01), Hejlsberg et al.
Microsoft's Programmer's Guides, Microsoft Visual C++, Development System for Windows, Version 1.0, Programming Techniques, Ch 1, Using Precompiled Headers, pp. 3-20, 1993.
R.Milner, M.Tofte and R.Harper, "The Definition of Standard ML"; The MIT Press (1990).
G.Kiczales, J.des Rivieres, and D.Bobrow, "The Art of the Metaobject Protocol", The MIT Press (1991).
A.Palay, "C++ in a Changing Environment"; Usenix Association, C++ Technical Conference (pp. 195-206) (13 Aug. 1992).
C.Chambers and D.Ungar, "Customization: Optimizing Compiler Technology for Self, a Dynamically-Typed Ojbect-Oriented Programming Language"; Stanford Univesity; 1989 ACM 0-89791-306-X/89/0006/0146 (pp. 146-160).
W.Hwu and P.Chang, "Inline Function Expansion for Compiling C Programs"; Coordinated Science Laboratory, University of Illinois; 1989 ACM 0-89791-306-X/89/0006/0246 (pp. 246-257).
D.Ungar and R.Smith, "Self: The Power of Simplicity"; OOPSLA '87 Proceedings; 1987 ACM 0-89791-247-0/87/0010-0227 (pp 227-242).

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method and apparatus for generating executable code from object- does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and apparatus for generating executable code from object-, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for generating executable code from object- will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-1189601

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.