arXiv · 2209.01803
Detecting unanticipated mutual recursion using Elegant Objects representation of object-oriented programs
Abstract
Elegant Objects (EO) is a variation of the object-oriented programming paradigm that favors pure objects and decoration. EO programming language is based on these ideas and has been suggested by Bugayenko as an intermediate representation for object-oriented programs. This paper provides plausible representations in EO of some class-based constructions from Java, C++, and Python. We then reformulate the classical fragile base class problem in the context of these representations. Finally, we discuss an algorithm for detecting a subset of fragile base class patterns in EO programs. We show that using EO as an intermediate language is plausible and discuss possible improvements to the language to assist in richer static analysis.
Explore related subjects
Keep this discovery
Nikolai Kudasov, Mikhail Olokin, Oleksii Potyomkin, Nikolay Shilov, Maxim Stepanov. 2022-09-05. Detecting unanticipated mutual recursion using Elegant Objects representation of object-oriented programs. https://arxiv.org/abs/2209.01803
Cite the original work for its findings. Save a collection to share your selection of sources.