MCPcopy Index your code
hub / github.com/Lebonesco/go-compiler

github.com/Lebonesco/go-compiler @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
137 symbols 307 edges 11 files 14 documented · 10%
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)
base interface [14 implementers]
ast/types.go
Statement (Interface)
all statement nodes [7 implementers]
ast/types.go
Expression (Interface)
all expression nodes [6 implementers]
ast/types.go
Attrib (Interface)
every element is an Attrib
ast/types.go

Core symbols most depended-on inside this repo

write
called by 23
gen/gen.go
Error
called by 21
ast/ast.go
checker
called by 16
checker/checker.go
gen
called by 15
gen/gen.go
Parse
called by 5
main.go
check
called by 4
main.go
freshTemp
called by 4
gen/gen.go
TypeCheck
called by 3
main.go

Shape

Function 78
Method 34
Struct 20
Interface 4
TypeAlias 1

Languages

Go100%

Modules by API surface

ast/ast.go48 symbols
ast/types.go23 symbols
gen/gen.go19 symbols
checker/checker.go16 symbols
checker/environment.go14 symbols
checker_test.go6 symbols
main.go5 symbols
scanner_test.go2 symbols
gen_test.go2 symbols
parser_test.go1 symbols
ast_test.go1 symbols

For agents

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

⬇ download graph artifact