Path: csiph.com!news.mixmin.net!news.albasani.net!feeder.erje.net!1.eu.feeder.erje.net!fu-berlin.de!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail From: Lars Brinkhoff Newsgroups: comp.lang.forth Subject: Re: Question about checking the stack Organization: nocrew References: Date: Wed, 25 Nov 2015 07:46:29 +0100 Message-ID: <8637vuwp8a.fsf@vps34351.public.cloudvps.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:Lkfn/Ui4gnCWOjxmJkK29GRk8Hg= MIME-Version: 1.0 Content-Type: text/plain Lines: 13 NNTP-Posting-Host: 178.18.91.250 X-Trace: news.sunsite.dk DXC=jl_f5NJOb_KK0]X@\@M^fKYSB=nbEKnkKiAGkM7RI@nFnY:6X7^ZBNGI57e>YZ9SOK1HBfORCSCcCD5J_h8H;EFCo0:cEK^LjKN X-Complaints-To: staff@sunsite.dk Xref: csiph.com comp.lang.forth:43726 Chris Curl writes: > For you guys who have implemented your own Forths ... when do you > check the stack? Same as SP-Forth: after interpreting each word. The traditional (FIG Forth and others?) name is ?STACK, for what that's worth. Also there's !CSP and ?CSP for checking that colon definitions are balanced with respect to control structures. They are mentioned here: http://pfe.sourceforge.net/pfe-wordsets/tools_misc.html http://github.com/larsbrinkhoff/forth-documents/blob/master/figForth-glossary.txt