This is a strategy called double syntax, the notion that "in the Beginning" can modify one verb or the other.
这种手法叫做双关句,也就是,“太初“可同时修饰两个动词。
The syntax is OK in the sense of, it is an operand, an operator, an operand, so syntactically it's OK.
这里的语法应该是好的,有个运算对象,一个运算符,另外一个运算对象,因此语法上是没错的。
Now this is perhaps, frankly this is really the reason that people tend to get confused with the new piece of syntax because the * means different things in different contexts.
也许,这就是大家对这个新语法,混淆的原因,因为*的在不同的环境中有不同的意义。
Music is a language and it is made up of a syntax, and syntax, you know, consists of phrases and the order in which those phrases occur.
音乐也是一种语言,由句法构成,而句法,你们知道的,就是乐句组合,以及这些乐句的组合顺序
So, the final step in the story is syntax.
所以语言的最后一个成分便是语法了
Well, you can implement this in a few different ways but here's one approach that uses some int counter=0 of the syntax we just looked at, int counter equals 0.
当然,你可以有好几种方法来实现这一目标,但是其中一种方法,只需要用到我们刚刚看到的那种语法。
Syntax basically says, what are the legal expressions in this language?
语法也就是说,这个语言的合理表示是什么?
Later in the term, we'll see why we have this syntax and why it wasn't just a totally arbitrary Python brain-dead decision by the designers of Python, and many languages before Python, but in fact is a pretty sensible thing.
这个学期的晚些时候,我们会去学学我们学这些语法的原因,以及这些语法其实并不是,和以前其他语言的设计者,一拍脑子做出的决定,实际上制定这些语法其实是相当明智的。
应用推荐