Article View: alt.folklore.computers
Article #620726Re: xref Nostalgia
From: Scott Lurndal
Date: Thu, 01 Mar 2018 18:46
Date: Thu, 01 Mar 2018 18:46
17 lines
2442 bytes
2442 bytes
Gene Wirchenko <ge...@telus.net> writes: >On Thu, 1 Mar 2018 06:24:33 -0700, Peter Flass <peter...@yahoo.com> >wrote: > >[snip] > >>The thing is, the compiler already has all that information, all nicely >>organized. It's trivial to generate the output. The only way to get a >>proper xref is by using a program that recognizes variable scope and >>storage class - although it's *bad* form, I think in C you can have an >>extern or static variable foo and also use different local foo's in a bunch >>of functions. If you have a program that does enough syntax analysis to >>determine this you have the front half of a compiler. The tool can share the YACC/Bison grammer definition (.y) with the compiler, easily enough without being combined with the compiler. c.f. lint.
Technical Details
Message-ID:
<TTXlC.188970$qv.3880@fx33.iad>Path:
mbox-mo1.pugleaf.net!n14ni18751wmi.0!nntp.google.com!goblin3!goblin1!goblin2!goblin.stu.neva.ru!peer03.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!post01.iad!fx33.iad.POSTED!not-for-mailReferences:
<fennrjFber7U1@mid.individual.net> <slrnp98rhs.eu5.grahn+nntp@frailea.sa.invalid> <1463069258.541386219.019217.peter_flass-yahoo.com@news.eternal-september.org> <slrnp9e76p.eu5.grahn+nntp@frailea.sa.invalid> <p77oom$r49$1@gal.iecc.com> <slrnp9fnsm.eu5.grahn+nntp@frailea.sa.invalid> <821602353.541603064.293983.peter_flass-yahoo.com@news.eternal-september.org> <0jgg9ddi83ootvdutb1vg41isra394q1kf@4ax.com>Show Full Headers
Complete Article Headers
X-Received: by 10.28.202.2 with SMTP id a2mr348044wmg.20.1519929973348; Thu, 01 Mar 2018 10:46:13 -0800 (PST) X-BeenThere: alt.folklore.computers@googlegroups.com Received: by 10.28.130.70 with SMTP id e67ls1564581wmd.11.gmail; Thu, 01 Mar 2018 10:46:12 -0800 (PST) X-Received: by 10.28.91.147 with SMTP id p141mr339334wmb.31.1519929972528; Thu, 01 Mar 2018 10:46:12 -0800 (PST) MIME-Version: 1.0 Path: mbox-mo1.pugleaf.net!n14ni18751wmi.0!nntp.google.com!goblin3!goblin1!goblin2!goblin.stu.neva.ru!peer03.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!post01.iad!fx33.iad.POSTED!not-for-mail X-newsreader: xrn 9.03-beta-14-64bit Sender: scott@dragon.sl.home (Scott Lurndal) From: scott@slp53.sl.home (Scott Lurndal) Reply-To: sl...@pacbell.net Subject: Re: xref Nostalgia Newsgroups: alt.folklore.computers References: <fennrjFber7U1@mid.individual.net> <slrnp98rhs.eu5.grahn+nntp@frailea.sa.invalid> <1463069258.541386219.019217.peter_flass-yahoo.com@news.eternal-september.org> <slrnp9e76p.eu5.grahn+nntp@frailea.sa.invalid> <p77oom$r49$1@gal.iecc.com> <slrnp9fnsm.eu5.grahn+nntp@frailea.sa.invalid> <821602353.541603064.293983.peter_flass-yahoo.com@news.eternal-september.org> <0jgg9ddi83ootvdutb1vg41isra394q1kf@4ax.com> Lines: 18 Message-ID: <TTXlC.188970$qv.3880@fx33.iad> X-Complaints-To: ab...@usenetserver.com NNTP-Posting-Date: Thu, 01 Mar 2018 18:46:11 UTC Organization: UsenetServer - www.usenetserver.com Date: Thu, 01 Mar 2018 18:46:11 GMT X-Received-Bytes: 1737 X-Received-Body-CRC: 2790793970 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit