[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
From: Herbert J. Bernstein <yaya@bernstein-plus-sons.com>
To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
Sent: Saturday, 15 January, 2011 22:57:17
Subject: Re: [ddlm-group] Relationship asmong CIF2, STAR, CIF1 and Python. .
Dear Simon,
But dREL already shares much of Python syntax and data structures,
but, being significantly mutated, lacks the software support and
documentation that Python has. Anyone who has to work with the
methods in a DDLm dictionary would be much better off if we
simply made Python work with DDLm. We would gain large libraries
of pre-written utilities, tools to test code fragments interactively,
and a lot more time to do science or whatever we are actually
funded to do.
Regards,
Herbert
At 10:35 PM +0000 1/15/11, SIMON WESTRIP wrote:
>As far as I can see, parsing DDLm into an object stucture is fairly
>uncomplicated;
>the hurdle is parsing the dREL script as a method of the object.
>Unless working with python, I'm not sure that adopting python syntax
>for DDLm/CIF
>is of any great benefit; likewise for dREL.
>
>That said, I have yet to actually do anything with DDLm, let alone
>dREL, so I may be
>well off the mark. But even if this is the case, I suspect there
>will be non-python programmers out
>there that have cause to work with CIF and similarly will see no
>obvious benefit in
>CIF sharing python syntax (especially if it only adopts it for one
>set of delimiters at the
>data-source level).
>
>Cheers
>
>Simon
>
>
>
>From: Herbert J. Bernstein <yaya@bernstein-plus-sons.com>
>To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
>Sent: Saturday, 15 January, 2011 21:16:59
>Subject: Re: [ddlm-group] Relationship asmong CIF2, STAR, CIF1 and Python. .
>
>At 12:43 PM +0000 1/15/11, Brian McMahon wrote:
>>It might be worth remarking (again) that dREL is being developed as a
>>canonical methods description language, and not necessarily the runtime
>>methods evaluator of choice for future applications. It may be that in
>>practice future methods are initially developed and most frequently
>>executed directly in Python or some other language. As I see it, the
>>goal of CIF and DDL evolution is not to exclude such a possibility.
>
>If we are trying to be Python friendly and much of dREL is derived
>from a Jython implementation, I don't understand why we are not
>conforming dREL, DDLm and CIF2 to Python conventions as closely as
>possible.
>
>
>
>
>
>
>
>At 12:43 PM +0000 1/15/11, Brian McMahon wrote:
>>On Thu, Jan 13, 2011 at 05:35:21PM -0600, Bollinger, John C wrote:
>>>
>>> (snip)
>>>
>>> CIF2 <=> CIF1:
>>> To the greatest extent feasible, well-formed CIF1 documents should be
>>> well-formed CIF2 documents (modulo a CIF version identification
>>> signature) having the same meaning.
>>
>>Agreed.
>>
>>> CIF2 <=> STAR:
>>> Inasmuch as CIF1 is derived from STAR, I think it appropriate for CIF2
>>> to look first to STAR, including its post-CIF1 development, for new
>>> features it may need. Even if CIF2 is not 100% compatible with STAR, it
>>> is worthwhile to avoid diverging without compelling reason.
>>
>>Agreed
>>
>>> CIF2 <=> Python:
>>> I see no particular reason for any formal relationship here beyond
>>> Python's role as the indirect inspiration for CIF2's new
>>> triple-quote syntax. I am wary of the idea of tying CIF tightly to
>>> a particular language. CIF2 documents are not and never will be
>>> Python programs. I could imagine embedding Python in CIF or vise
>>> versa, but I have seen no evidence to suggest that greater similarity
>>> between the two languages' syntax and semantics would benefit efforts
>>> such as those.
>>
>>Agreed. As I mention elsewhere, there is a greater influence on the
>>prototype dREL (arising from the initial Jython implementation), and
>>the list and table data types doubtless arise from that also.
>>
>>It might be worth remarking (again) that dREL is being developed as a
>>canonical methods description language, and not necessarily the runtime
>>methods evaluator of choice for future applications. It may be that in
> >practice future methods are initially developed and most frequently
>>executed directly in Python or some other language. As I see it, the
>>goal of CIF and DDL evolution is not to exclude such a possibility.
>>
>>Regards
>>Brian
>>_______________________________________________
>>ddlm-group mailing list
>><mailto:ddlm-group@iucr.org>ddlm-group@iucr.org
>><http://scripts.iucr.org/mailman/listinfo/ddlm-group>http://scripts.iucr.org/mailman/listinfo/ddlm-group
>
>
>--
>=====================================================
> Herbert J. Bernstein, Professor of Computer Science
> Dowling College, Kramer Science Center, KSC 121
> Idle Hour Blvd, Oakdale, NY, 11769
>
> +1-631-244-3035
> <mailto:yaya@dowling.edu>yaya@dowling.edu
>=====================================================
>_______________________________________________
>ddlm-group mailing list
><mailto:ddlm-group@iucr.org>ddlm-group@iucr.org
><http://scripts.iucr.org/mailman/listinfo/ddlm-group>http://scripts.iucr.org/mailman/listinfo/ddlm-group
>
>
>_______________________________________________
>ddlm-group mailing list
>ddlm-group@iucr.org
>http://scripts.iucr.org/mailman/listinfo/ddlm-group
--
=====================================================
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
=====================================================
_______________________________________________
ddlm-group mailing list
ddlm-group@iucr.org
http://scripts.iucr.org/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. .
- To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
- Subject: Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. .
- From: SIMON WESTRIP <simonwestrip@btinternet.com>
- Date: Sat, 15 Jan 2011 23:08:19 +0000 (GMT)
- In-Reply-To: <a06240800c957d517a29e@[192.168.2.102]>
- References: <alpine.BSF.2.00.1101120536370.71134@epsilon.pair.com><AANLkTimA8+YXbJ8yS0AtKgFjq9221oMFjR6habn6DsXR@mail.gmail.com><alpine.BSF.2.00.1101120834010.42232@epsilon.pair.com><8F77913624F7524AACD2A92EAF3BFA54166D7D1EA8@SJMEMXMBS11.stjude.sjcrh.local> <alpine.BSF.2.00.1101121400400.85750@epsilon.pair.com><alpine.BSF.2.00.1101121556380.31518@epsilon.pair.com><698308.91583.qm@web87015.mail.ird.yahoo.com><alpine.BSF.2.00.1101121845060.90622@epsilon.pair.com><alpine.BSF.2.00.1101131202050.27153@epsilon.pair.com><8F77913624F7524AACD2A92EAF3BFA54166D7D1EB8@SJMEMXMBS11.stjude.sjcrh.local> <20110115124309.GC238@emerald.iucr.org><a06240800c957bd6d16ee@[192.168.2.102]><852149.16036.qm@web87006.mail.ird.yahoo.com><a06240800c957d517a29e@[192.168.2.102]>
True - but I can't see dREL becoming pyREL at this stage?
From: Herbert J. Bernstein <yaya@bernstein-plus-sons.com>
To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
Sent: Saturday, 15 January, 2011 22:57:17
Subject: Re: [ddlm-group] Relationship asmong CIF2, STAR, CIF1 and Python. .
Dear Simon,
But dREL already shares much of Python syntax and data structures,
but, being significantly mutated, lacks the software support and
documentation that Python has. Anyone who has to work with the
methods in a DDLm dictionary would be much better off if we
simply made Python work with DDLm. We would gain large libraries
of pre-written utilities, tools to test code fragments interactively,
and a lot more time to do science or whatever we are actually
funded to do.
Regards,
Herbert
At 10:35 PM +0000 1/15/11, SIMON WESTRIP wrote:
>As far as I can see, parsing DDLm into an object stucture is fairly
>uncomplicated;
>the hurdle is parsing the dREL script as a method of the object.
>Unless working with python, I'm not sure that adopting python syntax
>for DDLm/CIF
>is of any great benefit; likewise for dREL.
>
>That said, I have yet to actually do anything with DDLm, let alone
>dREL, so I may be
>well off the mark. But even if this is the case, I suspect there
>will be non-python programmers out
>there that have cause to work with CIF and similarly will see no
>obvious benefit in
>CIF sharing python syntax (especially if it only adopts it for one
>set of delimiters at the
>data-source level).
>
>Cheers
>
>Simon
>
>
>
>From: Herbert J. Bernstein <yaya@bernstein-plus-sons.com>
>To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
>Sent: Saturday, 15 January, 2011 21:16:59
>Subject: Re: [ddlm-group] Relationship asmong CIF2, STAR, CIF1 and Python. .
>
>At 12:43 PM +0000 1/15/11, Brian McMahon wrote:
>>It might be worth remarking (again) that dREL is being developed as a
>>canonical methods description language, and not necessarily the runtime
>>methods evaluator of choice for future applications. It may be that in
>>practice future methods are initially developed and most frequently
>>executed directly in Python or some other language. As I see it, the
>>goal of CIF and DDL evolution is not to exclude such a possibility.
>
>If we are trying to be Python friendly and much of dREL is derived
>from a Jython implementation, I don't understand why we are not
>conforming dREL, DDLm and CIF2 to Python conventions as closely as
>possible.
>
>
>
>
>
>
>
>At 12:43 PM +0000 1/15/11, Brian McMahon wrote:
>>On Thu, Jan 13, 2011 at 05:35:21PM -0600, Bollinger, John C wrote:
>>>
>>> (snip)
>>>
>>> CIF2 <=> CIF1:
>>> To the greatest extent feasible, well-formed CIF1 documents should be
>>> well-formed CIF2 documents (modulo a CIF version identification
>>> signature) having the same meaning.
>>
>>Agreed.
>>
>>> CIF2 <=> STAR:
>>> Inasmuch as CIF1 is derived from STAR, I think it appropriate for CIF2
>>> to look first to STAR, including its post-CIF1 development, for new
>>> features it may need. Even if CIF2 is not 100% compatible with STAR, it
>>> is worthwhile to avoid diverging without compelling reason.
>>
>>Agreed
>>
>>> CIF2 <=> Python:
>>> I see no particular reason for any formal relationship here beyond
>>> Python's role as the indirect inspiration for CIF2's new
>>> triple-quote syntax. I am wary of the idea of tying CIF tightly to
>>> a particular language. CIF2 documents are not and never will be
>>> Python programs. I could imagine embedding Python in CIF or vise
>>> versa, but I have seen no evidence to suggest that greater similarity
>>> between the two languages' syntax and semantics would benefit efforts
>>> such as those.
>>
>>Agreed. As I mention elsewhere, there is a greater influence on the
>>prototype dREL (arising from the initial Jython implementation), and
>>the list and table data types doubtless arise from that also.
>>
>>It might be worth remarking (again) that dREL is being developed as a
>>canonical methods description language, and not necessarily the runtime
>>methods evaluator of choice for future applications. It may be that in
> >practice future methods are initially developed and most frequently
>>executed directly in Python or some other language. As I see it, the
>>goal of CIF and DDL evolution is not to exclude such a possibility.
>>
>>Regards
>>Brian
>>_______________________________________________
>>ddlm-group mailing list
>><mailto:ddlm-group@iucr.org>ddlm-group@iucr.org
>><http://scripts.iucr.org/mailman/listinfo/ddlm-group>http://scripts.iucr.org/mailman/listinfo/ddlm-group
>
>
>--
>=====================================================
> Herbert J. Bernstein, Professor of Computer Science
> Dowling College, Kramer Science Center, KSC 121
> Idle Hour Blvd, Oakdale, NY, 11769
>
> +1-631-244-3035
> <mailto:yaya@dowling.edu>yaya@dowling.edu
>=====================================================
>_______________________________________________
>ddlm-group mailing list
><mailto:ddlm-group@iucr.org>ddlm-group@iucr.org
><http://scripts.iucr.org/mailman/listinfo/ddlm-group>http://scripts.iucr.org/mailman/listinfo/ddlm-group
>
>
>_______________________________________________
>ddlm-group mailing list
>ddlm-group@iucr.org
>http://scripts.iucr.org/mailman/listinfo/ddlm-group
--
=====================================================
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
=====================================================
_______________________________________________
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
Reply to: [list | sender only]
- Follow-Ups:
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (John Westbrook)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (Herbert J. Bernstein)
- References:
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- Re: [ddlm-group] Simon's elide proposal (James Hester)
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- Re: [ddlm-group] Simon's elide proposal (Bollinger, John C)
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- Re: [ddlm-group] Simon's elide proposal (SIMON WESTRIP)
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- [ddlm-group] Relationship asmong CIF2, STAR, CIF1 and Python (Herbert J. Bernstein)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (Bollinger, John C)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (Brian McMahon)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (Herbert J. Bernstein)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (SIMON WESTRIP)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (Herbert J. Bernstein)
- Prev by Date: Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. .
- Next by Date: Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. .
- Prev by thread: Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. .
- Next by thread: Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. .
- Index(es):