Versions in this module Expand all Collapse all v0 v0.3.1 Jul 17, 2026 v0.3.0 Jul 17, 2026 v0.2.1 Jul 16, 2026 v0.2.0 Jul 16, 2026 v0.1.0 Jul 16, 2026 Changes in this version + const ErrInvalidValue + const ErrNotFound + const ErrReadInput + const ErrSyntax + const ErrWriteFile + func RenderExpr(expr tsvt.Expr) string + func RenderReference(ref tsvt.Reference) string + func WriteTSV(w io.Writer, g Grid) error + type Address struct + Col int + Row int + func ParseAddress(s AddressText) (Address, error) + func (a Address) String() string + type AddressText string + type CellInfo struct + Address Address + IsFormula bool + Text string + type ComputeOptions struct + At time.Time + Base Path + Fetcher Fetcher + Limits Limits + Loader Loader + type Diagnostic struct + Cell string + IsFatal bool + Message string + func Check(s Sheet) []Diagnostic + type ErrorValue string + const ErrCirc + const ErrDiv + const ErrImport + const ErrNA + const ErrName + const ErrNull + const ErrNum + const ErrRef + const ErrSpill + const ErrValue + type FetchResult struct + Body []byte + ContentType MediaType + type Fetcher interface + Fetch func(url ImportURL, accept MediaType) (FetchResult, error) + type Grid [][]string + func ReadTSV(r io.Reader) (Grid, error) + type ImportURL string + type Limits struct + GridDim int + ResultBytes int + ResultCells int + func BrowserLimits() Limits + func DefaultLimits() Limits + type Loader func(base, ref Path) (Sheet, Path, error) + type MediaType string + type Path string + type Sheet struct + func Parse(src []byte) (Sheet, error) + func (s Sheet) Cells() []CellInfo + func (s Sheet) Compute() Grid + func (s Sheet) ComputeAt(at time.Time) Grid + func (s Sheet) ComputeWith(opts ComputeOptions) Grid + func (s Sheet) DeleteCol(at Address) Sheet + func (s Sheet) DeleteRow(at Address) Sheet + func (s Sheet) Dependents(at Address) []Address + func (s Sheet) EmbeddedGrid(at Address, opts ComputeOptions) (Path, Grid, bool) + func (s Sheet) HasImports() bool + func (s Sheet) InsertCol(at Address) Sheet + func (s Sheet) InsertRow(at Address) Sheet + func (s Sheet) IsVolatile() bool + func (s Sheet) Precedents(at Address) []Span + func (s Sheet) Set(addr Address, text string, limits Limits) (Sheet, error) + func (s Sheet) Source() Grid + type Span struct + From Address + To Address + type Trace struct + Cell string + Formula string + Inputs []TraceInput + Value string + func Explain(s Sheet, at Address) (Trace, error) + type TraceInput struct + Ref string + Value string + type Value struct + func (v Value) String() string