BCPL:修订间差异
删除的内容 添加的内容
小 →引用 |
小 →概述 |
||
第24行:
==概述==
Richards試著移除了CPL中最複雜的組成,第一支BCPL compiler在[[IBM 7090|IBM 7094]]電腦中完成。身為早期程式語言的BCPL,如今已不再廣泛使用,但它的影響卻是深遠的,今日流行的[[C語言]]即是參考BCPL所設計<ref name="C_Prog_Lang_KR">{{cite book |url=https://archive.org/details/cprogramminglang00bria |title=The C Programming Language |date=1978 |publisher=Bell Telephone Laboratories |isbn=0-13-110163-3 |pages=2 |authors=Kernighan, Brian W. and Dennis M. Ritchie}}</ref>。BCPL是第一支{{en-link|花括号编程语言|Brace programming language}}<ref>{{cite web|url=https://www.cl.cam.ac.uk/~mr10/bcplman.pdf|title=The BCPL Cintsys and Cintpos User Guide, 2.1.4 Section brackets|quote=Historically BCPL used the symbols <code>$(</code> and <code>$)</code> to bracket commands and declarations. These symbols are called section brackets and are allowed to be followed by tags composed of letters, digits, dots and underlines. A tagged closing section bracket is forced to match with its corresponding open section bracket by the automatic insertion of extra closing brackets. Use of this mechanism is no longer recommended since it often leads to obscure programming errors. BCPL has been extended to allow all untagged section brackets to be replaced by <code>{</code> and <code>}</code> as appropriate.}}</ref>,作为BCPL后代语言,[[C语言]]使用[[花括号]]
== 範例 ==
|