Pine v6 surface inventory

Summary of the full Pine Script™ v6 surface inventory — dispatch counts, namespaces, status schema — with pointer to the large source document. hoox-pyne 0.6.31.

This page

Abstract

The full surface inventory enumerates every registered evaluator builtin, major series/variable, language construct, and known gap against Pine Script™ v6. It is deliberately large (tens of thousands of tokens when fully expanded). This page is the navigable summary; the exhaustive tables live in-repo at:

docs/pine_v6_full_surface_inventory.md

Generated snapshot referenced here: 2026-10-08, from live NodeLiteralEvaluator dispatch, builtin_metadata.json, and design docs.

Do not paste the entire inventory into product docs — regenerate and link.

Conceptual model

Diagram

Rendering…

Interface surface

Status schema

StatusDefinition
ImplementedHandler/parser path exists and is usable
PartialMock/stub, incomplete semantics, or metadata-only
MissingExpected on TV v6; not resolving
By designIntentionally not full TV platform
N/AEditor/UI-only

Each inventory row also carries: Name, Namespace, Kind, Metadata (LSP JSON present?), Source (e.g. dispatch), Notes.

Summary counts (2026-10-08)

MetricCount
Dispatch builtins (callable)941
Dispatch partial-heuristic (stub/mock docstring)10
Dispatch namespaces255
Official TV v6 function reference list434 symbols — 0 missing in dispatch

Top namespaces by dispatch keys

NamespaceCount
ta165
strategy95
matrix74
array68
box32
label29
table27
color26
math25
line24
str19
plot15
timeframe15
input14
polyline14
map11
request11
footprint9
ticker9
(remaining namespaces)smaller

Kinds covered

function · series/var · constant · declaration · control · operator · type system · literal · semantics · export · import

Internals

PathRole
docs/pine_v6_full_surface_inventory.mdFull tables + architecture diagrams
scripts/regenerate_inventory_summary.pyRegeneration helper
scripts/generate_builtin_metadata.pyLSP metadata from live surface
Evaluator _build_builtin_map()Source of dispatch truth

How to use the full file

  1. Open docs/pine_v6_full_surface_inventory.md in the repo or Sphinx site mirror.
  2. Search by namespace (## ta, strategy, ...).
  3. Trust dispatch source rows for "is there a callable?"; read Notes for mock/feed caveats.
  4. After large builtin PRs, regenerate summary counts before quoting them publicly.

Invariants & edge cases

  1. Inventory size is a feature — summarization must not drop partial rows when claiming coverage.
  2. Metadata presence ≠ semantic completeness.
  3. Partial heuristic count (10) is docstring-based — real partials may be higher.
  4. Language constructs (control/export) may be parser-complete without every runtime edge.

Worked examples

Quote coverage honestly

"Against the public Pine v6 function reference (434 symbols), pynescript registered 0 missing dispatch entries as of 2026-10-08; 941 total callables across 255 dispatch namespaces. See docs/pine_v6_full_surface_inventory.md."

Programmatic check (sketch)

bash
# regenerate after evaluator changes
python scripts/regenerate_inventory_summary.py

Failure modes

MistakeConsequence
Pasting 134KB inventory into Mintlify pageUnreadable docs; broken UX
Citing counts without dateStale marketing
Equating dispatch hit with TV goldFalse precision claims

See also