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,407 of 2,753   
   Hans-Peter Diettrich to All   
   Re: Parsing partial sentences   
   07 Apr 17 11:16:18   
   
   From: DrDiettrich1@netscape.net   
      
   Am 04.04.2017 um 15:05 schrieb Fernando:   
   > Em segunda-feira, 3 de abril de 2017 12:16:18 UTC-3, Hans-Peter Diettrich   
   > escreveu:   
   >> Is there an easy way to parse e.g. C #defines into constants, functions   
   >> or other non-terminals, which are not the goal of the entire grammar?   
      
   >     I am not sure I understood the question, but from the title of the   
   e-mail,   
   > I am assuming that you want to parse C code partially available?   
      
   The purpose is just what I wrote: parse #defines into constructs which   
   can be translated into some other programming language. It shall become   
   part of my C-to-Pascal converter, written in Pascal (OPL).   
      
   DoDi   
      
   --- 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