home bbs files messages ]

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

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

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

   Message 1,138 of 2,753   
   Gene to parthaspand...@gmail.com   
   Re: lex/flex and source correspondence   
   08 Nov 07 03:43:25   
   
   From: gene.ressler@gmail.com   
      
   On Nov 6, 8:54 am, parthaspand...@gmail.com wrote:   
   > A flex generated scanner could decide to store the entire input file   
   > in memory. That way, a single buffer can be used in several places in   
   > the tool chain that uses a scanner. ...   
      
   > [This is a very old idea.  Turbo Pascal buffered full source files in   
   > RAM in the 1980s. -John]   
      
   The C preprocessor of gcc also buffers entire files, or at least did   
   in the version I studied some years ago.  It used a hand-coded   
   scanner, however, not lex/flex.   
      
   --- 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