| Crates.io | codeprysm-core |
| lib.rs | codeprysm-core |
| version | 0.1.0 |
| created_at | 2026-01-05 23:23:45.002857+00 |
| updated_at | 2026-01-05 23:23:45.002857+00 |
| description | Code graph generation using Tree-sitter AST parsing |
| homepage | https://github.com/codeprysm/codeprysm |
| repository | https://github.com/codeprysm/codeprysm |
| max_upload_size | |
| id | 2024777 |
| size | 893,542 |
Code graph generation using Tree-sitter AST parsing.
Part of the CodePrism project.
[dependencies]
codeprysm-core = "0.1"
use codeprysm_core::{GraphBuilder, GraphBuilderConfig};
use std::path::Path;
// Build a code graph from a repository
let config = GraphBuilderConfig::default();
let builder = GraphBuilder::new(config);
let graph = builder.build(Path::new("/path/to/repo"))?;
// Access nodes and edges
for node in graph.nodes() {
println!("{}: {}", node.kind, node.name);
}
| Type | Description | Examples |
|---|---|---|
| Container | Structural entities | Repository, File, Class, Module |
| Callable | Executable entities | Function, Method, Constructor |
| Data | Variables and fields | Field, Constant, Parameter |
MIT License - see LICENSE