Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FORTH accessing Tcl/Tk functionality via DLL in WinXPI

33 views
Skip to first unread message

Richard Owlett

unread,
Oct 5, 2007, 3:30:50 PM10/5/07
to
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 use.

Said ideas *_NOT_* open to discussion ;\

hel...@gmail.com

unread,
Oct 5, 2007, 4:38:13 PM10/5/07
to
On Oct 5, 9:30 pm, Richard Owlett <rowl...@atlascomm.net> 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?

Well you could pass it via sockets to Tcl/Tk. There are lots of
possibilities. Tcl/Tk is written for such tasks ;)

> I make *ABSOLUTELY* _NO_ claim that a sane person would do this.

Why?

> It is
> just a question of how each may talk to other. I've got some VAGUE ideas
> of how that might be use.
>
> Said ideas *_NOT_* open to discussion ;\

iForth should support Tcl/Tk. Somewhere http://home.iae.nl/users/mhx/i4faq.html

Regards,
-Helmar

foxchip

unread,
Oct 5, 2007, 4:41:05 PM10/5/07
to
On Oct 5, 12:30 pm, Richard Owlett <rowl...@atlascomm.net> wrote:
> My goal:
> Explore possibilities of FORTH + Tcl/Tk

I assume you have researched

http://dec.bournemouth.ac.uk/staff/pknaggs/papers/tkforth/index.html


Richard Owlett

unread,
Oct 5, 2007, 7:26:40 PM10/5/07
to
hel...@gmail.com wrote:

How about paying attention to my specification that I wished to use
Tcl/Tk DLL's ???????????????????

Richard Owlett

unread,
Oct 5, 2007, 7:30:52 PM10/5/07
to
foxchip wrote:

No, I had not seen that before.
Thank you for reference.
I've some reading ahead of me.

Mark Stucky

unread,
Oct 5, 2007, 7:33:35 PM10/5/07
to
Richard Owlett wrote:

>
> How about paying attention to my specification that I wished to use
> Tcl/Tk DLL's ???????????????????
>

Maybe I'm being dense, but I didn't see any specification that
you wished "to use Tcl/Tk DLL's"

--Mark

hel...@gmail.com

unread,
Oct 5, 2007, 7:35:59 PM10/5/07
to
> > iForth should support Tcl/Tk. Somewherehttp://home.iae.nl/users/mhx/i4faq.html

>
> > Regards,
> > -Helmar
>
> How about paying attention to my specification that I wished to use
> Tcl/Tk DLL's ???????????????????

Why dont you write your specification?
Reread your mail and tell me where you wrote something about DLLs.

-Helmar

PS: You need some exclamation marks too?

hel...@gmail.com

unread,
Oct 5, 2007, 7:47:41 PM10/5/07
to

Btw, I dont understand completely what you want with "via DLL". Nearly
everything in Windows works somewhat with DLLs. In Tcl you've a main
application loop that "steals" Forth the application loop if you
simply call it. So you've to fork() it out in some way. These two
processes need to communicate. One way are sockets.

Richard Owlett

unread,
Oct 5, 2007, 8:17:50 PM10/5/07
to
Mark Stucky wrote:

Is not subject line "FORTH accessing Tcl/Tk functionality via DLL in
WinXP" ?

0 new messages