[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
[ddlm-group] Draft of proposed change to syntax document
- To: ddlm-group <[email protected]>
- Subject: [ddlm-group] Draft of proposed change to syntax document
- From: James Hester <[email protected]>
- Date: Wed, 16 Feb 2011 09:40:01 +1100
- Cc: "Ralf W. Grosse-Kunstleve" <[email protected]>
Dear DDLm participants,
Here is a proposed text for a COMCIFS vote. I will mark up the text
and get Brian to post it on the IUCr website following your editorial
comments.
===========
We propose that Change 7 in the current draft is replaced by the following text:
Change 7 - NEW
The ASCII """ sequence (alternatively ASCII ''') delimits the
beginning of a string that may
contain any printable character and whitespace, including embedded
<eol> characters, and is terminated by the first subsequent
""" sequence (alternatively '''). The string can contain separable "
and "" characters, (alternatively ' and '').
Clearly, the string within cannot contain an ASCII """ (or
alternatively ASCII ''').
For example
"""He said "His name is O'Hearly"."""
'''In {\bf \TeX} the accents are \' and \".'''
The string values are,
He said "His name is O'Hearly". and
In {\bf \TeX} the accents are \' and \".
Two speqial character sequences are defined: <backslash><backslash>
and <backslash><eol>.
<backslash><backslash> represents a single <backslash> character.
<backslash><eol> sequences are removed
from the string completely. For example:
"""This string contains a single \\ and \
no newline"""
has string value
This string contains a single \ and no newline
and the string
"""An embedded ""\
" triple-quoted string ""\
" is easy to produce"""
has string value
An embedded """ triple-quoted string """ is easy to produce
===============
--
T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148
_______________________________________________
ddlm-group mailing list
[email protected]
http://scripts.iucr.org/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- Prev by Date: Re: [ddlm-group] Wrapping up the elide discussion
- Next by Date: Re: [ddlm-group] Wrapping up the elide discussion
- Prev by thread: Re: [ddlm-group] Vote on moving elide discussion to COMCIFS. .. .
- Next by thread: [ddlm-group] Wrapping up the elide discussion
- Index(es):

