Discussion List Archives

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

Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding. .

Dear Colleagues,

   While John B. is right about what you _can_ do in writing for
proposals F and GP, remember that F and GP include the \\ elide,
which would then allow sensible users to safely double _all_
backslashes that they want carried through unchanged.  These
people will have a lot less trouble in managing their strings
than people who try to work on the sharp boundary of a
protocol that well may change as CIF2 and DDLm shake down in
real use.  The ability to do this in CIF writers, making for very robust
data, is a strong reason to favor P, P-prime, F and GP, over
F' or G.


At 12:15 PM -0600 2/28/11, Bollinger, John C wrote:
>On Monday, February 28, 2011 10:31 AM, SIMON WESTRIP wrote:
>>As I understand F or F', doubling of backslashes would only really 
>>be required
>>when a literal backslash is needed at the end of a line, because, 
>>as in python,
>>all unrecognized escape sequences are returned 'as is', e.g.
>>  ``\a\b\c\ \'\"`` will be returned as \a\b\c\ \'\" ?
>F' and G would require backslash doubling only when a literal 
>backslash appears at the end of a line.  If a line ends with 
>multiple literal backslashes, then only the last one would or should 
>be doubled.
>F and GP would require backslash doubling when a literal backslash 
>appears at the end of a line, and also when a literal 
>double-backslash appears anywhere (in which case both backslashes 
>would need to be doubled, \\ -> \\\\).  Other backslashes could be 
>doubled for consistency, but that would be optional.
>These proposals all provide for syntax-level line folding and for 
>including arbitrary text.  So also do P, P', and Q.
>>From: Brian McMahon <bm@iucr.org>
>>To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
>>Sent: Monday, 28 February, 2011 15:11:59
>>Subject: Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding
>>I'm still working through my backlog of work and haven't time yet to
>>consider this in detail, but the converstaion has caught my attention:
>>this approach seems to offer us a solution with line-folding and the
>>ability to include arbitrary text. Is that right? If so, persistent
>>doubling of the backslash in cases such as TeX I would consider a
>>minor nuisance compared with the overall gain in functionality.
>Email Disclaimer:  www.stjude.org/emaildisclaimer
>ddlm-group mailing list

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

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.