본문으로 바로가기

Torb 0.1

category Tcl & Tk/확장 패키지 (Extension Package) 2025. 2. 17. 10:59

홈페이지 : http://www.pythontech.co.uk/torb/

Tcl과 CORBA의 인터페이스 확장 패키지입니다.

This an ALPHA release of the software, viz. demonstration of concept and not advised for use in a real project. There are known to be many omissions; interfaces are almost guaranteed to change between versions; there's very little documentation, and what there is may be wrong. All I can say is it worked for two trivial examples on my machine (GNU/linux-i386).

% load torb.so Torb
%
% set ior IOR:01f2ffbf13000...
% # Initialise the ORB
% torb init
% 
% # Convert the IOR to an object reference
% set echo [torb string_to_object $ior]
torb_obj1
%
% # Note torb_obj1 is the object reference within Tcl.  It's also been
% # defined as a command, though currently the only marginally useful
% # thing you can do with the command at the moment is:
% $echo _hash 1000000
294819
%
% # That was exciting wasn't it?
% # Right, let's do the echoString call using the DII interface.
% # We tell it the types of in and out arguments, i.e. one string
% # input, outputs are an Object and a long.
% torb dii $echo echoString {0} {O l} "wibble"
torb_obj2 65
%
% # Note it's returned a list: first element is another object
% # reference, second is a long value.

torb-0.1.tar.gz
0.03MB

'Tcl & Tk > 확장 패키지 (Extension Package)' 카테고리의 다른 글

TclExcept 2.0  (0) 2025.02.17
Tcl Send for Windows 1.5  (0) 2025.02.17
wxTcl 0.3 Beta  (0) 2025.02.14
Hdc 0.2.0.1  (0) 2025.02.14
Gdi 0.9.9.11  (0) 2025.02.14