Transformation of C Programming Language Memory Model into Object-Oriented Representation of EO Language
نویسندگان
چکیده
The paper analyzes the possibilities of transforming C programming language constructs into objects EO language. key challenge method is transpilation from a system higher level abstraction, which doesn’t allow direct manipulations with computer memory. Almost all application and domain-oriented languages disable such access to Operations that need be supported in this case include use dereferenced pointers, imposition data different types same memory area, interpretation located address space. A decision was made create additional EO-objects directly simulate interaction as These encapsulate unreliable operations pointers. An abstract object proposed for simulating capabilities provide essentially an array bytes. It possible write read at given index. number bytes or written depends on being used. transformation various code considered compilation unit. To study variants analyze results transpiler developed provides necessary transformations. implemented basis Clang, forms syntax tree. This tree processed using LibTooling LibASTMatchers libraries. As result compiling program, generated. approach turns out appropriate solving problems. One problems static analysis. Such solutions make it isolate low-level fragments separate program objects, focusing their transformations more reliable code.
منابع مشابه
An Active, Object-Oriented, Model-Equivalent Programming Language
The intricate and complex structure of existing advanced database applications results in part from poor integration of existing models and languages. This complexity is a barrier to e ectively understanding and developing advanced applications. We can signi cantly reduce the complexity of advanced-application speci cation and implementation by using a model-equivalent language (a language with...
متن کاملFigaro: An Object-Oriented Probabilistic Programming Language
We introduce an object-oriented paradigm for probabilistic programming, embodied in the Figaro language. Models in Figaro are objects, and may have properties such as conditions, constraints and relationships to other objects. Figaro model classes are created by inheriting functionality from existing classes. Figaro provides a modular, compositional Metropolis-Hastings algorithm, and gives the ...
متن کاملIssues in the Design of an Object Oriented Programming Language
The object oriented paradigm, which advocates bottom-up program development, appears at rst sight to run counter to the classical, top-down approach of structured programming. The deep requirement of structured programming, however, is that programming should be based on well-de ned abstractions with clear meaning rather than on incidental characteristics of computing machinery. This requiremen...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Modelirovanie i Analiz Informacionnyh Sistem
سال: 2022
ISSN: ['2313-5417', '1818-1015']
DOI: https://doi.org/10.18255/1818-1015-2022-3-246-264