Pastel (programming language)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Pastel is an extended version of the Pascal programming language, created in 1982 for Amber, an operating system for the S-1 supercomputer project at Lawrence Livermore National Laboratory in California.[1] The Pastel compiler was the inspiration for Richard Stallman's GNU C compiler.[2]

Pastel was conceived by Jeffrey M. Broughton, then Project Engineer in charge of compilers and operating system software for the S-1 project,[3] because of dissatisfaction with the PL/1 language in which Amber was being implemented. The language was named Pastel ("an off-color Pascal").

Compared with Pascal compilers of that period, Pastel's features included:[4]

  • Improved type definition
  • Parametric types
  • Explicit packing and allocation control
  • Additional parameter passing modes
  • Additional control constructs
  • Set iteration
  • Loop-exit form
  • Return statement
  • Module definition
  • Exception handling
  • General enhancements
  • Conditional Boolean operations
  • Constant expressions
  • Variable initialization

References

[edit | edit source]
  1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  4. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). Chapter: S-l Software Development: Programming Languages Supported