Call D from TCL

Gary Willoughby via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Feb 3 12:30:28 PST 2016


On Wednesday, 3 February 2016 at 14:19:32 UTC, Vasileios 
Anagnostopoulos wrote:
> Thank you very much. I investigate
>
> Tcl_CmdProc
>
> more closely.
>
> On Wed, Feb 3, 2016 at 3:50 PM, Gary Willoughby via 
> Digitalmars-d-learn < digitalmars-d-learn at puremagic.com> wrote:
>
>> On Wednesday, 3 February 2016 at 12:20:42 UTC, Vasileios 
>> Anagnostopoulos wrote:
>>
>>>[...]
>>
>> I've created a wrapper around Tcl/Tk to create GUI's here:
>>
>> https://github.com/nomad-software/tkd
>>
>> It uses the library found here:
>>
>> https://github.com/nomad-software/tcltk
>>
>> In the project, I've created a simple interpreter which 
>> handles communicating to Tcl here:
>>
>>
>> https://github.com/nomad-software/tkd/blob/master/source/tkd/interpreter/tcl.d
>>
>> There is a method on that class for creating commands for use 
>> in Tcl.

Here's the reference to the C interface:

https://www.tcl.tk/man/tcl/TclLib/contents.htm


More information about the Digitalmars-d-learn mailing list