Hi Peter,
On Thu, Sep 19, 2013 at 10:28:22AM +0100, Peter Keller wrote:
> > http://www.iucr.org/resources/cif/spec/version1.1/cifsyntax#bnf
...
>
> This grammar seems to be based on the 1994 J. Chem. Inf. Comp. Sci one,
> which has some serious errors. I would strongly discourage anyone from
> trying to translate it into input for any kind of parser generator. I
> suggest that you use International Tables vol. G instead (chapter 2.1 or
> section 2.2.7). It is unfortunate that the later, correct, grammar is
I don't have these tables, but could you be more specific what's incorrect
in the version from the IUCR website?
I just googled cif lexers and the two ones I looked into also refer
to the same URL that I used:
cctbx: http://cci.lbl.gov/cctbx_sources/ucif/cif.g
JMol: http://caagt.ugent.be/CaGe/jmol/org/jmol/adapter/smarter/CifReader.RidiculousFileFormatTokenizer.html
If there are discrepancies between IUCR website and IT vol.G and it would
be worth to list them.
Marcin
--
Scanned by iCritical.
|