@altopelago/aeon-sdk 0.13.0 → 0.15.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 +83 -0
- package/dist/sansa.d.ts +59 -0
- package/dist/sansa.d.ts.map +1 -0
- package/dist/sansa.js +376 -0
- package/dist/sansa.js.map +1 -0
- package/package.json +9 -4
package/README.md
CHANGED
|
@@ -21,6 +21,82 @@ const film = readFilmDocument(filmBytes);
|
|
|
21
21
|
console.log(film.finalized.document);
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
### Query AEON with SANSA
|
|
25
|
+
|
|
26
|
+
The optional `@altopelago/aeon-sdk/sansa` entry point converts compiled AEON
|
|
27
|
+
events into the resolver namespace expected by `@altopelago/sansa`:
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
import { readAeonNamespace } from '@altopelago/aeon-sdk/sansa';
|
|
31
|
+
import { evaluateQuery } from '@altopelago/sansa';
|
|
32
|
+
|
|
33
|
+
const { namespace } = readAeonNamespace(`
|
|
34
|
+
inventory = {
|
|
35
|
+
items = [
|
|
36
|
+
{ sku = "A-100" active = true }
|
|
37
|
+
{ sku = "B-200" active = false }
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
`);
|
|
41
|
+
|
|
42
|
+
const result = evaluateQuery(
|
|
43
|
+
'from $.inventory.items.* where .active == true select { sku = .sku }',
|
|
44
|
+
namespace,
|
|
45
|
+
);
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
`readAeonNamespace()` requires successful compilation before returning. It
|
|
49
|
+
keeps finalization diagnostics alongside a portable AES-backed namespace, so
|
|
50
|
+
AEON values that are not representable in strict JSON remain queryable. Native
|
|
51
|
+
assignment events are first projected through the complete portable AES
|
|
52
|
+
topology: a node binding is a `NodeLiteral`, its tag is a distinct `NodeHead`
|
|
53
|
+
child, and node content appears beneath that head. The adapter uses normative
|
|
54
|
+
PascalCase representation kinds, preserves datatype components, translates
|
|
55
|
+
reference targets into the same portable address domain, and derives portable
|
|
56
|
+
origin and UTF-8 byte spans from the exact source text.
|
|
57
|
+
|
|
58
|
+
The namespace exposes payload bindings by default; pass
|
|
59
|
+
`{ namespace: { scope: 'header' | 'full' } }` to select another document plane.
|
|
60
|
+
Full scope exposes explicit `$.header` and `$.body` roots so valid bindings with
|
|
61
|
+
the same canonical path in both planes remain independently addressable.
|
|
62
|
+
Use `createAeonNamespace(events)` when the source has already been compiled.
|
|
63
|
+
Pass its exact UTF-8 artifact as `sourceBytes` when provenance is required;
|
|
64
|
+
without those bytes, event bindings deliberately omit `origin` and `span`.
|
|
65
|
+
|
|
66
|
+
#### Semantics and limits
|
|
67
|
+
|
|
68
|
+
- `candidateAddress` is a locator in the namespace's current structure, not a
|
|
69
|
+
durable identity. Positional addresses can move after edits. A binding's
|
|
70
|
+
`identity`, when present, is separate opaque structural-occurrence metadata;
|
|
71
|
+
SANSA mutation adapters can combine it with observed-state checks to reject
|
|
72
|
+
stale targets.
|
|
73
|
+
- Namespace addresses follow complete portable AES event paths. In particular,
|
|
74
|
+
`<tag("value")>` exposes the outer node at its assignment address, its head at
|
|
75
|
+
`[0]`, and its first content value at `[0][0]`. Binding/key metadata remains
|
|
76
|
+
on the outer occurrence; tag metadata remains on the `NodeHead` occurrence.
|
|
77
|
+
References are translated through these levels so their targets stay in the
|
|
78
|
+
same address domain as resolution.
|
|
79
|
+
- AES retains the source numeric lexeme. The namespace exposes finite AEON
|
|
80
|
+
numbers as canonical strings by default and supplies the same lexeme to
|
|
81
|
+
SANSA's exact numeric comparator. Pass
|
|
82
|
+
`{ numericMaterialization: 'native' }` to `createAeonNamespace()`, or under
|
|
83
|
+
the `namespace` option of `readAeonNamespace()`, to opt into JavaScript
|
|
84
|
+
numbers while retaining exact comparison metadata.
|
|
85
|
+
- AEON `decimal` is the representation-preserving `radix[10]` alias. The
|
|
86
|
+
adapter keeps its radix payload as text; numeric decimal interpretation and
|
|
87
|
+
ordering require an explicit trusted value-semantics profile. Radix-family
|
|
88
|
+
bindings expose their resolved `radixBase` for `decimal`, the reserved radix
|
|
89
|
+
aliases, and `radix[2]` through `radix[64]`, allowing SANSA's explicit
|
|
90
|
+
same-base radix-numeric profile to compare them without host-number coercion.
|
|
91
|
+
They also expose `radixScale`, the represented fractional digit count excluding
|
|
92
|
+
visual `_` separators: `%19.9900` reports 4 and `%19.99` reports 2. Scale is
|
|
93
|
+
representation metadata and does not alter either comparison mode.
|
|
94
|
+
- This integration provides bounded, deterministic, in-process resolution and
|
|
95
|
+
query evaluation over compiled events. It does not add persistence, indexes,
|
|
96
|
+
transactions, or a cost-based query optimizer.
|
|
97
|
+
- Query projections use AEON assignment syntax (`{ sku = .sku }`). `:` remains
|
|
98
|
+
reserved for datatype annotations.
|
|
99
|
+
|
|
24
100
|
## What This Package Does
|
|
25
101
|
|
|
26
102
|
- wraps common read flows around `@altopelago/aeon-core` and `@altopelago/aeon-finalize`
|
|
@@ -43,6 +119,13 @@ console.log(film.finalized.document);
|
|
|
43
119
|
- `readFilmDocument(input, options?)`
|
|
44
120
|
- `formatPath(path)`
|
|
45
121
|
- `indexEventsByPath(events)`
|
|
122
|
+
- `createAeonNamespace(events, options?)` from `@altopelago/aeon-sdk/sansa`
|
|
123
|
+
- `readAeonNamespace(input, options?)` from `@altopelago/aeon-sdk/sansa`
|
|
124
|
+
|
|
125
|
+
`CreateAeonNamespaceOptions` accepts `scope`, `numericMaterialization`, and
|
|
126
|
+
optional exact `sourceBytes` for portable provenance.
|
|
127
|
+
`numericMaterialization` is `lossless` by default and may be set to `native`
|
|
128
|
+
explicitly.
|
|
46
129
|
|
|
47
130
|
## Notes
|
|
48
131
|
|
package/dist/sansa.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type CompileResult } from '@altopelago/aeon-core';
|
|
2
|
+
import { type SansaResolveBinding, type SansaResolveNamespace } from '@altopelago/sansa';
|
|
3
|
+
import { type ReadAeonResult, type ReadAeonOptions } from './index.js';
|
|
4
|
+
export type AeonAssignmentEvent = CompileResult['events'][number];
|
|
5
|
+
export type AeonNamespaceScope = 'payload' | 'header' | 'full';
|
|
6
|
+
export type AeonNumericMaterialization = 'lossless' | 'native';
|
|
7
|
+
export interface CreateAeonNamespaceOptions {
|
|
8
|
+
/** Select the AEON document plane exposed at the SANSA root. Defaults to `payload`. */
|
|
9
|
+
readonly scope?: AeonNamespaceScope;
|
|
10
|
+
/** Materialize finite numbers as canonical strings or JavaScript numbers. Defaults to `lossless`. */
|
|
11
|
+
readonly numericMaterialization?: AeonNumericMaterialization;
|
|
12
|
+
/** Exact UTF-8 source artifact corresponding to `events`, used to derive portable origin and byte spans. */
|
|
13
|
+
readonly sourceBytes?: Uint8Array;
|
|
14
|
+
}
|
|
15
|
+
export interface ReadAeonNamespaceOptions extends ReadAeonOptions {
|
|
16
|
+
readonly namespace?: Omit<CreateAeonNamespaceOptions, 'sourceBytes'>;
|
|
17
|
+
}
|
|
18
|
+
export interface AeonSansaBinding extends SansaResolveBinding {
|
|
19
|
+
address: string;
|
|
20
|
+
identity?: string;
|
|
21
|
+
name?: string;
|
|
22
|
+
index?: number;
|
|
23
|
+
semanticType?: string;
|
|
24
|
+
representationKind?: string;
|
|
25
|
+
scalarKind?: string;
|
|
26
|
+
nullReason?: string;
|
|
27
|
+
numericLexeme?: string;
|
|
28
|
+
radixBase?: number;
|
|
29
|
+
radixScale?: number;
|
|
30
|
+
value?: unknown;
|
|
31
|
+
children: AeonSansaBinding[];
|
|
32
|
+
attributeSpace?: AeonSansaBinding;
|
|
33
|
+
nodeTag?: string;
|
|
34
|
+
sourcePlane?: 'header' | 'body';
|
|
35
|
+
origin?: string;
|
|
36
|
+
span?: string;
|
|
37
|
+
}
|
|
38
|
+
export type AeonSansaNamespace = SansaResolveNamespace<AeonSansaBinding> & {
|
|
39
|
+
readonly root: AeonSansaBinding;
|
|
40
|
+
readonly numericLexeme: (binding: AeonSansaBinding) => string | undefined;
|
|
41
|
+
readonly radixBase: (binding: AeonSansaBinding) => number | undefined;
|
|
42
|
+
readonly radixScale: (binding: AeonSansaBinding) => number | undefined;
|
|
43
|
+
};
|
|
44
|
+
export interface ReadAeonNamespaceResult extends ReadAeonResult {
|
|
45
|
+
readonly eventsByPath: ReadonlyMap<string, AeonAssignmentEvent>;
|
|
46
|
+
readonly namespace: AeonSansaNamespace;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Adapt compiled AEON assignment events into a queryable SANSA namespace.
|
|
50
|
+
*
|
|
51
|
+
* Native assignment events are first projected into complete portable AES
|
|
52
|
+
* topology. This keeps binding and NodeHead occurrences distinct, translates
|
|
53
|
+
* reference targets through node-head levels, and exposes normative portable
|
|
54
|
+
* representation kinds without losing finite-number precision.
|
|
55
|
+
*/
|
|
56
|
+
export declare function createAeonNamespace(events: readonly AeonAssignmentEvent[], options?: CreateAeonNamespaceOptions): AeonSansaNamespace;
|
|
57
|
+
/** Compile and adapt AEON source into a SANSA namespace. */
|
|
58
|
+
export declare function readAeonNamespace(input: string, options?: ReadAeonNamespaceOptions): ReadAeonNamespaceResult;
|
|
59
|
+
//# sourceMappingURL=sansa.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sansa.d.ts","sourceRoot":"","sources":["../src/sansa.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,aAAa,EACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAgB,KAAK,mBAAmB,EAAE,KAAK,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AACvG,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,eAAe,EACrB,MAAM,YAAY,CAAC;AAEpB,MAAM,MAAM,mBAAmB,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC;AAGlE,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC/D,MAAM,MAAM,0BAA0B,GAAG,UAAU,GAAG,QAAQ,C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AO,EAAE,gBAAgB,KAAK,MAAM,GAAG,SAAS,CAAC;IAC1E,QAAQ,CAAC,SAAS,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,MAAM,GAAG,SAAS,CAAC;IACtE,QAAQ,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,MAAM,GAAG,SAAS,CAAC;CACxE,CAAC;AAEF,MAAM,WAAW,uBAAwB,SAAQ,cAAc;IAC7D,QAAQ,CAAC,YAAY,EAAE,WAAW,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAChE,QAAQ,CAAC,SAAS,EAAE,kBAAkB,CAAC;CACxC;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,SAAS,mBAAmB,EAAE,EACtC,OAAO,GAAE,0BAA+B,GACvC,kBAAkB,CA0HpB;AAED,4DAA4D;AAC5D,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,MAAM,EACb,OAAO,GAAE,wBAA6B,GACrC,uBAAuB,CAezB"}
|
package/dist/sansa.js
ADDED
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
import { adaptTypeScriptAssignmentEventsToPortableAes, aeonRadixBaseFromDatatype, aeonRadixScale, } from '@altopelago/aeon-core';
|
|
2
|
+
import { parseAddress } from '@altopelago/sansa';
|
|
3
|
+
import { indexEventsByPath, readAeon, } from './index.js';
|
|
4
|
+
/**
|
|
5
|
+
* Adapt compiled AEON assignment events into a queryable SANSA namespace.
|
|
6
|
+
*
|
|
7
|
+
* Native assignment events are first projected into complete portable AES
|
|
8
|
+
* topology. This keeps binding and NodeHead occurrences distinct, translates
|
|
9
|
+
* reference targets through node-head levels, and exposes normative portable
|
|
10
|
+
* representation kinds without losing finite-number precision.
|
|
11
|
+
*/
|
|
12
|
+
export function createAeonNamespace(events, options = {}) {
|
|
13
|
+
const scope = options.scope ?? 'payload';
|
|
14
|
+
const numericMaterialization = options.numericMaterialization ?? 'lossless';
|
|
15
|
+
const root = {
|
|
16
|
+
address: '$',
|
|
17
|
+
representationKind: 'ObjectNode',
|
|
18
|
+
children: [],
|
|
19
|
+
};
|
|
20
|
+
const byAddress = new Map([['$', root]]);
|
|
21
|
+
const parents = new Map([[root, undefined]]);
|
|
22
|
+
if (scope === 'full') {
|
|
23
|
+
for (const sourcePlane of ['header', 'body']) {
|
|
24
|
+
const address = appendMember('$', sourcePlane);
|
|
25
|
+
const planeRoot = {
|
|
26
|
+
address,
|
|
27
|
+
name: sourcePlane,
|
|
28
|
+
sourcePlane,
|
|
29
|
+
representationKind: 'ObjectNode',
|
|
30
|
+
children: [],
|
|
31
|
+
};
|
|
32
|
+
root.children.push(planeRoot);
|
|
33
|
+
byAddress.set(address, planeRoot);
|
|
34
|
+
parents.set(planeRoot, root);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
const portableEvents = adaptTypeScriptAssignmentEventsToPortableAes(events, {
|
|
38
|
+
includeHeaders: true,
|
|
39
|
+
...(options.sourceBytes !== undefined ? { sourceBytes: options.sourceBytes } : {}),
|
|
40
|
+
}).events;
|
|
41
|
+
for (const event of portableEvents) {
|
|
42
|
+
const location = portableEventLocation(event);
|
|
43
|
+
if (!planeIsInScope(location.sourcePlane, scope))
|
|
44
|
+
continue;
|
|
45
|
+
const address = scope === 'full'
|
|
46
|
+
? addressInPlane(location.sourcePlane, location.path)
|
|
47
|
+
: location.path;
|
|
48
|
+
const existing = byAddress.get(address);
|
|
49
|
+
if (existing) {
|
|
50
|
+
throw new Error(`AEON events contain more than one binding at '${address}'.`);
|
|
51
|
+
}
|
|
52
|
+
const parsed = parseAddress(address);
|
|
53
|
+
if (!parsed.ok || !parsed.address.isExact) {
|
|
54
|
+
const message = parsed.ok
|
|
55
|
+
? `Portable AES path is not exact: ${address}`
|
|
56
|
+
: parsed.errors[0]?.message ?? `Invalid portable AES path: ${address}`;
|
|
57
|
+
throw new Error(message);
|
|
58
|
+
}
|
|
59
|
+
const selectors = parsed.address.selectors;
|
|
60
|
+
const final = selectors[selectors.length - 1];
|
|
61
|
+
if (final?.type !== 'member' && final?.type !== 'position') {
|
|
62
|
+
throw new Error(`Portable AES event path must end in a member or index: ${address}`);
|
|
63
|
+
}
|
|
64
|
+
let currentAddress = '$';
|
|
65
|
+
let parent = root;
|
|
66
|
+
for (const selector of selectors.slice(0, -1)) {
|
|
67
|
+
if (selector.type === 'attributeSpace') {
|
|
68
|
+
const spaceAddress = `${currentAddress}.@`;
|
|
69
|
+
let space = byAddress.get(spaceAddress);
|
|
70
|
+
if (!space) {
|
|
71
|
+
space = {
|
|
72
|
+
address: spaceAddress,
|
|
73
|
+
representationKind: 'attributeSpace',
|
|
74
|
+
children: [],
|
|
75
|
+
};
|
|
76
|
+
byAddress.set(spaceAddress, space);
|
|
77
|
+
parents.set(space, parent);
|
|
78
|
+
parent.attributeSpace = space;
|
|
79
|
+
}
|
|
80
|
+
currentAddress = spaceAddress;
|
|
81
|
+
parent = space;
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
if (selector.type !== 'member' && selector.type !== 'position') {
|
|
85
|
+
throw new Error(`Portable AES event path contains a non-structural selector: ${address}`);
|
|
86
|
+
}
|
|
87
|
+
currentAddress = selector.type === 'member'
|
|
88
|
+
? appendMember(currentAddress, selector.name)
|
|
89
|
+
: `${currentAddress}[${selector.index}]`;
|
|
90
|
+
const nextParent = byAddress.get(currentAddress);
|
|
91
|
+
if (!nextParent) {
|
|
92
|
+
throw new Error(`AEON event '${address}' has no parent binding '${currentAddress}' in the selected '${scope}' scope.`);
|
|
93
|
+
}
|
|
94
|
+
parent = nextParent;
|
|
95
|
+
}
|
|
96
|
+
const binding = bindingFromPortableEvent(event, address, location.sourcePlane, final.type === 'member' ? { name: final.name } : { index: final.index }, numericMaterialization, scope);
|
|
97
|
+
byAddress.set(address, binding);
|
|
98
|
+
parents.set(binding, parent);
|
|
99
|
+
parent.children.push(binding);
|
|
100
|
+
if (binding.representationKind === 'NodeHead' && parent.representationKind === 'NodeLiteral') {
|
|
101
|
+
if (binding.nodeTag !== undefined)
|
|
102
|
+
parent.nodeTag = binding.nodeTag;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
return {
|
|
106
|
+
root,
|
|
107
|
+
children: (binding) => binding.children,
|
|
108
|
+
parent: (binding) => parents.get(binding),
|
|
109
|
+
member: (binding, name) => binding.children.find((child) => child.name === name),
|
|
110
|
+
position: (binding, index) => binding.children.find((child) => child.index === index),
|
|
111
|
+
attributeSpace: (binding) => binding.attributeSpace,
|
|
112
|
+
name: (binding) => binding.name,
|
|
113
|
+
index: (binding) => binding.index,
|
|
114
|
+
semanticType: (binding) => binding.semanticType,
|
|
115
|
+
representationKind: (binding) => binding.representationKind,
|
|
116
|
+
value: (binding) => binding.value,
|
|
117
|
+
nullReason: (binding) => binding.nullReason,
|
|
118
|
+
numericLexeme: (binding) => binding.numericLexeme,
|
|
119
|
+
radixBase: (binding) => binding.radixBase,
|
|
120
|
+
radixScale: (binding) => binding.radixScale,
|
|
121
|
+
representationKindMatches: (binding, expected) => representationKindMatches(binding.representationKind, expected),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
/** Compile and adapt AEON source into a SANSA namespace. */
|
|
125
|
+
export function readAeonNamespace(input, options = {}) {
|
|
126
|
+
const { namespace: namespaceOptions, ...readOptions } = options;
|
|
127
|
+
const result = readAeon(input, readOptions);
|
|
128
|
+
if (result.compile.errors.length > 0) {
|
|
129
|
+
const summary = result.compile.errors.map((error) => `${error.code}: ${error.message}`).join('\n');
|
|
130
|
+
throw new Error(`AEON compile failed with ${result.compile.errors.length} error(s):\n${summary}`);
|
|
131
|
+
}
|
|
132
|
+
return {
|
|
133
|
+
...result,
|
|
134
|
+
eventsByPath: indexEventsByPath(result.compile.events),
|
|
135
|
+
namespace: createAeonNamespace(result.compile.events, {
|
|
136
|
+
...namespaceOptions,
|
|
137
|
+
sourceBytes: new TextEncoder().encode(input),
|
|
138
|
+
}),
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
function addressInPlane(sourcePlane, address) {
|
|
142
|
+
const planeRoot = appendMember('$', sourcePlane);
|
|
143
|
+
return address === '$' ? planeRoot : `${planeRoot}${address.slice(1)}`;
|
|
144
|
+
}
|
|
145
|
+
function portableEventLocation(event) {
|
|
146
|
+
if ('header' in event && typeof event.header === 'string') {
|
|
147
|
+
return { path: event.header, sourcePlane: 'header' };
|
|
148
|
+
}
|
|
149
|
+
if ('path' in event && typeof event.path === 'string') {
|
|
150
|
+
return { path: event.path, sourcePlane: 'body' };
|
|
151
|
+
}
|
|
152
|
+
throw new Error('Portable AES event is missing both path and header location.');
|
|
153
|
+
}
|
|
154
|
+
function planeIsInScope(sourcePlane, scope) {
|
|
155
|
+
return scope === 'full'
|
|
156
|
+
|| (scope === 'header' ? sourcePlane === 'header' : sourcePlane === 'body');
|
|
157
|
+
}
|
|
158
|
+
function bindingFromPortableEvent(event, address, sourcePlane, segment, numericMaterialization, scope) {
|
|
159
|
+
const semanticType = event.datatype ?? portableSemanticType(event.kind);
|
|
160
|
+
const binding = {
|
|
161
|
+
address,
|
|
162
|
+
children: [],
|
|
163
|
+
representationKind: event.kind,
|
|
164
|
+
sourcePlane,
|
|
165
|
+
...('name' in segment ? { name: segment.name } : { index: segment.index }),
|
|
166
|
+
...(event.identity !== undefined ? { identity: event.identity } : {}),
|
|
167
|
+
...(semanticType !== undefined ? { semanticType } : {}),
|
|
168
|
+
...(event.datatype !== undefined ? { datatype: event.datatype } : {}),
|
|
169
|
+
...(event.generics !== undefined ? { generics: event.generics } : {}),
|
|
170
|
+
...(event.clarifiers !== undefined ? { clarifiers: event.clarifiers } : {}),
|
|
171
|
+
...(event.origin !== undefined ? { origin: event.origin } : {}),
|
|
172
|
+
...(event.span !== undefined ? { span: event.span } : {}),
|
|
173
|
+
};
|
|
174
|
+
const scalarKind = portableScalarKind(event.kind);
|
|
175
|
+
if (scalarKind !== undefined)
|
|
176
|
+
binding.scalarKind = scalarKind;
|
|
177
|
+
if (event.kind === 'NullLiteral' && event.value !== undefined)
|
|
178
|
+
binding.nullReason = event.value;
|
|
179
|
+
if (event.kind === 'NumberLiteral' && event.value !== undefined)
|
|
180
|
+
binding.numericLexeme = event.value;
|
|
181
|
+
const radixBase = radixBaseFromPortableEvent(event);
|
|
182
|
+
if (radixBase !== undefined)
|
|
183
|
+
binding.radixBase = radixBase;
|
|
184
|
+
if (event.kind === 'RadixLiteral' && event.value !== undefined) {
|
|
185
|
+
const radixScale = aeonRadixScale(event.value, radixBase);
|
|
186
|
+
if (radixScale !== null)
|
|
187
|
+
binding.radixScale = radixScale;
|
|
188
|
+
}
|
|
189
|
+
const scalar = scalarFromPortableEvent(event, numericMaterialization, sourcePlane, scope);
|
|
190
|
+
if (scalar.ok)
|
|
191
|
+
binding.value = scalar.value;
|
|
192
|
+
if (event.kind === 'NodeHead' && event.value !== undefined)
|
|
193
|
+
binding.nodeTag = event.value;
|
|
194
|
+
return binding;
|
|
195
|
+
}
|
|
196
|
+
function scalarFromPortableEvent(event, numericMaterialization, sourcePlane, scope) {
|
|
197
|
+
switch (event.kind) {
|
|
198
|
+
case 'StringLiteral':
|
|
199
|
+
case 'DateLiteral':
|
|
200
|
+
case 'DateTimeLiteral':
|
|
201
|
+
case 'TimeLiteral':
|
|
202
|
+
case 'WTCDateTimeLiteral':
|
|
203
|
+
case 'HexLiteral':
|
|
204
|
+
case 'RadixLiteral':
|
|
205
|
+
case 'EncodingLiteral':
|
|
206
|
+
case 'SeparatorLiteral':
|
|
207
|
+
case 'SymbolicLiteral':
|
|
208
|
+
case 'ToggleLiteral':
|
|
209
|
+
case 'NodeHead':
|
|
210
|
+
return { ok: true, value: event.value ?? '' };
|
|
211
|
+
case 'NumberLiteral':
|
|
212
|
+
return {
|
|
213
|
+
ok: true,
|
|
214
|
+
value: numericMaterialization === 'native' ? Number(event.value ?? '') : event.value ?? '',
|
|
215
|
+
};
|
|
216
|
+
case 'InfinityLiteral':
|
|
217
|
+
return { ok: true, value: event.value === '-Infinity' ? -Infinity : Infinity };
|
|
218
|
+
case 'NaNLiteral':
|
|
219
|
+
return { ok: true, value: Number.NaN };
|
|
220
|
+
case 'BooleanLiteral':
|
|
221
|
+
return { ok: true, value: event.value === 'true' };
|
|
222
|
+
case 'NullLiteral':
|
|
223
|
+
return { ok: true, value: null };
|
|
224
|
+
case 'SansaAddressLiteral':
|
|
225
|
+
return {
|
|
226
|
+
ok: true,
|
|
227
|
+
value: {
|
|
228
|
+
type: 'SansaAddressLiteral',
|
|
229
|
+
address: event.value ?? '',
|
|
230
|
+
canonical: event.value ?? '',
|
|
231
|
+
},
|
|
232
|
+
};
|
|
233
|
+
case 'CloneReference':
|
|
234
|
+
case 'PointerReference': {
|
|
235
|
+
const referencePath = scope === 'full'
|
|
236
|
+
? addressInPlane(sourcePlane, event.value ?? '')
|
|
237
|
+
: event.value ?? '';
|
|
238
|
+
return {
|
|
239
|
+
ok: true,
|
|
240
|
+
value: {
|
|
241
|
+
type: event.kind,
|
|
242
|
+
path: referencePath,
|
|
243
|
+
canonical: `${event.kind === 'PointerReference' ? '~>' : '~'}${referencePath}`,
|
|
244
|
+
},
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
case 'ObjectNode':
|
|
248
|
+
case 'ListNode':
|
|
249
|
+
case 'TupleLiteral':
|
|
250
|
+
case 'NodeLiteral':
|
|
251
|
+
return { ok: false };
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
function portableSemanticType(kind) {
|
|
255
|
+
switch (kind) {
|
|
256
|
+
case 'StringLiteral': return 'string';
|
|
257
|
+
case 'NumberLiteral': return 'number';
|
|
258
|
+
case 'InfinityLiteral': return 'infinity';
|
|
259
|
+
case 'NaNLiteral': return 'nan';
|
|
260
|
+
case 'NullLiteral': return 'null';
|
|
261
|
+
case 'BooleanLiteral': return 'boolean';
|
|
262
|
+
case 'ToggleLiteral': return 'toggle';
|
|
263
|
+
case 'HexLiteral': return 'hex';
|
|
264
|
+
case 'RadixLiteral': return 'radix';
|
|
265
|
+
case 'EncodingLiteral': return 'encoding';
|
|
266
|
+
case 'SeparatorLiteral': return 'sep';
|
|
267
|
+
case 'SymbolicLiteral': return 'symbol';
|
|
268
|
+
case 'SansaAddressLiteral': return 'sansa';
|
|
269
|
+
case 'DateLiteral': return 'date';
|
|
270
|
+
case 'TimeLiteral': return 'time';
|
|
271
|
+
case 'DateTimeLiteral': return 'datetime';
|
|
272
|
+
case 'WTCDateTimeLiteral': return 'wtc';
|
|
273
|
+
case 'ObjectNode':
|
|
274
|
+
case 'ListNode':
|
|
275
|
+
case 'TupleLiteral':
|
|
276
|
+
case 'NodeLiteral':
|
|
277
|
+
case 'NodeHead':
|
|
278
|
+
case 'CloneReference':
|
|
279
|
+
case 'PointerReference':
|
|
280
|
+
return undefined;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
function portableScalarKind(kind) {
|
|
284
|
+
switch (kind) {
|
|
285
|
+
case 'NumberLiteral': return 'number';
|
|
286
|
+
case 'NullLiteral': return 'null';
|
|
287
|
+
case 'InfinityLiteral': return 'infinity';
|
|
288
|
+
case 'NaNLiteral': return 'nan';
|
|
289
|
+
case 'ToggleLiteral': return 'toggle';
|
|
290
|
+
case 'HexLiteral': return 'hex';
|
|
291
|
+
case 'RadixLiteral': return 'radix';
|
|
292
|
+
case 'EncodingLiteral': return 'encoding';
|
|
293
|
+
case 'SeparatorLiteral': return 'separator';
|
|
294
|
+
case 'SymbolicLiteral': return 'symbol';
|
|
295
|
+
case 'SansaAddressLiteral': return 'sansaAddress';
|
|
296
|
+
case 'DateLiteral': return 'date';
|
|
297
|
+
case 'TimeLiteral': return 'time';
|
|
298
|
+
case 'DateTimeLiteral': return 'datetime';
|
|
299
|
+
case 'WTCDateTimeLiteral': return 'wtc';
|
|
300
|
+
case 'CloneReference':
|
|
301
|
+
case 'PointerReference':
|
|
302
|
+
return 'referenceForm';
|
|
303
|
+
case 'StringLiteral':
|
|
304
|
+
case 'BooleanLiteral':
|
|
305
|
+
case 'ObjectNode':
|
|
306
|
+
case 'ListNode':
|
|
307
|
+
case 'TupleLiteral':
|
|
308
|
+
case 'NodeLiteral':
|
|
309
|
+
case 'NodeHead':
|
|
310
|
+
return undefined;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
function radixBaseFromPortableEvent(event) {
|
|
314
|
+
if (event.kind !== 'RadixLiteral')
|
|
315
|
+
return undefined;
|
|
316
|
+
const fromDatatype = aeonRadixBaseFromDatatype(event.datatype);
|
|
317
|
+
if (fromDatatype !== undefined)
|
|
318
|
+
return fromDatatype;
|
|
319
|
+
if (event.datatype !== 'radix' || event.clarifiers?.length !== 1)
|
|
320
|
+
return undefined;
|
|
321
|
+
const clarifier = event.clarifiers[0];
|
|
322
|
+
if (!isTaggedNumberLiteral(clarifier))
|
|
323
|
+
return undefined;
|
|
324
|
+
const base = Number(clarifier.value);
|
|
325
|
+
return Number.isInteger(base) && base >= 2 && base <= 64 ? base : undefined;
|
|
326
|
+
}
|
|
327
|
+
function isTaggedNumberLiteral(value) {
|
|
328
|
+
return typeof value === 'object'
|
|
329
|
+
&& value !== null
|
|
330
|
+
&& 'kind' in value
|
|
331
|
+
&& value.kind === 'NumberLiteral'
|
|
332
|
+
&& 'value' in value
|
|
333
|
+
&& typeof value.value === 'string';
|
|
334
|
+
}
|
|
335
|
+
function representationKindMatches(actual, expected) {
|
|
336
|
+
if (!actual)
|
|
337
|
+
return false;
|
|
338
|
+
return actual === expected || lowerFirst(actual) === expected || representationAlias(actual) === expected;
|
|
339
|
+
}
|
|
340
|
+
function representationAlias(kind) {
|
|
341
|
+
switch (kind) {
|
|
342
|
+
case 'StringLiteral': return 'string';
|
|
343
|
+
case 'NumberLiteral': return 'number';
|
|
344
|
+
case 'InfinityLiteral': return 'infinity';
|
|
345
|
+
case 'NaNLiteral': return 'nan';
|
|
346
|
+
case 'NullLiteral': return 'null';
|
|
347
|
+
case 'BooleanLiteral': return 'boolean';
|
|
348
|
+
case 'ToggleLiteral': return 'toggle';
|
|
349
|
+
case 'HexLiteral': return 'hex';
|
|
350
|
+
case 'RadixLiteral': return 'radix';
|
|
351
|
+
case 'EncodingLiteral': return 'encoding';
|
|
352
|
+
case 'SeparatorLiteral': return 'separator';
|
|
353
|
+
case 'SymbolicLiteral': return 'symbol';
|
|
354
|
+
case 'SansaAddressLiteral': return 'sansa';
|
|
355
|
+
case 'DateLiteral': return 'date';
|
|
356
|
+
case 'TimeLiteral': return 'time';
|
|
357
|
+
case 'DateTimeLiteral': return 'datetime';
|
|
358
|
+
case 'ObjectNode': return 'object';
|
|
359
|
+
case 'ListNode': return 'list';
|
|
360
|
+
case 'TupleLiteral': return 'tuple';
|
|
361
|
+
case 'NodeLiteral': return 'node';
|
|
362
|
+
case 'NodeHead': return 'nodeHead';
|
|
363
|
+
case 'CloneReference': return 'cloneReference';
|
|
364
|
+
case 'PointerReference': return 'pointerReference';
|
|
365
|
+
default: return undefined;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
function lowerFirst(value) {
|
|
369
|
+
return value.length === 0 ? value : `${value[0].toLowerCase()}${value.slice(1)}`;
|
|
370
|
+
}
|
|
371
|
+
function appendMember(base, name) {
|
|
372
|
+
return /^[A-Za-z_][A-Za-z0-9_]*$/u.test(name)
|
|
373
|
+
? `${base}.${name}`
|
|
374
|
+
: `${base}.[${JSON.stringify(name)}]`;
|
|
375
|
+
}
|
|
376
|
+
//# sourceMappingURL=sansa.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sansa.js","sourceRoot":"","sources":["../src/sansa.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4CAA4C,EAC5C,yBAAyB,EACzB,cAAc,GAEf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAwD,MAAM,mBAAmB,CAAC;AACvG,OAAO,EACL,iBAAiB,EACjB,QAAQ,GAGT,MAAM,YAAY,CAAC;AAsDpB;;;;;;;GAOG;AACH,MAAM,UAAU,mBAAmB,CACjC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"version": "0.15.0",
|
|
4
4
|
"description": "Public TypeScript SDK facade for AEON document workflows.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
12
|
"import": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./sansa": {
|
|
15
|
+
"types": "./dist/sansa.d.ts",
|
|
16
|
+
"import": "./dist/sansa.js"
|
|
13
17
|
}
|
|
14
18
|
},
|
|
15
19
|
"files": [
|
|
@@ -43,9 +47,10 @@
|
|
|
43
47
|
"access": "public"
|
|
44
48
|
},
|
|
45
49
|
"dependencies": {
|
|
46
|
-
"@altopelago/
|
|
47
|
-
"@altopelago/aeon-
|
|
48
|
-
"@altopelago/aeon-finalize": "0.
|
|
50
|
+
"@altopelago/sansa": "0.14.2",
|
|
51
|
+
"@altopelago/aeon-core": "0.15.0",
|
|
52
|
+
"@altopelago/aeon-finalize": "0.15.0",
|
|
53
|
+
"@altopelago/aeon-canonical": "0.15.0"
|
|
49
54
|
},
|
|
50
55
|
"scripts": {
|
|
51
56
|
"build": "tsc -p tsconfig.json",
|