tla-ts 0.0.3-dev.bcfa494 → 0.0.3-dev.bfd303f
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/dist/index.d.cts +22 -22
- package/dist/index.d.ts +22 -22
- package/dist/transfer.cjs +23 -20
- package/dist/transfer.js +23 -20
- package/package.json +1 -1
- package/src/check.ts +64 -10
- package/src/codegen.ts +6 -3
- package/src/environment.ts +11 -9
- package/src/errors.ts +19 -2
- package/src/evaluate.ts +42 -7
- package/src/exit-codes.ts +22 -3
- package/src/live-check.ts +5 -1
- package/src/liveness.ts +63 -9
- package/src/successors.ts +22 -12
- package/src/symmetry.ts +16 -6
- package/src/tableau.ts +1 -1
- package/src/tlc-module.ts +6 -6
- package/src/tlc-modules.ts +4 -0
- package/src/values.ts +62 -9
package/dist/index.d.cts
CHANGED
|
@@ -494,28 +494,6 @@ interface ModelConfig {
|
|
|
494
494
|
rlReward: string | undefined;
|
|
495
495
|
}
|
|
496
496
|
export declare const parseConfig: (source: string) => ModelConfig;
|
|
497
|
-
export declare class TlaError extends Error {
|
|
498
|
-
constructor(message: string, cause?: unknown);
|
|
499
|
-
}
|
|
500
|
-
interface SyntaxFailure {
|
|
501
|
-
reason: string;
|
|
502
|
-
line: number;
|
|
503
|
-
column: number;
|
|
504
|
-
isEnd: boolean;
|
|
505
|
-
}
|
|
506
|
-
export declare class TlaSyntaxError extends TlaError {
|
|
507
|
-
failure: SyntaxFailure | undefined;
|
|
508
|
-
constructor(message: string, cause?: unknown, failure?: SyntaxFailure);
|
|
509
|
-
}
|
|
510
|
-
export declare class TlaConfigError extends TlaError {
|
|
511
|
-
constructor(message: string, cause?: unknown);
|
|
512
|
-
}
|
|
513
|
-
export declare class TlaEvaluationError extends TlaError {
|
|
514
|
-
constructor(message: string, cause?: unknown);
|
|
515
|
-
}
|
|
516
|
-
export declare class TlaUnsupportedError extends TlaError {
|
|
517
|
-
constructor(message: string, cause?: unknown);
|
|
518
|
-
}
|
|
519
497
|
interface ModelValue {
|
|
520
498
|
kind: "ModelValue";
|
|
521
499
|
name: string;
|
|
@@ -602,6 +580,28 @@ interface LazyFunctionValue {
|
|
|
602
580
|
}
|
|
603
581
|
type Value = boolean | number | string | ModelValue | SetValue | MixedSetValue | FunctionValue | IntervalValue | InfiniteSetValue | SubsetValue | FunctionSetValue | RecordSetValue | ProductSetValue | SequenceSetValue | SetOperationValue | FilteredSetValue | UnionValue | LazyFunctionValue;
|
|
604
582
|
export declare const formatValue: (value: Value, isStrict?: boolean, isNormalized?: boolean) => string;
|
|
583
|
+
export declare class TlaError extends Error {
|
|
584
|
+
constructor(message: string, cause?: unknown);
|
|
585
|
+
}
|
|
586
|
+
interface SyntaxFailure {
|
|
587
|
+
reason: string;
|
|
588
|
+
line: number;
|
|
589
|
+
column: number;
|
|
590
|
+
isEnd: boolean;
|
|
591
|
+
}
|
|
592
|
+
export declare class TlaSyntaxError extends TlaError {
|
|
593
|
+
failure: SyntaxFailure | undefined;
|
|
594
|
+
constructor(message: string, cause?: unknown, failure?: SyntaxFailure);
|
|
595
|
+
}
|
|
596
|
+
export declare class TlaConfigError extends TlaError {
|
|
597
|
+
constructor(message: string, cause?: unknown);
|
|
598
|
+
}
|
|
599
|
+
export declare class TlaEvaluationError extends TlaError {
|
|
600
|
+
constructor(message: string, cause?: unknown);
|
|
601
|
+
}
|
|
602
|
+
export declare class TlaUnsupportedError extends TlaError {
|
|
603
|
+
constructor(message: string, cause?: unknown);
|
|
604
|
+
}
|
|
605
605
|
interface StateDump {
|
|
606
606
|
path: string;
|
|
607
607
|
dot?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -494,28 +494,6 @@ interface ModelConfig {
|
|
|
494
494
|
rlReward: string | undefined;
|
|
495
495
|
}
|
|
496
496
|
export declare const parseConfig: (source: string) => ModelConfig;
|
|
497
|
-
export declare class TlaError extends Error {
|
|
498
|
-
constructor(message: string, cause?: unknown);
|
|
499
|
-
}
|
|
500
|
-
interface SyntaxFailure {
|
|
501
|
-
reason: string;
|
|
502
|
-
line: number;
|
|
503
|
-
column: number;
|
|
504
|
-
isEnd: boolean;
|
|
505
|
-
}
|
|
506
|
-
export declare class TlaSyntaxError extends TlaError {
|
|
507
|
-
failure: SyntaxFailure | undefined;
|
|
508
|
-
constructor(message: string, cause?: unknown, failure?: SyntaxFailure);
|
|
509
|
-
}
|
|
510
|
-
export declare class TlaConfigError extends TlaError {
|
|
511
|
-
constructor(message: string, cause?: unknown);
|
|
512
|
-
}
|
|
513
|
-
export declare class TlaEvaluationError extends TlaError {
|
|
514
|
-
constructor(message: string, cause?: unknown);
|
|
515
|
-
}
|
|
516
|
-
export declare class TlaUnsupportedError extends TlaError {
|
|
517
|
-
constructor(message: string, cause?: unknown);
|
|
518
|
-
}
|
|
519
497
|
interface ModelValue {
|
|
520
498
|
kind: "ModelValue";
|
|
521
499
|
name: string;
|
|
@@ -602,6 +580,28 @@ interface LazyFunctionValue {
|
|
|
602
580
|
}
|
|
603
581
|
type Value = boolean | number | string | ModelValue | SetValue | MixedSetValue | FunctionValue | IntervalValue | InfiniteSetValue | SubsetValue | FunctionSetValue | RecordSetValue | ProductSetValue | SequenceSetValue | SetOperationValue | FilteredSetValue | UnionValue | LazyFunctionValue;
|
|
604
582
|
export declare const formatValue: (value: Value, isStrict?: boolean, isNormalized?: boolean) => string;
|
|
583
|
+
export declare class TlaError extends Error {
|
|
584
|
+
constructor(message: string, cause?: unknown);
|
|
585
|
+
}
|
|
586
|
+
interface SyntaxFailure {
|
|
587
|
+
reason: string;
|
|
588
|
+
line: number;
|
|
589
|
+
column: number;
|
|
590
|
+
isEnd: boolean;
|
|
591
|
+
}
|
|
592
|
+
export declare class TlaSyntaxError extends TlaError {
|
|
593
|
+
failure: SyntaxFailure | undefined;
|
|
594
|
+
constructor(message: string, cause?: unknown, failure?: SyntaxFailure);
|
|
595
|
+
}
|
|
596
|
+
export declare class TlaConfigError extends TlaError {
|
|
597
|
+
constructor(message: string, cause?: unknown);
|
|
598
|
+
}
|
|
599
|
+
export declare class TlaEvaluationError extends TlaError {
|
|
600
|
+
constructor(message: string, cause?: unknown);
|
|
601
|
+
}
|
|
602
|
+
export declare class TlaUnsupportedError extends TlaError {
|
|
603
|
+
constructor(message: string, cause?: unknown);
|
|
604
|
+
}
|
|
605
605
|
interface StateDump {
|
|
606
606
|
path: string;
|
|
607
607
|
dot?: boolean;
|