programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: FORTH accessing Tcl/Tk functionality via DLL in WinXP

From: David McClain <dbm_at_refinedaudiometrics.com>
Date: Fri, 5 Oct 2007 13:13:42 -0700

Hello Richard,
Welcome to Forth!! One way that I have done this sort of thing in
the past is to set up a pipe between the two processes (Forth on one
end, Tcl/Tk on the other end). Then you can issue Tcl/Tk commands
directly from Forth. That way it really makes no difference what
program is generating the Tcl/Tk input. I have done this with Forth,
Lisp, OCaml, C / C++, Dylan, and on and on....

Cheers,

David McClain
Chief Technical Officer
Refined Audiometrics Laboratory
4391 N. Camino Ferreo
Tucson, AZ 85750

email: dbm_at_refined-audiometrics.com
phone: 1.520.390.3995
web: http://www.refined-audiometrics.com

On Oct 5, 2007, at 12:35, Richard Owlett wrote:

> I'm a RAW newbie to Tcl/Tk.
> I'm an inexperienced FORTH programmer.
> [FORTH's attraction is primarily colon definitions]
>
> My environment:
> 1. WinXP Pro SP2
> 2. Tcl/Tk
> a. what is distributed with scilab-4.1
> b. ActiveState's 8.4.14 distribution of Tcl/Tk
> 3. FORTH
> a. SwiftForth 3.0 from FORTH Inc. ( www.forth.com ) active
> b. Win32Forth probably acceptable but not currently installed
>
> My goal:
> Explore possibilities of FORTH + Tcl/Tk
>
> My *IMMEDIATE* question
> After making a calculation in FORTH how do i display it in Tcl/Tk?
>
> I make *ABSOLUTELY* _NO_ claim that a sane person would do this. It is
> just a question of how each may talk to other. I've got some VAGUE
> ideas
> of how that might be useful.
>
> Said ideas *_NOT_* open to discussion ;\
>
> I've posted preliminary version to comp.lang.forth and comp.lang.tcl
>
>
>
>
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
> For list command help, send subject "help" to sftalk-request_at_forth.com
> Message archives are located at http://www.forth.com/archive/sftalk
> ----------------------------------------------------------------------
> This list is a forum for SwiftForth users. For product support and
> bug reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
>
>

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Fri Oct 05 2007 - 13:14:31 PDT

This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:43 PST