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,428 of 2,753   
   Jatin Bhateja to All   
   Re: Semantic difference of source files   
   28 Aug 08 13:05:28   
   
   From: Jatin_Bhateja@mentor.com   
      
   Hi  Michiel,   
      
    >I propose that in addition to comparing modification dates, we selectively   
    >compare AST's (if the source file is newer). At the very least this allows   
    >the programmer to modify style, layout and comments without requiring any   
    >recompilation at all. If the comparison utility is smart enough, you may   
    >even perform trivial refactoring without losing semantic equivalence.   
      
   As per your thought programmer can make cosmetic changes like changing   
   the comments / spaces / tabs / new lines,   
   any such cosmetic change will not lead to re-compilation. How are you   
   going to keep the line number info updated ?   
   It needed by source debugger to refer to correct source line analogous   
   to current assembly/machine instruction .   
      
   --   
   Thanks and Regards   
   Jatin Bhateja   
      
   --- 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