Path: csiph.com!aioe.org!.POSTED!not-for-mail From: Rod Pemberton Newsgroups: comp.lang.forth Subject: Re: EXIT THEN Date: Thu, 26 Jan 2017 22:40:25 -0500 Organization: Aioe.org NNTP Server Lines: 37 Message-ID: <20170126224025.3e2a939d@_> References: <-v2dnZuEkpaEfB_FnZ2dnUU7-RPNnZ2d@supernews.com> <1389d119-e2c7-4321-8e54-646107bf6260@googlegroups.com> <1f9ajev8xnr0g$.15x5t2mum0u1d$.dlg@40tude.net> <2017Jan25.081636@mips.complang.tuwien.ac.at> <2017Jan25.175513@mips.complang.tuwien.ac.at> NNTP-Posting-Host: n4wpt9zq8xR26Ttf9mo2BA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Claws Mail 3.13.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) Xref: csiph.com comp.lang.forth:54447 On Wed, 25 Jan 2017 09:53:18 -1000 "Elizabeth D. Rather" wrote: > On 1/25/17 6:55 AM, Anton Ertl wrote: > > rickman writes: > >> On 1/25/2017 2:16 AM, Anton Ertl wrote: > >>> rickman writes: > >>>> So how is [COMPILE] different from postpone? > >>> > >>> "[COMPILE] +" is equivalent to "+", not to "POSTPONE +"; and > >>> likewise for all other words with default compilation semantics > >>> (approximately non-immediate words). > >> > >> If "[COMPILE] +" is equivalent to "+", why would anyone use > >> "[COMPILE] +"? > > > > What makes you think that anybody uses "[COMPILE] +"? > He likely meant "COMPILE +", or, at least, I assumed so ... > [COMPILE] was formerly the only to postpone compilation of immediate > words: use COMPILE for non-immediate words, and [CPMPILE] for typo [COMPILE] > immediate words. This required you to know what words were immediate, > and not all implementations agreed on that. Forth94 resolved the > problem by adding POSTPONE. They should've called it COMPILES . That would've saved plenty of headaches. Rod Pemberton