C和Algol68 [英] C and Algol68

查看:67
本文介绍了C和Algol68的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C的维基百科条目说该语言受到Algol68的影响,但是

没有提供进一步的细节。


我很感兴趣:究竟是怎么做的Algol68影响C,如果有的话?


巴特

解决方案

Bartc写道:
< blockquote class =post_quotes>
C的维基百科条目说该语言受到Algol68的影响,但

没有提供进一步的细节。


我我很好奇:Algol68究竟是如何影响C的,如果有的话?

http: //cm.bell-labs.com/cm/cs/who/dmr/chist.html 是来自马的'

口。试试看。


Bartc写道:


C的维基百科条目说该语言受到Algol68的影响但

没有提供进一步的细节。


我很好奇:Algol68究竟是如何影响C的,如果有的话?


早在1968年,Algol中的大多数C语法怎么样而不是Fortran?很多都是通过Pascal传递的,但这并没有减少报告的影响力。


Tim Prince写道:
< blockquote class =post_quotes>
Bartc写道:


> C的维基百科条目说该语言受到Algol68的影响,但是
给出了没有进一步的细节。

我很好奇:Algol68究竟是如何影响C的,如果有的话?



早在1968年,Algol中的大部分C语法怎么样,而不是Fortran,而不是
?通过帕斯卡传递了很多,但这并没有减少报告的影响力。



我原本想通过/ BCPL /,而不是Pascal,因此占{} -blocks

(不是开头也不是-endif style)和`return`语句(而不是

分配给函数标识符)。


-

Hewlett -Packard Limited注册号:

注册办事处:Cain Road,Bracknell,Berks RG12 1HN 690597英格兰


The Wikipedia entry for C says the language was influenced by Algol68 but
gives no further details.

I''m intrigued: how exactly did Algol68 influence C, if at all?

Bart

解决方案

Bartc wrote:

The Wikipedia entry for C says the language was influenced by Algol68 but
gives no further details.

I''m intrigued: how exactly did Algol68 influence C, if at all?

http://cm.bell-labs.com/cm/cs/who/dmr/chist.html is "from the horse''s
mouth". Try reading that.


Bartc wrote:

The Wikipedia entry for C says the language was influenced by Algol68 but
gives no further details.

I''m intrigued: how exactly did Algol68 influence C, if at all?

How about most of the C syntax which was in Algol but not Fortran as
early as 1968? Much was passed on via Pascal, but that doesn''t diminish
the reported influence.


Tim Prince wrote:

Bartc wrote:

>The Wikipedia entry for C says the language was influenced by Algol68 but
gives no further details.

I''m intrigued: how exactly did Algol68 influence C, if at all?


How about most of the C syntax which was in Algol but not Fortran as
early as 1968? Much was passed on via Pascal, but that doesn''t diminish
the reported influence.

I would have thought via /BCPL/, not Pascal, thus accounting for {}-blocks
(not begin-end nor if-endif style) and `return` statements (rather than
assigning to function-identifiers).

--
Hewlett-Packard Limited registered no:
registered office: Cain Road, Bracknell, Berks RG12 1HN 690597 England


这篇关于C和Algol68的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆