home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 116,659 of 117,927   
   Ruvim to Paul Rubin   
   Re: VALUE and TO implementation   
   04 Aug 24 16:19:28   
   
   From: ruvim.pinka@gmail.com   
      
   On 2024-08-04 12:05, Paul Rubin wrote:   
   > mhx@iae.nl (mhx) writes:   
   >> Am I the only one that thinks parsing words are an incredible nuisance?   
   >   
   > I haven't followed this whole thing and didn't realize a sane   
   > non-parsing TO was even possible.  I've sometimes thought of a version   
   > of VALUE that makes two separate words, for reading and writing the   
   > value:   
   >   
   > 17 XVALUE foo   
   >   
   > creates two words, "?foo" and "!foo".  ?foo pushes the value from foo   
   > (initially 17) onto the stack.  !foo moves TOS to foo.   
      
   I use this approach, but with "foo" instead of "?foo".   
      
   A standard-compliant implementation:   
      
      
      
   --   
   Ruvim   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca