9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Steve Simon <steve@quintile.net>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Codebase navigation and using tags files in acme
Date: Sat, 21 Aug 2021 00:31:35 +0100	[thread overview]
Message-ID: <97F88CC9-3F60-47F7-96A4-B3C4F8815802@quintile.net> (raw)
In-Reply-To: <917939d480bd66878d0cb20ac175db16@9srv.net>


I wrote a bit of lex to extract features from c code. being lex it is incomplete to say the least but i found it good enough.

my code used to run every night passed a list of files to parse, and wrote an idenifier, comment, function, #define etc database (2 text files) which i could grep through.

i used it when i worked supporting solaris, it allowed me to find error messages and functions anywhere in the sourcecode quickly.

i haven't run it in years but maybe it is of use to someone.

http://www.quintile.net/pkg/xid.tbz

-Steve



------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tf8ceac12df9da674-M5630d14b408680d32b257869
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

      reply	other threads:[~2021-08-20 23:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17 20:22 Ben Hancock
2021-08-18  6:52 ` sirjofri
2021-08-18  9:12   ` Richard Miller
2021-08-18  9:17     ` Gabriel Diaz Lopez de la Llave via 9fans
2021-08-18  9:25       ` Rob Pike
2021-08-18 16:01         ` Ben Hancock
2021-08-19 11:44         ` Maurizio Boriani
2021-08-19 11:49           ` Gorka Guardiola
2021-08-19 18:59           ` unobe
2021-08-19 19:00             ` unobe
2021-08-19 20:41               ` Rob Pike
2021-08-18  9:13   ` Nick Owens
2021-08-18  9:26 ` Ole-Hjalmar Kristensen
2021-08-19  3:51   ` 6o205zd02
2021-08-19  7:29     ` igor
2021-08-20 10:55     ` Ole-Hjalmar Kristensen
2021-08-20 23:08       ` a
2021-08-20 23:31         ` Steve Simon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=97F88CC9-3F60-47F7-96A4-B3C4F8815802@quintile.net \
    --to=steve@quintile.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).