Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!tut.cis.ohio-state.edu!ucbvax!MITCH.ENG.SUN.COM!wmb From: wmb@MITCH.ENG.SUN.COM Newsgroups: comp.lang.forth Subject: Re: Factoring of CREATE Message-ID: <9008241529.AA27873@ucbvax.Berkeley.EDU> Date: 24 Aug 90 03:51:36 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: wmb%MITCH.ENG.SUN.COM@SCFVM.GSFC.NASA.GOV Organization: The Internet Lines: 21 MB> Of course, this implies that EACH of those "other words" will need string MB> versions too, i.e. $: $VARIABLE $CONSTANT $CODE and any other defining MB> words that are present in one's system. PDS> I'm not sure that's the right way to factor them. Better would be a word PDS> that created an anonymous thing ... and a word that names an object: PDS> : ... ; foo define 3 variable bar define I agree, your way is better. I was pointing out the implications of the $CREATE solution to show its weakness. The problem with your solution (shall we call it the "PostScript way"?) is that it's hard to get there from Forth. It's not hard to implement nor is it technically flawed; it's just that it would be hard to obtain consensus on such a scheme within the Forth community. I think that the QUOTE-TO solution (e.g. " foo" ' : quote-to ) is the best solution that could have a chance of being widely accepted in the Forth community. Mitch