版本2和4间的区别 (跳过第2版)
于2007-07-19 07:28:52修订的的版本2
大小: 766
编辑: czk
备注:
于2008-02-23 15:37:02修订的的版本4
大小: 762
编辑: localhost
备注: converted to 1.6 markup
删除的内容标记成这样。 加入的内容标记成这样。
行号 5: 行号 5:
In the syntax notation used in this manual, syntactic categories are indicated by italic type, and literal words and characters in typewriter style. Alternative categories are usually listed on separate lines; in a few cases, a long set of narrow alternatives is presented on one line, marked by the phrase ``one of.'' An optional terminal or nonterminal symbol carries the subscript ``opt,'' so that, for example, In the syntax notation used in this manual, syntactic categories are indicated by italic type, and literal words and characters in typewriter style. Alternative categories are usually listed on separate lines; in a few cases, a long set of narrow alternatives is presented on one line, marked by the phrase "one of." An optional terminal or nonterminal symbol carries the subscript "opt," so that, for example,

A.3 Syntax Notation

In the syntax notation used in this manual, syntactic categories are indicated by italic type, and literal words and characters in typewriter style. Alternative categories are usually listed on separate lines; in a few cases, a long set of narrow alternatives is presented on one line, marked by the phrase "one of." An optional terminal or nonterminal symbol carries the subscript "opt," so that, for example,

{ expressionopt }

means an optional expression, enclosed in braces. The syntax is summarized in Par.A.13.

  • Unlike the grammar given in the first edition of this book, the one given here makes precedence and associativity of expression operators explicit.

TCPL/A.03_Syntax_Notation (2008-02-23 15:37:02由localhost编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.