@aftertext/compiler 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +38 -2
- package/dist/ast/expression.d.ts +55 -0
- package/dist/ast/expression.d.ts.map +1 -0
- package/dist/ast/expression.js +2 -0
- package/dist/ast/expression.js.map +1 -0
- package/dist/ast/index.d.ts +6 -0
- package/dist/ast/index.d.ts.map +1 -0
- package/dist/ast/index.js +2 -0
- package/dist/ast/index.js.map +1 -0
- package/dist/ast/inline.d.ts +39 -0
- package/dist/ast/inline.d.ts.map +1 -0
- package/dist/ast/inline.js +2 -0
- package/dist/ast/inline.js.map +1 -0
- package/dist/ast/presentation.d.ts +41 -0
- package/dist/ast/presentation.d.ts.map +1 -0
- package/dist/ast/presentation.js +8 -0
- package/dist/ast/presentation.js.map +1 -0
- package/dist/ast/span.d.ts +19 -0
- package/dist/ast/span.d.ts.map +1 -0
- package/dist/ast/span.js +2 -0
- package/dist/ast/span.js.map +1 -0
- package/dist/ast/story.d.ts +350 -0
- package/dist/ast/story.d.ts.map +1 -0
- package/dist/ast/story.js +2 -0
- package/dist/ast/story.js.map +1 -0
- package/dist/compile.d.ts +25 -0
- package/dist/compile.d.ts.map +1 -0
- package/dist/compile.js +19 -0
- package/dist/compile.js.map +1 -0
- package/dist/diagnostics/codes.d.ts +25 -0
- package/dist/diagnostics/codes.d.ts.map +1 -0
- package/dist/diagnostics/codes.js +66 -0
- package/dist/diagnostics/codes.js.map +1 -0
- package/dist/diagnostics/index.d.ts +3 -0
- package/dist/diagnostics/index.d.ts.map +1 -0
- package/dist/diagnostics/index.js +2 -0
- package/dist/diagnostics/index.js.map +1 -0
- package/dist/diagnostics/types.d.ts +19 -0
- package/dist/diagnostics/types.d.ts.map +1 -0
- package/dist/diagnostics/types.js +2 -0
- package/dist/diagnostics/types.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/parser/blocks.d.ts +40 -0
- package/dist/parser/blocks.d.ts.map +1 -0
- package/dist/parser/blocks.js +907 -0
- package/dist/parser/blocks.js.map +1 -0
- package/dist/parser/directive-line.d.ts +21 -0
- package/dist/parser/directive-line.d.ts.map +1 -0
- package/dist/parser/directive-line.js +50 -0
- package/dist/parser/directive-line.js.map +1 -0
- package/dist/parser/document.d.ts +13 -0
- package/dist/parser/document.d.ts.map +1 -0
- package/dist/parser/document.js +28 -0
- package/dist/parser/document.js.map +1 -0
- package/dist/parser/expression-lexer.d.ts +26 -0
- package/dist/parser/expression-lexer.d.ts.map +1 -0
- package/dist/parser/expression-lexer.js +137 -0
- package/dist/parser/expression-lexer.js.map +1 -0
- package/dist/parser/expression-parser.d.ts +13 -0
- package/dist/parser/expression-parser.d.ts.map +1 -0
- package/dist/parser/expression-parser.js +201 -0
- package/dist/parser/expression-parser.js.map +1 -0
- package/dist/parser/frontmatter.d.ts +23 -0
- package/dist/parser/frontmatter.d.ts.map +1 -0
- package/dist/parser/frontmatter.js +118 -0
- package/dist/parser/frontmatter.js.map +1 -0
- package/dist/parser/index.d.ts +2 -0
- package/dist/parser/index.d.ts.map +1 -0
- package/dist/parser/index.js +2 -0
- package/dist/parser/index.js.map +1 -0
- package/dist/parser/lexical-primitives.d.ts +38 -0
- package/dist/parser/lexical-primitives.d.ts.map +1 -0
- package/dist/parser/lexical-primitives.js +46 -0
- package/dist/parser/lexical-primitives.js.map +1 -0
- package/dist/parser/lines.d.ts +32 -0
- package/dist/parser/lines.d.ts.map +1 -0
- package/dist/parser/lines.js +60 -0
- package/dist/parser/lines.js.map +1 -0
- package/dist/parser/markdown.d.ts +19 -0
- package/dist/parser/markdown.d.ts.map +1 -0
- package/dist/parser/markdown.js +221 -0
- package/dist/parser/markdown.js.map +1 -0
- package/dist/parser/serializer-safety.d.ts +56 -0
- package/dist/parser/serializer-safety.d.ts.map +1 -0
- package/dist/parser/serializer-safety.js +65 -0
- package/dist/parser/serializer-safety.js.map +1 -0
- package/dist/validation/index.d.ts +2 -0
- package/dist/validation/index.d.ts.map +1 -0
- package/dist/validation/index.js +2 -0
- package/dist/validation/index.js.map +1 -0
- package/dist/validation/validate.d.ts +4 -0
- package/dist/validation/validate.d.ts.map +1 -0
- package/dist/validation/validate.js +221 -0
- package/dist/validation/validate.js.map +1 -0
- package/package.json +43 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"story.d.ts","sourceRoot":"","sources":["../../src/ast/story.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE5D,wEAAwE;AACxE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAE1D;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC;AAExE,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,uDAAuD;IACvD,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,CAAC;CACvC;AAMD,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,SAAS,UAAU,EAAE,CAAC;IACzC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;CAC3B;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ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AAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,MAAM,EAAE,SAAS,UAAU,EAAE,CAAC;IACvC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,EAAE,CAAC;CACnD;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAC;IAC/B,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC;IACjC,QAAQ,CAAC,YAAY,EAAE,oBAAoB,CAAC;IAC5C;;;;;;;;;OASG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,CAAC;CACvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"story.js","sourceRoot":"","sources":["../../src/ast/story.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { StoryDocument } from "./ast/story.js";
|
|
2
|
+
import type { Diagnostic } from "./diagnostics/types.js";
|
|
3
|
+
export interface CompileResult {
|
|
4
|
+
/** The compiled Story AST. Always present — this compiler recovers from
|
|
5
|
+
* ordinary source errors rather than failing to produce a document. */
|
|
6
|
+
readonly document: StoryDocument;
|
|
7
|
+
readonly diagnostics: readonly Diagnostic[];
|
|
8
|
+
/**
|
|
9
|
+
* `true` when `diagnostics` contains at least one `severity: "error"`
|
|
10
|
+
* entry. Warnings (e.g. AT3001) do not count — `document` is still a
|
|
11
|
+
* reasonable best-effort result even when this is `true`.
|
|
12
|
+
*/
|
|
13
|
+
readonly hasErrors: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Compiles AfterText source into a validated Story AST plus diagnostics.
|
|
17
|
+
*
|
|
18
|
+
* Pipeline: directive scanning → Markdown parsing of prose regions →
|
|
19
|
+
* Story AST construction → validation → CompileResult. Ordinary source
|
|
20
|
+
* errors (unknown directives, unclosed blocks, malformed expressions,
|
|
21
|
+
* dangling references) are reported as diagnostics; this function does
|
|
22
|
+
* not throw for them.
|
|
23
|
+
*/
|
|
24
|
+
export declare function compile(source: string): CompileResult;
|
|
25
|
+
//# sourceMappingURL=compile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../src/compile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAIzD,MAAM,WAAW,aAAa;IAC5B;4EACwE;IACxE,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC;IACjC,QAAQ,CAAC,WAAW,EAAE,SAAS,UAAU,EAAE,CAAC;IAC5C;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;CAC7B;AAED;;;;;;;;GAQG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,aAAa,CAMrD"}
|
package/dist/compile.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { parseDocument } from "./parser/document.js";
|
|
2
|
+
import { validate } from "./validation/validate.js";
|
|
3
|
+
/**
|
|
4
|
+
* Compiles AfterText source into a validated Story AST plus diagnostics.
|
|
5
|
+
*
|
|
6
|
+
* Pipeline: directive scanning → Markdown parsing of prose regions →
|
|
7
|
+
* Story AST construction → validation → CompileResult. Ordinary source
|
|
8
|
+
* errors (unknown directives, unclosed blocks, malformed expressions,
|
|
9
|
+
* dangling references) are reported as diagnostics; this function does
|
|
10
|
+
* not throw for them.
|
|
11
|
+
*/
|
|
12
|
+
export function compile(source) {
|
|
13
|
+
const { document, diagnostics } = parseDocument(source);
|
|
14
|
+
const validationDiagnostics = validate(document);
|
|
15
|
+
const allDiagnostics = [...diagnostics, ...validationDiagnostics];
|
|
16
|
+
const hasErrors = allDiagnostics.some((d) => d.severity === "error");
|
|
17
|
+
return { document, diagnostics: allDiagnostics, hasErrors };
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=compile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compile.js","sourceRoot":"","sources":["../src/compile.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAepD;;;;;;;;GAQG;AACH,MAAM,UAAU,OAAO,CAAC,MAAc;IACpC,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;IACxD,MAAM,qBAAqB,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACjD,MAAM,cAAc,GAAG,CAAC,GAAG,WAAW,EAAE,GAAG,qBAAqB,CAAC,CAAC;IAClE,MAAM,SAAS,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC;IACrE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE,SAAS,EAAE,CAAC;AAC9D,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { SourceSpan } from "../ast/span.js";
|
|
2
|
+
import type { Diagnostic } from "./types.js";
|
|
3
|
+
export declare const Diagnostics: {
|
|
4
|
+
readonly unknownDirective: (name: string, span: SourceSpan) => Diagnostic;
|
|
5
|
+
readonly unclosedBlock: (kind: string, span: SourceSpan) => Diagnostic;
|
|
6
|
+
readonly duplicateScene: (id: string, span: SourceSpan) => Diagnostic;
|
|
7
|
+
readonly unknownSceneReference: (id: string, span: SourceSpan) => Diagnostic;
|
|
8
|
+
readonly malformedChoiceItem: (reason: string, span: SourceSpan) => Diagnostic;
|
|
9
|
+
readonly conditionalBranchAfterElse: (span: SourceSpan) => Diagnostic;
|
|
10
|
+
readonly duplicateVariantId: (id: string, span: SourceSpan) => Diagnostic;
|
|
11
|
+
readonly variantWithoutWhenBranch: (id: string, span: SourceSpan) => Diagnostic;
|
|
12
|
+
readonly unknownVariantReference: (id: string, span: SourceSpan) => Diagnostic;
|
|
13
|
+
readonly variantBranchAfterOtherwise: (id: string, span: SourceSpan) => Diagnostic;
|
|
14
|
+
readonly malformedExpression: (reason: string, span: SourceSpan) => Diagnostic;
|
|
15
|
+
readonly expressionNumericNotFinite: (span: SourceSpan) => Diagnostic;
|
|
16
|
+
readonly unknownBuiltin: (name: string, span: SourceSpan) => Diagnostic;
|
|
17
|
+
readonly wrongBuiltinArity: (name: string, expected: number, actual: number, span: SourceSpan) => Diagnostic;
|
|
18
|
+
readonly invalidBuiltinArgument: (name: string, span: SourceSpan) => Diagnostic;
|
|
19
|
+
readonly unsupportedStateValue: (key: string, span: SourceSpan) => Diagnostic;
|
|
20
|
+
readonly invalidFrontmatter: (reason: string, span: SourceSpan) => Diagnostic;
|
|
21
|
+
readonly malformedPresentation: (reason: string, span: SourceSpan) => Diagnostic;
|
|
22
|
+
readonly presentationNumericNotFinite: (span: SourceSpan) => Diagnostic;
|
|
23
|
+
readonly unsupportedMarkdown: (construct: string, span: SourceSpan) => Diagnostic;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=codes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codes.d.ts","sourceRoot":"","sources":["../../src/diagnostics/codes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAsB,MAAM,YAAY,CAAC;AAWjE,eAAO,MAAM,WAAW;sCACC,MAAM,QAAQ,UAAU,KAAG,UAAU;mCAGxC,MAAM,QAAQ,UAAU,KAAG,UAAU;kCAQtC,MAAM,QAAQ,UAAU,KAAG,UAAU;yCAG9B,MAAM,QAAQ,UAAU,KAAG,UAAU;2CAQnC,MAAM,QAAQ,UAAU,KAAG,UAAU;gDAGhC,UAAU,KAAG,UAAU;sCAQjC,MAAM,QAAQ,UAAU,KAAG,UAAU;4CAG/B,MAAM,QAAQ,UAAU,KAAG,UAAU;2CAQtC,MAAM,QAAQ,UAAU,KAAG,UAAU;+CAGjC,MAAM,QAAQ,UAAU,KAAG,UAAU;2CAQzC,MAAM,QAAQ,UAAU,KAAG,UAAU;gDAGhC,UAAU,KAAG,UAAU;oCAQnC,MAAM,QAAQ,UAAU,KAAG,UAAU;uCAGlC,MAAM,YAAY,MAAM,UAAU,MAAM,QAAQ,UAAU,KAAG,UAAU;4CAQlE,MAAM,QAAQ,UAAU,KAAG,UAAU;0CAGvC,MAAM,QAAQ,UAAU,KAAG,UAAU;0CAQrC,MAAM,QAAQ,UAAU,KAAG,UAAU;6CAGlC,MAAM,QAAQ,UAAU,KAAG,UAAU;kDAGhC,UAAU,KAAG,UAAU;8CAQ3B,MAAM,QAAQ,UAAU,KAAG,UAAU;CAQ5D,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
function diagnostic(severity, code, message, span) {
|
|
2
|
+
return { severity, code, message, span };
|
|
3
|
+
}
|
|
4
|
+
export const Diagnostics = {
|
|
5
|
+
unknownDirective(name, span) {
|
|
6
|
+
return diagnostic("error", "AT1001", `Unknown directive "@${name}".`, span);
|
|
7
|
+
},
|
|
8
|
+
unclosedBlock(kind, span) {
|
|
9
|
+
return diagnostic("error", "AT1002", `Unclosed "@${kind}" block: missing matching "@end".`, span);
|
|
10
|
+
},
|
|
11
|
+
duplicateScene(id, span) {
|
|
12
|
+
return diagnostic("error", "AT1003", `Duplicate scene id "${id}".`, span);
|
|
13
|
+
},
|
|
14
|
+
unknownSceneReference(id, span) {
|
|
15
|
+
return diagnostic("error", "AT1004", `Reference to unknown scene "${id}".`, span);
|
|
16
|
+
},
|
|
17
|
+
malformedChoiceItem(reason, span) {
|
|
18
|
+
return diagnostic("error", "AT1005", `Malformed choice item: ${reason}`, span);
|
|
19
|
+
},
|
|
20
|
+
conditionalBranchAfterElse(span) {
|
|
21
|
+
return diagnostic("error", "AT1006", `A conditional has a branch after "@else": "@else" must be the last branch.`, span);
|
|
22
|
+
},
|
|
23
|
+
duplicateVariantId(id, span) {
|
|
24
|
+
return diagnostic("error", "AT1101", `Duplicate variant id "${id}".`, span);
|
|
25
|
+
},
|
|
26
|
+
variantWithoutWhenBranch(id, span) {
|
|
27
|
+
return diagnostic("error", "AT1102", `Variant "${id}" has no "@when" branch.`, span);
|
|
28
|
+
},
|
|
29
|
+
unknownVariantReference(id, span) {
|
|
30
|
+
return diagnostic("error", "AT1103", `Reference to unknown Variant "${id}".`, span);
|
|
31
|
+
},
|
|
32
|
+
variantBranchAfterOtherwise(id, span) {
|
|
33
|
+
return diagnostic("error", "AT1104", `Variant "${id}" has a branch after "@otherwise": "@otherwise" must be the last branch.`, span);
|
|
34
|
+
},
|
|
35
|
+
malformedExpression(reason, span) {
|
|
36
|
+
return diagnostic("error", "AT2001", `Malformed expression: ${reason}`, span);
|
|
37
|
+
},
|
|
38
|
+
expressionNumericNotFinite(span) {
|
|
39
|
+
return diagnostic("error", "AT2005", "Numeric literal is not representable as a finite number.", span);
|
|
40
|
+
},
|
|
41
|
+
unknownBuiltin(name, span) {
|
|
42
|
+
return diagnostic("error", "AT2002", `Unknown builtin call "${name}".`, span);
|
|
43
|
+
},
|
|
44
|
+
wrongBuiltinArity(name, expected, actual, span) {
|
|
45
|
+
return diagnostic("error", "AT2003", `"${name}" expects ${expected} argument${expected === 1 ? "" : "s"}, got ${actual}.`, span);
|
|
46
|
+
},
|
|
47
|
+
invalidBuiltinArgument(name, span) {
|
|
48
|
+
return diagnostic("error", "AT2004", `"${name}" requires a string literal argument.`, span);
|
|
49
|
+
},
|
|
50
|
+
unsupportedStateValue(key, span) {
|
|
51
|
+
return diagnostic("error", "AT1201", `Unsupported initial state value for "${key}": only string, number, boolean, and null are allowed.`, span);
|
|
52
|
+
},
|
|
53
|
+
invalidFrontmatter(reason, span) {
|
|
54
|
+
return diagnostic("error", "AT1202", `Invalid frontmatter: ${reason}`, span);
|
|
55
|
+
},
|
|
56
|
+
malformedPresentation(reason, span) {
|
|
57
|
+
return diagnostic("error", "AT1301", `Malformed presentation directive: ${reason}`, span);
|
|
58
|
+
},
|
|
59
|
+
presentationNumericNotFinite(span) {
|
|
60
|
+
return diagnostic("error", "AT1302", "Numeric value is not representable as a finite number.", span);
|
|
61
|
+
},
|
|
62
|
+
unsupportedMarkdown(construct, span) {
|
|
63
|
+
return diagnostic("warning", "AT3001", `Unsupported Markdown construct "${construct}": falling back to plain text.`, span);
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=codes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codes.js","sourceRoot":"","sources":["../../src/diagnostics/codes.ts"],"names":[],"mappings":"AAGA,SAAS,UAAU,CACjB,QAA4B,EAC5B,IAAwB,EACxB,OAAe,EACf,IAAgB;IAEhB,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AAC3C,CAAC;AAED,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,gBAAgB,CAAC,IAAY,EAAE,IAAgB;QAC7C,OAAO,UAAU,CAAC,OAAO,EAAE,QAAQ,EAAE,uBAAuB,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;IACD,aAAa,CAAC,IAAY,EAAE,IAAgB;QAC1C,OAAO,UAAU,CACf,OAAO,EACP,QAAQ,EACR,cAAc,IAAI,mCAAmC,EACrD,IAAI,CACL,CAAC;IACJ,CAAC;IACD,cAAc,CAAC,EAAU,EAAE,IAAgB;QACzC,OAAO,UAAU,CAAC,OAAO,EAAE,QAAQ,EAAE,uBAAuB,EAAE,IAAI,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AAS,gCAAgC,EAC5E,IAAI,CACL,CAAC;IACJ,CAAC;CACO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/diagnostics/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/diagnostics/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { SourceSpan } from "../ast/span.js";
|
|
2
|
+
export type DiagnosticSeverity = "error" | "warning";
|
|
3
|
+
/**
|
|
4
|
+
* Stable diagnostic codes. Numbers are grouped by concern:
|
|
5
|
+
* 1000s — structural (directives, blocks, scenes)
|
|
6
|
+
* 1100s — variants
|
|
7
|
+
* 1200s — frontmatter (`state:` values, overall YAML validity)
|
|
8
|
+
* 1300s — presentation directives (@background/@layer/@camera/@music/@sfx/@pause)
|
|
9
|
+
* 2000s — expressions
|
|
10
|
+
* 3000s — Markdown (warnings for constructs outside the supported subset)
|
|
11
|
+
*/
|
|
12
|
+
export type DiagnosticCode = "AT1001" | "AT1002" | "AT1003" | "AT1004" | "AT1005" | "AT1006" | "AT1101" | "AT1102" | "AT1103" | "AT1104" | "AT1201" | "AT1202" | "AT1301" | "AT1302" | "AT2001" | "AT2002" | "AT2003" | "AT2004" | "AT2005" | "AT3001";
|
|
13
|
+
export interface Diagnostic {
|
|
14
|
+
readonly severity: DiagnosticSeverity;
|
|
15
|
+
readonly code: DiagnosticCode;
|
|
16
|
+
readonly message: string;
|
|
17
|
+
readonly span: SourceSpan;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/diagnostics/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,SAAS,CAAC;AAErD;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,GACtB,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,CAAC;AAEb,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC;IACtC,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/diagnostics/types.ts"],"names":[],"mappings":""}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { compile, type CompileResult } from "./compile.js";
|
|
2
|
+
export type { SourcePosition, SourceSpan, LiteralValue, UnaryOperator, BinaryOperator, LiteralExpression, IdentifierExpression, UnaryExpression, BinaryExpression, CallExpression, ExpressionNode, TextInline, EmphasisInline, StrongInline, InlineCodeInline, LinkInline, LineBreakInline, InlineNode, BackgroundCommand, LayerCommand, CameraAction, CameraZoomCommand, CameraCommand, MusicCommand, SfxCommand, PauseCommand, PresentationCommand, StateValue, StoryStateDefinition, StoryMetadata, ParagraphNode, HeadingNode, PresentationNode, SetNode, GotoNode, ChoiceItem, ChoiceNode, ConditionalBranchKind, ConditionalBranch, ConditionalNode, VariantBranchKind, VariantBranch, VariantNode, StoryBlock, SceneNode, StoryDocument } from "./ast/index.js";
|
|
3
|
+
export type { Diagnostic, DiagnosticCode, DiagnosticSeverity } from "./diagnostics/index.js";
|
|
4
|
+
export { isChoiceTargetBoundarySafe, isPresentationNamedArgumentValueBoundarySafe } from "./parser/serializer-safety.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAE3D,YAAY,EACV,cAAc,EACd,UAAU,EACV,YAAY,EACZ,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,UAAU,EACV,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,eAAe,EACf,UAAU,EACV,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,mBAAmB,EACnB,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,OAAO,EACP,QAAQ,EACR,UAAU,EACV,UAAU,EACV,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,UAAU,EACV,SAAS,EACT,aAAa,EACd,MAAM,gBAAgB,CAAC;AAExB,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAO7F,OAAO,EAAE,0BAA0B,EAAE,4CAA4C,EAAE,MAAM,+BAA+B,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Public API surface. Deliberately excludes anything from parser/ that
|
|
2
|
+
// touches remark/mdast/unified — runtime-facing code must depend only on
|
|
3
|
+
// the AfterText-owned AST types re-exported here.
|
|
4
|
+
export { compile } from "./compile.js";
|
|
5
|
+
// Serializer-boundary-safety predicates (docs/PROJECT_SPEC.md Section 25.40,
|
|
6
|
+
// "Serializer Injection Safety Amendment") — small, additive, lexical-only
|
|
7
|
+
// helpers for the Editor's whole-StoryBlock insertion feature. Sourced from
|
|
8
|
+
// `parser/serializer-safety.ts`, which (like this whole module) has no
|
|
9
|
+
// `remark`/`mdast` dependency, unlike `parser/blocks.ts` itself.
|
|
10
|
+
export { isChoiceTargetBoundarySafe, isPresentationNamedArgumentValueBoundarySafe } from "./parser/serializer-safety.js";
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,yEAAyE;AACzE,kDAAkD;AAElD,OAAO,EAAE,OAAO,EAAsB,MAAM,cAAc,CAAC;AAqD3D,6EAA6E;AAC7E,2EAA2E;AAC3E,4EAA4E;AAC5E,uEAAuE;AACvE,iEAAiE;AACjE,OAAO,EAAE,0BAA0B,EAAE,4CAA4C,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { SceneNode, StoryBlock } from "../ast/story.js";
|
|
2
|
+
import type { Diagnostic } from "../diagnostics/types.js";
|
|
3
|
+
import { type SourceLine } from "./lines.js";
|
|
4
|
+
interface BlockSequenceResult {
|
|
5
|
+
readonly blocks: StoryBlock[];
|
|
6
|
+
readonly nextIndex: number;
|
|
7
|
+
/** Directive name that stopped the sequence (a terminator, or "scene"), or null at EOF. */
|
|
8
|
+
readonly stoppedBy: string | null;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Parses a run of lines into StoryBlocks until either a directive in
|
|
12
|
+
* `terminators` is reached, a `@scene` line is reached (scenes always
|
|
13
|
+
* bound any enclosing construct), or the input is exhausted.
|
|
14
|
+
*
|
|
15
|
+
* This single function drives every nesting level (scene bodies,
|
|
16
|
+
* conditional/variant branch bodies) — nesting falls out of recursive
|
|
17
|
+
* calls to parseConditional/parseVariant/parseChoice below.
|
|
18
|
+
*/
|
|
19
|
+
export declare function parseBlockSequence(lines: readonly SourceLine[], start: number, diagnostics: Diagnostic[], terminators: ReadonlySet<string>): BlockSequenceResult;
|
|
20
|
+
/**
|
|
21
|
+
* The deterministic id used for content appearing before the first explicit
|
|
22
|
+
* `@scene` directive — including an entire `@scene`-less prose-only
|
|
23
|
+
* document, where it becomes the only scene. If the author also declares
|
|
24
|
+
* an explicit `@scene main`, that is treated like any other id collision:
|
|
25
|
+
* the existing duplicate-scene validation (AT1003) reports it rather than
|
|
26
|
+
* silently producing two scenes that share an id.
|
|
27
|
+
*/
|
|
28
|
+
export declare const SYNTHETIC_LEADING_SCENE_ID = "main";
|
|
29
|
+
/**
|
|
30
|
+
* Splits the story body into scenes. Content appearing before the first
|
|
31
|
+
* `@scene` directive is collected into a leading scene with id
|
|
32
|
+
* `SYNTHETIC_LEADING_SCENE_ID` ("main"). A document with no leading
|
|
33
|
+
* content and no explicit `@scene` at all — including a completely empty
|
|
34
|
+
* source — still gets an (empty) synthetic main scene, so `StoryDocument`
|
|
35
|
+
* always contains at least one scene and `entryScene` always resolves to
|
|
36
|
+
* a real one.
|
|
37
|
+
*/
|
|
38
|
+
export declare function parseScenes(lines: readonly SourceLine[], diagnostics: Diagnostic[]): SceneNode[];
|
|
39
|
+
export {};
|
|
40
|
+
//# sourceMappingURL=blocks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../src/parser/blocks.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAQV,SAAS,EAET,UAAU,EAGX,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAQ1D,OAAO,EAAgD,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAe3F,UAAU,mBAAmB;IAC3B,QAAQ,CAAC,MAAM,EAAE,UAAU,EAAE,CAAC;IAC9B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,2FAA2F;IAC3F,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC;AAy1BD;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,SAAS,UAAU,EAAE,EAC5B,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,UAAU,EAAE,EACzB,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,GAC/B,mBAAmB,CAoHrB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,SAAS,CAAC;AAwBjD;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,UAAU,EAAE,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,SAAS,EAAE,CA8ChG"}
|