现在我们逐个介绍该子任务中新增的语法。 语法:Boolean 当表达式为 #t 或 #f 时,它的值即为 #t 与 #f(Boolean 类型)。 注意,此处 datum 是一个 syntax 而非 expr。 (quote datum) 的作用是将 datum 原样返回。 Integer 与 Boolean 的情况很好理解。 对于 Pair 的情况,由于 Scheme ...
r[type.bool.intro] The boolean type or bool is a primitive data type that can take on one of two values, called true and false. r[type.bool.literal] Values of this type may be created using a literal ...
Looking at the grammar, a postfix expression may starts with (or is) a primary expression, followed by a sequence of constructs for array subscripting, function calls, member access (by value or ...