Discussion List Archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ddlm-group] CIF2 Syntax all wrapped up?

In a data file, empty lists and tables will be very useful, just as
null values are useful.

I would suggest that the rules for comments be uniform in or out of
lists and table -- if a '#' occurs after the completion of a token,
it starts a comment that continues to the end of the line, as in
    2, #two
    3 #three
    ,4 #four

I thought we put aside the line-joining issues for future discussion
to get this document out.

I see no reason to require quoting of a key if the result is unambiguous.

  Herbert J. Bernstein, Professor of Computer Science
    Dowling College, Kramer Science Center, KSC 121
         Idle Hour Blvd, Oakdale, NY, 11769


On Mon, 21 Dec 2009, Joe Krahn wrote:

> There have been no answers for:
> 1) Are empty tables or lists are valid?
> 2) What are the rules for comments within lists and tables?
> 3) What exactly does "implied line joining" mean in the TABLE definition?
> 4) Why require single or double quotes for table index strings, rather
> than just follow the normal quoting rules?
> Some of these are more technical details compared to the other issues.
> These came up while I was working on a big CIF2 regular-expression,
> where parsing details have to be considered more carefully.
> Thanks,
> Joe Krahn
> James Hester wrote:
>>> Dear DDLm-ers,
>>> Am I correct in assuming that everyone is satisfied with the
>>> square-bracket syntax recently proposed by Nick?  If so, I believe there
>>> is only one significant outstanding issue, that of being allowed to put
>>> whitespace between the key and the full colon, and the full colon and
>>> the value, in a table.  I agree with Joe that no extra syntactic
>>> complexity is introduced by allowing (not mandating) whitespace to
>>> appear in these locations.   If nobody objects, I would like to suggest
>>> that we alter the standard to allow such whitespace.
>>> James.
>>> --
>>> T +61 (02) 9717 9907
>>> F +61 (02) 9717 3145
>>> M +61 (04) 0249 4148
> _______________________________________________
> ddlm-group mailing list
> ddlm-group@iucr.org
> http://scripts.iucr.org/mailman/listinfo/ddlm-group
> [*** Normal Termination ***]
ddlm-group mailing list

Reply to: [list | sender only]
International Union of Crystallography

Scientific Union Member of the International Science Council (admitted 1947). Member of CODATA, the ISC Committee on Data. Partner with UNESCO, the United Nations Educational, Scientific and Cultural Organization in the International Year of Crystallography 2014.

International Science Council Scientific Freedom Policy

The IUCr observes the basic policy of non-discrimination and affirms the right and freedom of scientists to associate in international scientific activity without regard to such factors as ethnic origin, religion, citizenship, language, political stance, gender, sex or age, in accordance with the Statutes of the International Council for Science.