Patent
1995-10-02
1998-10-20
Voeltz, Emanuel T.
395685, G06F 945
Patent
active
058260870
ABSTRACT:
A method for enabling a computer program written in one scope to call a program written in another scope. The calling program may be statically or dynamically scoped and may call programs that are of a different scope. In a preferred embodiment of the invention, the method includes providing a call stack for programs called in the program, the call stack storing the names of the programs via a pointer and the dynamic or static scope of the called programs. The name pointer of a called program and its scope are pushed onto the call stack. For each non-local variable referenced in the called program, a lookup routine is followed. If the called program is dynamically scoped, the value associated with the variable's latest entry in its attribute stack is provided. If the called program is statically scoped, the value associated with the variable's latest active entry in the attribute stack is provided. In this way the scope of the called program is maintained even though the scope of the calling environment may differ.
REFERENCES:
patent: 5093916 (1992-03-01), Karp et al.
patent: 5210876 (1993-05-01), Uchida
patent: 5500881 (1996-03-01), Levin et al.
"Compilers: Principles, Techniques and Tools", Aho et al., Addison-Wesley Publishing Company, 1985, pp. 411-419, 422-423, 438-440.
"Visualizing Evaluation in Applicative Languages", Touretzky et al., Comm. of the ACM, vol. 35, No. 10, Oct. 1992, pp. 49-59.
"Macaroni is Better than Spaghetti", Steel, SIGPLAN Notices, vol. 12, No. 8, 1977, pp. 17-23.
"Closurize and Concentrate", Padget et al., ACM Symp. on Principles of Programming Languages, 1984, pp. 255-265.
Chaki Kakali
Voeltz Emanuel T.
LandOfFree
Method and apparatus for cross calling programs of different lex 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 cross calling programs of different lex, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for cross calling programs of different lex will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-258045