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
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.