[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
[ddlm-group] Comment rules
- To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
- Subject: [ddlm-group] Comment rules
- From: Joe Krahn <krahn@niehs.nih.gov>
- Date: Mon, 28 Dec 2009 13:00:40 -0500
CIF1 requires whitespace to precede the initial '#' in a comment. I asked about comments within lists and tables, including whether a comment can be preceded by one of the new single-character delimiters instead of whitespace. Herberts answer was that the preceding whitespace should be required only when needed to terminate a token preceding the comment, and not part of the actual comment syntax. If CIF2 follows Herbert's proposal, it affects the definition of comments outside of lists/tables as well. CIF1 comments were defined according to the design that everything is whitespace delimited. In CIF2, that s not the case. However, the current design still requires whitespace between values, even if it would not be required for parsing, such as between two quoted strings. Here are some possible choices for comments: 1. Keep the CIF1 syntax. 2. Whitespace is only needed to terminating the previous token (i.e. may be preceded by a close quote). 3. A comment must be preceded by whitespace or one of the single-letter delimiters [ ] { }, which have delimiter properties similar to whitespace. Joe Krahn _______________________________________________ ddlm-group mailing list ddlm-group@iucr.org http://scripts.iucr.org/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- Prev by Date: Re: [ddlm-group] CIF2 Syntax all wrapped up?
- Next by Date: [ddlm-group] LOOP versus LIST
- Prev by thread: Re: [ddlm-group] LOOP versus LIST
- Next by thread: [ddlm-group] CIF2 Syntax all wrapped up?
- Index(es):