Crossover: Towards Compiler-Enabled COBOL-C Interoperability

Mart van Assen, Manzi Aimé Ntagengerwa, Ömer Sayilir, Vadim Zaytsev

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

1 Citation (Scopus)
25 Downloads (Pure)

Abstract

Interoperability across software languages is an important practical topic. In this paper, we take a deep dive into investigating and tackling the challenges involved with achieving interoperability between C and BabyCobol. The latter is a domain-specific language condensing challenges found in compiling legacy languages — borrowing directly from COBOL's data philosophy. Crossover, a compiler designed specifically to showcase the interoperability, exposes details of connecting a COBOL-like language with PICTURE clauses and re-entrant procedures, to C with primitive types and struct composites. Crossover features a C library for overcoming the differences between the data representations native to the respective languages. We illustrate the design process of Crossover and demonstrate its usage to provide a strategy to achieve interoperability between legacy and modern languages. The described process is aimed to be a blueprint for achievable interoperability between full-fledged COBOL and modern C-like programming languages.
Original languageEnglish
Title of host publicationGPCE 2023
Subtitle of host publication Proceedings of the 22nd ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences
EditorsCoen De Roover, Bernhard Rumpe, Amir Shaikhha
PublisherACM Press
Pages72-85
Number of pages14
Volume2023
ISBN (Electronic)979-8-4007-0406-2
DOIs
Publication statusPublished - 22 Oct 2023
Event22nd ACM SIGPLAN International Conference on Generative Programming, GPCE 2023: Concepts and Experiences - Cascais, Portugal
Duration: 22 Oct 202323 Oct 2023
Conference number: 22

Conference

Conference22nd ACM SIGPLAN International Conference on Generative Programming, GPCE 2023
Abbreviated titleGPCE 2023
Country/TerritoryPortugal
CityCascais
Period22/10/2323/10/23

Keywords

  • 2023 OA procedure
  • compilation
  • legacy languages
  • integration

Fingerprint

Dive into the research topics of 'Crossover: Towards Compiler-Enabled COBOL-C Interoperability'. Together they form a unique fingerprint.

Cite this