Occam to Go translator

Publikation: Bidrag til bog/antologi/rapportKonferencebidrag i proceedingsForskningfagfællebedømt

Occam is a programming language built on CSP, which for many years has been used for writing safety-critical systems used in space technology and at CERN among others. However, the language has not been developed or maintained for the last 25 years, which makes it difficult to maintain the programs which currently has a code base in Occam. As changing the entire code base for such systems will prove both expensive and time consuming, it is desirable to find an easy and secure way to translate Occam programs into another programming language.This paper lays the foundation of a transpiler from Occam to the newer programming language Go using Haskell. Go is a modern programming language which also implements many of the CSP principles found in Occam, making it a suitable target.The transpiler is implemented for a subset of Occam including only basic functionality, and is successful in translating simple programs from Occam to Go, showing that it is indeed possible to automatically translate Occam programs into Go.

OriginalsprogEngelsk
TitelProceedings - 2021 Concurrent Processes Architectures and Embedded Systems Conference, COPA 2021
Antal sider8
ForlagIEEE
Publikationsdato2021
ISBN (Elektronisk)9781728166834
DOI
StatusUdgivet - 2021
Begivenhed2021 Concurrent Processes Architectures and Embedded Systems Conference, COPA 2021 - Virtual, San Diego, USA
Varighed: 25 apr. 202128 apr. 2021

Konference

Konference2021 Concurrent Processes Architectures and Embedded Systems Conference, COPA 2021
LandUSA
ByVirtual, San Diego
Periode25/04/202128/04/2021

Bibliografisk note

Publisher Copyright:
© 2021 IEEE.

ID: 282096062