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,951 messages   

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

   Message 117,721 of 117,951   
   albert@spenarnc.xs4all.nl to dxforth@gmail.com   
   Re: Eagle features (Was: Division on ris   
   17 Nov 25 13:28:36   
   
   In article <691a6906$1@news.ausics.net>, dxf   wrote:   
   >On 17/11/2025 3:13 am, Anton Ertl wrote:   
   >> minforth  writes:   
   >>> Quotations are rather unwieldy for normal users,   
   >>   
   >> That's funny, because the more common complaint has been that they are   
   >> just syntactic sugar that offer no functional benefit compared to   
   >> putting the definition in a named word, and ticking that.  The latter   
   >> is true, but as Stephen Pelc says, notation matters.   
   >> ...   
   >   
   >Only yesterday I was working with code containing quotations.  What jumped   
   >at me (which I'd known from previous experience) is what a PITA they are to   
   >document.  Unwieldy?  You couldn't pay me enough.  I'd rather work with   
   >:NONAMEs (lesser of the nameless evils).  Even H.P. Lovecraft was forced to   
   >name his.  What use is a god that doesn't have a name?   
   >   
   \ An example from MANX   
   \ SILVER is the instrument met aluminium tubes metallophone.   
   \ REALTIME-TASKS is a set of task that must be executed as soon   
   \ as they are viable.   
   \-----------------------------   
   \ Activate or deactivate the hammer of EVENT.   
   : TOGGLE-NOTE-SILVER   SILVER-DATA SILVER-INTERFACE ADVANCE-NOTE ;   
      
   \ The real time action of the silver tingle.   
   : RT-SILVER   SILVER-QUEUE ['] TOGGLE-NOTE-SILVER TRY ;   
      
   ' RT-SILVER REALTIME-TASKS SET+   
   \-----------------------------   
      
   With anonumous quotation  { } this becomes   
      
   \ The real time action of the silver tingle.   
   { SILVER-QUEUE { SILVER-DATA SILVER-INTERFACE ADVANCE-NOTE } TRY }   
   REALTIME-TASKS SET+   
      
   At least it is more compact. More readable? At least it doesn't waste   
   dictionary space and burden the memory.   
      
   "ORANG UTAN" works in both interpretation state and compilation state.   
   { } should do too.   
      
   SILVER-QUEUE SILVER-DATA and SILVER-DATA makes an object current.   
   It serves the same purpose as dragging the whole environment into   
   a quotation, but much cleaner.   
      
   In words:   
   We add an attempt to execute an event present in the silverqueue.   
   The action is beginning and terminating a note, in the context of   
   SILVER-DATA (determines which note couple to a midi event)   
   and SILVER-INTERFACE (how the parallel port is to be controlled for   
   the silver metallophone.)   
      
   Groetjes Albert   
   --   
   The Chinese government is satisfied with its military superiority over USA.   
   The next 5 year plan has as primary goal to advance life expectancy   
   over 80 years, like Western Europe.   
      
   --- 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