Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.m-online.net!.POSTED!not-for-mail From: Joachim Merkel Newsgroups: comp.lang.forth Subject: Re: TclForth Notes: Always Compiling, Forth without STATE Date: Sun, 30 Nov 2014 22:20:00 +0100 Organization: (posted via) M-net Telekommunikations GmbH Lines: 46 Message-ID: References: NNTP-Posting-Host: ppp-83-171-145-102.dynamic.mnet-online.de Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: news.m-online.net 1417382446 31837 83.171.145.102 (30 Nov 2014 21:20:46 GMT) X-Complaints-To: news@news.m-online.net NNTP-Posting-Date: Sun, 30 Nov 2014 21:20:46 +0000 (UTC) Xref: csiph.com comp.lang.forth:34727 Hi, sorry for late posting. Wolf Wejgaard wrote 08 Oct. 2014: > [...] I just tested it -- and learned that > '[' and ']' are still missing in TclForth source V052 -- so I added > them with these two lines. > Compiler [ appendcode \[ > Compiler ] appendcode "\] " > The Forth script > : test { -- } [ 1 2 + . ] ." We gaan naar Rome" ; > is compiled to the Tcl script > proc test {} { > [push 1 ; push 2 ; + ; .. ; ] push "We gaan naar Rome" ; > print [pop] ; > } > and later passed to Tcl for execution. Trying with TclForth V052: ok> Compiler [ appendcode \[ ok> Compiler ] appendcode "\] " ok> : test { -- } [ 1 2 + . ] ." We gaan naar Rome" ; ok> test 3 ? invalid command name "" ok> BTW. I like HolonU and it's intensively in use here understanding my old PowerBasic-programs again after fine-grain modularizing them. Nice Work indeed, I'm very thankful you've shared your work. Now I puzzle about tcl/tk over a year and try to understand TclForth too. I'm not going to be a script-kid, but deeper understanding of this stuff seems valuable to me and makes fun. Salut _)oachim