@mark1russell7/vex 0.9.1 → 0.11.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 +18 -2
- package/build/index.d.ts +163 -67
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1948 -485
- package/build/index.js.map +1 -1
- package/package.json +5 -2
- package/src/builder.ts +126 -32
- package/src/deps.ts +174 -60
- package/src/document.ts +133 -248
- package/src/errors.ts +7 -3
- package/src/evaluate.ts +106 -13
- package/src/index.ts +4 -1
- package/src/kernel.ts +904 -0
- package/src/list.ts +41 -6
- package/src/plan.ts +88 -0
- package/src/same.ts +31 -0
- package/src/sheet.ts +2 -1
- package/src/write.ts +257 -0
package/README.md
CHANGED
|
@@ -41,8 +41,8 @@ The types know the fields of the records and the ops of each domain. `root.from(
|
|
|
41
41
|
- **Sheets.** Named columns of formulas that read each other, like the columns of a spreadsheet. A cycle of reads gives `#CYCLE!`.
|
|
42
42
|
- **Error values.** Each failure has a code, a kind, a message, the path of its node, the origin and the focus. `ifError` catches an error.
|
|
43
43
|
- **Programs are data.** A program is a JSON tree. `explain` gives a trace, `deps` gives the reads, and `compile` gives a program that evaluates at each record of each space.
|
|
44
|
-
- **Documents.** A program can also be a document of [coeval](https://github.com/mark1russell7/coeval), the
|
|
45
|
-
- **
|
|
44
|
+
- **Documents.** A program can also be a document of [coeval](https://github.com/mark1russell7/coeval), the kernel of the languages of the family.
|
|
45
|
+
- **One runtime dependency.** The package is one ES module with its type declarations. Its one dependency is `@mark1russell7/coeval`.
|
|
46
46
|
|
|
47
47
|
## Documents
|
|
48
48
|
|
|
@@ -62,6 +62,22 @@ evaluate(doc, { space: space.array([{ n: 2 }]), origin: "0", domains: [NumDomain
|
|
|
62
62
|
|
|
63
63
|
A document that is not valid gives the error `#VALUE!` with the reason and the location of the part. The rules are in [the specification](https://github.com/mark1russell7/vex/blob/main/spec/README.md#41-documents).
|
|
64
64
|
|
|
65
|
+
## The kernel of coeval
|
|
66
|
+
|
|
67
|
+
coeval is the core of Vex (decision D13 of coeval). `VEX_WORLD` gives the contract of each kind of a document as data: the shape of its parts, the data of its fields and its names. The static kit of the kernel checks each document by these contracts before `fromDocument` reads it. `deps` finds the reads with the static kit too.
|
|
68
|
+
|
|
69
|
+
The kernel is also the reference tier of Vex. `kernelPlan` evaluates the document of a program with `vexMachine`, and the interpreter and the compiler give its results. `reference` reads the document with the reference interpreter of the kernel, and `agree` compares the tiers.
|
|
70
|
+
|
|
71
|
+
```ts doctest
|
|
72
|
+
import { app, kernelPlan, ref, space } from "@mark1russell7/vex";
|
|
73
|
+
import { NumDomain } from "@mark1russell7/vex-domains";
|
|
74
|
+
|
|
75
|
+
const plan = kernelPlan(app("add", ref("n"), ref("n")), { domains: [NumDomain] });
|
|
76
|
+
plan.run({ space: space.array([{ n: 2 }]), origin: "0" }); // => { ok: true, value: 4 }
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Vex keeps what is its own: the typed domains, the spaces, the moves and the axes, the closure compiler, the loop compiler and the sheets.
|
|
80
|
+
|
|
65
81
|
## Related packages
|
|
66
82
|
|
|
67
83
|
- [`@mark1russell7/vex-domains`](https://www.npmjs.com/package/@mark1russell7/vex-domains): 2D vectors, colors, angles, numbers and booleans
|
package/build/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Agreement, Definitions, Envelope, Envelope as Envelope$1, EvalError, HostThing, Json, KernelCode, Machine, Result as Result$1, World } from "@mark1russell7/coeval";
|
|
1
2
|
//#region ../../node_modules/.pnpm/@mark1russell7+optional@https+++codeload.github.com+mark1russell7+optional+tar.gz+1c649_51d63135d3a4bb347c942166e3e4ba82/node_modules/@mark1russell7/optional/dist/index.d.ts
|
|
2
3
|
/**
|
|
3
4
|
* The Optional of the family: a value that is present (`Some`) or absent (`None`). The packages render and Vex use
|
|
@@ -17,10 +18,12 @@ type Optional$1<T> = None | Some<T>;
|
|
|
17
18
|
//#endregion
|
|
18
19
|
//#region src/errors.d.ts
|
|
19
20
|
/**
|
|
20
|
-
* The error codes of Vex. The names come from the spreadsheet error values, because a Vex program is a
|
|
21
|
-
*
|
|
21
|
+
* The error codes of Vex. The names come from the spreadsheet error values, because a Vex program is a spreadsheet
|
|
22
|
+
* formula over records. Each code is a code of the kernel of coeval with the same meaning. For example, `#N/A` is a step
|
|
23
|
+
* that reaches nothing, and `#DEPTH!` is a full call stack. The type checks it: a code that the kernel does not have is
|
|
24
|
+
* not a member.
|
|
22
25
|
*/
|
|
23
|
-
export type ErrorCode = "#REF!" | "#N/A" | "#VALUE!" | "#NAME?" | "#NUM!" | "#CALC!" | "#ARGS" | "#CYCLE!" | "#DEPTH!"
|
|
26
|
+
export type ErrorCode = Extract<KernelCode, "#REF!" | "#N/A" | "#VALUE!" | "#NAME?" | "#NUM!" | "#CALC!" | "#ARGS" | "#CYCLE!" | "#DEPTH!">;
|
|
24
27
|
/** The cause of an error, in more detail than the code. */
|
|
25
28
|
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
29
|
/**
|
|
@@ -578,10 +581,17 @@ export interface VexList<T = unknown> {
|
|
|
578
581
|
}
|
|
579
582
|
/** This function makes a list. */
|
|
580
583
|
export declare const vexList: <T>(items: readonly ListItem<T>[]) => VexList<T>;
|
|
581
|
-
/**
|
|
584
|
+
/**
|
|
585
|
+
* This function tells if a value is a Vex list (LIST.SHAPE). A list has the kind `vex.list`, and each item has a text key
|
|
586
|
+
* and a result. Another value with the kind `vex.list` is a record, so no list op applies to it. A frozen
|
|
587
|
+
* list passes the check once.
|
|
588
|
+
*/
|
|
582
589
|
export declare const isVexList: (u: unknown) => u is VexList;
|
|
583
|
-
/**
|
|
584
|
-
|
|
590
|
+
/**
|
|
591
|
+
* The name of a core list op. `sortBy`, `take`, `drop`, `append`, `flat` and `without` give a list (LIST.BUILD), and
|
|
592
|
+
* the other ops give a value. `get` gives the value at a key (LIST.GET).
|
|
593
|
+
*/
|
|
594
|
+
export type ListOp = "count" | "sum" | "min" | "max" | "mean" | "any" | "all" | "none" | "values" | "keys" | "reduce" | "first" | "errors" | "sortBy" | "take" | "nth" | "drop" | "append" | "flat" | "without" | "get";
|
|
585
595
|
/** The names of the core list ops. They apply when the first argument is a list. */
|
|
586
596
|
export declare const LIST_OPS: ReadonlySet<string>;
|
|
587
597
|
/** This function tells if a name is the name of a core list op. */
|
|
@@ -625,58 +635,22 @@ export interface TraceSink {
|
|
|
625
635
|
readonly events: TraceEvent[];
|
|
626
636
|
}
|
|
627
637
|
//#endregion
|
|
628
|
-
//#region ../../node_modules/.pnpm/@mark1russell7+coeval@0.1.0/node_modules/@mark1russell7/coeval/build/index.d.ts
|
|
629
|
-
//#region src/doc.d.ts
|
|
630
|
-
/** A JSON value. */
|
|
631
|
-
type Json = null | boolean | number | string | readonly Json[] | {
|
|
632
|
-
readonly [key: string]: Json;
|
|
633
|
-
};
|
|
634
|
-
/** One step of a path that is a plain key: a name, or an index of a list. */
|
|
635
|
-
type Key = string | number;
|
|
636
|
-
/**
|
|
637
|
-
* The type of a document is a reference into the world (the registry of kinds).
|
|
638
|
-
*
|
|
639
|
-
* - A text is a base reference with one key: `"add"`.
|
|
640
|
-
* - A list of keys is a base reference with a path: `["git", "push"]`.
|
|
641
|
-
* - A document of type `ref` is the same reference, expanded. Its path starts at the root `world`.
|
|
642
|
-
*
|
|
643
|
-
* The kernel resolves a base reference itself. The expanded form is necessary only to attach more to the
|
|
644
|
-
* reference. Thus the chain of types stops at a base reference.
|
|
645
|
-
*/
|
|
646
|
-
type TypeRef = string | readonly Key[] | {
|
|
647
|
-
readonly type: "ref";
|
|
648
|
-
readonly value: readonly Json[];
|
|
649
|
-
};
|
|
650
|
-
/**
|
|
651
|
-
* A typed document: an envelope with a header and a value. The header names the type of the value. The value is
|
|
652
|
-
* not changed by the envelope at any time. Thus any JSON value can have a type: a number, a list, a text or a record.
|
|
653
|
-
*/
|
|
654
|
-
type Envelope = {
|
|
655
|
-
/** The type: a reference to a kind of the world. */
|
|
656
|
-
readonly type: TypeRef;
|
|
657
|
-
/** The value. */
|
|
658
|
-
readonly value: Json;
|
|
659
|
-
/** The name of a binding. A sequence gives the result of this document to the later steps under this name. */
|
|
660
|
-
readonly name?: string;
|
|
661
|
-
/** The own entries: one evaluator name for each verb. An own entry changes only this document. */
|
|
662
|
-
readonly own?: Readonly<Record<string, string>>;
|
|
663
|
-
};
|
|
664
|
-
//#endregion
|
|
665
638
|
//#region src/document.d.ts
|
|
666
639
|
/**
|
|
667
640
|
* This function tells if a value is a document: an envelope `{ type, value }`. A node of the tagged IR is not an
|
|
668
641
|
* envelope, because it has the key `tag`. Thus `compile` and `evaluate` can take either one (DOC.ENTRY).
|
|
669
642
|
*/
|
|
670
|
-
export declare function isDocument(u: unknown): u is Envelope;
|
|
643
|
+
export declare function isDocument(u: unknown): u is Envelope$1;
|
|
671
644
|
/**
|
|
672
645
|
* This function gives the document of an expression (DOC.TERM). The root is always an envelope, so `compile` can tell a
|
|
673
646
|
* document from the tagged IR. A literal value has the JSON form of IR.JSON, so a domain value needs `encode` (DOC.LITERAL).
|
|
674
647
|
* An expression that is not valid, or a literal without a JSON form, gives the error `#VALUE!` (DOC.ERROR).
|
|
675
648
|
*/
|
|
676
|
-
export declare function toDocument(e: Expr, domains?: readonly AnyDomain[]): Result<Envelope>;
|
|
649
|
+
export declare function toDocument(e: Expr, domains?: readonly AnyDomain[]): Result<Envelope$1>;
|
|
677
650
|
/**
|
|
678
|
-
* This function reads an expression from a document (DOC.TERM). It is the inverse of `toDocument`.
|
|
679
|
-
*
|
|
651
|
+
* This function reads an expression from a document (DOC.TERM). It is the inverse of `toDocument`. The kernel checks
|
|
652
|
+
* the document first (DOC.CHECK). A document that is not valid gives `#VALUE!` with its location, and a document nested
|
|
653
|
+
* deeper than the kernel takes gives `#DEPTH!` (DOC.ERROR). The expression of a valid document is valid (EVAL.SHAPE).
|
|
680
654
|
*/
|
|
681
655
|
export declare function fromDocument(doc: unknown, domains?: readonly AnyDomain[]): Result<Expr>;
|
|
682
656
|
//#endregion
|
|
@@ -779,9 +753,10 @@ export interface Dependency {
|
|
|
779
753
|
readonly axisAt: readonly Addr[];
|
|
780
754
|
}
|
|
781
755
|
/**
|
|
782
|
-
* This function gives the static reads of an expression. A host can use them to recompute a program only
|
|
783
|
-
*
|
|
784
|
-
*
|
|
756
|
+
* This function gives the static reads of an expression. A host can use them to recompute a program only when a field
|
|
757
|
+
* that it reads changes. A computed move reads a key that only a run knows. Its address keeps the expression, and the
|
|
758
|
+
* reads of that expression are in the list too (DEPS.COMPUTED). The kernel walks the document with a stack, so an
|
|
759
|
+
* expression of any depth works (EVAL.NESTING).
|
|
785
760
|
*/
|
|
786
761
|
export declare function deps(e: Expr): readonly Dependency[];
|
|
787
762
|
//#endregion
|
|
@@ -797,6 +772,75 @@ export declare function serialize(e: Expr, domains?: readonly AnyDomain[]): Resu
|
|
|
797
772
|
*/
|
|
798
773
|
export declare function parse(text: string, domains?: readonly AnyDomain[]): Result<Expr>;
|
|
799
774
|
//#endregion
|
|
775
|
+
//#region src/kernel.d.ts
|
|
776
|
+
/** The kinds of the terms of Vex. A part in the position of a term has one of these kinds (DOC.TERM). */
|
|
777
|
+
export declare const TERM_KINDS: readonly (readonly string[])[];
|
|
778
|
+
/**
|
|
779
|
+
* The world of Vex: the contract of each kind of a document of Vex, as data. A contract gives the shape of the parts,
|
|
780
|
+
* the data of the fields and the names that the kind binds. The static kit of the kernel reads it.
|
|
781
|
+
*/
|
|
782
|
+
export declare const VEX_WORLD: World;
|
|
783
|
+
/** The deepest nesting of documents that the machine takes. A deeper document gives `#DEPTH!` (DOC.ERROR). */
|
|
784
|
+
export declare const MAX_DOCUMENT_DEPTH = 4096;
|
|
785
|
+
/** This function gives the error of the kernel for a Vex error. The Vex error is its cause, so no detail is lost. */
|
|
786
|
+
export declare const toKernelError: (e: VexError) => EvalError;
|
|
787
|
+
/** This function gives the Vex error of an error of the kernel. A code that Vex does not have gives `#VALUE!`. */
|
|
788
|
+
export declare function toVexError(e: EvalError): VexError;
|
|
789
|
+
/** This function gives the Vex result of a result of the kernel. */
|
|
790
|
+
export declare const toVexResult: (r: Result$1) => Result<unknown>;
|
|
791
|
+
/**
|
|
792
|
+
* This function gives the root `self` of an evaluation in the kernel. It is the position at the origin of a space,
|
|
793
|
+
* with the tables of the axis table (AXIS.TABLE).
|
|
794
|
+
*/
|
|
795
|
+
export declare function vexSelf(space: Space, origin: string, tables?: Readonly<Record<string, Space>>): HostThing;
|
|
796
|
+
/**
|
|
797
|
+
* This function makes the machine of the kernel for Vex: the world of Vex, and the formula kit with the profile of
|
|
798
|
+
* Vex. Vex adds its evaluators and its walkers. It is the reference tier of Vex (EVAL.REFERENCE).
|
|
799
|
+
*/
|
|
800
|
+
export declare function vexMachine(opts?: CompileOptions): Machine;
|
|
801
|
+
/**
|
|
802
|
+
* This function makes the machine of the checks (DOC.CHECK). It has the world of Vex, and the names of the evaluators
|
|
803
|
+
* and the walkers of `vexMachine` without their code. The static kit of the kernel needs only the names. Thus a
|
|
804
|
+
* program that only reads documents does not hold the evaluators.
|
|
805
|
+
*/
|
|
806
|
+
export declare function vexChecker(): Machine;
|
|
807
|
+
/**
|
|
808
|
+
* This function gives the definitions of the machine of Vex for the reference interpreter of the kernel. The formula
|
|
809
|
+
* kit gets its definitions with the profile of Vex. The evaluators of Vex are functions, so they need no definition.
|
|
810
|
+
*/
|
|
811
|
+
export declare function vexDefinitions(opts?: CompileOptions): Definitions;
|
|
812
|
+
//#endregion
|
|
813
|
+
//#region src/plan.d.ts
|
|
814
|
+
/** The options of a run of a plan of the kernel: the options of a run without a trace. */
|
|
815
|
+
export type KernelRunOptions = Omit<RunOptions, "trace">;
|
|
816
|
+
/** A program in the kernel: its document, and a run at an origin of a space. */
|
|
817
|
+
export interface KernelPlan {
|
|
818
|
+
/** The document that the kernel evaluates, or `undefined` for a program that is not valid. */
|
|
819
|
+
readonly doc: Envelope | undefined;
|
|
820
|
+
/** This method evaluates the program at an origin. It does not throw. */
|
|
821
|
+
run(opts: KernelRunOptions): Result<unknown>;
|
|
822
|
+
/** This method evaluates the program at an origin, and gives the result of the kernel with its own code. */
|
|
823
|
+
evaluate(opts: KernelRunOptions): Result$1;
|
|
824
|
+
/**
|
|
825
|
+
* This method evaluates the program at an origin with the reference interpreter of the kernel. The reference reads
|
|
826
|
+
* the document by the rules of the kernel, and it compiles nothing. Thus it shares no compiler with `evaluate`.
|
|
827
|
+
*/
|
|
828
|
+
reference(opts: KernelRunOptions): Result$1;
|
|
829
|
+
/**
|
|
830
|
+
* This method compares the tiers of the kernel at an origin (`agree` of coeval). The tiers are `evaluate`, the
|
|
831
|
+
* reference interpreter, the traced evaluation and a second evaluation. The tier `other` of the caller is the last
|
|
832
|
+
* tier. The method gives the result, or the first tier that gives another result. Two errors agree when they have the
|
|
833
|
+
* same code.
|
|
834
|
+
*/
|
|
835
|
+
agree(opts: KernelRunOptions, other?: () => Result<unknown>): Agreement;
|
|
836
|
+
}
|
|
837
|
+
/**
|
|
838
|
+
* This function gives the plan of a program in the kernel (EVAL.REFERENCE). A document stays as it is, after the check
|
|
839
|
+
* of `fromDocument`. An expression gets its document: a literal has its JSON form, or the value of the host when it has
|
|
840
|
+
* no JSON form. A program that is not valid gives the error of `compile` at each run (EVAL.SHAPE, EVAL.NESTING).
|
|
841
|
+
*/
|
|
842
|
+
export declare function kernelPlan(source: Expr | Envelope, opts?: CompileOptions): KernelPlan;
|
|
843
|
+
//#endregion
|
|
800
844
|
//#region src/traversal.d.ts
|
|
801
845
|
/** A monoid: an associative `concat` with an identity element `empty`. */
|
|
802
846
|
export interface Monoid<M> {
|
|
@@ -1074,8 +1118,12 @@ export interface ChainBase<Ctx extends ChainContext, T> {
|
|
|
1074
1118
|
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]>>; }>;
|
|
1075
1119
|
/**
|
|
1076
1120
|
* This method makes up to `limit` steps (ITERATE.LIMIT). `init` gives the names and their first values, and `step`
|
|
1077
|
-
* gives the next values. A true `until` stops the steps (ITERATE.UNTIL). `result` gives the value of the chain.
|
|
1121
|
+
* gives the next values. A true `until` stops the steps (ITERATE.UNTIL). `result` gives the value of the chain. A
|
|
1122
|
+
* name with a list chain as its first value is a list chain (BUILD.LIST.LOOP), and a list result gives a list chain.
|
|
1078
1123
|
*/
|
|
1124
|
+
iterate<const I extends Readonly<Record<string, unknown>>, U>(limit: number, init: I, step: (vars: LoopVars<Ctx, I>) => NoInfer<LoopStep<Ctx, I>>, result: (vars: LoopVars<Ctx, I>) => ListChain<Ctx, U>, opts?: {
|
|
1125
|
+
readonly until?: (vars: LoopVars<Ctx, I>) => ArgInput<boolean, Ctx, false>;
|
|
1126
|
+
}): ListChain<Ctx, U>;
|
|
1079
1127
|
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?: {
|
|
1080
1128
|
readonly until?: (vars: LoopVars<Ctx, I>) => ArgInput<boolean, Ctx, false>;
|
|
1081
1129
|
}): ChainOf<Ctx, R>;
|
|
@@ -1087,35 +1135,35 @@ export interface ChainBase<Ctx extends ChainContext, T> {
|
|
|
1087
1135
|
*/
|
|
1088
1136
|
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>;
|
|
1089
1137
|
/** The others axis: the body evaluates at each key except the focus. Its start value is the current value. */
|
|
1090
|
-
others<U>(body: (c: ChainOf<Ctx, T>) =>
|
|
1138
|
+
others<U>(body: (c: ChainOf<Ctx, T>) => AxisBody<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
|
|
1091
1139
|
/** The neighbors axis of a grid. */
|
|
1092
|
-
neighbors<U>(n: 4 | 8, body: (c: ChainOf<Ctx, T>) =>
|
|
1140
|
+
neighbors<U>(n: 4 | 8, body: (c: ChainOf<Ctx, T>) => AxisBody<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
|
|
1093
1141
|
/** The all axis inside the expression: the body evaluates at each key, with the current value as start value. */
|
|
1094
|
-
each<U>(body: (c: ChainOf<Ctx, T>) =>
|
|
1142
|
+
each<U>(body: (c: ChainOf<Ctx, T>) => AxisBody<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
|
|
1095
1143
|
/** The children axis of a tree space: the body evaluates at each child of the focus. */
|
|
1096
|
-
children<U>(body: (c: ChainOf<Ctx, T>) =>
|
|
1144
|
+
children<U>(body: (c: ChainOf<Ctx, T>) => AxisBody<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
|
|
1097
1145
|
/** The ancestors axis of a tree space: the parent first, the root last. */
|
|
1098
|
-
ancestors<U>(body: (c: ChainOf<Ctx, T>) =>
|
|
1146
|
+
ancestors<U>(body: (c: ChainOf<Ctx, T>) => AxisBody<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
|
|
1099
1147
|
/** The descendants axis of a tree space: depth first, each parent before its children. */
|
|
1100
|
-
descendants<U>(body: (c: ChainOf<Ctx, T>) =>
|
|
1148
|
+
descendants<U>(body: (c: ChainOf<Ctx, T>) => AxisBody<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
|
|
1101
1149
|
/** The siblings axis of a tree space: the other children of the parent, or the other roots for a root. */
|
|
1102
|
-
siblings<U>(body: (c: ChainOf<Ctx, T>) =>
|
|
1150
|
+
siblings<U>(body: (c: ChainOf<Ctx, T>) => AxisBody<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
|
|
1103
1151
|
/**
|
|
1104
1152
|
* The window axis of an array space or a tree space: the keys at the offsets from `from` to `to` of the focus, in
|
|
1105
1153
|
* order. The offset 0 is the focus. An offset outside the space has no target.
|
|
1106
1154
|
*/
|
|
1107
|
-
window<U>(from: number, to: number, body: (c: ChainOf<Ctx, T>) =>
|
|
1155
|
+
window<U>(from: number, to: number, body: (c: ChainOf<Ctx, T>) => AxisBody<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
|
|
1108
1156
|
/**
|
|
1109
1157
|
* The table axis: the body evaluates at each key of the table `name` of the evaluation, in the space of that table.
|
|
1110
1158
|
* The body reads the fields of that table, but the types of the chain are the types of this space.
|
|
1111
1159
|
*/
|
|
1112
|
-
table<U>(name: string, body: (c: ChainOf<Ctx, T>) =>
|
|
1160
|
+
table<U>(name: string, body: (c: ChainOf<Ctx, T>) => AxisBody<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
|
|
1113
1161
|
/** The successors axis of a graph space: the ends of the edges from the focus. In a tree space, the children. */
|
|
1114
|
-
successors<U>(body: (c: ChainOf<Ctx, T>) =>
|
|
1162
|
+
successors<U>(body: (c: ChainOf<Ctx, T>) => AxisBody<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
|
|
1115
1163
|
/** The predecessors axis of a graph space: the keys with an edge to the focus. In a tree space, the parent. */
|
|
1116
|
-
predecessors<U>(body: (c: ChainOf<Ctx, T>) =>
|
|
1164
|
+
predecessors<U>(body: (c: ChainOf<Ctx, T>) => AxisBody<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
|
|
1117
1165
|
/** The reachable axis of a graph space: each key that a path of edges reaches, in breadth-first order. */
|
|
1118
|
-
reachable<U>(body: (c: ChainOf<Ctx, T>) =>
|
|
1166
|
+
reachable<U>(body: (c: ChainOf<Ctx, T>) => AxisBody<Ctx, U>, opts?: AxisOpts<Ctx, T>): ListChain<Ctx, U>;
|
|
1119
1167
|
}
|
|
1120
1168
|
/** The options of an axis. */
|
|
1121
1169
|
export interface AxisOpts<Ctx extends ChainContext, T> {
|
|
@@ -1144,13 +1192,28 @@ export type ValueOf<C> = C extends {
|
|
|
1144
1192
|
export type ArgValue<Ctx extends ChainContext, A> = A extends Arg<infer T> ? T : A extends {
|
|
1145
1193
|
readonly kind: "vex.chain";
|
|
1146
1194
|
} ? ValueOf<A> : A extends keyof Ctx["record"] & string ? NonNullable<Ctx["record"][A]> : A;
|
|
1147
|
-
/** A chain whose value is a list: the result of an axis. */
|
|
1148
1195
|
/** The type of a value of a name of a loop: a literal of `init` gives its primitive type. */
|
|
1149
1196
|
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;
|
|
1197
|
+
/** The type of the items of a list chain, or `never` for another value. */
|
|
1198
|
+
type ItemsOf<A> = A extends {
|
|
1199
|
+
readonly kind: "vex.list-chain";
|
|
1200
|
+
readonly [CHAIN_VALUE]?: VexList<infer U>;
|
|
1201
|
+
} ? U : never;
|
|
1202
|
+
/** A value of `init` that is a list chain: then the name of the loop holds a list (LOOP.LIST). */
|
|
1203
|
+
type IsList<A> = A extends {
|
|
1204
|
+
readonly kind: "vex.list-chain";
|
|
1205
|
+
} ? true : false;
|
|
1206
|
+
/**
|
|
1207
|
+
* The chain of a name of a loop: a list chain for a list chain of `init` (BUILD.LIST.LOOP), and else a chain of its
|
|
1208
|
+
* value.
|
|
1209
|
+
*/
|
|
1210
|
+
export type LoopVar<Ctx extends ChainContext, A> = IsList<A> extends true ? ListChain<Ctx, ItemsOf<A>> : ChainOf<Ctx, LoopValue<Ctx, A>>;
|
|
1150
1211
|
/** The names of a loop of the builder: a chain of the value of each name of `init` (LOOP.NAMES). */
|
|
1151
|
-
export type LoopVars<Ctx extends ChainContext, I> = { readonly [N in keyof I]:
|
|
1212
|
+
export type LoopVars<Ctx extends ChainContext, I> = { readonly [N in keyof I]: LoopVar<Ctx, I[N]>; };
|
|
1213
|
+
/** The next value of a name of a loop. A name of a list takes a list chain with items of the same type. */
|
|
1214
|
+
export type LoopNext<Ctx extends ChainContext, A> = IsList<A> extends true ? ListChain<Ctx, ItemsOf<A>> : ArgInput<LoopValue<Ctx, A>, Ctx, false>;
|
|
1152
1215
|
/** The next values of a step of a loop: a value for some of the names of `init`. */
|
|
1153
|
-
export type LoopStep<Ctx extends ChainContext, I> = { readonly [N in keyof I]?:
|
|
1216
|
+
export type LoopStep<Ctx extends ChainContext, I> = { readonly [N in keyof I]?: LoopNext<Ctx, I[N]>; };
|
|
1154
1217
|
/** The kind of a parameter of a function of the builder (BUILD.FN): a primitive type, or `any`. */
|
|
1155
1218
|
export type FnParamKind = PrimitiveKind | "any";
|
|
1156
1219
|
/** The type of a value of a kind of a parameter. */
|
|
@@ -1166,14 +1229,29 @@ export interface FnDef<P extends readonly FnParamKind[], R> {
|
|
|
1166
1229
|
}
|
|
1167
1230
|
/** The calls of the functions of `functions`: each gives a chain of a call (FN.CALL). */
|
|
1168
1231
|
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; };
|
|
1232
|
+
/**
|
|
1233
|
+
* The value of the body of an axis: a chain, or a list chain (BUILD.LIST.BUILD). For a list chain, the value of each
|
|
1234
|
+
* item of the axis is a list, so `flat` joins the lists.
|
|
1235
|
+
*/
|
|
1236
|
+
export type AxisBody<Ctx extends ChainContext, U> = ChainBase<Ctx, U> | ListBody<U>;
|
|
1237
|
+
/** A list chain as the body of an axis. Its phantom member carries the list. */
|
|
1238
|
+
export interface ListBody<U> {
|
|
1239
|
+
readonly kind: "vex.list-chain";
|
|
1240
|
+
readonly [CHAIN_VALUE]?: U;
|
|
1241
|
+
readonly program: Expr;
|
|
1242
|
+
}
|
|
1243
|
+
/** A chain whose value is a list: the result of an axis, of a list op or of a list literal. */
|
|
1169
1244
|
export interface ListChain<Ctx extends ChainContext, U> {
|
|
1170
1245
|
readonly kind: "vex.list-chain";
|
|
1246
|
+
/** This phantom member carries the type of the list. It is not present at run time. */
|
|
1247
|
+
readonly [CHAIN_VALUE]?: VexList<U>;
|
|
1171
1248
|
/** The expression of the chain, as plain data. */
|
|
1172
1249
|
readonly program: Expr;
|
|
1173
1250
|
/**
|
|
1174
1251
|
* This method folds the items in the order of the axis (FOLD.ORDER). `init` gives the names and their first values.
|
|
1175
1252
|
* `step` gives the next values from the names and the item, a chain at the target. `result` gives the value.
|
|
1176
1253
|
*/
|
|
1254
|
+
fold<const I extends Readonly<Record<string, unknown>>, V>(init: I, step: (vars: LoopVars<Ctx, I>, item: ChainOf<Ctx, U>) => NoInfer<LoopStep<Ctx, I>>, result: (vars: LoopVars<Ctx, I>) => ListChain<Ctx, V>): ListChain<Ctx, V>;
|
|
1177
1255
|
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>;
|
|
1178
1256
|
count(opts?: ListOpts): ChainOf<Ctx, number>;
|
|
1179
1257
|
sum(this: ListChain<Ctx, number>, opts?: ListOpts): ChainOf<Ctx, number>;
|
|
@@ -1196,11 +1274,24 @@ export interface ListChain<Ctx extends ChainContext, U> {
|
|
|
1196
1274
|
take(n: number, opts?: ListOpts): ListChain<Ctx, U>;
|
|
1197
1275
|
/** The value of the item at the position `i`, from 0 (LIST.NTH). */
|
|
1198
1276
|
nth(i: number, opts?: ListOpts): ChainOf<Ctx, U>;
|
|
1277
|
+
/**
|
|
1278
|
+
* The value of the first item with the key `k` (LIST.GET). A chain of a text gives the key, and it evaluates at the
|
|
1279
|
+
* focus. A key that no item has gives `#N/A`. Thus a step reads the old value of each key.
|
|
1280
|
+
*/
|
|
1281
|
+
get(k: Ctx["keys"] | ChainBase<Ctx, string>, opts?: ListOpts): ChainOf<Ctx, U>;
|
|
1282
|
+
/** The items after the first `n` items (LIST.DROP). Thus `drop(1)` removes the first item of a stack. */
|
|
1283
|
+
drop(n: number, opts?: ListOpts): ListChain<Ctx, U>;
|
|
1284
|
+
/** The items of this list, and then the items of `other` (LIST.APPEND). Two items can have the same key. */
|
|
1285
|
+
append<V>(other: ListChain<Ctx, V>, opts?: ListOpts): ListChain<Ctx, U | V>;
|
|
1286
|
+
/** The items of this list whose key is not the key of an item of `other` (LIST.WITHOUT). */
|
|
1287
|
+
without<V>(other: ListChain<Ctx, V>, opts?: ListOpts): ListChain<Ctx, U>;
|
|
1288
|
+
/** The items of the lists that are the values of the items, in order (LIST.FLAT). The values must be lists. */
|
|
1289
|
+
flat<V>(this: ListChain<Ctx, VexList<V>>, opts?: ListOpts): ListChain<Ctx, V>;
|
|
1199
1290
|
/**
|
|
1200
1291
|
* The axis list (AXIS.LIST): the body evaluates at the key of each item, in the order of the list. The body reads the
|
|
1201
1292
|
* fields of the record of the item. The chain of the body has no value of its own.
|
|
1202
1293
|
*/
|
|
1203
|
-
each<V>(body: (c: ChainOf<Ctx, null>) =>
|
|
1294
|
+
each<V>(body: (c: ChainOf<Ctx, null>) => AxisBody<Ctx, V>, opts?: AxisOpts<Ctx, null>): ListChain<Ctx, V>;
|
|
1204
1295
|
/** The list at the origin `k`: one item for each target of the axis, with its key and its result. */
|
|
1205
1296
|
result(k: Ctx["keys"]): Result<VexList<U>>;
|
|
1206
1297
|
/** The list at the origin `k`, as an `Optional`. */
|
|
@@ -1233,6 +1324,11 @@ export interface Root<Ctx extends ChainContext> {
|
|
|
1233
1324
|
ofPath<T>(k: Ctx["keys"], path: string): Arg<T>;
|
|
1234
1325
|
/** This method makes a record argument from field arguments. */
|
|
1235
1326
|
rec<const F extends Readonly<Record<string, unknown>>>(fields: F): Arg<{ readonly [N in keyof F]: ArgValue<Ctx, F[N]>; }>;
|
|
1327
|
+
/**
|
|
1328
|
+
* This method makes a list literal (LIST.LITERAL, BUILD.LIST.LOOP): an item for each pair of a key and a value, in
|
|
1329
|
+
* order. Without pairs, it gives the empty list. Thus a loop can start a stack or a seen set.
|
|
1330
|
+
*/
|
|
1331
|
+
list<U = unknown>(items?: readonly (readonly [Ctx["keys"], U])[]): ListChain<Ctx, U>;
|
|
1236
1332
|
/**
|
|
1237
1333
|
* This method makes an extension argument: the node `ext(kind, data)`. The handler of `kind` in the options of
|
|
1238
1334
|
* `withOptions` gives its value. The caller gives the type `T` of that value.
|
package/build/index.d.ts.map
CHANGED
|
@@ -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","../../../node_modules/.pnpm/@mark1russell7+coeval@0.1.0/node_modules/@mark1russell7/coeval/build/index.d.ts","../src/document.ts","../src/evaluate.ts","../src/deps.ts","../src/json.ts","../src/traversal.ts","../src/sheet.ts","../src/builder.ts"],"ignoreList":[0,8],"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;;WAEA;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB;;;iBAIM;WACN;WACA;WACA;WACA;WACA,kBAAk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;YAe7F,cAAc,MAAM,YAAY"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["Optional","FamilyOptional","Envelope","Outcome","Outcome"],"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/document.ts","../src/evaluate.ts","../src/deps.ts","../src/json.ts","../src/kernel.ts","../src/plan.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;;;;;;;;;YCN1B,YAAY,QAAQ;;YAGpB;;;;;wBAuDI,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;;;;;;;;YCrHnB,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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