Sujet : Re: Clair Grant on VMS code base
De : cross (at) *nospam* spitfire.i.gajendra.net (Dan Cross)
Groupes : comp.os.vmsDate : 18. Apr 2025, 04:01:42
Autres entêtes
Organisation : PANIX Public Access Internet and UNIX, NYC
Message-ID : <vtsfam$gmo$1@reader1.panix.com>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
vts9sn$1sicb$1@dont-email.me>,
Dave Froble <
davef@tsoft-inc.com> wrote:
[snip] These are
just examples of a handful that have _some_ language awareness.
>
I don't know compilers, but, I'd think a compiler might have the best idea of
the statements, output code, and such. Perhaps they just aren't set up to tell us?
As with all things, "it depends." Consider C, for exmaples; IF
a C compiler has a separate preprocessor, then presumably the
compiler's frontend (which is in the best position to count,
e.g., statements/expressions or otherwise compute the cyclotomic
complexity of a program) would end up counting a lot of stuff
from headers, since those have already been expanded. Multiply
by number of files, and you may have something that's wildly
off.
Something that attempts to tokenize without expanding headers
may fare better.
- Dan C.