home bbs files messages ]

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

   comp.programming      Programming issues that transcend langua      57,431 messages   

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

   Message 56,949 of 57,431   
   Stefan Ram to Richard Heathfield   
   Re: Scanning   
   19 Jan 23 13:38:36   
   
   From: ram@zedat.fu-berlin.de   
      
   Richard Heathfield  writes:   
   >This was a perennial comp.lang.c topic back in the day.   
      
     But what about writing a scanner in languages with automatic   
     memory management where reading a whole line is very simple   
     and assuming an input language that limits line length to   
     some reasonable value, say, 1,000,000 characters?   
      
     In such a language, would there still be reasons not to   
     read the whole line into memory, but to read it char-by-char   
     as traditional scanners do?   
      
   --- 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