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 2,644 of 2,753   
   Jon Forrest to All   
   Basic Lexing Question   
   29 Jun 22 10:11:54   
   
   From: nobozo@gmail.com   
      
   The following line is from a makefile accepted by gmake:   
      
   onefile: $(AVAR)   
      
   I'm wondering what the ramification are of lexing what's on the right of the   
   colon as a single string and then breaking it apart later, as opposed to   
   returning a more detailed sequence of tokens, such as DOLLAR LPAREN NAME   
   RPAREN.   
      
   gmake appears to do the former, I'm guessing because it means a simpler   
   grammar but that seems like just postponing the hard work until later.   
      
   Cordially,   
   Jon Forrest   
      
   --- 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