Skip to content

Influences

Benjamin Kowarsch edited this page Aug 10, 2020 · 4 revisions

Several concepts and facilities were adopted from or influenced by other languages:

From Ada

  • strict name equivalence
  • the distinction of alias types and derived types
  • the general idea of allowing digit separators in number literals

From C

  • number literals
  • CONST parameters
  • the ++ and -- notation, but only in statements
  • the general idea of records with an indeterminate array field, but type safe

From Fortran

  • single line comments using prefix !

From Mesa

  • the general idea of a stigmatising naming convention for unsafe facilities

From ISO Modula-2

  • the CAST function
  • pragma delimiters <* and *>

From Oberon

  • extensible record types

From Ojective-C

  • support for reference counted types

From Pascal

  • functions PRED and SUCC
  • the general idea of built-in READ and WRITE syntax
  • the concept of storing the length/value-count of a string/array within the string/array itself

From Python

  • the general idea of array slicing
  • array indexing relative to last index

Of unknown Origin

Some adopted features are common in many other languages and are not easily traceable to their origin

  • zero-based array indexing
  • structured value constructors
  • for-each loop instead of for-to-by loop
Clone this wiki locally