📄 m5
字号:
.NHCONCLUSIONS.PPRatfordemonstrates that with modest effortit is possible to convert Fortranfrom a bad language into quite a good one.A preprocessor is clearly a useful way to extend or amelioratethe facilities of a base language..PPWhen designing a language,it is important to concentrate onthe essential requirement of providingthe user with the best language possiblefor a given effort.One must avoid throwing in``features'' _things which the user may trivially construct within the existingframework..PPOne must also avoid getting sidetracked on irrelevancies.For instance it seems pointless forRatforto prepare a neatly formattedlisting of either its input or its output.The user is presumably capable of the self-discipline requiredto prepare neat inputthat reflects his thoughts.It is much more important that the language provide free-form inputso he.ulcanformat it neatly.No one should read the output anywayexcept in the most dire circumstances..SHAcknowledgements.PPC. A. R. Hoareonce said that``One thing [the language designer] should not dois to include untried ideas of his own.''Ratforfollows this precept very closely _everything in it has been stolen from someone else.Most of the control flow structuresare taken directly from the language C[4]developed by Dennis Ritchie;the comment and continuationconventions are adapted from Altran[10]..PPI am grateful to Stuart Feldman,whose patient simulation of an innocent userduring the early days of Ratforled to several design improvementsand the eradication of bugs.He also translated the C parse-tablesand.UC YACC parserinto Fortran for thefirstRatforversion ofRatfor.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -