Migrating Tcl system to Python

Cameron Laird claird at starbase.neosoft.com
Sun Apr 9 23:26:25 CEST 2000


In article <248819a8.00d5228e at usw-ex0106-045.remarq.com>,
Hamish Lawson  <hamish_lawson at yahoo.co.uk> wrote:
>Cameron Laird wrote:
>
>[Stuff about communicating between Tcl and Python.]
>
>> Minotaur. CORBA. ILU. COM, maybe. Pipes. Named pipes.
>
>The systems will be on Linux so COM is out but the rest are
>possibilities. As far as I can see, one of the main issues in
>communicating between Tcl and Python will be how to handle
>passing lists and dictionaries (arrays in Tcl). XML-RPC manages
>this automatically and although I don't have any experience with
>either CORBA or ILU, I imagine they do too. If I were to use a
>pipe approach, there would presumably be a need for a layer to
>translate between Tcl's and Python's representations of data
>structures; though I think this might be reasonably simple, are
>there solutions already available, or issues I'd need to be
>aware of?
			.
			.
			.
You're right in everything you say; XML-RPC, ILU,
and CORBA handle things nicely, but I can think of
no effective semantic translator specifically for
the case of exchanging lists and dictionaries through
pipes.
-- 

Cameron Laird <claird at NeoSoft.com>
Business:  http://www.Phaseit.net
Personal:  http://starbase.neosoft.com/~claird/home.html



More information about the Python-list mailing list