Skip to main content

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

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-bash 2026.9.0
File Size Uploaded
rbtr_lang_bash-2026.9.0.tar.gz 9.6 kB Details

Built distribution (wheel)

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

Total release size: 25.1 kB

Release files / rbtr_lang_bash-2026.9.0.tar.gz

Download URL rbtr_lang_bash-2026.9.0.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ea36c73f220eef870859f9fe1a950ab6fcfc0dafabce7dc3c1758ada0a26cc55
BLAKE2b-256 checksum
How to use checksums
e969b4e938f8a301529bcb751ea791732b394ca3238c30a9df98549546daf592
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_bash-2026.9.0-py3-none-any.whl

Download URL rbtr_lang_bash-2026.9.0-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e8100a29f5af4dfc65ffa7c73b28c8c82ad3f599c4573730b586ec48f6804ad
BLAKE2b-256 checksum
How to use checksums
899eb1e98a516d75fd77c41a8deacd1cfb530c9369706a9b7d6b17fb9c378f05
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