[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
Re: [ddlm-group] Use of elides in strings
- To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
- Subject: Re: [ddlm-group] Use of elides in strings
- From: James Hester <jamesrhester@gmail.com>
- Date: Mon, 23 Nov 2009 16:20:13 +1100
- In-Reply-To: <alpine.BSF.2.00.0911222302180.68863@epsilon.pair.com>
- References: <C73024F0.12573%nick@csse.uwa.edu.au><alpine.BSF.2.00.0911222302180.68863@epsilon.pair.com>
For what it is worth, I have inserted my understanding of what NIck and I propose as a minimal eliding system, by referring to Nick's previous emails in this thread. The asterisks indicate transformations that we haven't discussed here, as in these cases we have terminator sequences rather than single characters. Other approaches are possible in these cases, as the terminator sequence can be broken up. In these cases custom dictionary-driven eliding is probably much more reasonable, ie. the syntax specification would not provide an eliding mechanism and the cut-and-paste brigade might get a bit more mileage. On Mon, Nov 23, 2009 at 3:13 PM, Herbert J. Bernstein <yaya@bernstein-plus-sons.com> wrote: > I am now totally lost. Please start over with a coherent proposal > for the syntax of a quoted string. In particular, please state > how the following strings will be parsed > > "ab\"cd" -> ab"cd > 'ab\"cd' ab\"cd > "ab\\"cd" ab\"cd > 'ab\\"cd' ab\\"cd > > ;ab\"cd\ (*) > ; > > ;ab\\"cd\\ (*) > ; > > """ab\"""" (*) > """ab\\"""" (*) > > > {"abcd\"":ggg} {abcd":ggg} > {'abcd\"':ggg} {abcd\":ggg} > > "resum\'ee" resum\'e > 'resum\'ee' resum'e -- 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]
- Follow-Ups:
- Re: [ddlm-group] Use of elides in strings (Nick Spadaccini)
- References:
- Re: [ddlm-group] Use of elides in strings (Nick Spadaccini)
- Re: [ddlm-group] Use of elides in strings (Herbert J. Bernstein)
- Prev by Date: Re: [ddlm-group] Use of elides in strings
- Next by Date: Re: [ddlm-group] CIF header
- Prev by thread: Re: [ddlm-group] Use of elides in strings
- Next by thread: Re: [ddlm-group] Use of elides in strings
- Index(es):