Discussion List Archives

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

Re: [ddlm-group] Which brakets are reserved?

On 20/11/09 10:35 PM, "Herbert J. Bernstein" <yaya@bernstein-plus-sons.com>

> This one should hopefully be easy:
> Which brackets are the reserved brackets in CIF2?  From what I
> have heard thus far, I believe that te current proposal is:
>    {} and [] are reserved brackets with special meaning in CIF2 and ()
> are not.

Correct. The concept of a tuple may have meaning in a programmatic context
and therefore may be used operationally within dREL (however I see no real
use for them), it has no meaning in terms of a CIF value in a file.

Furthermore with the parsing rules in the new specification if () were
special it would break with values such as 2.334(5), which would cause a
great deal of concern.
>    Note that I am not asking which characters are not allowed in
> non-delimited strings and nor the synatx of data names, just

Just for the record my current proposal states data names cannot have (),
but data values can.

> which of the original sets of brackets from 2007 ({}, [] and ())
> are still flags for a bracketed construct.

Just {} - associative arrays and [] - lists. Both recursive.

>    Is this correct?




Associate Professor N. Spadaccini, PhD
School of Computer Science & Software Engineering

The University of Western Australia    t: +61 (0)8 6488 3452
35 Stirling Highway                    f: +61 (0)8 6488 1089
CRAWLEY, Perth,  WA  6009 AUSTRALIA   w3: www.csse.uwa.edu.au/~nick
MBDP  M002

CRICOS Provider Code: 00126G

e: Nick.Spadaccini@uwa.edu.au

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.