MCPcopy Index your code
hub / github.com/TomBebbington/js.rs

github.com/TomBebbington/js.rs @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
242 symbols 457 edges 43 files 174 documented · 72%
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

ToValue (Interface)
Conversion to Javascript values from Rust values [15 implementers]
src/lib/front/stdlib/value.rs
FromValue (Interface)
Conversion to Rust values from Javascript values [12 implementers]
src/lib/front/stdlib/value.rs
Operator (Interface)
Represents an operator [2 implementers]
src/lib/syntax/ast/op.rs
Compiler (Interface)
* A compiler that transforms expressions into their compiled * form, typically through a library such as LibJIT or LLVM [1 …
src/lib/front/run/compiler.rs
Executor (Interface)
An execution engine which runs whatever is generated by the `Compiler` [1 implementers]
src/lib/front/run/executor.rs

Core symbols most depended-on inside this repo

to_value
called by 63
src/lib/front/stdlib/value.rs
get_token
called by 28
src/lib/syntax/parser.rs
compile
called by 24
src/lib/front/run/compiler.rs
parse
called by 20
src/lib/syntax/parser.rs
binop
called by 20
src/lib/syntax/parser.rs
to_num
called by 19
src/lib/front/stdlib/value.rs
get_field
called by 14
src/lib/front/stdlib/value.rs
set_field
called by 14
src/lib/front/stdlib/value.rs

Shape

Method 131
Function 78
Class 14
Enum 14
Interface 5

Languages

Rust99%
TypeScript1%

Modules by API surface

src/lib/front/stdlib/value.rs44 symbols
src/lib/front/run/compiler.rs27 symbols
src/lib/front/stdlib/math.rs21 symbols
src/lib/syntax/parser.rs12 symbols
src/lib/front/stdlib/object.rs12 symbols
src/lib/back/compiler.rs12 symbols
src/lib/syntax/ast/op.rs11 symbols
src/lib/syntax/lexer.rs9 symbols
src/lib/front/stdlib/number.rs8 symbols
src/lib/back/executor.rs8 symbols
src/bin/tests.rs7 symbols
src/lib/syntax/ast/expr.rs6 symbols

For agents

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

⬇ download graph artifact