MCPcopy Index your code
hub / github.com/johnkerl/miller

github.com/johnkerl/miller @v6.19.0 sqlite

repository ↗ · DeepWiki ↗ · release v6.19.0 ↗
3,341 symbols 11,378 edges 346 files 825 documented · 25%
README

Moved to README-dev.md.

Extension points exported contracts — how you extend this code

IRecordWriter (Interface)
IRecordWriter is the abstract interface for all record-writers. They are specific to output file format, e.g. CSV, PPRI [13 …
pkg/output/record_writer.go
RecordTransformer (Interface)
RecordTransformer is the interface satisfied by all transformers, i.e., Miller verbs. See stream.go for context on the c [65 …
pkg/transformers/aaa_record_transformer.go
IExecutable (Interface)
This is for all statements and statement blocks within the CST. [24 implementers]
pkg/dsl/cst/types.go
IRecordReader (Interface)
Since Go is concurrent, the context struct (AWK-like variables such as FILENAME, NF, NF, FNR, etc.) needs to be duplicat [21 …
pkg/input/record_reader.go
IFormatter (Interface)
(no doc) [5 implementers]
pkg/mlrval/mlrval_format.go
FlagParser (FuncType)
Data types used within the flags table. FlagParser is a function which takes a flag such as `--foo`. - It should assume
pkg/cli/flag_types.go
ZaryFunc (FuncType)
Function-pointer type for zary functions.
pkg/bifs/base.go
OutputHandlerManager (Interface)
(no doc) [2 implementers]
pkg/output/file_output_handlers.go

Core symbols most depended-on inside this repo

InternalCodingErrorIf
called by 334
pkg/lib/logger.go
String
called by 314
pkg/mlrval/mlrmap_print.go
WriteString
called by 279
pkg/output/file_output_handlers.go
FromDeferredType
called by 276
pkg/mlrval/mlrval_new.go
FromInt
called by 269
pkg/mlrval/mlrval_new.go
IsString
called by 222
pkg/mlrval/mlrval_is.go
FromString
called by 205
pkg/mlrval/mlrval_new.go
Get
called by 192
pkg/transformers/utils/window_keeper.go

Shape

Function 1,801
Method 1,093
Struct 340
FuncType 52
Class 19
TypeAlias 19
Interface 17

Languages

Go98%
Python2%

Modules by API surface

pkg/bifs/arithmetic.go116 symbols
pkg/transformers/utils/stats1_accumulators.go109 symbols
pkg/dsl/cst/leaves.go92 symbols
pkg/dsl/cst/lvalues.go79 symbols
pkg/bifs/cmp.go78 symbols
python/sketch.py73 symbols
pkg/transformers/step.go68 symbols
pkg/dsl/cst/keyword_usage.go63 symbols
pkg/bifs/types.go62 symbols
pkg/mlrval/mlrmap_accessors.go57 symbols
pkg/dsl/cst/builtin_functions.go57 symbols
pkg/bifs/mathlib.go56 symbols

Dependencies from manifests, versioned

github.com/ProtonMail/go-cryptov1.4.1 · 1×
github.com/cloudflare/circlv1.6.3 · 1×
github.com/facette/natsortv0.0.0-2018121007275 · 1×
github.com/golang/snappyv1.0.0 · 1×
github.com/google/pprofv0.0.0-2021121405590 · 1×
github.com/johnkerl/luminv1.0.0 · 1×
github.com/johnkerl/pgpg/gov1.0.0 · 1×
github.com/kballard/go-shellquotev0.0.0-2018042803000 · 1×
github.com/kshedden/dstreamv0.0.0-2019051202504 · 1×

For agents

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

⬇ download graph artifact