Abstract

Application of object-oriented programming techniques to design and implementation of symbolic computation systems is investigated. We show the significance of certain correctness problems, occurring in programming environments based on specialization inheritance, due to use of method redefinition and polymorphism. We propose a solution to these problems, by defining a mechanism of subtyping inheritance and the prototype of an object-oriented programming language for a symbolic computation system. We devise the subtyping inheritance ESI (Enhanced Strict Inheritance) by lifting to programming language constructs a given model of subtyping, which is established by a monotonic (covariant) subtyping rule. Type safeness of language instructions is proved.The adoption of ESI allows to model method and class specialization in a natural way. The ESI mechanism verifies the type correctness of language statements by means of type checking rules and preserves their correctness at run-time by a suitable method lookup algorithm.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.