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.dev3
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.dev3.tar.gz | 9.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rbtr_lang_bash-2026.9.0.dev3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.2 kB
Release files / rbtr_lang_bash-2026.9.0.dev3.tar.gz
| Download URL | rbtr_lang_bash-2026.9.0.dev3.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8eaabc81905c4ded3fbd9d94f56687135a16cca73cb25dd0e2dbb88d781c3c66
|
|
BLAKE2b-256 checksum How to use checksums |
ea833aeccfa0e02a51e1bef14e764c7d46e77cbca52c932e59628dcea11beb9b
|
| 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.dev3-py3-none-any.whl
| Download URL | rbtr_lang_bash-2026.9.0.dev3-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fe62164568f7919e35ae27306a8c3ef697106c2ade5d468f5c5f4b919c98e0c
|
|
BLAKE2b-256 checksum How to use checksums |
1676d54563572ccc6055e601a1fe56761b93d5f6dcf1c2ce8440049b9a118957
|
| 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}
|