Occam to Go translator
Research output: Chapter in Book/Report/Conference proceeding › Article in proceedings › Research › peer-review
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.
Original language | English |
---|---|
Title of host publication | Proceedings - 2021 Concurrent Processes Architectures and Embedded Systems Conference, COPA 2021 |
Number of pages | 8 |
Publisher | IEEE |
Publication date | 2021 |
ISBN (Electronic) | 9781728166834 |
DOIs | |
Publication status | Published - 2021 |
Event | 2021 Concurrent Processes Architectures and Embedded Systems Conference, COPA 2021 - Virtual, San Diego, United States Duration: 25 Apr 2021 → 28 Apr 2021 |
Conference
Conference | 2021 Concurrent Processes Architectures and Embedded Systems Conference, COPA 2021 |
---|---|
Land | United States |
By | Virtual, San Diego |
Periode | 25/04/2021 → 28/04/2021 |
Bibliographical note
Publisher Copyright:
© 2021 IEEE.
- CSP, Go, Occam, transpiler
Research areas
ID: 282096062