Re: A lesson for compiler warning writers

dww@inf.fu-berlin.de
Sat, 20 Jun 1992 15:05:45 GMT

          From comp.compilers

Related articles
[7 earlier articles]
Re: A lesson for compiler warning writers hays@ssd.intel.com (1992-06-18)
Re: A lesson for compiler warning writers kendall@centerline.com (1992-06-19)
Re: A lesson for compiler warning writers wicklund@intellistor.com (1992-06-18)
Re: A lesson for compiler warning writers dds@doc.imperial.ac.uk (Diomidis Spinellis) (1992-06-19)
Re: A lesson for compiler warning writers hagerman@ece.cmu.edu (1992-06-19)
Re: A lesson for compiler warning writers igor!voltaire!davidm@uunet.UU.NET (1992-06-19)
Re: A lesson for compiler warning writers dww@inf.fu-berlin.de (1992-06-20)
Re: A lesson for compiler warning writers preston@dawn.cs.rice.edu (1992-06-21)
Re: A lesson for compiler warning writers mjr@decuac.DEC.COM (1992-06-22)
Re: A lesson for compiler warning writers prener@watson.ibm.com (1992-06-22)
Re: A lesson for compiler warning writers derek@knosof.uucp (1992-06-22)
Re: A lesson for compiler warning writers kendall@centerline.com (1992-06-23)
Re: A lesson for compiler warning writers rjbodkin@theory.lcs.mit.edu (Ronald Bodkin) (1992-06-23)
[1 later articles]
| List of all articles for this month |

Newsgroups: comp.compilers
From: dww@inf.fu-berlin.de
Keywords: lint, design
Organization: Free University of Berlin
References: <19920609091040SEB1525@MVS.draper.com> 92-06-084
Date: Sat, 20 Jun 1992 15:05:45 GMT

arnold@cc.gatech.edu (Arnold Robbins) writes: and John adds -
>[I've always wondered how hard it would be to have a declarations database
>that compilers could consult and update as they compiled stuff. That must
>be a standard CASE thing. -John]


We built such an animal 'bout 6 years ago at Norsk Data, a company that
has long since gone out of the compiler-making business. It was really
quite easy - you could stop the compiler when the abstract tree was
constructed, and shovel the tree into a database (CODASYL that could be
tweaked to have a relational view) along with the file name and other
information. With the report generator it was child's play to sort the
declare and use of functions together, and we found many of these stupid
errors - like TODAY being an integer function and a longint constant...
Sure would be a nice feature to find in a compiler toolbox!


--
Debora Weber-Wulff dww@inf.fu-berlin.de
Institut fuer Informatik +49 30 89691 124
Nestorstr. 8-9
D-W-1000 Berlin 31
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.