A whole-OS source code viewer
Last Significant Update: |
2025-09-15 |
Status: |
Draft |
Comments to: |
This project has the following major parts:
-
A way to store abstract syntax trees and type-level information for a large source tree (for the full source base for FreeBSD or NetBSD). This may benefit from the use of a graph database, see the Graph Database project.
This data store should be able to efficiently store multiple versions of a given source file , so as to compactly track code evolution.
-
An ingestion pipeline for a source tree mostly written in variants of C and BSD Make.
-
A CDN-friendly, web-based front-end for the ingested source code.
This could involve distributing binary blobs with pre-digested information using a CDN, with the web-front end pulling in the appropriate blobs needed to display information about a given source element (code, or type, etc.).
-
Command-line tools to search the code base for specific identifiers or types, or to search for specific usage patterns, to look for spurious
#includes, and so on.
See Also
-
The Code Review Tool sub-project for conducting peer-reviews of changesets and committed code.
Similar Projects
- SourceGraph Code Search
-
A proprietary search engine featuring some open-source project code.