Discussion List Archives

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

Re: Problems with CIF BNF

To answer my own question about end-of-line and end-of-file issues, I 
found that the section on <EOL> discusses the case of an unterminated 
last line, as well as new-line character differences. The actual 
behavior is undefined for anything except lines ending in native 
new-line marks, but with a suggestion that foreign new-lines and various 
types of line termination at EOF should be tolerated.

In general, it is better to think of CIF as a series of line-records 
where trailing spaces is insignificant (i.e. Fortran I/O). Likewise, it 
might be better to think of multi-line strings as a list/array of 
strings. The current definition is messy, where a single final backslash 
has no significance.


comcifs 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.