ALGOL 68S

ALGOL 68S[1] was designed as a subset of ALGOL 68 in order to permit single-pass compilation. It was mostly for numerical computation.

Implementations

A compiler for ALGOL 68S was available for the PDP-11, written in BLISS. The multiprocessor version designed for the C.mmp[2] has been preserved at the PUPS archive of the PDP11 Unix Heritage society, c.f. .

Charles H. Lindsey has another ALGOL 68 implementation called ALGOL 68S for Sun3, Sun Sparc (under SunOS 4.1), Sun Sparc (under Solaris 2), Atari ST (under GEMDOS) and Acorn Archimedes (under RISC OS), c.f.

Chief differences from ALGOL 68

  • no union
  • no flex but strings are handled specially
  • no arrays inside structures (but references to arrays would be allowed) and a similar restriction on arrays of arrays (multidimensional arrays are nonetheless permitted)
  • limitations on use of long and short to facilitate implementation on small computers
  • no heap
  • no parallel processing
  • restrictions on the order of declaration and other small syntactic differences to make single pass compilation possible
  • no formats

(summarised from Appendix 4 of the Informal Introduction[3])

gollark: Unless I make the future message predictor somehow far too smart and it begins to guess at details of the future accurately.
gollark: Also, it won't be able to provide useful information about the future.
gollark: But without a CTC or something it can't tell you what time it'll be sent, which is a feature I want.
gollark: Maybe it could, instead of actually having a send-back-in-time command, just show a random message "from the future".
gollark: I don't think that's how it works.

References

  1. A Sublanguage of ALGOL 68, P.G. Hibbard, SIGPLAN Notices 12(5), May 1977
  2. Description of C.mmp A68S implementation.
  3. Informal Introduction to Algol 68, C.H. Lindsey and S.G. van der Meulen, North-Holland 1977
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.