Specification for computer programming language RTL/2

Specification for computer programming language RTL/2

Regular price
£322.00
Sale price
£322.00
Regular price
£161.00
Sold out
Unit price
per 

What is BS 5904 - Computer programming language RTL/2 about?

BS 5904 specifies the semantics and syntax of the computer programming language RTL/2 by specifying requirements for a compiler and for a conforming program.

Note: The specification requirements have been drafted so that all features of RTL/2 are either explicitly defined, or explicitly stated to have been left intentionally undefined.

Appendix A contains information regarding input/output. Appendix B contains information on error recovery. Appendix C makes a recommendation on compiler limits.

Who is BS 5904 - Computer programming language RTL/2 for?

BS 5904 on computer programming language RTL/2 is useful for:

  • The information technology industry
  • Application and system programs writers
  • IT engineers/ technical teams
  • Relevant compliance authorities
  • Computer system operators

Why should you use BS 5904 - Computer programming language RTL/2?

In drafting BS 5904 the continued stability of RTL/2 has been a prime objective. BS 5904 includes the scope of record component names, strings, LET definitions, equality of label values, and the character set. These alterations have been carefully designed to correct features of the original specification that with hindsight have proved to be inappropriate and yet do not alter the semantics of valid programs.

RTL/2 provides a method for writing both application and system programs for use in real-time computing and is especially suited for online data acquisition, communication, and control systems.

The overall objectives of the language are:

  • To reduce the direct cost of the development and maintenance of software
  • To encourage the creation of more reliable systems
  • To increase the mobility of programming staff
  • To provide continuity of method and flexibility in the choice of equipment by ensuring the portability of application programs.

RTL/2 is designed to be as machine-independent as practicable even at the expense of certain (probably obsolescent) machine architectures. RTL/2 recognizes, however, that operating systems need a degree of flexibility that is incompatible with the security needs of application programs.

Accordingly, BS 5904 provides RTL/2 comprising of two languages, the full language being the system language, and a secure subset (see 7.6) being the application language.

It is virtually impossible to define precisely a high-level language so that programs will be executed equally efficiently by all types of computers. It has therefore been necessary to leave certain areas of RTL/2 deliberately unspecified so that implementations can take the best advantage of the characteristics of particular computers. The most, important of these areas ensured by BS 5904 are:

  • Accuracy and range of real values
  • Number of bits in an integer word
  • Behaviour on arithmetic overflow

Such areas are indicated in BS 5904 by the use of phrases such as “implementation-dependent”. On the other hand, it should be noted that the representation of integer values has been explicitly specified to be in twos-complement forms; thus, implementations of RTL/2 on computers that do not use this representation will be less efficient.

An RTL/2 complex consists of a collection of items known as bricks, of which there are the following types:

  • Procedure brick
  • Data brick
  • Stack brick

Note: As a language, RTL/2 imposes few constraints on the design of multitasking systems and the actual facilities of such systems are outside the scope of BS 5904. It is, however, possible to describe in outline the intended relationships between the various bricks in a multitasking system.