Discussion List Archives

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

Re: [ddlm-group] Draft EBNF for CIF2

  • To: ddlm-group <ddlm-group@iucr.org>
  • Subject: Re: [ddlm-group] Draft EBNF for CIF2
  • From: James Hester <jamesrhester@gmail.com>
  • Date: Fri, 22 Aug 2014 10:26:42 +1000
  • DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;h=mime-version:in-reply-to:references:date:message-id:subject:from:to:content-type; bh=jbUeaj4w6X6L3ZJUkKFtn1O0SQLKSETvHaekX/7vDfM=;b=pkoGCQ6R7v6bumvEXM0MRmjIJRAwQAoU4BAvkAuM3P6/UB3tgRlGKl2RGP9U90US7cYCQs1Ffzzmu/xtd1rgTvN1VkYwnV9Mgh9b4jVoxHiAdp9h3uas88BylU29Z8DqwNXDjMQ7giQDL3L9tbrTsDY2wUW8OU4ojeJAB/aGKxQtyeyC7UGdzf84tXyqU7K4ppr70muDoxK6Uqp5iAf/lp1D2Z/Ucx/g5Mwye5bnI0r8Jb4sReaWRE5ws80lWUNWnxU5CH4EdusMOsSB5EqtZqWzVpWps9D7he4YiqGj3gdTXUfEOSNusONzPhKyEwSA8pHWcXBXzGKXqZdRX8pKyg==
  • In-Reply-To: <CAM+dB2eWm0m2qYTB1O7L2St-RUOJM5FRimFCozhwqWLEC0UR-Q@mail.gmail.com>
  • References: <CAM+dB2eWm0m2qYTB1O7L2St-RUOJM5FRimFCozhwqWLEC0UR-Q@mail.gmail.com>
Dear DDLm group,

John Bollinger has reminded by of a further change: nested save frames, which were introduced in the STAR2 and DDLm papers, are included in the EBNF.  CIF1.1 only envisioned a single level of save frames, and only in dictionary files.  Absent a decision by this group or COMCIFS, the restriction of save frames to dictionary files (nested or otherwise) would continue.

James.



On Wed, Aug 20, 2014 at 4:33 PM, James Hester <jamesrhester@gmail.com> wrote:
Dear DDLm group,

John Bollinger and myself have put our heads together and produced an ISO 14977 EBNF specification of CIF2.0 syntax.  We were working from the 10 August 2011 "CIF Changes" document agreed by this group and approved in Madrid, available in the archives of this list at http://www.iucr.org/__data/iucr/lists/ddlm-group/pdf00001.pdf, with the following change:

(1) triple-quoted strings were returned to the specification as agreed in Montreal, in the form contained in the draft posted at http://www.iucr.org/__data/assets/pdf_file/0020/59420/cif2_syntax_changes-jcb20110728.pdf

Please study the attached EBNF (plain text format) and advise of any errors, omissions or ambiguities.  Note that EBNF is clearly not the best format for machine-generation of parsers, but it should be sufficiently precise and understandable to serve as a foundation document for CIF2.

For those, such as myself, who have not seen the ENBF '-' operator before, the meaning of "A-B" is: all character sequences satisfying A, except those that satisfy B.

My intention is to start producing documentation for CIF2 on the basis of this EBNF, so your earliest comments would be most appreciated.

all the best,
James.

--
T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148



--
T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148
_______________________________________________
ddlm-group mailing list
ddlm-group@iucr.org
http://mailman.iucr.org/mailman/listinfo/ddlm-group

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.