MCPcopy Index your code
hub / github.com/Wilfred/garden

github.com/Wilfred/garden @0.25.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.25.0 ↗ · + Follow
916 symbols 3,282 edges 68 files 204 documented · 22%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Garden codecov crates.io

Garden is an experimental programming language exploring PL design on running programs.

Status: Pre-alpha, almost nothing works yet.

License

MIT.

blocks.min.css is a vendored copy of blocks.css version 0.4.1, which is also under a MIT License.

Logo is by Freepik on Flaticon.

Extension points exported contracts — how you extend this code

Visitor (Interface)
A visitor for ASTs. Unlike pattern matching, a visitor makes it easy to recurse but hook in to specific variants. For e [23 …
src/parser/visitor.rs
UnwrapOrErrTy (Interface)
(no doc) [2 implementers]
src/garden_type.rs

Core symbols most depended-on inside this repo

insert
called by 218
src/parser/vfs.rs
get
called by 114
src/eval.rs
as_ref
called by 105
src/values.rs
push_value
called by 104
src/env.rs
is_empty
called by 89
src/parser/lex.rs
push_expr_to_eval
called by 72
src/env.rs
pop
called by 66
src/parser/lex.rs
next
called by 66
src/parser/ast.rs

Shape

Function 487
Method 283
Class 105
Enum 39
Interface 2

Languages

Rust99%
TypeScript1%

Modules by API surface

src/eval.rs128 symbols
src/parser.rs77 symbols
src/parser/ast.rs54 symbols
src/checks/type_checker.rs54 symbols
src/nrepl.rs50 symbols
src/main.rs49 symbols
src/lsp.rs37 symbols
src/parser/visitor.rs33 symbols
src/checks/unused_vars.rs30 symbols
src/garden_type.rs27 symbols
src/env.rs26 symbols
src/commands.rs26 symbols

For agents

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

⬇ download graph artifact