[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
Re: [ddlm-group] Adding namespaces to dREL
- To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
- Subject: Re: [ddlm-group] Adding namespaces to dREL
- From: "Bollinger, John C" <John.Bollinger@STJUDE.ORG>
- Date: Mon, 30 Nov 2020 15:11:41 +0000
- Accept-Language: en-US
- ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=passsmtp.mailfrom=stjude.org; dmarc=pass action=none header.from=stjude.org;dkim=pass header.d=stjude.org; arc=none
- ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901;h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;bh=Eja3L1rZhl5SnL+TXz9K4/UzJnxIOIh9/8pGxrUb4Zo=;b=AMPlJxKE2DeBJG+9qAE0EU4A6jCDkGwWwbhSJeorrm77RyEIAspy1AASm7gBKb0aXqpp65VnP7NlGogZHE1eD6mzNeO1rSBAOH754z4QJCIaIiO4f/z7rvkJcg0YVUYKjq2HaeTjdk6BwzLqoVbhy/VaVEVsojYR5teCouc4aIlmTQk56Q38gR86XrCS2fZ7YiC4QF7ogv3riGxES9susnieE0a4I7Wq/FI7oa2OhHimLmtKGZrHK97Mr+RfU7Bg34g5DBsUw6OKb9aUpa/Oa/2oDBGrmVOzii1GMg2CWfVd6paB9GUykSaKQ/t3RQVE+yPh9pKIS6QSDPxLXRgM8Q==
- ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;b=TDMyU2EUo9zKn4cjbsgh2DeQkxQOl4fYyxnCwEOYjkNNuPk7cJbN6GEVzIfYVv15snXcH9uN5a5J96yRMl93Pr0dhhlG7G0nFpiaFmKOaUUkQev7UILpT68Rt1B0maiilxnJlNeVHbaA/kdCrJPMMt6eP46SEy89zBRU0SV1TE6h3lUpQbYtDF4EDxCdeT1sKidDtW8xu2xoWFpauWsUdlM6CYvZLRkr3ja1592/MD1gt3x71vI8jDCY596A/kNZVPcDvRISzxA0/Y1ntxJctuQNoQzFGTyswIxRmimfwzLMPvu/8NIXGzO2jRWEpuyXPt1evhYnosi14ODKOdhwBw==
- In-Reply-To: <CABcsX24Yegh9AV6pDFyhOWrGwvYPGUdFWwQDeq=gsqACqjnB_A@mail.gmail.com>
- IronPort-SDR: jfMbdcSRNublZ12Npl1siGlCUOwC2hFjIfBdgd4/djOx96kn9eFw9qS2vrnXGsMKzSsbOo/CRus3XSAFAJaai/oMUlu57IHBy2WM5veQ8PCZ3JV9XF5eUOJMAnvzDhv2vOYC5t4Y8zp6qr61u9TzgY5xM8iSz4TWiNkIaOnl2D5LhgCBS6LU1Kke05qdNWz07nqSl9EYkYfJMhqG6b6rReG9vp/tBGLenSKlp/yPzlHpMC4T6fNctTrb7B9x8wsFL6HtpDK9azApHW/mAyKT1+9Oz4U/ldH+QBodJZ/Qov8=
- References: <CAM+dB2d2QzTkDJe2sNL0t1QbyvLOCc9LduPtVvx25TMwHT2egA@mail.gmail.com>,<CABcsX24Yegh9AV6pDFyhOWrGwvYPGUdFWwQDeq=gsqACqjnB_A@mail.gmail.com>
Dear James and group,
Adding namespacing to dREL is a fine idea. I'm on board.
I'm not so sure about the specific proposed syntax, however. The '|' symbol is tightly associated with alternation (logical and / or bitwise) in my mind, and indeed, it is used (doubled) for that purpose in dREL. There is a variety of other possibilities.
Some that I like better are
- use '::' instead of '|', following the namespace separator convention of C++, Ruby, and a few other languages.
- use '//' instead of '|', like a filesystem path, but with the '/' doubled to avoid ambiguity with the dREL division operator. This is a bit reminiscent of XPath, though XPath does not double the `/'. Python does have
a '//' operator, however, which might be cause for objection.
- use '%' instead of '|'. The association of '%' with the arithmetic modulus operation is not a problem for me because
it seems vaguely thematically consistent.
- reverse the identifier order and use '@' instead of '|', reminiscent of an e-mail address.
Although I like them less, in part because they also have operator associations for me, I would prefer even '!' or '~' over '|'.
Also, a question: do I understand correctly that associating namespace identifiers with dictionaries is left outside the scope of the dREL language itself?
Regards,
John
--
John C. Bollinger, Ph.D., RHCSA
Computing and X-ray Scientist
Department of Structural Biology
St. Jude Children's Research Hospital
From: ddlm-group <ddlm-group-bounces@iucr.org> on behalf of Herbert J. Bernstein <yayahjb@gmail.com>
Sent: Friday, November 27, 2020 8:17 AM To: James Hester <james.r.hester@gmail.com>; Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org> Subject: Re: [ddlm-group] Adding namespaces to dREL
Caution: External Sender. Do not open unless you know the content is safe.
Nice.
On Thu, Nov 26, 2020 at 10:17 PM James Hester <jamesrhester@gmail.com> wrote:
Email Disclaimer: www.stjude.org/emaildisclaimer Consultation Disclaimer: www.stjude.org/consultationdisclaimer |
_______________________________________________ ddlm-group mailing list ddlm-group@iucr.org http://mailman.iucr.org/cgi-bin/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- Follow-Ups:
- Re: [ddlm-group] Adding namespaces to dREL (James Hester)
- References:
- [ddlm-group] Adding namespaces to dREL (James Hester)
- Re: [ddlm-group] Adding namespaces to dREL (Herbert J. Bernstein)
- Prev by Date: Re: [ddlm-group] Adding namespaces to dREL
- Next by Date: Re: [ddlm-group] Adding namespaces to dREL
- Prev by thread: Re: [ddlm-group] Adding namespaces to dREL
- Next by thread: Re: [ddlm-group] Adding namespaces to dREL
- Index(es):