DG/L


DG/L is a programming language developed by Data General Corporation for the Nova, Eclipse, and [Data General Data General Eclipse|Eclipse MV/8000|Eclipse/MV] families of minicomputers in the 1970s and early 1980s. Released in late 1977, the language was based on ALGOL, specifically the ALGOL 60 specification.

Description

Data General offered two separate versions of ALGOL:
The language itself was an extended version of ALGOL 60. It supported integers, single- and double-precision floating point and complex numbers, and both fixed and arbitrary precision strings. It also supported full arbitrary precision binary-coded decimal arithmetic on strings. It had many convenient program control flow features, but being designed in the mid-1970s, it lacked user defined data structures.
Originally called ALGOL/5, the product was renamed DG/L shortly before the first commercial release in around August 1977. Prior to its release, DG/L had been used internally within Data General for the development of several major titles offered by the company. The company touted it as the world's first high-level structured programming language for a minicomputer.
DG/L had a substantial runtime library for its day, and was used for systems programming both within and outside of Data General. It held the distinction of being the only compiler that let users write a program for one Data General computer and then compile it for various Data General operating systems and hardware architectures. This made it useful for organizations which still relied on older, pre-AOS/VS DG systems. It also allowed developers to take advantage of AOS/VS's powerful tools for writing, compiling, and debugging, and then easily adapt the same program for the other environments by recompiling and relinking, accomplished via conditional compilation directives and compiler switches.
Ostensibly standing for "Data General Language", the name "DG/L" eventually came to hinder sales by giving it the misleading reputation as a highly proprietary programming language specific to Data General computers, according to the journalist Peter Walsall, despite being a close ALGOL derivative. After the first commercial release, targeting 16-bit Eclipse and Nova, several subsequent updates and major versions were released, approximately one a year. By 1987, DG/L had been largely forgotten among Data General's clientele, although it was still receiving routine updates by that point. By 1989, however, the programming language was nearly extinct and did not find mention in any of the company's contemporary literature.

Comparison with ALGOL 60

Appendix A of Data General's 1982 revision of its DG/L Language Reference Manual describes DG/L as based on the ALGOL 60 programming language, but gives "data types, operations and statements that ALGOL 60 lacks". Specific differences are:

Extensions

Some of the extensions to the ALGOL 60 standard introduced in DG/L or carried over from Data General's previous ALGOL implementation of 1971:

String operations

Input and output

Other extensions

  • Conditional compiling of sections of code, using
  • End-of-line comments using the character and
  • Expanded do, for, and if syntax
  • Types:,, 16-bit and 32-bit integers, 32-bit and 64-bit reals and arbitrary precision arithmetic
  • Literals
  • Global data
  • Error trapping
  • External procedures and data
  • Cluster declaration in a manner very similar to Pascal units.
  • Pointer
  • Multitasking