In article <2025Feb8.124132@mips.complang.tuwien.ac.at>,   
   Anton Ertl wrote:   
      
   >"There's a need for definitions without names" is something completely   
   >different than "named definitions were neither needed nor wanted".   
      
   I see it reversed, and view { } (anonymous code sequence) as fundamental.   
   Assume (CREATE) "name" that creates a named dictionary header and   
   leaves it address. This is general building block for e.g. VARIABLE   
   CONSTANT : .   
   Assume { } that compiles and leaves an executable token.   
   Assume LINK-IN that links in an nt into the current wordlist.   
      
   Then : can be defines as   
   : : (CREATE) POSTPONE { ; \ Leaves "name token" , start compilation.   
   : ; POSTPONE } OVER >R   
    >CFA @ SWAP >CFA ! ( nt nt-temp -- ) \ Copy behaviour "code"   
    R> ( nt , left by : ) LINK-IN ; IMMEDIATE   
      
   There is no "need" for definition without "name", there is only an   
   underlying concept that is more fundamental than the concepts like   
   execution token, name token, definition or what have you.   
      
   >- anton   
      
   Groetjes Albert   
   --   
   Temu exploits Christians: (Disclaimer, only 10 apostles)   
   Last Supper Acrylic Suncatcher - 15Cm Round Stained Glass- Style Wall   
   Art For Home, Office And Garden Decor - Perfect For Windows, Bars,   
   And Gifts For Friends Family And Colleagues.   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|