Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

rbtr-lang-bash

Bash / shell support for rbtr. Default — installed with core rbtr, no extra required.

What it ingests

  • Functions — both name() { ... } and function name { ... } forms. All functions are top-level (bash has no nesting).
  • Top-level variable assignments — MAX=100, and alias names.
  • Imports — source file and . file commands.
  • Top-level statements — every other command, pipeline, conditional and loop at the top level becomes an anonymous doc-section chunk. A script that defines nothing is what it does, so rsync -a ./build/ "$DEST" is as findable as a function.

Bash has no classes, methods, or module structure, so none are emitted.

Chunks produced

scope is always empty. name is the function/variable identifier.

deploy() { echo deploying; }   # function "deploy"
function setup { ...; }         # function "setup"
MAX=100                         # variable "MAX"
alias ll="ls -l"                # variable "ll"  (the fused `=` is stripped)
source ./env.sh                 # import  "./env.sh"
. /etc/profile                  # import  "/etc/profile"

A leading # comment run above a function is attached as its documentation; a #!/bin/bash shebang attaches to the first function only when no blank line separates them.

Embedded / injected chunks

None. Bash does not embed other languages.

Grammar & dependencies

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

Metadata

Release files for rbtr-lang-bash 2026.9.0.dev0

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

Built distribution (wheel)

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

Release files / rbtr_lang_bash-2026.9.0.dev0-py3-none-any.whl

Download URL rbtr_lang_bash-2026.9.0.dev0-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5e0e4b931d9e92bc3d0147ba77464db54e027c643c9611e7f1b3b89566bcd19
BLAKE2b-256 checksum
How to use checksums
f00c16c293bab63fbe5731f5f2256fc8cdaf1d4d1f578b7e4b4d4e84b982c7f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
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