You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
一个具体的例子见Figure5: An example of a task evaluation.最上方深色的框里,(even(sqr(S(x)))是一个configuration(因为其中的x是自由变量),prog1是一个program,其中包含了Figure2: prog1: Working with Peano number的一系列定义, 下面的x := Z()理解成substitution (所以大概就是我们现在说的environment).
由于讨论的时候大家普遍觉得这篇里用的一些名词不是很常规(或许是因为70s名词还不是很统一?),所以开个issue稍微汇总一下上次讨论之后的共识.或许不是很准确,大家补充就是了.
此外原文里有几个小错误顺便也放在这里了
e/{v1 := e, ..., vn := en}
应该是e/{v1 := e1, ..., vn := en}
注意这个替换应该是同时发生的否则紧接着的那个exercise就无解了Figure1: SLL abstract syntax
一个具体的例子见
Figure5: An example of a task evaluation
.最上方深色的框里,(even(sqr(S(x)))
是一个configuration(因为其中的x
是自由变量),prog1
是一个program,其中包含了Figure2: prog1: Working with Peano number
的一系列定义, 下面的x := Z()
理解成substitution (所以大概就是我们现在说的environment).Figure 5
里在接下来的s0
,s1
,...,s7
中,所有带下划线的地方都是redex,大概就是可以使用Figure 3
中规则的位置.另外,Figure 2的第二行应该是
add(S(x),y) = S(add(x,y))
.The text was updated successfully, but these errors were encountered: