{"id":35402964,"url":"https://github.com/sgruszka/tree-sitter-bpftrace","last_synced_at":"2026-02-17T12:20:35.848Z","repository":{"id":322421636,"uuid":"1089422240","full_name":"sgruszka/tree-sitter-bpftrace","owner":"sgruszka","description":"bpftrace grammar for tree-sitter","archived":false,"fork":false,"pushed_at":"2026-01-23T09:40:48.000Z","size":382,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-24T02:39:50.705Z","etag":null,"topics":["bpftrace","grammar","parser","tree-sitter"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sgruszka.png","metadata":{"files":{"readme":"README-rust.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-04T10:19:00.000Z","updated_at":"2026-01-23T09:40:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sgruszka/tree-sitter-bpftrace","commit_stats":null,"previous_names":["sgruszka/tree-sitter-bpftrace"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/sgruszka/tree-sitter-bpftrace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgruszka%2Ftree-sitter-bpftrace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgruszka%2Ftree-sitter-bpftrace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgruszka%2Ftree-sitter-bpftrace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgruszka%2Ftree-sitter-bpftrace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgruszka","download_url":"https://codeload.github.com/sgruszka/tree-sitter-bpftrace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgruszka%2Ftree-sitter-bpftrace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29543871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T12:10:04.770Z","status":"ssl_error","status_checked_at":"2026-02-17T12:01:14.283Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bpftrace","grammar","parser","tree-sitter"],"created_at":"2026-01-02T11:57:25.980Z","updated_at":"2026-02-17T12:20:35.841Z","avatar_url":"https://github.com/sgruszka.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tree-sitter-bpftrace (Rust)\n\nThis crate provides Tree-sitter grammar bindings for the\n[bpftrace](https://github.com/iovisor/bpftrace) language.\n\n## Usage\n\nAdd to your Cargo.toml:\n\n```toml\n[dependencies]\ntree-sitter = \"0.26.3\"\ntree-sitter-bpftrace = \"0.1.1\"\n```\n\n## Example\n```rust\nfn main() {\n    let mut parser = tree_sitter::Parser::new();\n    parser\n        .set_language(\u0026tree_sitter_bpftrace::LANGUAGE.into())\n        .expect(\"Error loading Bpftrace parser\");\n\n    let source_code = r#\"kprobe:tcp_reset { printf(\"PROBE\") }\"#;\n\n    let tree = parser.parse(source_code, None).unwrap();\n    let root_node = tree.root_node();\n    assert_eq!(root_node.kind(), \"source_file\");\n\n    println!(\"{}\", root_node.to_sexp());\n}\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgruszka%2Ftree-sitter-bpftrace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgruszka%2Ftree-sitter-bpftrace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgruszka%2Ftree-sitter-bpftrace/lists"}