Article View: comp.lang.misc
Article #6966Re: The programming languages superorganism (Re: CORBA, A big boost for Python?)
From: Barry A. Warsaw
Date: Thu, 24 Jul 1997 00:00
Date: Thu, 24 Jul 1997 00:00
24 lines
2442 bytes
2442 bytes
>>>>> "BB" == Boris Borcic <messy@zipzap.ch> writes:
BB> What I would like and suggest is for Python to open a space
BB> for Tcl code in its syntax by admitting double braces {{....}}
BB> as delimiters for in-lined Tcl.
There have been proposals in the Python StringSIG for syntaxes
supporting alternative string types, e.g. Unicode strings. I seem to
remember that the syntax is something like
X"an X type string, where X==L means Unicode"
If you wanted to be able to inline Tcl code in Python then, the most
natural way I can think would be to have a T"..." string. This
preserves Python's elegant syntax but adds the feature in an
extensible and compatible way. Now whether these strings would be
inlined evaluated or would require an explicit evaluation phase is up
to debate, although I suspect on the latter will pass Guido's muster,
and then what's the difference between that and just embedding Tcl
code in triple-quotes and explicitly evaluating that?
-Barry
Technical Details
Message-ID:
<614t9kmhc8.fsf@cnri.reston.va.us>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<199707222048.QAA23173@dante.mh.lucent.com> <DMB.97Jul23111838@asator.Lanl.GOV> <01bc984d$80646c60$LocalHost@callisto.jupiter>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f891f,785e9ac95dece083 X-Google-Attributes: gidf891f,public X-Google-Thread: 10259a,785e9ac95dece083 X-Google-Attributes: gid10259a,public X-Google-Thread: f72c1,785e9ac95dece083 X-Google-Attributes: gidf72c1,public X-Google-Thread: 10eb76,785e9ac95dece083 X-Google-Attributes: gid10eb76,public X-Google-Thread: f907c,785e9ac95dece083 X-Google-Attributes: gidf907c,public X-Google-Thread: 1025b4,785e9ac95dece083 X-Google-Attributes: gid1025b4,public X-Google-Thread: 103d24,785e9ac95dece083 X-Google-Attributes: gid103d24,public X-Google-Thread: 10dd18,18aa81cc5a91bc3f X-Google-Attributes: gid10dd18,public From: bwarsaw@cnri.reston.va.us (Barry A. Warsaw) Subject: Re: The programming languages superorganism (Re: CORBA, A big boost for Python?) Date: 1997/07/24 Message-ID: <614t9kmhc8.fsf@cnri.reston.va.us> X-Deja-AN: 258563293 Sender: bwarsaw@anthem References: <199707222048.QAA23173@dante.mh.lucent.com> <DMB.97Jul23111838@asator.Lanl.GOV> <01bc984d$80646c60$LocalHost@callisto.jupiter> Organization: Corporation for National Research Initiatives X-Oblique-Strategy: Detour X-Url: http://www.python.org/~bwarsaw X-Attribution: BAW Reply-To: bwarsaw@cnri.reston.va.us (Barry A. Warsaw) Newsgroups: comp.lang.misc,comp.lang.perl,comp.lang.perl.tk,comp.lang.prolog,comp.lang.python,comp.lang.scheme,comp.lang.tcl,gnu.misc.discuss