MCPcopy Index your code
hub / github.com/amber-lang/amber

github.com/amber-lang/amber @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,287 symbols 3,247 edges 186 files 98 documented · 8%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<img src="https://github.com/amber-lang/amber/raw/main/assets/amber.png" alt="amber logo" width="250" />

Amber

Programming language that compiles to Bash. It's a high level programming language that makes it easy to create shell scripts. It's particularly well suited for cloud services.

[!Warning] This software is not ready for extended usage.

Join our Discord or

amber-lang on irc.oftc.net (irc://irc.oftc.net/#amber-lang) or

Join our Matrix room

Install

You can find an installation guide on the documentation website.

Contributing

Contributing guide can be found on the documentation website.

Extension points exported contracts — how you extend this code

TypeCheckModule (Interface)
Trait for modules that need to perform type checking operations. This separates type checking logic from the parsing log [80 …
src/modules/typecheck.rs
TranslateModule (Interface)
(no doc) [80 implementers]
src/translate/module.rs
DocumentationModule (Interface)
(no doc) [7 implementers]
src/docs/module.rs
Typed (Interface)
(no doc) [42 implementers]
src/modules/types.rs
FragmentRenderable (Interface)
(no doc) [11 implementers]
src/translate/fragments/fragment.rs
BinOp (Interface)
(no doc) [14 implementers]
src/modules/expression/binop/mod.rs
IterLoopRange (Interface)
Trait to handle range loop translations. This trait isolates the logic for optimizing and translating range-based loops [1 …
src/modules/loops/utils/iter_loop_range.rs
UnOp (Interface)
(no doc) [3 implementers]
src/modules/expression/unop/mod.rs

Core symbols most depended-on inside this repo

to_frag
called by 223
src/translate/compare.rs
to_string
called by 123
src/translate/compare.rs
with_global_id
called by 49
src/translate/fragments/var_expr.rs
is_empty
called by 42
src/modules/block.rs
get_position
called by 39
src/modules/expression/expr.rs
push_ephemeral_variable
called by 33
src/utils/metadata/translate.rs
use_modifiers
called by 26
src/modules/command/modifier.rs
get_type
called by 25
src/modules/builtin/ls.rs

Shape

Method 736
Function 373
Class 143
Enum 22
Interface 13

Languages

Rust100%

Modules by API surface

src/tests/compiling.rs41 symbols
src/utils/metadata/parser.rs32 symbols
src/tests/cli.rs30 symbols
src/main.rs29 symbols
src/translate/fragments/var_expr.rs28 symbols
src/tests/functional.rs28 symbols
src/compiler.rs24 symbols
src/utils/metadata/translate.rs23 symbols
src/tests/translating.rs23 symbols
src/utils/context.rs22 symbols
src/tests/grammar_ebnf.rs21 symbols
src/modules/types.rs18 symbols

For agents

$ claude mcp add amber \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact