Expand description
Reef — bash compatibility layer for fish shell.
Provides bash detection, translation, passthrough execution, and a persistent bash coprocess daemon for seamless bash usage from fish.
§Modules
detect— fast heuristic for identifying bash-specific syntaxtranslate— bash-to-fish translation via ASTparser— recursive-descent bash parser (producesastnodes)ast— zero-copy abstract syntax tree typespassthrough— bash subprocess execution with environment diffingdaemon— persistent bash coprocess over a Unix domain socketenv_diff— environment snapshot capture and diffingstate— state file persistence for exported variables
Modules§
- ast
- Abstract syntax tree for bash commands.
- daemon
- Persistent bash coprocess daemon for
reef persist full. - detect
- Fast bash detection heuristic.
- env_
diff - Environment snapshot diffing for bash-to-fish variable sync.
- lexer
- Byte-oriented lexer for bash input.
- parser
- Recursive-descent parser for bash syntax.
- passthrough
- Bash command passthrough execution with environment diffing.
- state
- State file management for
reef persist statemode. - translate
- Bash-to-fish translator.