Διερμηνευτικός προσομοιωτής για κειμενική ενδιάμεση αναπαράσταση μεταγλωττιστή

Loading...
Thumbnail Image

Journal Title

Journal ISSN

Volume Title

Publisher

Πανεπιστήμιο Πελοποννήσου

Abstract

The intermediate code representation (IR) is consider as an important integral part of the compiler since it is reused across all important compilation stages for representing a source program; it connects the frontend to the backend of the compiler. Of the most popular representations used today are linearized forms such as TAC (Three Address Code). In recent years the scientific community has shown great interest in the development and improvement of representations of this kind for production use, as it is evident in popular compilation projects (GCC GIMPLE, LLVM, LANCE compiler IR-C). In this work, the intermediate language NAC (N-Address Code) is presented as an extended version of TAC. Instead of using three addresses in each IR statement proposal there may be N, theoretically infinite and practically limited only by the resources of the machine. NAC has been developed by Nikolaos Kavvadias [1] and for its simulation; a simulator interpreter named NacVM was developed that comprises the main topic of this work. The simulator was developed in ANSI C language and this first version suffices to support to a large extent the requirements posed by NAC.

Description

Μ.Δ.Ε. 13

Citation

Endorsement

Review

Supplemented By

Referenced By

Creative Commons license