@mark1russell7/vex 0.5.0 → 0.6.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/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" | "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";
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").
@@ -150,6 +150,19 @@ export type Axis = {
150
150
  readonly t: "descendants";
151
151
  } | {
152
152
  readonly t: "siblings";
153
+ } | {
154
+ readonly t: "window";
155
+ readonly from: number;
156
+ readonly to: number;
157
+ } | {
158
+ readonly t: "table";
159
+ readonly name: string;
160
+ } | {
161
+ readonly t: "successors";
162
+ } | {
163
+ readonly t: "predecessors";
164
+ } | {
165
+ readonly t: "reachable";
153
166
  } | {
154
167
  readonly t: "where";
155
168
  readonly axis: Axis;
@@ -244,6 +257,22 @@ export declare const axes: {
244
257
  readonly descendants: Axis;
245
258
  /** The other children of the parent of the focus. For a root, the other roots. */
246
259
  readonly siblings: Axis;
260
+ /**
261
+ * The keys at the offsets from `from` to `to` of the focus, in order: a window of rows. The offset 0 is the focus. In
262
+ * a tree space, the offsets go among the siblings. An offset outside the space has no target.
263
+ */
264
+ readonly window: (from: number, to: number) => Axis;
265
+ /**
266
+ * Each key of the table `name` of the evaluation, in key order. The body evaluates in the space of that table, and
267
+ * there the origin is the target.
268
+ */
269
+ readonly table: (name: string) => Axis;
270
+ /** The keys at the ends of the edges from the focus, in a graph space. In a tree space, the children. */
271
+ readonly successors: Axis;
272
+ /** The keys with an edge to the focus, in key order. In a tree space, the parent. */
273
+ readonly predecessors: Axis;
274
+ /** Each key that a path of edges reaches from the focus, in breadth-first order, without the focus. */
275
+ readonly reachable: Axis;
247
276
  /** The targets of `axis` where `test` gives `true`. */
248
277
  readonly where: (axis: Axis, test: Expr) => Axis;
249
278
  };
@@ -258,7 +287,7 @@ export declare function children(e: Expr): readonly Expr[];
258
287
  //#endregion
259
288
  //#region src/space.d.ts
260
289
  /** The kind of a space. The kind sets which moves and axes are valid. */
261
- export type SpaceKind = "record" | "array" | "grid" | "tree";
290
+ export type SpaceKind = "record" | "array" | "grid" | "tree" | "graph";
262
291
  /**
263
292
  * A space: an immutable collection of records with keys. A Vex program evaluates at one key of a space.
264
293
  * Nothing changes a space after it is made.
@@ -279,12 +308,15 @@ export interface Space<K extends string = string, O = unknown> {
279
308
  parentOf?(k: string): K | undefined;
280
309
  /** The children of the key `k` in a tree space, in key order. Other spaces do not have it. */
281
310
  childrenOf?(k: string): readonly K[];
311
+ /** The keys at the ends of the edges from `k`, in a graph space or a tree space. Other spaces do not have it. */
312
+ successorsOf?(k: string): readonly K[];
313
+ /** The keys with an edge to `k`, in key order, in a graph space or a tree space. Other spaces do not have it. */
314
+ predecessorsOf?(k: string): readonly K[];
282
315
  }
283
316
  /** The key type of a grid space. */
284
317
  export type GridKey = `${number},${number}`;
285
318
  /** The key type of an array space. */
286
319
  export type ArrayKey = `${number}`;
287
- /** The constructors of spaces. */
288
320
  export declare const space: {
289
321
  /** This function makes a space from the entries of an object. The keys are the property names. */
290
322
  readonly record: <const R extends Readonly<Record<string, unknown>>>(records: R) => Space<keyof R & string, R[keyof R]>;
@@ -297,6 +329,11 @@ export declare const space: {
297
329
  * with the parent `null`, is a root. A parent that is not a key, or a cycle of parents, throws a `TypeError`.
298
330
  */
299
331
  readonly tree: <const R extends Readonly<Record<string, unknown>>>(records: R, parents: Readonly<Partial<Record<keyof R & string, (keyof R & string) | null>>>) => Space<keyof R & string, R[keyof R]>;
332
+ /**
333
+ * This function makes a graph space: the records by key, and the edges from each key, in order. An edge to a key
334
+ * that is not in the graph throws a `TypeError`. A graph can have cycles, and an edge can go from a key to itself.
335
+ */
336
+ readonly graph: <const R extends Readonly<Record<string, unknown>>>(records: R, edges: Readonly<Partial<Record<keyof R & string, readonly (keyof R & string)[]>>>) => Space<keyof R & string, R[keyof R]>;
300
337
  };
301
338
  /** The position of an evaluation: the key where it started, and the key where relative references read. */
302
339
  export interface Position {
@@ -487,6 +524,8 @@ export interface EvalOptions {
487
524
  readonly extensions?: Readonly<Record<string, ExtHandler>>;
488
525
  /** Variables that the program can read with `v(name)`. */
489
526
  readonly vars?: Readonly<Record<string, unknown>>;
527
+ /** The other spaces of the evaluation, by name. The axis `table(name)` reads them. */
528
+ readonly tables?: Readonly<Record<string, Space>>;
490
529
  /** A receiver of trace events. */
491
530
  readonly trace?: TraceSink;
492
531
  }
@@ -497,7 +536,7 @@ export declare const SPECIAL_FORMS: ReadonlySet<string>;
497
536
  /** The options that a compiled program keeps: the domains, the free functions and the extension handlers. */
498
537
  export type CompileOptions = Pick<EvalOptions, "domains" | "fns" | "extensions">;
499
538
  /** The options of one run of a compiled program. */
500
- export type RunOptions = Pick<EvalOptions, "space" | "origin" | "vars" | "trace">;
539
+ export type RunOptions = Pick<EvalOptions, "space" | "origin" | "vars" | "trace" | "tables">;
501
540
  /**
502
541
  * A compiled program: the expression as a tree of functions. A program evaluates many times at different origins,
503
542
  * and over different spaces, without a new walk of the expression.
@@ -634,8 +673,23 @@ export interface CellRef {
634
673
  }
635
674
  /** This function makes a cell reference: the column `column` at the address `at` from the focus. */
636
675
  export declare const cell: (column: string, at?: Addr) => Expr;
637
- /** The options of a sheet run: the evaluation options without the origin and the trace. */
638
- export type SheetOptions = Omit<EvalOptions, "origin" | "trace">;
676
+ /** The formulas of single cells: for each column, the formula of each key that has its own formula. */
677
+ export type CellFormulas = ReadonlyMap<string, ReadonlyMap<string, Expr>>;
678
+ /** A table of a run: its space, the formulas of its columns, and the formulas of its cells. */
679
+ export interface SheetTable {
680
+ readonly space: Space;
681
+ readonly columns: ReadonlyMap<string, Expr>;
682
+ readonly cells?: CellFormulas;
683
+ }
684
+ /** The options of a sheet run: the evaluation options without the origin and the trace, and the tables. */
685
+ export type SheetOptions = Omit<EvalOptions, "origin" | "trace" | "tables"> & {
686
+ /** The cells with their own formula. The formula of a cell replaces the formula of its column at its key. */
687
+ readonly cells?: CellFormulas;
688
+ /** The name of this table, so the axis `table(name)` in a formula of another table can read it. */
689
+ readonly name?: string;
690
+ /** The other tables, by name (SHEET.TABLES). A cell reference reads the table of the space where it evaluates. */
691
+ readonly tables?: ReadonlyMap<string, SheetTable>;
692
+ };
639
693
  /**
640
694
  * One run of a sheet. It keeps the result of each cell that it evaluated. The space does not change, so a cell has
641
695
  * one result in a run.
@@ -650,23 +704,27 @@ export type SheetOptions = Omit<EvalOptions, "origin" | "trace">;
650
704
  * cell, and the cell that reads it pauses. A paused evaluation reads no other cell and changes no state of the
651
705
  * search. The run then evaluates the started cell from its own list, and it evaluates the paused cell again after
652
706
  * that cell. A formula is pure (EVAL.PURE), so the second evaluation gives the result of one evaluation.
707
+ *
708
+ * A run can have more tables (SHEET.TABLES). Each table has its own space, and one search covers the cells of all
709
+ * the tables. Thus a cycle across tables gives `#CYCLE!` too.
653
710
  */
654
711
  export declare class SheetRun {
655
712
  #private;
656
713
  /** `budget` is the budget of the stack in estimated frames. A test can make it small, so the run pauses often. */
657
714
  constructor(columns: ReadonlyMap<string, Expr>, opts: SheetOptions, budget?: number);
658
715
  /**
659
- * This method gives the result of one cell: the column `column` at the key `key`. A read from a host first evaluates
660
- * the column at the keys before `key`, in key order. Thus a recurrence over the keys reads finished cells.
716
+ * This method gives the result of one cell: the column `column` at the key `key` of the main table, or of the table
717
+ * `table`. A read from a host first evaluates the column at the keys before `key`, in key order. Thus a recurrence
718
+ * over the keys reads finished cells.
661
719
  */
662
- cell(column: string, key: string): Result<unknown>;
663
- /** This method evaluates one cell with a trace of the nodes of its column. The result is the result of the cell. */
664
- explain(column: string, key: string): Trace;
720
+ cell(column: string, key: string, table?: string): Result<unknown>;
721
+ /** This method evaluates one cell with a trace of the nodes of its program. The result is the result of the cell. */
722
+ explain(column: string, key: string, table?: string): Trace;
665
723
  /**
666
724
  * This method evaluates the column `column` at each key before `key`, in key order. A recurrence over the keys,
667
725
  * for example a running total, then reads finished cells.
668
726
  */
669
- warm(column: string, key: string): void;
727
+ warm(column: string, key: string, table?: string): void;
670
728
  }
671
729
  //#endregion
672
730
  //#region src/builder.d.ts
@@ -811,6 +869,22 @@ export interface ChainBase<Ctx extends ChainContext, T> {
811
869
  descendants<U>(body: (c: ChainOf<Ctx, T>) => ChainBase<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
812
870
  /** The siblings axis of a tree space: the other children of the parent, or the other roots for a root. */
813
871
  siblings<U>(body: (c: ChainOf<Ctx, T>) => ChainBase<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
872
+ /**
873
+ * The window axis of an array space or a tree space: the keys at the offsets from `from` to `to` of the focus, in
874
+ * order. The offset 0 is the focus. An offset outside the space has no target.
875
+ */
876
+ window<U>(from: number, to: number, body: (c: ChainOf<Ctx, T>) => ChainBase<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
877
+ /**
878
+ * The table axis: the body evaluates at each key of the table `name` of the evaluation, in the space of that table.
879
+ * The body reads the fields of that table, but the types of the chain are the types of this space.
880
+ */
881
+ table<U>(name: string, body: (c: ChainOf<Ctx, T>) => ChainBase<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
882
+ /** The successors axis of a graph space: the ends of the edges from the focus. In a tree space, the children. */
883
+ successors<U>(body: (c: ChainOf<Ctx, T>) => ChainBase<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
884
+ /** The predecessors axis of a graph space: the keys with an edge to the focus. In a tree space, the parent. */
885
+ predecessors<U>(body: (c: ChainOf<Ctx, T>) => ChainBase<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
886
+ /** The reachable axis of a graph space: each key that a path of edges reaches, in breadth-first order. */
887
+ reachable<U>(body: (c: ChainOf<Ctx, T>) => ChainBase<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
814
888
  }
815
889
  /** The options of an axis. */
816
890
  export interface AxisOpts<Ctx extends ChainContext, T> {
@@ -930,8 +1004,15 @@ export interface Sheet<Ctx extends ChainContext, Cols, Decl = object> {
930
1004
  * `cell` and its type: the column itself (a recurrence) or a later column. It has no effect at run time.
931
1005
  */
932
1006
  declare<D extends Readonly<Record<string, unknown>>>(): Sheet<Ctx, Cols, Decl & D>;
1007
+ /**
1008
+ * This method gives a new sheet in which the cell of the column `column` at the key `k` has its own formula. That
1009
+ * formula replaces the formula of the column at the key `k`. It must give a value of the type of the column.
1010
+ */
1011
+ cellFormula<const N extends keyof (Cols & Decl) & string>(k: Ctx["keys"], column: N, formula: (r: SheetRoot<Ctx, Cols & Decl>) => ChainBase<Ctx, (Cols & Decl)[N]>): Sheet<Ctx, Cols, Decl>;
933
1012
  /** The program of each column. */
934
1013
  readonly columns: Readonly<Record<string, Expr>>;
1014
+ /** The program of each cell with its own formula, by column and then by key. */
1015
+ readonly cellFormulas: Readonly<Record<string, Readonly<Record<string, Expr>>>>;
935
1016
  /** This method evaluates one cell, and gives the error if there is one. */
936
1017
  result<N extends keyof Cols & string>(k: Ctx["keys"], column: N): Result<Cols[N]>;
937
1018
  /** This method evaluates one cell. An error gives `none`. */
@@ -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;;;;;wBAiDI,gBAAgB;;qBAMnB,eAAgB,GAAG;;iBAGf;;WAEN,MAAM;;WAEN,MAAM;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB;;;iBAIM;WACN;WACA;WACA;WACA;WACA,kBAAkB;WAClB;;;qBAIE,SAAU,MAAM,cAAY;;wBAGzB,SAAS,MAAM,WAAW,iBAAiB,UAAS,eAAoB;;qBAe3E,cAAe,GAAG;;;;;;;;YC3GnB,SAAS,KAAKC,WAAe;;YAG7B,OAAO;WAAgB;WAAmB,OAAO;;WAAiB;WAAoB,OAAO;;;qBAK5F,OAAQ,GAAG,OAAO,MAAI,SAAS;;qBAG/B,OAAQ,gBAAc,SAAS;;qBAG/B,KAAM,GAAG,OAAO,MAAI,OAAO;;qBAG3B,OAAQ,WAAW,OAAO,aAAW,OAAO;;qBAG5C,SAAU,GAAG,GAAG,SAAS,OAAK;WAAgB;WAAsB,OAAO;;;qBAG3E,SAAU,GAAG,GAAG,SAAS,OAAK;WAAgB;;;qBAG9C,aAAc,GAAG,GAAG,OAAO,OAAK,SAAS;;qBAGzC,QAAS,GA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,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;;;;;wBAqDI,gBAAgB;;qBAMnB,eAAgB,GAAG;;iBAGf;;WAEN,MAAM;;WAEN,MAAM;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB;;;iBAIM;WACN;WACA;WACA;WACA;WACA,kBAAkB;WAClB;;;qBAIE,SAAU,MAAM,cAAY;;wBAGzB,SAAS,MAAM,WAAW,iBAAiB,UAAS,eAAoB;;qBAe3E,cAAe,GAAG;;;;;;;;YC/GnB,SAAS,KAAKC,WAAe;;YAG7B,OAAO;WAAgB;WAAmB,OAAO;;WAAiB;WAAoB,OAAO;;;qBAK5F,OAAQ,GAAG,OAAO,MAAI,SAAS;;qBAG/B,OAAQ,gBAAc,SAAS;;qBAG/B,KAAM,GAAG,OAAO,MAAI,OAAO;;qBAG3B,OAAQ,WAAW,OAAO,aAAW,OAAO;;qBAG5C,SAAU,GAAG,GAAG,SAAS,OAAK;WAAgB;WAAsB,OAAO;;;qBAG3E,SAAU,GAAG,GAAG,SAAS,OAAK;WAAgB;;;qBAG9C,aAAc,GAAG,GAAG,OAAO,OAAK,SAAS;;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