[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
--
T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148
Reply to: [list | sender only]
Re: [ddlm-group] Space as a list item separator>
- To: jwest@rcsb.rutgers.edu, Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
- Subject: Re: [ddlm-group] Space as a list item separator>
- From: James Hester <jamesrhester@gmail.com>
- Date: Tue, 1 Dec 2009 23:31:15 +1100
- In-Reply-To: <4B150BBA.8000806@pdb-mail.rutgers.edu>
- References: <C7398588.126B6%nick@csse.uwa.edu.au><275884.79342.qm@web87006.mail.ird.yahoo.com><84104.25546.qm@web87002.mail.ird.yahoo.com><alpine.BSF.2.00.0911300822020.56763@epsilon.pair.com><alpine.BSF.2.00.0911300835021.56763@epsilon.pair.com><279aad2a0911301433se2d145fi9ac2df69cd047583@mail.gmail.com><279aad2a0911302230v15316aadk9d27c252ce04bfc6@mail.gmail.com><279aad2a0911302252m58914467k7931449848c6c6e6@mail.gmail.com><alpine.BSF.2.00.0912010556370.27482@epsilon.pair.com><4B150BBA.8000806@pdb-mail.rutgers.edu>
On Tue, Dec 1, 2009 at 11:27 PM, John Westbrook <jwest@pdb-mail.rutgers.edu> wrote:
Could I ask for a clarification of the interpretation of a mixed case
such as:
[1, 2, 3 4 ] or [1,2,3 4]
If quote and space are permitted are the above going to satisfy the
syntax requiremens?
John
> ------------------------------------------------------------------------
Herbert J. Bernstein wrote:
> First amending the arguments
>
> To summarise the arguments:
>
> 1. In favour of both space and comma
> - comma is used in some other non-CIF contexts as a list delimiter
> - comma allows a large subset of lists and arrays to be carried
> opaquely in CIF 1 and CIF 1.1 documents.
>
> 2. Against comma:
> - A single type of separator makes the grammar simpler
> - Space is used everywhere else in CIF as a separator (consistency)
> - Comma can then be used in non-delimited strings
>
> Then
>
> I vote for comma and space -- Herbert
>
> =====================================================
> 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
> =====================================================
>
> On Tue, 1 Dec 2009, James Hester wrote:
>
>> Dear CIF2 people: the time has come to vote on the list item separator
>> issue. Firstly: as far as I know, nobody is against space as a
>> separator,
>> so spaces will be possible list item separators. Some may be against
>> commas, so this vote is on whether or not to allow commas.
>>
>> To summarise the arguments:
>>
>> 1. In favour of both space and comma
>> - comma is used in some other non-CIF contexts as a list delimiter
>>
>> 2. Against comma:
>> - A single type of separator makes the grammar simpler
>> - Space is used everywhere else in CIF as a separator (consistency)
>> - Comma can then be used in non-delimited strings
>>
>> Space only: Nick, James (Nick is here)
>> Comma and Space: ?
>>
>> On Tue, Dec 1, 2009 at 5:30 PM, James Hester <jamesrhester@gmail.com>
>> wrote:
>> More specifically, CIF1.1 excludes square brackets as the first
>> character in a non-delimited string.
>>
>>
>> On Tue, Dec 1, 2009 at 9:33 AM, James Hester <jamesrhester@gmail.com>
>> wrote:
>> Dear Herbert: as CIF 1.1 doesn't define lists, I'm not
>> sure why you suggest that the example below is a valid
>> tag.
>>
>> On Tue, Dec 1, 2009 at 12:36 AM, Herbert J. Bernstein
>> <yaya@bernstein-plus-sons.com> wrote:
>> Sorry something got lost in the prior message.
>> It should have
>> read:
>>
>> Dear Colleagues,
>>
>> Back to the question of commas.
>> If you accept the desirability of
>> having a CIF 1.5, commas in lists
>> become very useful. Someone with
>> a CIF 1.1 editor will be able to
>> prepare a CIF 1.5 file for many
>> useful cases by doing all lists
>> with commas and no embedded blanks
>> as long as they can make their
>> lists fit on single lines. In CIF
>> 1.1
>>
>> [[1,2,3],[4,5,6],[7,8,9]]
>>
>> is a valid value for a tag, but
>>
>> [[1 2 3] [4 5 6] [7 8 9]]
>>
>> is not.
>>
>>
>> No, neither example is a valid CIF 1.1 tag. CIF 1.1 explicitly
>> excludes brackets as the first character of a non-delimited
>> string.
>>
>>
>> Having the option of commas in lists
>> will help to smooth the
>> transition for at least some people.
>>
>>
>>
>> --
>> 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
>>
>>
>>
>>
>> --
>> 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
--
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
Reply to: [list | sender only]
- References:
- Re: [ddlm-group] Space as a list item separator (Nick Spadaccini)
- Re: [ddlm-group] Space as a list item separator (SIMON WESTRIP)
- Re: [ddlm-group] Space as a list item separator (SIMON WESTRIP)
- Re: [ddlm-group] Space as a list item separator (Herbert J. Bernstein)
- Re: [ddlm-group] Space as a list item separator (Herbert J. Bernstein)
- Re: [ddlm-group] Space as a list item separator (James Hester)
- Re: [ddlm-group] Space as a list item separator (James Hester)
- Re: [ddlm-group] Space as a list item separator (James Hester)
- Re: [ddlm-group] Space as a list item separator> (Herbert J. Bernstein)
- Re: [ddlm-group] Space as a list item separator> (John Westbrook)
- Prev by Date: Re: [ddlm-group] Space as a list item separator>
- Next by Date: Re: [ddlm-group] Space as a list item separator>
- Prev by thread: Re: [ddlm-group] Space as a list item separator>
- Next by thread: Re: [ddlm-group] Space as a list item separator>
- Index(es):