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

Putting aside personal taste, I can see that using a completely different token as a delimiter
will markedly reduce the chances that eliding will actually need to be employed in order to accommodate
all the delimiters in a data value. So changing to e.g. `` instead of ''' etc. may indeed allow us to
drop the python discussion completely - dropping all the extra 'baggage' that comes with python?

Perhaps F' with `` is the way forward - I dont imagine many (any) CIFs contain `` ?

Cheers

Simon


From: James Hester <jamesrhester@gmail.com>
To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
Sent: Monday, 28 February, 2011 5:51:32
Subject: Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding

Proposal G is derived from F', which has the simple rule that n
backslashes before <eol> is replaced by n-1 backslashes and <eol>
unless there is only 1 backslash, in which case both backslash and
<eol> are removed.  So the internal representations of these three
strings are:

<start>line 1 line 2<finish>

<start>line 1 \
line 2<finish>

<start>line 1 \\
line 2<finish>


On Mon, Feb 28, 2011 at 12:22 PM, Herbert J. Bernstein
<yaya@bernstein-plus-sons.com> wrote:
> To avoid any misunderstandings, please clarify the meaning of
>
> ``line 1 \
> line 2``
>
> ``line 1 \\
> line 2``
>
> ``line 1 \\\
> line 2``
>
> under proposal G
>
>
>
>
> At 8:41 AM +1100 2/28/11, James Hester wrote:
>>Dear DDLm-ers,
>>
>>Note the forwarded message from Ralf below - he is suggesting Proposal
>>G with double backquote (grave accent) as a delimiter.
>>
>>---------- Forwarded message ----------
>>From: Ralf W. Grosse-Kunstleve <rwgk@cci.lbl.gov>
>>Date: Fri, Feb 25, 2011 at 3:51 PM
>>Subject: Re: Fwd: Searching for a compromise on eliding
>>To: jamesrhester@gmail.com
>>Cc: rwgk@cci.lbl.gov
>>
>>
>>Hi James,
>>
>>P' looks good to me, G better. How about
>>
>>``Hello world``
>>
>>``\as \many \backslash \as \you \like \but \watch \
>>\out \at \end \of \line``
>>
>>``embedded `\
>>` are not a problem, too``
>>
>>Ralf
>>
>>
>>
>>--
>>T +61 (02) 9717 9907
>>F +61 (02) 9717 3145
>>M +61 (04) 0249 4148
>>_______________________________________________
>>ddlm-group mailing list
>>ddlm-group@iucr.org
>>http://scripts.iucr.org/mailman/listinfo/ddlm-group
>
>
> --
> =====================================================
>  Herbert J. Bernstein, Professor of Computer Science
>    Dowling College, Kramer Science Center, KSC 121
>         Idle Hour Blvd, Oakdale, NY, 11769
>
>                  +1-631-244-3035
>                  yaya@dowling.edu
> =====================================================
> _______________________________________________
> ddlm-group mailing list
> ddlm-group@iucr.org
> http://scripts.iucr.org/mailman/listinfo/ddlm-group
>



--
T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148
_______________________________________________
ddlm-group mailing list
ddlm-group@iucr.org
http://scripts.iucr.org/mailman/listinfo/ddlm-group
_______________________________________________
ddlm-group mailing list
ddlm-group@iucr.org
http://scripts.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.