Skip to main content

rbtr-lang-c

C support for rbtr. A default plugin — installed with rbtr itself (pip install rbtr).

What it ingests

  • Functions — function definitions and prototypes.
  • Classes — struct / enum / union and typedef types (a typedef struct G G; yields two: the definition and the alias).
  • Variables — top-level variables and enum constants (C enum constants leak into the enclosing scope, so they are file-scope variables).
  • Imports — #include <system> and #include "local" headers.

Chunks produced

void greet(const char *name);      /* function "greet"          */
struct Point { int x, y; };        /* class "Point"             */
enum Color { RED, GREEN };         /* class "Color"; variables RED, GREEN */
#include <stdio.h>                 /* import, metadata {module: stdio.h}   */
#include "greeter.h"               /* import, metadata {module: greeter.h} */

Embedded / injected chunks

None. C does not embed other languages.

Grammar & dependencies

Uses the tree-sitter-c grammar. No dependency on other language plugins.

Metadata

Release files for rbtr-lang-c 2026.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rbtr-lang-c 2026.9.0
File Size Uploaded
rbtr_lang_c-2026.9.0.tar.gz 9.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rbtr-lang-c 2026.9.0
File Interpreter ABI Platform
rbtr_lang_c-2026.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 25.1 kB

Release files / rbtr_lang_c-2026.9.0.tar.gz

Download URL rbtr_lang_c-2026.9.0.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7c50ad0547607cf643577caad5b5655b9f8fdbb657c2fec39ed02542e9923dad
BLAKE2b-256 checksum
How to use checksums
c7d8b82b16609276488bcbc32b44230f7d2d1660d19e07b2c3c48bf66b3405b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / rbtr_lang_c-2026.9.0-py3-none-any.whl

Download URL rbtr_lang_c-2026.9.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
738033e0761767e17cd311c505b97dbcce50e1bc542e243cad222bdd4a374edf
BLAKE2b-256 checksum
How to use checksums
f1794d765491558a30af741ff38fda76203229e9b584b7cd0e98e3b90d58fe69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page