RTL/2 was a small real-time programming language designed by J. G. P. Barnes at Imperial Chemical Industries in 1972. The language was based on ALGOL 68 and allowed separate compilation of program components called bricks. The design of RTL/2 was guided by principles that are essential for real-time systems, where performance and predictability are paramount: simplicity, reliability, and efficiency. Accordingly, the language introduced several key concepts:
Several characteristics of RTL/2 were also adopted in the LPTR language:
CODE statement,
which allowed assembly language to be embedded in RTL/2 source code.
RTL/2 was used in various fields requiring real-time computing capabilities, including industrial automation, aerospace and defence, telecommunications, and others. Our colleagues at ICI who worked on real-time information systems hoped that RTL/2 would become a worldwide industrial standard and provide a basis for cooperation with other countries, especially the United Kingdom.
Our contract with ICI lasted two years and provided for the development of a compiler for a language compatible with RTL/2. The compiler was to be included in the National Program Library (BNP), accessible to all interested industrial organizations. At the end of the contractual period, the Polytechnic team under my leadership completed the implementation of LPTR, and the compiler was validated and deposited in the BNP. I received no further information about its fate. It was probably not adopted by industry—much like RTL/2 itself, which, although standardized, died a natural death, as many unused software products do.
For me, the LPTR contract meant forming and leading a team of colleagues and students for the design and implementation of the compiler. After making minor changes to the RTL/2 syntax, I transformed the LPTR syntax into an LL(1) grammar, which made top-down parsing possible. The grammar was attributed, enabling an elegant semantic analysis. Finally, code generation was performed in MACRO, the assembly language of the target INDEPENDENT minicomputer. The entire compiler was written in C.
This experience brought me significant technical maturity and a new perspective on the management of complex projects.