@mark1russell7/vex 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -47,6 +47,7 @@ The types know the fields of the records and the ops of each domain. `root.from(
47
47
 
48
48
  - [`@mark1russell7/vex-domains`](https://www.npmjs.com/package/@mark1russell7/vex-domains): 2D vectors, colors, angles, numbers and booleans
49
49
  - [`@mark1russell7/vex-testkit`](https://www.npmjs.com/package/@mark1russell7/vex-testkit): property tests for the laws of your domains
50
+ - [`@mark1russell7/vex-compiler`](https://www.npmjs.com/package/@mark1russell7/vex-compiler): generated JavaScript for your programs, with the results of the interpreter
50
51
 
51
52
  ## License
52
53
 
package/build/index.d.ts CHANGED
@@ -22,7 +22,7 @@ type Optional$1<T> = None | Some<T>;
22
22
  */
23
23
  export type ErrorCode = "#REF!" | "#N/A" | "#VALUE!" | "#NAME?" | "#NUM!" | "#CALC!" | "#ARGS" | "#CYCLE!" | "#DEPTH!";
24
24
  /** The cause of an error, in more detail than the code. */
25
- export type ErrorKind = "unknown-key" | "not-a-pair" | "out-of-bounds" | "no-offset" | "no-grid" | "no-tree" | "no-table" | "no-graph" | "missing-field" | "empty" | "not-instance" | "kind-mismatch" | "unknown-op" | "unbound" | "not-finite" | "invalid-value" | "threw" | "undefined-result" | "args" | "cycle" | "depth" | "bad-expression";
25
+ export type ErrorKind = "unknown-key" | "not-a-pair" | "out-of-bounds" | "no-offset" | "no-grid" | "no-tree" | "no-table" | "no-graph" | "missing-field" | "empty" | "not-instance" | "kind-mismatch" | "unknown-op" | "unbound" | "not-finite" | "invalid-value" | "threw" | "undefined-result" | "args" | "cycle" | "depth" | "bad-expression" | "limit";
26
26
  /**
27
27
  * This function tells if an exception is the report of the engine that the call stack is full. V8 and JavaScriptCore
28
28
  * throw a `RangeError`. SpiderMonkey throws an `InternalError` ("too much recursion").
@@ -113,13 +113,16 @@ export declare const chainResult: <T, U>(r: Result<T>, f: (value: T) => Result<U
113
113
  * The expression IR of Vex. It is plain JSON data. Its first three kinds (`lit`, `ref`, `app`) have the same
114
114
  * shape as the expressions of `render`.
115
115
  */
116
- /** One move of an address. The moves of an address apply in order, from the focus of the evaluation. */
116
+ /**
117
+ * One move of an address. The moves of an address apply in order, from the focus of the evaluation. The key of `key`
118
+ * and the position of `index` can be an expression, which evaluates before the moves (NAV.COMPUTED).
119
+ */
117
120
  export type Move = {
118
121
  readonly t: "key";
119
- readonly key: string;
122
+ readonly key: string | Expr;
120
123
  } | {
121
124
  readonly t: "index";
122
- readonly i: number;
125
+ readonly i: number | Expr;
123
126
  } | {
124
127
  readonly t: "other";
125
128
  } | {
@@ -130,6 +133,16 @@ export type Move = {
130
133
  } | {
131
134
  readonly t: "parent";
132
135
  };
136
+ /** A move with a fixed key or position: a move with no expression. */
137
+ export type FixedMove = Exclude<Move, {
138
+ readonly t: "key" | "index";
139
+ }> | {
140
+ readonly t: "key";
141
+ readonly key: string;
142
+ } | {
143
+ readonly t: "index";
144
+ readonly i: number;
145
+ };
133
146
  /** An address: a list of moves. The empty list is the focus. */
134
147
  export type Addr = readonly Move[];
135
148
  /** An axis: the relation between a position and the targets that a body reads. */
@@ -163,6 +176,12 @@ export type Axis = {
163
176
  readonly t: "predecessors";
164
177
  } | {
165
178
  readonly t: "reachable";
179
+ } | {
180
+ readonly t: "list";
181
+ readonly list: Expr;
182
+ } | {
183
+ readonly t: "reverse";
184
+ readonly axis: Axis;
166
185
  } | {
167
186
  readonly t: "where";
168
187
  readonly axis: Axis;
@@ -195,11 +214,37 @@ export type Expr = {
195
214
  readonly axis: Axis;
196
215
  readonly body: Expr;
197
216
  readonly at?: Addr;
217
+ } | {
218
+ readonly tag: "fold";
219
+ readonly axis: Axis;
220
+ readonly init: Names;
221
+ readonly step: Names;
222
+ readonly result: Expr;
223
+ readonly at?: Addr;
224
+ } | {
225
+ readonly tag: "iterate";
226
+ readonly limit: number;
227
+ readonly init: Names;
228
+ readonly step: Names;
229
+ readonly until?: Expr;
230
+ readonly result: Expr;
231
+ } | {
232
+ readonly tag: "fn";
233
+ readonly params: readonly string[];
234
+ readonly body: Expr;
235
+ } | {
236
+ readonly tag: "call";
237
+ readonly fn: string;
238
+ readonly args: readonly Expr[];
198
239
  } | {
199
240
  readonly tag: "ext";
200
241
  readonly kind: string;
201
242
  readonly data: unknown;
202
243
  };
244
+ /** The names of a loop and an expression for each (LOOP.NAMES). */
245
+ export type Names = Readonly<Record<string, Expr>>;
246
+ /** The largest number of steps of `iterate` (ITERATE.LIMIT). */
247
+ export declare const MAX_ITERATIONS = 1e5;
203
248
  /** The tag of an expression kind. */
204
249
  export type ExprTag = Expr["tag"];
205
250
  /** An expression of one kind. */
@@ -225,20 +270,45 @@ export declare const rec: (fields: Readonly<Record<string, Expr>>) => ExprOf<"re
225
270
  * targets from the key of that address, not from the focus.
226
271
  */
227
272
  export declare function each(axis: Axis, body: Expr, at?: Addr): ExprOf<"each">;
273
+ /**
274
+ * This function makes a fold: a step at each target of `axis`, in order. `init` gives the names and their first
275
+ * values, and `step` gives the next values. `result` gives the value from the last values (LOOP.NAMES, FOLD.ORDER).
276
+ */
277
+ export declare function fold(axis: Axis, init: Names, step: Names, result: Expr, at?: Addr): ExprOf<"fold">;
278
+ /**
279
+ * This function makes an iteration: up to `limit` steps. `init` gives the names and their first values, and `step`
280
+ * gives the next values. A true `until` stops it, and `result` gives the value (ITERATE.LIMIT, ITERATE.UNTIL).
281
+ */
282
+ export declare function iterate(limit: number, init: Names, step: Names, result: Expr, until?: Expr): ExprOf<"iterate">;
283
+ /**
284
+ * This function makes a function (FN.BIND): the names of its parameters and its body. A function is only the value of
285
+ * a binding of `let`. The body sees the names of the place of that `let`, so a function cannot call itself.
286
+ */
287
+ export declare const fn: (params: readonly string[], body: Expr) => ExprOf<"fn">;
288
+ /** This function makes a call of a bound function (FN.CALL). The body evaluates at the position of the call. */
289
+ export declare const call: (name: string, ...args: Expr[]) => ExprOf<"call">;
228
290
  /** This function makes an expression of an extension kind. */
229
291
  export declare const ext: (kind: string, data: unknown) => ExprOf<"ext">;
230
- /** The move to an absolute key. */
231
- export declare const key: (k: string) => Move;
232
- /** The move to a position in the key order. */
233
- export declare const index: (i: number) => Move;
292
+ /** The move to an absolute key. The key can be an expression that gives a text. */
293
+ export declare function key(k: string): FixedMove;
294
+ export declare function key(k: string | Expr): Move;
295
+ /** The move to a position in the key order. The position can be an expression that gives a number. */
296
+ export declare function index(i: number): FixedMove;
297
+ export declare function index(i: number | Expr): Move;
298
+ /** This function gives the expression of a move with a computed key or position, or `undefined`. */
299
+ export declare function moveExpr(m: Move): Expr | undefined;
300
+ /** This function gives the expressions of the computed moves of an address, in the order of the moves. */
301
+ export declare const addrExprs: (at: Addr | undefined) => readonly Expr[];
302
+ /** This function tells if each move of an address is fixed. */
303
+ export declare const isFixedAddr: (at: Addr | undefined) => at is readonly FixedMove[];
234
304
  /** The move to the other key of a space with two keys. */
235
- export declare const other: Move;
305
+ export declare const other: FixedMove;
236
306
  /** The relative move in an array (one number) or a grid (two numbers). */
237
- export declare const offset: (...d: readonly number[]) => Move;
307
+ export declare const offset: (...d: readonly number[]) => FixedMove;
238
308
  /** The move back to the origin of the evaluation. */
239
- export declare const origin: Move;
309
+ export declare const origin: FixedMove;
240
310
  /** The move to the parent of the focus in a tree space. */
241
- export declare const parent: Move;
311
+ export declare const parent: FixedMove;
242
312
  /** The axes. */
243
313
  export declare const axes: {
244
314
  /** Each key of the space. */
@@ -273,17 +343,43 @@ export declare const axes: {
273
343
  readonly predecessors: Axis;
274
344
  /** Each key that a path of edges reaches from the focus, in breadth-first order, without the focus. */
275
345
  readonly reachable: Axis;
346
+ /**
347
+ * The targets of `axis` in the reverse order (AXIS.REVERSE). The inner axis is a base axis: not `where`, `reverse` or
348
+ * `table`. A test goes outside: `where(reverse(axis), test)`.
349
+ */
350
+ readonly reverse: (axis: Axis) => Axis;
351
+ /**
352
+ * The keys of the items of the list that `list` gives, in the order of the list (AXIS.LIST). The expression evaluates
353
+ * before the targets. An error item gives an error item for its target.
354
+ */
355
+ readonly list: (list: Expr) => Axis;
276
356
  /** The targets of `axis` where `test` gives `true`. */
277
357
  readonly where: (axis: Axis, test: Expr) => Axis;
278
358
  };
279
- /** This function tells if a value is a valid move. */
359
+ /** This function tells if a value is a valid move. The expression of a computed move must be valid too. */
280
360
  export declare function isMove(u: unknown): u is Move;
281
361
  /** This function tells if a value is a valid axis. It checks the tests of `where` too. */
282
362
  export declare function isAxis(u: unknown): u is Axis;
283
363
  /** This function tells if a value is a valid expression. It checks the whole tree. */
284
364
  export declare function isExpr(u: unknown): u is Expr;
285
- /** This function gives the child expressions of an expression, in the order of their child index. */
365
+ /**
366
+ * This function gives the reason that a value is not a valid expression, or `undefined` for a valid expression
367
+ * (EVAL.SHAPE). An expression from a newer version of Vex can have a tag that this version does not know. Unlike
368
+ * `isExpr`, it accepts a number that is not whole in a move or in a window, because it has a meaning at run time.
369
+ */
370
+ export declare function shapeError(u: unknown): string | undefined;
371
+ /**
372
+ * This function gives the child expressions of an expression, in the order of their child index. The expressions of
373
+ * the computed moves of an address come last. They evaluate at the position of their node, also for an axis.
374
+ */
286
375
  export declare function children(e: Expr): readonly Expr[];
376
+ /**
377
+ * This function gives the expressions of an axis, in the order of their child indexes. The expression of the axis
378
+ * `list` comes first, and then the tests of the `where` axes from the inside out. It uses a loop, not recursion.
379
+ */
380
+ export declare function axisExprs(a: Axis): readonly Expr[];
381
+ /** This function gives the expression of the axis `list` inside an axis, through `where` and `reverse`, if it has one. */
382
+ export declare function listOf(a: Axis): Expr | undefined;
287
383
  //#endregion
288
384
  //#region src/space.d.ts
289
385
  /** The kind of a space. The kind sets which moves and axes are valid. */
@@ -296,6 +392,11 @@ export interface Space<K extends string = string, O = unknown> {
296
392
  readonly kind: SpaceKind;
297
393
  /** The keys, in their order. */
298
394
  readonly keys: readonly K[];
395
+ /**
396
+ * The record of each key, in the order of `keys` (SPACE.RECORDS). A compiler reads a record by its index with it.
397
+ * A space without it gives each record with `get` only.
398
+ */
399
+ readonly records?: readonly (O | undefined)[];
299
400
  /** This function tells if the space has the key `k`. */
300
401
  has(k: string): k is K;
301
402
  /** This function gives the record at the key `k`, or `undefined`. */
@@ -341,9 +442,14 @@ export interface Position {
341
442
  readonly focus: string;
342
443
  }
343
444
  /** This function applies one move to the focus. It gives the new focus, or a `#REF!` error. */
344
- export declare function applyMove(s: Space, at: Position, m: Move): Result<string>;
445
+ export declare function applyMove(s: Space, at: Position, m: FixedMove): Result<string>;
446
+ /**
447
+ * This function gives the fixed moves of an address. `values` has the value of the expression of each computed move,
448
+ * in order (NAV.COMPUTED). A key that is not a text, or a position that is not a number, gives `#VALUE!`.
449
+ */
450
+ export declare function fixAddr(addr: Addr, values: readonly unknown[], at: Position): Result<readonly FixedMove[]>;
345
451
  /** This function applies the moves of an address in order. It gives the key where the address points. */
346
- export declare function resolveAddr(s: Space, at: Position, addr: Addr | undefined): Result<string>;
452
+ export declare function resolveAddr(s: Space, at: Position, addr: readonly FixedMove[] | undefined): Result<string>;
347
453
  /**
348
454
  * This function gives the targets of a base axis at a focus. It does not handle `where`, because the
349
455
  * interpreter must evaluate the test.
@@ -361,6 +467,8 @@ export declare function axisTargets(s: Space, at: Position, a: Exclude<Axis, {
361
467
  export type Law = "commutative" | "associative" | "idempotent";
362
468
  /** The kind of a parameter. The interpreter checks the arguments of an op that declares its parameters. */
363
469
  export type ParamKind = "domain" | "number" | "boolean" | "string" | "any";
470
+ /** The kind of the result of an op: a kind of a parameter, or `domain:Name` for a value of the domain `Name`. */
471
+ export type ReturnKind = ParamKind | `domain:${string}`;
364
472
  /** The description of one op of a domain. */
365
473
  export interface OpSpec<D = never> {
366
474
  /**
@@ -376,7 +484,15 @@ export interface OpSpec<D = never> {
376
484
  readonly liftScalar?: boolean | readonly boolean[];
377
485
  /** The kinds of the parameters after the receiver. When set, the interpreter checks the arguments. */
378
486
  readonly params?: readonly ParamKind[];
487
+ /**
488
+ * The kind of the result: `domain` for a value of this domain, and `domain:Name` for a value of the domain `Name`. A
489
+ * compiler reads it to know the kinds of the values of a program (KIND.RETURNS). The interpreter does not check it,
490
+ * and the law checker of the test kit does.
491
+ */
492
+ readonly returns?: ReturnKind;
379
493
  }
494
+ /** A JavaScript type of primitive values that a domain can accept. */
495
+ export type PrimitiveKind = "number" | "string" | "boolean";
380
496
  /** The type of an op that lifts number arguments. Use it to type the ops of a domain under `isolatedDeclarations`. */
381
497
  export type LiftedOp<D> = OpSpec<D> & {
382
498
  readonly liftScalar: true;
@@ -396,6 +512,11 @@ export interface DomainSpec<Name extends string, D, Ops extends Readonly<Record<
396
512
  readonly name: Name;
397
513
  /** The runtime test for the values of the domain. It must not give false positives. */
398
514
  readonly is: (u: unknown) => u is D;
515
+ /**
516
+ * The JavaScript type of the values of the domain, if `is` accepts each value of that type and no other value
517
+ * (KIND.PRIMITIVE). A compiler then finds the op of such a value before a run.
518
+ */
519
+ readonly primitive?: PrimitiveKind;
399
520
  /** The ops of the domain, with their metadata. */
400
521
  readonly ops: Ops;
401
522
  /** With `"all"`, each method of a value is an op, also without an entry in `ops`. The default is `"declared"`. */
@@ -410,6 +531,11 @@ export interface DomainSpec<Name extends string, D, Ops extends Readonly<Record<
410
531
  readonly encode?: (d: D) => unknown;
411
532
  /** The value of a JSON form that `encode` made. */
412
533
  readonly decode?: (json: unknown) => D;
534
+ /**
535
+ * Some values of the domain. A compiler gives them to an op and to its copy in a module: the two must give the same
536
+ * results (KIND.DOMAIN).
537
+ */
538
+ readonly samples?: () => readonly D[];
413
539
  }
414
540
  /** A domain. Make one with `defineDomain`. */
415
541
  export interface Domain<Name extends string = string, D = unknown, Ops extends Readonly<Record<string, OpSpec<D>>> = Readonly<Record<string, OpSpec<D>>>> extends DomainSpec<Name, D, Ops> {
@@ -454,8 +580,8 @@ export interface VexList<T = unknown> {
454
580
  export declare const vexList: <T>(items: readonly ListItem<T>[]) => VexList<T>;
455
581
  /** This function tells if a value is a Vex list. */
456
582
  export declare const isVexList: (u: unknown) => u is VexList;
457
- /** The name of a core list op. */
458
- export type ListOp = "count" | "sum" | "min" | "max" | "mean" | "any" | "all" | "none" | "values" | "keys" | "reduce" | "first" | "errors";
583
+ /** The name of a core list op. `sortBy` and `take` give a list, and the other ops give a value. */
584
+ export type ListOp = "count" | "sum" | "min" | "max" | "mean" | "any" | "all" | "none" | "values" | "keys" | "reduce" | "first" | "errors" | "sortBy" | "take" | "nth";
459
585
  /** The names of the core list ops. They apply when the first argument is a list. */
460
586
  export declare const LIST_OPS: ReadonlySet<string>;
461
587
  /** This function tells if a name is the name of a core list op. */
@@ -549,10 +675,6 @@ export interface Program {
549
675
  /** This method evaluates the program at an origin, with a trace of each node. */
550
676
  explain(opts: Omit<RunOptions, "trace">): Trace;
551
677
  }
552
- /**
553
- * This function compiles an expression. The result gives the same results and the same traces as `evaluate`,
554
- * because `evaluate` uses it too.
555
- */
556
678
  /** The deepest nesting of an expression that `compile` accepts (EVAL.NESTING). */
557
679
  export declare const MAX_NESTING = 500;
558
680
  /** This function gives the number of nodes on the longest path from the root of `e`. It uses a stack, not recursion. */
@@ -562,6 +684,12 @@ export declare function compile(expr: Expr, opts?: CompileOptions): Program;
562
684
  export declare function evaluate(expr: Expr, opts: EvalOptions): Result<unknown>;
563
685
  /** This function evaluates an expression and records a trace of each node. */
564
686
  export declare function explain(expr: Expr, opts: Omit<EvalOptions, "trace">): Trace;
687
+ /** This function tells if a segment of a path can name a field. A compiler uses the same rule as the interpreter. */
688
+ export declare const isFieldName: (seg: string) => boolean;
689
+ /** This function runs the `is` test of a domain. A test that throws counts as `false`. */
690
+ export declare function safeIs(d: AnyDomain, value: unknown): boolean;
691
+ /** This function tells if an argument has the kind of a parameter of an op of the domain `domain`. */
692
+ export declare function matchesKind(kind: ParamKind, value: unknown, domain: AnyDomain): boolean;
565
693
  /** This function gives a short name for the type of a value, for error messages. */
566
694
  export declare function describeType(u: unknown): string;
567
695
  /** This function gives the label of a node, for traces. */
@@ -590,7 +718,8 @@ export interface Dependency {
590
718
  }
591
719
  /**
592
720
  * This function gives the static reads of an expression. A host can use them to recompute a program only
593
- * when a field that it reads changes.
721
+ * when a field that it reads changes. A computed move reads a key that only a run knows. Its address keeps the
722
+ * expression, and the reads of that expression are in the list too (NAV.COMPUTED).
594
723
  */
595
724
  export declare function deps(e: Expr): readonly Dependency[];
596
725
  //#endregion
@@ -666,13 +795,16 @@ export declare function traversal<K extends string, T>(items: readonly Traversal
666
795
  //#region src/sheet.d.ts
667
796
  /** The extension kind of a cell reference. */
668
797
  export declare const CELL_KIND = "vex.cell";
669
- /** The data of a cell reference: the column, and the address from the focus. */
798
+ /**
799
+ * The data of a cell reference: the column, and the address from the focus. The data of an extension is not an
800
+ * expression, so the address has only fixed moves.
801
+ */
670
802
  export interface CellRef {
671
803
  readonly column: string;
672
- readonly at: Addr;
804
+ readonly at: readonly FixedMove[];
673
805
  }
674
806
  /** This function makes a cell reference: the column `column` at the address `at` from the focus. */
675
- export declare const cell: (column: string, at?: Addr) => Expr;
807
+ export declare const cell: (column: string, at?: readonly FixedMove[]) => Expr;
676
808
  /** The formulas of single cells: for each column, the formula of each key that has its own formula. */
677
809
  export type CellFormulas = ReadonlyMap<string, ReadonlyMap<string, Expr>>;
678
810
  /** A table of a run: its space, the formulas of its columns, and the formulas of its cells. */
@@ -689,7 +821,15 @@ export type SheetOptions = Omit<EvalOptions, "origin" | "trace" | "tables"> & {
689
821
  readonly name?: string;
690
822
  /** The other tables, by name (SHEET.TABLES). A cell reference reads the table of the space where it evaluates. */
691
823
  readonly tables?: ReadonlyMap<string, SheetTable>;
824
+ /**
825
+ * The compiler of the formulas of the columns (SHEET.COMPILE), for example `tiered` of `@mark1russell7/vex-compiler`.
826
+ * Without a compiler, the interpreter evaluates each formula. The compiled program must give the results of the
827
+ * interpreter.
828
+ */
829
+ readonly compile?: CompileFn;
692
830
  };
831
+ /** A compiler of the formulas of the columns of a run. */
832
+ export type CompileFn = (expr: Expr, options: CompileOptions) => Program;
693
833
  /**
694
834
  * One run of a sheet. It keeps the result of each cell that it evaluated. The space does not change, so a cell has
695
835
  * one result in a run.
@@ -720,6 +860,13 @@ export declare class SheetRun {
720
860
  cell(column: string, key: string, table?: string): Result<unknown>;
721
861
  /** This method evaluates one cell with a trace of the nodes of its program. The result is the result of the cell. */
722
862
  explain(column: string, key: string, table?: string): Trace;
863
+ /**
864
+ * This method evaluates each cell of the table `table`, or of the main table (SHEET.FILL). Each column comes after
865
+ * the columns that it reads, and the keys of a column come in the order of its reads from itself. Thus most reads
866
+ * find a finished cell. An evaluation that reads a cell that is not finished has no effect, and the search then
867
+ * evaluates its cell. A read of a cell gives the same result after a fill.
868
+ */
869
+ fill(table?: string): void;
723
870
  /**
724
871
  * This method evaluates the column `column` at each key before `key`, in key order. A recurrence over the keys,
725
872
  * for example a running total, then reads finished cells.
@@ -730,6 +877,7 @@ export declare class SheetRun {
730
877
  //#region src/builder.d.ts
731
878
  declare const ARG_TYPE: unique symbol;
732
879
  declare const CHAIN_VALUE: unique symbol;
880
+ declare const FN_RESULT: unique symbol;
733
881
  /** An argument token: an expression with the static type `T` of its value. */
734
882
  export interface Arg<T> {
735
883
  readonly kind: "vex.arg";
@@ -829,10 +977,16 @@ export interface ChainBase<Ctx extends ChainContext, T> {
829
977
  all(): Traversal<Ctx["keys"], T>;
830
978
  /** This method gives a chain whose value is a field of the record at the current address. */
831
979
  from<P extends keyof Ctx["record"] & string>(field: P): ChainOf<Ctx, NonNullable<Ctx["record"][P]>>;
832
- /** Navigation: later field references read at the key `k`. */
833
- to(k: Ctx["keys"]): ChainOf<Ctx, T>;
834
- /** Navigation: later field references read at the key with this position in the key order. */
835
- index(i: number): ChainOf<Ctx, T>;
980
+ /**
981
+ * Navigation: later field references read at the key `k`. A chain of a text gives the key, and it evaluates at the
982
+ * focus before the moves (NAV.COMPUTED).
983
+ */
984
+ to(k: Ctx["keys"] | ChainBase<Ctx, string>): ChainOf<Ctx, T>;
985
+ /**
986
+ * Navigation: later field references read at the key with this position in the key order. A chain of a number gives
987
+ * the position, and it evaluates at the focus before the moves (NAV.COMPUTED).
988
+ */
989
+ index(i: number | ChainBase<Ctx, number>): ChainOf<Ctx, T>;
836
990
  /** Navigation: later field references read at a relative position in an array or a grid. */
837
991
  offset(...d: readonly number[]): ChainOf<Ctx, T>;
838
992
  /** Navigation: later field references read at the origin again. */
@@ -853,8 +1007,20 @@ export interface ChainBase<Ctx extends ChainContext, T> {
853
1007
  call<N extends CallableFns<Ctx, T>>(name: N, ...args: CallArgs<Ctx, N>): ChainOf<Ctx, CallReturn<Ctx, N>>;
854
1008
  /** This method evaluates each branch with the current value, and gives a record of the results. */
855
1009
  fork<const B extends Readonly<Record<string, (c: ChainOf<Ctx, T>) => ChainBase<Ctx, unknown>>>>(branches: B): ChainOf<Ctx, { readonly [N in keyof B]: ValueOf<ReturnType<B[N]>>; }>;
1010
+ /**
1011
+ * This method makes up to `limit` steps (ITERATE.LIMIT). `init` gives the names and their first values, and `step`
1012
+ * gives the next values. A true `until` stops the steps (ITERATE.UNTIL). `result` gives the value of the chain.
1013
+ */
1014
+ iterate<const I extends Readonly<Record<string, unknown>>, R>(limit: number, init: I, step: (vars: LoopVars<Ctx, I>) => NoInfer<LoopStep<Ctx, I>>, result: (vars: LoopVars<Ctx, I>) => ArgInput<R, Ctx, false>, opts?: {
1015
+ readonly until?: (vars: LoopVars<Ctx, I>) => ArgInput<boolean, Ctx, false>;
1016
+ }): ChainOf<Ctx, R>;
856
1017
  /** This method binds names for the body. The body gets a variable token for each name. */
857
1018
  with<const B extends Readonly<Record<string, unknown>>, U>(binds: B, body: (c: ChainOf<Ctx, T>, vars: { readonly [N in keyof B]: Arg<ArgValue<Ctx, B[N]>>; }) => ChainBase<Ctx, U>): ChainOf<Ctx, U>;
1019
+ /**
1020
+ * This method binds functions of `root.fn` (BUILD.FN) and gives the value of `body`. `call` gives a chain of a call of
1021
+ * each function. A function cannot call another function of the same `functions`, so it uses an outer one (FN.TOTAL).
1022
+ */
1023
+ functions<const F extends Readonly<Record<string, FnDef<readonly FnParamKind[], unknown>>>, U>(fns: F, body: (c: ChainOf<Ctx, T>, call: FnCalls<Ctx, F>) => ChainBase<Ctx, U>): ChainOf<Ctx, U>;
858
1024
  /** The others axis: the body evaluates at each key except the focus. Its start value is the current value. */
859
1025
  others<U>(body: (c: ChainOf<Ctx, T>) => ChainBase<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
860
1026
  /** The neighbors axis of a grid. */
@@ -890,6 +1056,8 @@ export interface ChainBase<Ctx extends ChainContext, T> {
890
1056
  export interface AxisOpts<Ctx extends ChainContext, T> {
891
1057
  /** A test at each target. The body evaluates only at the targets where the test gives `true`. */
892
1058
  readonly where?: (c: ChainOf<Ctx, T>) => ChainBase<Ctx, boolean>;
1059
+ /** With `true`, the targets come in the reverse order (AXIS.REVERSE). The axis table has no reverse order. */
1060
+ readonly reverse?: boolean;
893
1061
  }
894
1062
  /** The members of a chain whose value has a domain. */
895
1063
  export interface DomainMembers<Ctx extends ChainContext, Dm> {
@@ -912,10 +1080,36 @@ export type ArgValue<Ctx extends ChainContext, A> = A extends Arg<infer T> ? T :
912
1080
  readonly kind: "vex.chain";
913
1081
  } ? ValueOf<A> : A extends keyof Ctx["record"] & string ? NonNullable<Ctx["record"][A]> : A;
914
1082
  /** A chain whose value is a list: the result of an axis. */
1083
+ /** The type of a value of a name of a loop: a literal of `init` gives its primitive type. */
1084
+ type LoopValue<Ctx extends ChainContext, A> = ArgValue<Ctx, A> extends (infer T) ? (T extends number ? number : T extends string ? string : T extends boolean ? boolean : T) : never;
1085
+ /** The names of a loop of the builder: a chain of the value of each name of `init` (LOOP.NAMES). */
1086
+ export type LoopVars<Ctx extends ChainContext, I> = { readonly [N in keyof I]: ChainOf<Ctx, LoopValue<Ctx, I[N]>>; };
1087
+ /** The next values of a step of a loop: a value for some of the names of `init`. */
1088
+ export type LoopStep<Ctx extends ChainContext, I> = { readonly [N in keyof I]?: ArgInput<LoopValue<Ctx, I[N]>, Ctx, false>; };
1089
+ /** The kind of a parameter of a function of the builder (BUILD.FN): a primitive type, or `any`. */
1090
+ export type FnParamKind = PrimitiveKind | "any";
1091
+ /** The type of a value of a kind of a parameter. */
1092
+ export type KindValue<K> = K extends "number" ? number : K extends "string" ? string : K extends "boolean" ? boolean : unknown;
1093
+ /** A chain of each parameter of a function of the builder. */
1094
+ export type ParamChains<Ctx extends ChainContext, P extends readonly FnParamKind[]> = { readonly [I in keyof P]: ChainOf<Ctx, KindValue<P[I]>>; };
1095
+ /** A function of the builder (BUILD.FN): the kinds of its parameters and its body. `functions` binds it. */
1096
+ export interface FnDef<P extends readonly FnParamKind[], R> {
1097
+ readonly kind: "vex.fn";
1098
+ readonly params: P;
1099
+ /** This phantom member carries the type of the result. It is not present at run time. */
1100
+ readonly [FN_RESULT]?: R;
1101
+ }
1102
+ /** The calls of the functions of `functions`: each gives a chain of a call (FN.CALL). */
1103
+ export type FnCalls<Ctx extends ChainContext, F> = { readonly [N in keyof F]: F[N] extends FnDef<infer P, infer R> ? (...args: { readonly [I in keyof P]: ArgInput<KindValue<P[I]>, Ctx, false>; }) => ChainOf<Ctx, R> : never; };
915
1104
  export interface ListChain<Ctx extends ChainContext, U> {
916
1105
  readonly kind: "vex.list-chain";
917
1106
  /** The expression of the chain, as plain data. */
918
1107
  readonly program: Expr;
1108
+ /**
1109
+ * This method folds the items in the order of the axis (FOLD.ORDER). `init` gives the names and their first values.
1110
+ * `step` gives the next values from the names and the item, a chain at the target. `result` gives the value.
1111
+ */
1112
+ fold<const I extends Readonly<Record<string, unknown>>, R>(init: I, step: (vars: LoopVars<Ctx, I>, item: ChainOf<Ctx, U>) => NoInfer<LoopStep<Ctx, I>>, result: (vars: LoopVars<Ctx, I>) => ArgInput<R, Ctx, false>): ChainOf<Ctx, R>;
919
1113
  count(opts?: ListOpts): ChainOf<Ctx, number>;
920
1114
  sum(this: ListChain<Ctx, number>, opts?: ListOpts): ChainOf<Ctx, number>;
921
1115
  mean(this: ListChain<Ctx, number>, opts?: ListOpts): ChainOf<Ctx, number>;
@@ -931,6 +1125,17 @@ export interface ListChain<Ctx extends ChainContext, U> {
931
1125
  errors(): ChainOf<Ctx, readonly VexError[]>;
932
1126
  first(opts?: ListOpts): ChainOf<Ctx, U>;
933
1127
  reduce(op: OpNames<DomainFor<Ctx["domains"], U>>, opts?: ReduceOpts<Ctx>): ChainOf<Ctx, U>;
1128
+ /** The items in the order of their values, from the smallest (LIST.SORT). The values are numbers or texts of one kind. */
1129
+ sortBy(opts?: ListOpts): ListChain<Ctx, U>;
1130
+ /** The first `n` items (LIST.TAKE). */
1131
+ take(n: number, opts?: ListOpts): ListChain<Ctx, U>;
1132
+ /** The value of the item at the position `i`, from 0 (LIST.NTH). */
1133
+ nth(i: number, opts?: ListOpts): ChainOf<Ctx, U>;
1134
+ /**
1135
+ * The axis list (AXIS.LIST): the body evaluates at the key of each item, in the order of the list. The body reads the
1136
+ * fields of the record of the item. The chain of the body has no value of its own.
1137
+ */
1138
+ each<V>(body: (c: ChainOf<Ctx, null>) => ChainBase<Ctx, V>, opts?: AxisOpts<Ctx, null>): ListChain<Ctx, V>;
934
1139
  /** The list at the origin `k`: one item for each target of the axis, with its key and its result. */
935
1140
  result(k: Ctx["keys"]): Result<VexList<U>>;
936
1141
  /** The list at the origin `k`, as an `Optional`. */
@@ -970,6 +1175,11 @@ export interface Root<Ctx extends ChainContext> {
970
1175
  ext<T>(kind: string, data?: unknown): Arg<T>;
971
1176
  /** This method starts a sheet over the space: named columns of formulas. Refer to `Sheet`. */
972
1177
  sheet(): Sheet<Ctx, object>;
1178
+ /**
1179
+ * This method makes a function (BUILD.FN) with the kinds of its parameters. The body gets a chain of each parameter,
1180
+ * and it evaluates at the focus of each call. The method `functions` of a chain binds the function.
1181
+ */
1182
+ fn<const P extends readonly FnParamKind[], R>(params: P, body: (...params: ParamChains<Ctx, P>) => ChainBase<Ctx, R>): FnDef<P, R>;
973
1183
  /** The space of the root. */
974
1184
  readonly space: Space<Ctx["keys"], Ctx["record"]>;
975
1185
  }
@@ -977,11 +1187,12 @@ export interface Root<Ctx extends ChainContext> {
977
1187
  export interface SheetRoot<Ctx extends ChainContext, Cols> extends Root<Ctx> {
978
1188
  /**
979
1189
  * This method makes a cell reference: the column `column` at the key `at`, or at the address `at` from the focus.
980
- * Without `at`, it reads at the focus. The type is the type of a column before this one.
1190
+ * The address has only fixed moves. Without `at`, it reads at the focus. The type is the type of a column before
1191
+ * this one.
981
1192
  */
982
- cell<N extends keyof Cols & string>(column: N, at?: Ctx["keys"] | Addr): Arg<Cols[N]>;
1193
+ cell<N extends keyof Cols & string>(column: N, at?: Ctx["keys"] | readonly FixedMove[]): Arg<Cols[N]>;
983
1194
  /** This method makes a cell reference to any column, also this column or a later one. The caller gives the type. */
984
- cell<T>(column: string, at?: Ctx["keys"] | Addr): Arg<T>;
1195
+ cell<T>(column: string, at?: Ctx["keys"] | readonly FixedMove[]): Arg<T>;
985
1196
  }
986
1197
  /** One row of a sheet: the key and the result of each column. */
987
1198
  export interface SheetRow<K extends string, Cols> {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["Optional","FamilyOptional"],"sources":["../../../node_modules/.pnpm/@mark1russell7+optional@https+++codeload.github.com+mark1russell7+optional+tar.gz+1c649_51d63135d3a4bb347c942166e3e4ba82/node_modules/@mark1russell7/optional/dist/index.d.ts","../src/errors.ts","../src/result.ts","../src/ir.ts","../src/space.ts","../src/domain.ts","../src/list.ts","../src/trace.ts","../src/evaluate.ts","../src/deps.ts","../src/json.ts","../src/traversal.ts","../src/sheet.ts","../src/builder.ts"],"ignoreList":[0],"mappings":";;;;;;KAKY;WACC;;;KAGD,KAAK;WACJ;WACA,OAAO;;;KAGRA,WAAS,KAAK,OAAO,KAAK;;;;;;;YCV1B;;YAGA;;;;;wBAqDI,gBAAgB;;qBAMnB,eAAgB,GAAG;;iBAGf;;WAEN,MAAM;;WAEN,MAAM;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;W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AEX,SAAS,SAAS,eAAe;;WAEjC,cAAc,SAAS,eAAe,SAAS,eAAe;;EAEvE,OAAO,gBAAgB,eAAe,GAAG,aAAa,QAAQ,IAAI,OAAO,KAAK;;EAE9E,GAAG,gBAAgB,eAAe,GAAG,aAAa,QAAQ,IAAI,SAAS,KAAK;;EAE5E,QAAQ,GAAG,aAAa,cAAc,gBAAgB;;EAEtD,kBAAkB,SAAS,aAAa;;;YAI9B,aAAa,MAAM,oBAAoB,gBAAgB,OAAO,KAAK;;iBAG9D,WAAW,UAAU,UAAU;;WAErC,MAAM;;WAEN,aAAa,SAAS,eAAe;;;iBAI/B,SAAS,qBAAqB,aAAa,UAAU,UAAU;;EAE9E,KAAK,kBAAkB,GAAG,GAAG,MAAM,GAAG,KAAK;aAAgB,SAAS;aAAc,MAAM;aAAY,QAAQ,MAAM;aAAa,KAAK;;;WAE3H,SAAS;;;;;;wBAuYJ,UAAU,qBAAqB,gBAC1C,SAAS,MACX,SAAS;EAAS,kBAAkB,UAAU,UAAU,OAAO,SAAS,WAAW,KAAK,SAAS,KAAK;;;YAe7F,cAAc,MAAM,YAAY"}
1
+ {"version":3,"file":"index.d.ts","names":["Optional","FamilyOptional"],"sources":["../../../node_modules/.pnpm/@mark1russell7+optional@https+++codeload.github.com+mark1russell7+optional+tar.gz+1c649_51d63135d3a4bb347c942166e3e4ba82/node_modules/@mark1russell7/optional/dist/index.d.ts","../src/errors.ts","../src/result.ts","../src/ir.ts","../src/space.ts","../src/domain.ts","../src/list.ts","../src/trace.ts","../src/evaluate.ts","../src/deps.ts","../src/json.ts","../src/traversal.ts","../src/sheet.ts","../src/builder.ts"],"ignoreList":[0],"mappings":";;;;;;KAKY;WACC;;;KAGD,KAAK;WACJ;WACA,OAAO;;;KAGRA,WAAS,KAAK,OAAO,KAAK;;;;;;;YCV1B;;YAGA;;;;;wBAuDI,gBAAgB;;qBAMnB,eAAgB,GAAG;;iBAGf;;WAEN,MAAM;;WAEN,MAAM;;WAEN;;WAEA;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