ALGOL 68

ALGOL 68
编程范型多范型指令式过程式结构化并发
設計者阿德里安·范·韦恩加登, B.J. Mailloux英语Barry J. Mailloux, J.E.L. Peck英语John E. L. Peck, C.H.A. Koster英语Cornelis H.A. Koster等人
发行时间最终报告: 1968年,​57年前​(1968
修订报告: 1973年,​52年前​(1973
型態系統静态强类型安全结构式英语Structural type system
網站Revised Report on the Algorithmic Language ALGOL 68
主要實作產品
Algol68toC[1], ALGOL 68 Genie[2], ALGOL 68-R英语ALGOL 68-R, ALGOL 68C英语ALGOL 68C, ALGOL 68RS英语ALGOL 68RS, ALGOL 68S英语ALGOL 68S, FLACC英语FLACC
衍生副語言
ALGOL 68r0 (最终报告:1968年),
ALGOL 68r1 (修订报告:1973年)
啟發語言
ALGOL 60, ALGOL X英语ALGOL X, ALGOL Y英语ALGOL Y
影響語言
C[3]C++[4]Bourne shellKornShellBashSteelman英语Steelman language requirementsAdaPython[5]Seed7英语Seed7Mary英语Mary (programming language)S3英语S3 (programming language)

ALGOL 68(源自英語:ALGOrithmic Language 1968的縮寫),一種指令式程式語言,作為ALGOL家族的成員,是官方上的ALGOL 60後繼者。它的設計目標,是提供更廣泛的應用,以及更嚴格的語法定義。

ALGOL 68的特征包括基于表达式英语Expression-oriented programming language的语法,用户声明的类型结构标签联合类型,变量与引用参数的引用模型可变长数组和字符串、数组与矩阵的分片英语array slicing,用户定义的运算符运算符重载高阶函数匿名函数,以及并发

  1. ^ 引用错误:没有为名为a68toc的参考文献提供内容
  2. ^ ALGOL 68 Genie. [2020-04-22]. (原始内容存档于2020-08-14). 
  3. ^ Dennis Ritchie. The Development of the C Language (PDF). April 1993 [2024-11-17]. (原始内容存档 (PDF)于2015-06-11). The scheme of type composition adopted by C owes considerable debt to Algol 68, although it did not, perhaps, emerge in a form that Algol’s adherents would approve of. The central notion I captured from Algol was a type structure based on atomic types (including structures), composed into arrays, pointers (references), and functions (procedures). Algol 68’s concept of unions and casts also had an influence that appeared later. …… a notation for type conversions (called ‘casts’ from the example of Algol 68) was invented to specify type conversions more explicitly. 
  4. ^ A History of C++: 1979−1991 (PDF). Page 12, 2nd paragraph: Algol68 [gave] operator overloading(§3.3.3), references (§3.3.4), and the ability to declare variables anywhere in a block (§3.3.1). March 1993 [2024-11-17]. (原始内容存档 (PDF)于2022-04-23). 
  5. ^ Interview with Guido van Rossum. July 1998 [2007-04-29]. (原始内容存档于2007-05-01). String slicing came from Algol-68 and Icon. 

From Wikipedia, the free encyclopedia · View on Wikipedia

Developed by Nelliwinne