Assuring Correctness, Testing, and Verification of X-Compiler by Integrating Communicating Stream X-Machine


Sanusi B., Ogunshile E., Aydin M. E., Olabiyisi S.

6th International Conference on Software Engineering and Development, ICSED 2024, Virtual, Online, Çin, 29 - 31 Mayıs 2024, ss.64-72, (Tam Metin Bildiri) identifier

  • Yayın Türü: Bildiri / Tam Metin Bildiri
  • Doi Numarası: 10.1145/3686614.3686622
  • Basıldığı Şehir: Virtual, Online
  • Basıldığı Ülke: Çin
  • Sayfa Sayıları: ss.64-72
  • Anahtar Kelimeler: Code Generation, Communicating Stream X-Machine, Compiler, Software Development, X-Compiler
  • İstanbul Ticaret Üniversitesi Adresli: Hayır

Özet

Compiler design plays an important role in ensuring that the translation of the programs written in high-level language into executable code is correct. However, in todays' safety-critical environments, security gaps, visible and hidden defects in compiler models are liability factors that needed to be addressed in the process of examining that a system meets specifications and requirements of its intended objectives. Nevertheless, defects in this model are errors in coding which bring about incorrect or unexpected results from a compiler design that does not meet the actual requirements. Hence, this paper developed a novel approach by integrating the computational power of Communicating Stream X-Machine (CSXM) to address the problem associated with compiler correctness. In addition, this paper outlines the development of a novel compiler design called X-compiler, emphasizing its important role in software development. CSXM technique was implemented in Visual Studio (2022) to develop the X-compiler. The X-compiler utilize state-of-the-art techniques to translate program source code written in high-level programming language which is the blend of C# and Python programming language into executable code. The development process includes the lexical analysis, syntax parsing, semantic analysis, and code generation ensuring the correctness of the X-compiler. The results of the compiled code were run to produce output in command Windows environment for user interactions. Also, highlights the potential for enhanced language interoperability and the development of efficient compiler that leverage the strengths of multiple programming paradigms. Overall, the study on CSXM contributed to a deeper understanding of concurrent systems, while the design and implementation of the compiler showcased the feasibility of creating a synergistic blend of C# and Python programming languages.