MCPcopy Index your code
hub / github.com/elvin-du/tinyscript

github.com/elvin-du/tinyscript @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
331 symbols 1,313 edges 71 files 19 documented · 6% updated 4y ago★ 231
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

Operand (Interface)
(no doc) [4 implementers]
gen/operand/oprand.go
ASTNode (Interface)
(no doc) [1 implementers]
parser/ast/ast.go
ExprHOF (FuncType)
(no doc)
parser/ast/expr.go

Core symbols most depended-on inside this repo

runOneStep
called by 83
vm/vm.go
NewToken
called by 56
lexer/token.go
GetChild
called by 38
parser/ast/ast.go
String
called by 37
gen/operand/oprand.go
Lexeme
called by 29
parser/ast/ast.go
GetOperand
called by 27
gen/instruction.go
AddChild
called by 24
parser/ast/ast.go
NextMatch
called by 22
parser/ast/stream.go

Shape

Function 146
Method 139
Struct 37
TypeAlias 6
Interface 2
FuncType 1

Languages

Go100%

Modules by API surface

parser/ast/ast.go37 symbols
gen/instruction.go14 symbols
translator/translator.go12 symbols
gen/opcode_gen.go12 symbols
translator/symbol/table.go11 symbols
parser/ast/expr.go11 symbols
lexer/token.go11 symbols
gen/opcode_test.go11 symbols
translator/translator_test.go10 symbols
parser/ast/stmt_if.go9 symbols
lexer/lexer_test.go9 symbols
lexer/lexer.go9 symbols

For agents

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

⬇ download graph artifact