[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
Re: [ddlm-group] String concatenation operator in CIF2. .
- To: ddlm-group <ddlm-group@iucr.org>
- Subject: Re: [ddlm-group] String concatenation operator in CIF2. .
- From: "Bollinger, John C" <John.Bollinger@STJUDE.ORG>
- Date: Thu, 14 Oct 2010 11:21:35 -0500
- Accept-Language: en-US
- acceptlanguage: en-US
- In-Reply-To: <AANLkTimq3EvbmB7SSz1phMNxuLk7srvyF2eUPCB=n1YS@mail.gmail.com>
- References: <AANLkTimq3EvbmB7SSz1phMNxuLk7srvyF2eUPCB=n1YS@mail.gmail.com>
On Thursday, October 14, 2010 7:48 AM, James Hester wrote: >There are three separate issues: (1) do we want a string concatenation >operator? (2) If so, what is the grammar for this operator (3) what >character(s) will be used for this operator? [...] >Regarding the particular grammar of concatenation, I believe we are >all in agreement that the concatenation operator should be separated >by whitespace from all neighbouring tokens. Again: unless there are >objections soon, we can also declare the grammar for the operator to >have been accepted. Provided that a concatenation operator is in fact accepted into the language, I do agree that it should be separated by whitespace on both sides. > Incidentally, do we all agree that _item_q and >_item_s in the following have the same value? > >=================== >data_testblock >_item_q 3 <concat> 4 >_item_s 34 >=================== I think there is a question as to whether that would be a well-formed CIF at all. As I understood the proposal, the concatenation operator was applicable only to quote-delimited strings, not to whitespace-delimited ones. I'm not sure whether it's intended to be applicable to triple-quote-delimited strings and / or text blocks. If the concatenation operator were applicable to whitespace-delimited strings, then I agree that _item_q and _item_s in your example would have the same value. That would be another reason to disfavor + as the operator. Regards, John -- John C. Bollinger, Ph.D. Department of Structural Biology St. Jude Children's Research Hospital Email Disclaimer: www.stjude.org/emaildisclaimer _______________________________________________ ddlm-group mailing list ddlm-group@iucr.org http://scripts.iucr.org/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- References:
- [ddlm-group] String concatenation operator in CIF2 (James Hester)
- Prev by Date: Re: [ddlm-group] String concatenation operator in CIF2
- Next by Date: Re: [ddlm-group] String concatenation operator in CIF2
- Prev by thread: Re: [ddlm-group] String concatenation operator in CIF2. .
- Next by thread: Re: [ddlm-group] String concatenation operator in CIF2. .
- Index(es):