Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Newsgroups: comp.lang.forth Subject: Re: Simple Strings References: <1a6e0022-1dce-4957-bd91-5b4e8a4acc1c@googlegroups.com> <85r4bn8460.fsf@junk.nocrew.org> From: Lars Brinkhoff Organization: nocrew Date: Wed, 16 Oct 2013 12:11:34 +0200 Message-ID: <85a9i97cfd.fsf@junk.nocrew.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:BXfBlsOCM24ogeC2t2q+zWDDDqE= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 13 NNTP-Posting-Host: 85.229.87.73 X-Trace: news.sunsite.dk DXC=e0X[1bY3CfR0[?SRcYIYmQYSB=nbEKnk[Wkn_e;c]VCWnY:6X7^ZBNWI57e>YZ9SO[i6C];H\kJ`Y5oU@eTA=?MPojoSkGQQIHY X-Complaints-To: staff@sunsite.dk Xref: csiph.com comp.lang.forth:26578 Gerry Jackson wrote: > I think it works OK for simple definitions but not if quotations are > included in control structures e.g. > > : foo if [: ." A quotation" ;] execute then ; > > won't compile on many, if not all, systems Oh, right! I made a correction that saves and restores the control flow stack around the quotation, but it would only work on those rare implementations that use the data stack as the control flow stack.