MCPcopy Index your code
hub / github.com/alaingilbert/agl

github.com/alaingilbert/agl @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
2,587 symbols 8,320 edges 40 files 439 documented · 17%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Node (Interface)
---------------------------------------------------------------------------- Interfaces There are 3 main classes of nod [85 …
pkg/ast/ast.go
Equatable (Interface)
(no doc) [14 implementers]
experiments/equatable_vec/main.go
Type (Interface)
(no doc) [61 implementers]
pkg/types/types.go
Hashable (Interface)
(no doc) [14 implementers]
pkg/agl/core/core.go
ErrorHandler (FuncType)
An ErrorHandler may be provided to [Scanner.Init]. If a syntax error is encountered and a handler was installed, the han
pkg/scanner/scanner.go
Expr (Interface)
All expression nodes implement the Expr interface. [49 implementers]
pkg/ast/ast.go
Equatable (Interface)
(no doc) [14 implementers]
pkg/agl/core/core.go
Stmt (Interface)
All statement nodes implement the Stmt interface. [23 implementers]
pkg/ast/ast.go

Core symbols most depended-on inside this repo

SetType
called by 411
pkg/agl/infer.go
String
called by 241
pkg/types/types.go
DefineFn
called by 228
pkg/agl/env.go
genExpr
called by 200
pkg/agl/codegen.go
Pos
called by 151
pkg/ast/ast.go
errorf
called by 146
pkg/agl/infer.go
Define
called by 136
pkg/agl/env.go
GetType
called by 120
pkg/agl/infer.go

Shape

Function 1,139
Method 1,137
Struct 253
Interface 25
TypeAlias 20
FuncType 11
Class 2

Languages

Go98%
TypeScript2%

Modules by API surface

pkg/agl/codegen_test.go519 symbols
pkg/agl/core/core.go387 symbols
pkg/ast/ast.go359 symbols
pkg/types/types.go282 symbols
pkg/agl/infer.go154 symbols
pkg/agl/codegen.go136 symbols
pkg/parser/parser.go125 symbols
pkg/agl/env.go75 symbols
e2eTests/e2e_test.go61 symbols
docs/wasm_exec.js51 symbols
pkg/agl/infer_test.go41 symbols
pkg/token/position.go40 symbols

For agents

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

⬇ download graph artifact