{
  "_id": "6a265fff794753ddbc3e547f",
  "Package": "treesitter.c",
  "Title": "'R' Bindings to the 'C' Grammar for Tree-Sitter",
  "Version": "0.0.4.2",
  "Authors@R": "c(\nperson(given = \"Sounkou Mahamane\", family = \"Toure\", email = \"sounkoutoure@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Tree-sitter authors\", role = \"cph\", comment = \"Tree-sitter C grammar\"),\nperson(\"Eli Bendersky and Co-authors\", role = \"cph\", comment = \"pycparser fake_libc headers\"))",
  "Description": "Provides bindings to a 'C' grammar for Tree-sitter, to be\nused alongside the 'treesitter' package. Tree-sitter builds\nconcrete syntax trees for source files and can efficiently\nupdate them or generate code like producing R C API wrappers\nfrom C functions, structs and global definitions from header\nfiles.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://sounkou-bioinfo.github.io/treesitter.c/,\nhttps://github.com/sounkou-bioinfo/treesitter.c",
  "BugReports": "https://github.com/sounkou-bioinfo/treesitter.c/issues",
  "Repository": "https://sounkou-bioinfo.r-universe.dev",
  "Date/Publication": "2026-02-07 20:54:49 UTC",
  "RemoteUrl": "https://github.com/sounkou-bioinfo/treesitter.c",
  "RemoteRef": "HEAD",
  "RemoteSha": "1018d57467ccdf0c6aa819b63f844d8082712bb9",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-07 07:27:29 UTC",
    "User": "root"
  },
  "Author": "Sounkou Mahamane Toure [aut, cre],\nTree-sitter authors [cph] (Tree-sitter C grammar),\nEli Bendersky and Co-authors [cph] (pycparser fake_libc headers)",
  "Maintainer": "Sounkou Mahamane Toure <sounkoutoure@gmail.com>",
  "MD5sum": "a792d933def99bfc1282531271cdbab9",
  "_user": "sounkou-bioinfo",
  "_type": "src",
  "_file": "treesitter.c_0.0.4.2.tar.gz",
  "_fileid": "d66cb016d3d103e5f35d40488dde22280236d7c1bef4ecf39aca29690d98555e",
  "_filesize": 377446,
  "_sha256": "d66cb016d3d103e5f35d40488dde22280236d7c1bef4ecf39aca29690d98555e",
  "_created": "2026-06-07T07:27:29.000Z",
  "_published": "2026-06-08T06:23:59.836Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80033750466,
      "time": 106,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461895480"
    },
    {
      "job": 80033750422,
      "time": 96,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461893524"
    },
    {
      "job": 80033750509,
      "time": 104,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461895120"
    },
    {
      "job": 80033750373,
      "time": 103,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461894288"
    },
    {
      "job": 80033750458,
      "time": 81,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461924183"
    },
    {
      "job": 80033750082,
      "time": 231,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7472938871"
    },
    {
      "job": 80033750295,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461925496"
    },
    {
      "job": 80033750353,
      "time": 478,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461956924"
    },
    {
      "job": 80033750087,
      "time": 154,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461878723"
    },
    {
      "job": 80033750507,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461893878"
    },
    {
      "job": 80033750244,
      "time": 149,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461901259"
    },
    {
      "job": 80033750321,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461891169"
    },
    {
      "job": 80033750243,
      "time": 91,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461892690"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/27086060341",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/sounkou-bioinfo/treesitter.c",
  "_commit": {
    "id": "1018d57467ccdf0c6aa819b63f844d8082712bb9",
    "author": "sounkou-bioinfo <sounkoutoure@gmail.com>",
    "committer": "sounkou-bioinfo <sounkoutoure@gmail.com>",
    "message": "r_cc detection\n",
    "time": 1770497689
  },
  "_maintainer": {
    "name": "Sounkou Mahamane Toure",
    "email": "sounkoutoure@gmail.com",
    "login": "sounkou-bioinfo",
    "uuid": 56392505
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "treesitter",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "sounkou-bioinfo",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-49",
      "n": 15
    },
    {
      "week": "2025-50",
      "n": 28
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 15
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "sounkou-bioinfo",
      "count": 60,
      "uuid": 56392505
    }
  ],
  "_userbio": {
    "uuid": 56392505,
    "type": "user",
    "name": "Sounkou Mahamane Toure",
    "description": "Sequences and Consequences."
  },
  "_downloads": {
    "count": 153,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/treesitter.c"
  },
  "_devurl": "https://github.com/sounkou-bioinfo/treesitter.c",
  "_pkgdown": "https://sounkou-bioinfo.github.io/treesitter.c/",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/treesitter.c.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/sounkou-bioinfo/treesitter.c",
  "_realowner": "sounkou-bioinfo",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2025-12-11"
    },
    {
      "version": "0.0.4.2",
      "date": "2026-02-08"
    }
  ],
  "_exports": [
    "fake_libc_path",
    "get_defines_from_file",
    "get_enum_members_from_root",
    "get_enum_nodes",
    "get_function_nodes",
    "get_globals_from_root",
    "get_globals_with_types_from_root",
    "get_struct_members",
    "get_struct_nodes",
    "get_union_members_from_root",
    "get_union_nodes",
    "language",
    "parse_header_text",
    "parse_headers_collect",
    "parse_r_include_headers",
    "preprocess_header",
    "preprocess_headers",
    "r_cc"
  ],
  "_help": [
    {
      "page": "fake_libc_path",
      "title": "Get the path to the installed fake_libc headers",
      "topics": [
        "fake_libc_path"
      ]
    },
    {
      "page": "get_defines_from_file",
      "title": "This function will use the configured C compiler to list macro definitions ('-dM -E') if 'use_cpp = TRUE' and a compiler is available; otherwise, a simple scan of #define lines is used as a fallback.",
      "topics": [
        "get_defines_from_file"
      ]
    },
    {
      "page": "get_enum_members_from_root",
      "title": "Extract enum members from a parsed header",
      "topics": [
        "get_enum_members_from_root"
      ]
    },
    {
      "page": "get_enum_nodes",
      "title": "Extract enum names from a parsed header",
      "topics": [
        "get_enum_nodes"
      ]
    },
    {
      "page": "get_function_nodes",
      "title": "Extract function names (declarations and definitions) from a root",
      "topics": [
        "get_function_nodes"
      ]
    },
    {
      "page": "get_globals_from_root",
      "title": "Extract global variable names from a parsed tree root",
      "topics": [
        "get_globals_from_root"
      ]
    },
    {
      "page": "get_globals_with_types_from_root",
      "title": "Extract global variables with types from a parsed tree root",
      "topics": [
        "get_globals_with_types_from_root"
      ]
    },
    {
      "page": "get_struct_members",
      "title": "Extract members of structs (including nested anonymous struct members)",
      "topics": [
        "get_struct_members"
      ]
    },
    {
      "page": "get_struct_nodes",
      "title": "Extract struct names from a parsed tree root",
      "topics": [
        "get_struct_nodes"
      ]
    },
    {
      "page": "get_union_members_from_root",
      "title": "Extract members of unions",
      "topics": [
        "get_union_members_from_root"
      ]
    },
    {
      "page": "get_union_nodes",
      "title": "Extract union names from a parsed header",
      "topics": [
        "get_union_nodes"
      ]
    },
    {
      "page": "language",
      "title": "tree-sitter language for C",
      "topics": [
        "language"
      ]
    },
    {
      "page": "parse_header_text",
      "title": "Convert character content of a header file into a tree-sitter root",
      "topics": [
        "parse_header_text"
      ]
    },
    {
      "page": "parse_headers_collect",
      "title": "Parse a directory of headers and return named list of data.frames with",
      "topics": [
        "parse_headers_collect"
      ]
    },
    {
      "page": "parse_r_include_headers",
      "title": "Parse C header files for function declarations using tree-sitter",
      "topics": [
        "parse_r_include_headers"
      ]
    },
    {
      "page": "preprocess_header",
      "title": "Run the C preprocessor on 'file' using the provided compiler",
      "topics": [
        "preprocess_header"
      ]
    },
    {
      "page": "preprocess_headers",
      "title": "Preprocess a set of header files found under 'dir'",
      "topics": [
        "preprocess_headers"
      ]
    },
    {
      "page": "r_cc",
      "title": "Return the default R-configured C compiler (possibly with flags)",
      "topics": [
        "r_cc"
      ]
    }
  ],
  "_readme": "https://github.com/sounkou-bioinfo/treesitter.c/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "glue",
    "lifecycle",
    "R6",
    "rlang",
    "treesitter",
    "vctrs"
  ],
  "_score": 3.7781512503836434,
  "_indexed": true,
  "_nocasepkg": "treesitter.c",
  "_universes": [
    "sounkou-bioinfo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4.2",
      "date": "2026-06-07T07:29:25.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1018d57467ccdf0c6aa819b63f844d8082712bb9",
      "fileid": "763683aedaf621c6802da6591611836a1fb5a72479eb6131b253894b658e9d44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/27086060341"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4.2",
      "date": "2026-06-07T07:29:03.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1018d57467ccdf0c6aa819b63f844d8082712bb9",
      "fileid": "35814d442fd4883b01ecf01c725bbc2a3587e082d41dd69d9fe02b71f574b9b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/27086060341"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.4.2",
      "date": "2026-06-07T07:29:23.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1018d57467ccdf0c6aa819b63f844d8082712bb9",
      "fileid": "54e3dcdce9e63c71a77d3bfcc8fed5cb9bf5ef2f9a819d363525b115991d1185",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/27086060341"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.4.2",
      "date": "2026-06-07T07:29:17.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1018d57467ccdf0c6aa819b63f844d8082712bb9",
      "fileid": "6295bd4b129fd07ed3bb31840d6e2c2cc739be86ed8748480214ad6498ec4cfe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/27086060341"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.4.2",
      "date": "2026-06-07T07:32:44.000Z",
      "arch": "aarch64",
      "commit": "1018d57467ccdf0c6aa819b63f844d8082712bb9",
      "fileid": "c7d1d2370e6a2df791a4e308c7c4eedcd7b23702cfa2d80df2872d4f95c83b70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/27086060341"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.4.2",
      "date": "2026-06-08T06:22:52.000Z",
      "arch": "x86_64",
      "commit": "1018d57467ccdf0c6aa819b63f844d8082712bb9",
      "fileid": "787de6e4c5f6e847e8a18ca2e43e07f549ba67f601ddeaf5c2677ba5637139c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/27086060341"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.4.2",
      "date": "2026-06-07T07:32:42.000Z",
      "arch": "aarch64",
      "commit": "1018d57467ccdf0c6aa819b63f844d8082712bb9",
      "fileid": "b8bacf3c5620d5d3efd2086c25147d9bc8c3e9c33daf9b4acbf6fdbc5ddc8a67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/27086060341"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.4.2",
      "date": "2026-06-07T07:34:52.000Z",
      "arch": "x86_64",
      "commit": "1018d57467ccdf0c6aa819b63f844d8082712bb9",
      "fileid": "3ffac81d9b021db273a1e0937b49a6c959e8a6ede4d19384c013ccb1455413ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/27086060341"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.4.2",
      "date": "2026-06-07T07:29:28.000Z",
      "arch": "emscripten",
      "commit": "1018d57467ccdf0c6aa819b63f844d8082712bb9",
      "fileid": "1a79e0ab002635c9e972cb32002360a64de8bde8c9f44dfe4a2d22aee295eec4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/27086060341"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.4.2",
      "date": "2026-06-07T07:28:58.000Z",
      "arch": "x86_64",
      "commit": "1018d57467ccdf0c6aa819b63f844d8082712bb9",
      "fileid": "39edd811c11e6a1d2188d1522a6907f1984328bb70628c54c45db4fca3247454",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/27086060341"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.4.2",
      "date": "2026-06-07T07:28:35.000Z",
      "arch": "x86_64",
      "commit": "1018d57467ccdf0c6aa819b63f844d8082712bb9",
      "fileid": "f1ee914b1f2ca93b58837b6ffe1b5954368c491161fc71c5602337674dc06163",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/27086060341"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.4.2",
      "date": "2026-06-07T07:28:38.000Z",
      "arch": "x86_64",
      "commit": "1018d57467ccdf0c6aa819b63f844d8082712bb9",
      "fileid": "52b9516f9412006f366a8d9cfacf6274605bba5bf16b780e3a12cffac58b62dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/27086060341"
    }
  ]
}