[ebon-discuss] Misuse of keywords-as-identifiers in textual examples.
Status: Alpha
Brought to you by:
kiniry
|
From: Joseph R. K. <ki...@ac...> - 2001-08-29 05:47:53
|
The BON grammar specifies that, generally, (optional) indexing blocks =
contain arbitrary property/value pairs called Index_lists:
[ indexing Index_list ]
Index_list =3D { Index_clause ";" ...} +
Index_clause =3D Identifier ":" Index_term_list
Index_term_list =3D { Index_string "," ...} +
Index_string =3D Manifest_string
Keywords are reserved words (pg. 361). Therefore, properties in index =
clauses, and more generally, identifiers, should not be keywords.
Contrary to this rule set, several example specifications from the =
Wald=E9n/Nerson text violates this rule (see e.g. Figure B.1 on pg. 365).
Therefore we have corrected the examples (and our testsuite) rather than =
making more serious changes to the grammar and lexer. You'll see all =
indexing properties called "cluster" renamed to "in_cluster".
Joe
--
Joseph R. Kiniry http://www.cs.caltech.edu/~kiniry/
California Institute of Technology ID 78860581 ICQ 4344804
|