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() { ... }andfunction name { ... }forms. All functions are top-level (bash has no nesting). - Top-level variable assignments —
MAX=100, andaliasnames. - Imports —
source fileand. filecommands. - 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.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rbtr_lang_bash-2026.9.0.dev1.tar.gz | 9.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rbtr_lang_bash-2026.9.0.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.2 kB
Release files / rbtr_lang_bash-2026.9.0.dev1.tar.gz
| Download URL | rbtr_lang_bash-2026.9.0.dev1.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb146d350926ea24549b2dab856b892c53f2388227359cb977a87ddd8ccceaf2
|
|
BLAKE2b-256 checksum How to use checksums |
1486626a3d23947940854a4fbc4aa3aef2153d87f70cc967e733ff9669e2d57f
|
| 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}
|
Release files / rbtr_lang_bash-2026.9.0.dev1-py3-none-any.whl
| Download URL | rbtr_lang_bash-2026.9.0.dev1-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89dee48ca36fbf163fd7811f26d14493fd02ff4ff9cbf5fa6ba1dd4c17d42990
|
|
BLAKE2b-256 checksum How to use checksums |
66b872c722fa294ebac2251990d1003d3acb3e4bdc1178b473546751197d833d
|
| 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}
|