@elaraai/east 0.0.1-beta.9 → 1.0.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.md +15 -666
- package/README.md +113 -88
- package/dist/src/analyze.d.ts +3 -0
- package/dist/src/analyze.d.ts.map +1 -1
- package/dist/src/analyze.js +223 -111
- package/dist/src/analyze.js.map +1 -1
- package/dist/src/analyze.spec.d.ts +2 -0
- package/dist/src/analyze.spec.d.ts.map +1 -0
- package/dist/src/analyze.spec.js +445 -0
- package/dist/src/analyze.spec.js.map +1 -0
- package/dist/src/ast.d.ts +54 -35
- package/dist/src/ast.d.ts.map +1 -1
- package/dist/src/ast_to_ir.coerce_to.spec.d.ts +15 -0
- package/dist/src/ast_to_ir.coerce_to.spec.d.ts.map +1 -0
- package/dist/src/ast_to_ir.coerce_to.spec.js +420 -0
- package/dist/src/ast_to_ir.coerce_to.spec.js.map +1 -0
- package/dist/src/ast_to_ir.d.ts +18 -4
- package/dist/src/ast_to_ir.d.ts.map +1 -1
- package/dist/src/ast_to_ir.js +233 -178
- package/dist/src/ast_to_ir.js.map +1 -1
- package/dist/src/builtins.d.ts +1 -1
- package/dist/src/builtins.d.ts.map +1 -1
- package/dist/src/builtins.js +194 -2
- package/dist/src/builtins.js.map +1 -1
- package/dist/src/comparison.d.ts +2 -2
- package/dist/src/comparison.d.ts.map +1 -1
- package/dist/src/comparison.js +115 -40
- package/dist/src/comparison.js.map +1 -1
- package/dist/src/comparison.spec.d.ts +2 -0
- package/dist/src/comparison.spec.d.ts.map +1 -0
- package/dist/src/comparison.spec.js +1200 -0
- package/dist/src/comparison.spec.js.map +1 -0
- package/dist/src/compile.d.ts +31 -9
- package/dist/src/compile.d.ts.map +1 -1
- package/dist/src/compile.js +1048 -548
- package/dist/src/compile.js.map +1 -1
- package/dist/src/containers/matrix.d.ts +15 -0
- package/dist/src/containers/matrix.d.ts.map +1 -0
- package/dist/src/containers/matrix.js +15 -0
- package/dist/src/containers/matrix.js.map +1 -0
- package/dist/src/containers/ref.d.ts.map +1 -1
- package/dist/src/containers/ref.js +1 -1
- package/dist/src/containers/ref.js.map +1 -1
- package/dist/src/containers/sortedmap.spec.d.ts +2 -0
- package/dist/src/containers/sortedmap.spec.d.ts.map +1 -0
- package/dist/src/containers/sortedmap.spec.js +180 -0
- package/dist/src/containers/sortedmap.spec.js.map +1 -0
- package/dist/src/containers/sortedset.spec.d.ts +2 -0
- package/dist/src/containers/sortedset.spec.d.ts.map +1 -0
- package/dist/src/containers/sortedset.spec.js +228 -0
- package/dist/src/containers/sortedset.spec.js.map +1 -0
- package/dist/src/containers/variant.d.ts.map +1 -1
- package/dist/src/containers/variant.js +1 -1
- package/dist/src/containers/variant.js.map +1 -1
- package/dist/src/containers/variant.spec.d.ts +2 -0
- package/dist/src/containers/variant.spec.d.ts.map +1 -0
- package/dist/src/containers/variant.spec.js +217 -0
- package/dist/src/containers/variant.spec.js.map +1 -0
- package/dist/src/datetime_format/parse.spec.d.ts +6 -0
- package/dist/src/datetime_format/parse.spec.d.ts.map +1 -0
- package/dist/src/datetime_format/parse.spec.js +379 -0
- package/dist/src/datetime_format/parse.spec.js.map +1 -0
- package/dist/src/datetime_format/print.spec.d.ts +6 -0
- package/dist/src/datetime_format/print.spec.d.ts.map +1 -0
- package/dist/src/datetime_format/print.spec.js +257 -0
- package/dist/src/datetime_format/print.spec.js.map +1 -0
- package/dist/src/datetime_format/tokenize.spec.d.ts +2 -0
- package/dist/src/datetime_format/tokenize.spec.d.ts.map +1 -0
- package/dist/src/datetime_format/tokenize.spec.js +508 -0
- package/dist/src/datetime_format/tokenize.spec.js.map +1 -0
- package/dist/src/datetime_format/types.d.ts +23 -23
- package/dist/src/default.d.ts.map +1 -1
- package/dist/src/default.js +33 -0
- package/dist/src/default.js.map +1 -1
- package/dist/src/default.spec.d.ts +2 -0
- package/dist/src/default.spec.d.ts.map +1 -0
- package/dist/src/default.spec.js +178 -0
- package/dist/src/default.spec.js.map +1 -0
- package/dist/src/eastir.d.ts +7 -0
- package/dist/src/eastir.d.ts.map +1 -1
- package/dist/src/eastir.js +55 -7
- package/dist/src/eastir.js.map +1 -1
- package/dist/src/error.d.ts +14 -4
- package/dist/src/error.d.ts.map +1 -1
- package/dist/src/error.js +28 -3
- package/dist/src/error.js.map +1 -1
- package/dist/src/example.d.ts +87 -0
- package/dist/src/example.d.ts.map +1 -0
- package/dist/src/example.js +18 -0
- package/dist/src/example.js.map +1 -0
- package/dist/src/expr/array.d.ts +43 -1
- package/dist/src/expr/array.d.ts.map +1 -1
- package/dist/src/expr/array.js +103 -53
- package/dist/src/expr/array.js.map +1 -1
- package/dist/src/expr/ast.d.ts +1 -1
- package/dist/src/expr/ast.d.ts.map +1 -1
- package/dist/src/expr/ast.js +112 -54
- package/dist/src/expr/ast.js.map +1 -1
- package/dist/src/expr/asyncfunction.d.ts.map +1 -1
- package/dist/src/expr/asyncfunction.js +6 -4
- package/dist/src/expr/asyncfunction.js.map +1 -1
- package/dist/src/expr/blob.d.ts +48 -0
- package/dist/src/expr/blob.d.ts.map +1 -1
- package/dist/src/expr/blob.js +63 -8
- package/dist/src/expr/blob.js.map +1 -1
- package/dist/src/expr/block.d.ts +213 -12
- package/dist/src/expr/block.d.ts.map +1 -1
- package/dist/src/expr/block.js +796 -293
- package/dist/src/expr/block.js.map +1 -1
- package/dist/src/expr/boolean.d.ts +44 -0
- package/dist/src/expr/boolean.d.ts.map +1 -1
- package/dist/src/expr/boolean.js +58 -6
- package/dist/src/expr/boolean.js.map +1 -1
- package/dist/src/expr/datetime.d.ts +135 -0
- package/dist/src/expr/datetime.d.ts.map +1 -1
- package/dist/src/expr/datetime.js +184 -34
- package/dist/src/expr/datetime.js.map +1 -1
- package/dist/src/expr/dict.d.ts +47 -2
- package/dist/src/expr/dict.d.ts.map +1 -1
- package/dist/src/expr/dict.js +122 -61
- package/dist/src/expr/dict.js.map +1 -1
- package/dist/src/expr/expr.d.ts +3 -1
- package/dist/src/expr/expr.d.ts.map +1 -1
- package/dist/src/expr/expr.js +4 -3
- package/dist/src/expr/expr.js.map +1 -1
- package/dist/src/expr/float.d.ts +153 -0
- package/dist/src/expr/float.d.ts.map +1 -1
- package/dist/src/expr/float.js +191 -17
- package/dist/src/expr/float.js.map +1 -1
- package/dist/src/expr/function.d.ts +7 -2
- package/dist/src/expr/function.d.ts.map +1 -1
- package/dist/src/expr/function.js +6 -4
- package/dist/src/expr/function.js.map +1 -1
- package/dist/src/expr/index.d.ts +186 -2
- package/dist/src/expr/index.d.ts.map +1 -1
- package/dist/src/expr/index.js +183 -2
- package/dist/src/expr/index.js.map +1 -1
- package/dist/src/expr/integer.d.ts +180 -0
- package/dist/src/expr/integer.d.ts.map +1 -1
- package/dist/src/expr/integer.js +189 -18
- package/dist/src/expr/integer.js.map +1 -1
- package/dist/src/expr/libs/array.js +3 -3
- package/dist/src/expr/libs/array.js.map +1 -1
- package/dist/src/expr/libs/blob.js +3 -3
- package/dist/src/expr/libs/blob.js.map +1 -1
- package/dist/src/expr/libs/dict.js +1 -1
- package/dist/src/expr/libs/dict.js.map +1 -1
- package/dist/src/expr/libs/matrix.d.ts +17 -0
- package/dist/src/expr/libs/matrix.d.ts.map +1 -0
- package/dist/src/expr/libs/matrix.js +60 -0
- package/dist/src/expr/libs/matrix.js.map +1 -0
- package/dist/src/expr/libs/set.js +1 -1
- package/dist/src/expr/libs/set.js.map +1 -1
- package/dist/src/expr/libs/string.d.ts.map +1 -1
- package/dist/src/expr/libs/string.js +2 -1
- package/dist/src/expr/libs/string.js.map +1 -1
- package/dist/src/expr/libs/vector.d.ts +16 -0
- package/dist/src/expr/libs/vector.d.ts.map +1 -0
- package/dist/src/expr/libs/vector.js +44 -0
- package/dist/src/expr/libs/vector.js.map +1 -0
- package/dist/src/expr/matrix.d.ts +109 -0
- package/dist/src/expr/matrix.d.ts.map +1 -0
- package/dist/src/expr/matrix.js +224 -0
- package/dist/src/expr/matrix.js.map +1 -0
- package/dist/src/expr/recursive.d.ts +83 -0
- package/dist/src/expr/recursive.d.ts.map +1 -0
- package/dist/src/expr/recursive.js +99 -0
- package/dist/src/expr/recursive.js.map +1 -0
- package/dist/src/expr/ref.js +5 -5
- package/dist/src/expr/ref.js.map +1 -1
- package/dist/src/expr/set.d.ts +44 -2
- package/dist/src/expr/set.d.ts.map +1 -1
- package/dist/src/expr/set.js +102 -52
- package/dist/src/expr/set.js.map +1 -1
- package/dist/src/expr/string.d.ts +134 -0
- package/dist/src/expr/string.d.ts.map +1 -1
- package/dist/src/expr/string.js +173 -23
- package/dist/src/expr/string.js.map +1 -1
- package/dist/src/expr/struct.d.ts +1 -1
- package/dist/src/expr/struct.d.ts.map +1 -1
- package/dist/src/expr/struct.js +2 -2
- package/dist/src/expr/struct.js.map +1 -1
- package/dist/src/expr/types.d.ts +12 -9
- package/dist/src/expr/types.d.ts.map +1 -1
- package/dist/src/expr/variant.d.ts +108 -11
- package/dist/src/expr/variant.d.ts.map +1 -1
- package/dist/src/expr/variant.js +76 -38
- package/dist/src/expr/variant.js.map +1 -1
- package/dist/src/expr/vector.d.ts +102 -0
- package/dist/src/expr/vector.d.ts.map +1 -0
- package/dist/src/expr/vector.js +202 -0
- package/dist/src/expr/vector.js.map +1 -0
- package/dist/src/fuzz.d.ts +36 -2
- package/dist/src/fuzz.d.ts.map +1 -1
- package/dist/src/fuzz.js +409 -77
- package/dist/src/fuzz.js.map +1 -1
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +4 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +12 -2
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +13 -2
- package/dist/src/internal.js.map +1 -1
- package/dist/src/ir.d.ts +1754 -1484
- package/dist/src/ir.d.ts.map +1 -1
- package/dist/src/ir.js +51 -34
- package/dist/src/ir.js.map +1 -1
- package/dist/src/ir.spec.d.ts +2 -0
- package/dist/src/ir.spec.d.ts.map +1 -0
- package/dist/src/ir.spec.js +35 -0
- package/dist/src/ir.spec.js.map +1 -0
- package/dist/src/location.d.ts +56 -17
- package/dist/src/location.d.ts.map +1 -1
- package/dist/src/location.js +226 -29
- package/dist/src/location.js.map +1 -1
- package/dist/src/location.spec.d.ts +2 -0
- package/dist/src/location.spec.d.ts.map +1 -0
- package/dist/src/location.spec.js +102 -0
- package/dist/src/location.spec.js.map +1 -0
- package/dist/src/patch/apply.d.ts +15 -0
- package/dist/src/patch/apply.d.ts.map +1 -0
- package/dist/src/patch/apply.js +352 -0
- package/dist/src/patch/apply.js.map +1 -0
- package/dist/src/patch/compose.d.ts +15 -0
- package/dist/src/patch/compose.d.ts.map +1 -0
- package/dist/src/patch/compose.js +448 -0
- package/dist/src/patch/compose.js.map +1 -0
- package/dist/src/patch/diff.d.ts +15 -0
- package/dist/src/patch/diff.d.ts.map +1 -0
- package/dist/src/patch/diff.js +347 -0
- package/dist/src/patch/diff.js.map +1 -0
- package/dist/src/patch/fuzz.d.ts +73 -0
- package/dist/src/patch/fuzz.d.ts.map +1 -0
- package/dist/src/patch/fuzz.js +159 -0
- package/dist/src/patch/fuzz.js.map +1 -0
- package/dist/src/patch/index.d.ts +32 -0
- package/dist/src/patch/index.d.ts.map +1 -0
- package/dist/src/patch/index.js +48 -0
- package/dist/src/patch/index.js.map +1 -0
- package/dist/src/patch/invert.d.ts +15 -0
- package/dist/src/patch/invert.d.ts.map +1 -0
- package/dist/src/patch/invert.js +284 -0
- package/dist/src/patch/invert.js.map +1 -0
- package/dist/src/patch/merge.d.ts +56 -0
- package/dist/src/patch/merge.d.ts.map +1 -0
- package/dist/src/patch/merge.js +586 -0
- package/dist/src/patch/merge.js.map +1 -0
- package/dist/src/patch/merge.spec.d.ts +2 -0
- package/dist/src/patch/merge.spec.d.ts.map +1 -0
- package/dist/src/patch/merge.spec.js +1139 -0
- package/dist/src/patch/merge.spec.js.map +1 -0
- package/dist/src/patch/patch.spec.d.ts +2 -0
- package/dist/src/patch/patch.spec.d.ts.map +1 -0
- package/dist/src/patch/patch.spec.js +452 -0
- package/dist/src/patch/patch.spec.js.map +1 -0
- package/dist/src/patch/path.d.ts +115 -0
- package/dist/src/patch/path.d.ts.map +1 -0
- package/dist/src/patch/path.js +192 -0
- package/dist/src/patch/path.js.map +1 -0
- package/dist/src/patch/path.spec.d.ts +6 -0
- package/dist/src/patch/path.spec.d.ts.map +1 -0
- package/dist/src/patch/path.spec.js +322 -0
- package/dist/src/patch/path.spec.js.map +1 -0
- package/dist/src/patch/prune.d.ts +77 -0
- package/dist/src/patch/prune.d.ts.map +1 -0
- package/dist/src/patch/prune.js +115 -0
- package/dist/src/patch/prune.js.map +1 -0
- package/dist/src/patch/prune.spec.d.ts +6 -0
- package/dist/src/patch/prune.spec.d.ts.map +1 -0
- package/dist/src/patch/prune.spec.js +473 -0
- package/dist/src/patch/prune.spec.js.map +1 -0
- package/dist/src/patch/type_of_patch.d.ts +25 -0
- package/dist/src/patch/type_of_patch.d.ts.map +1 -0
- package/dist/src/patch/type_of_patch.js +144 -0
- package/dist/src/patch/type_of_patch.js.map +1 -0
- package/dist/src/patch/types.d.ts +220 -0
- package/dist/src/patch/types.d.ts.map +1 -0
- package/dist/src/patch/types.js +62 -0
- package/dist/src/patch/types.js.map +1 -0
- package/dist/src/patch/validate.d.ts +44 -0
- package/dist/src/patch/validate.d.ts.map +1 -0
- package/dist/src/patch/validate.js +190 -0
- package/dist/src/patch/validate.js.map +1 -0
- package/dist/src/patch/validate.spec.d.ts +6 -0
- package/dist/src/patch/validate.spec.d.ts.map +1 -0
- package/dist/src/patch/validate.spec.js +225 -0
- package/dist/src/patch/validate.spec.js.map +1 -0
- package/dist/src/patch/walk.d.ts +121 -0
- package/dist/src/patch/walk.d.ts.map +1 -0
- package/dist/src/patch/walk.js +385 -0
- package/dist/src/patch/walk.js.map +1 -0
- package/dist/src/patch/walk.spec.d.ts +6 -0
- package/dist/src/patch/walk.spec.d.ts.map +1 -0
- package/dist/src/patch/walk.spec.js +621 -0
- package/dist/src/patch/walk.spec.js.map +1 -0
- package/dist/src/platform.d.ts +6 -0
- package/dist/src/platform.d.ts.map +1 -1
- package/dist/src/platform.spec.d.ts +2 -0
- package/dist/src/platform.spec.d.ts.map +1 -0
- package/dist/src/platform.spec.js +330 -0
- package/dist/src/platform.spec.js.map +1 -0
- package/dist/src/serialization/beast.d.ts.map +1 -1
- package/dist/src/serialization/beast.js +12 -0
- package/dist/src/serialization/beast.js.map +1 -1
- package/dist/src/serialization/beast.spec.d.ts +6 -0
- package/dist/src/serialization/beast.spec.d.ts.map +1 -0
- package/dist/src/serialization/beast.spec.js +406 -0
- package/dist/src/serialization/beast.spec.js.map +1 -0
- package/dist/src/serialization/beast2/index.d.ts +50 -0
- package/dist/src/serialization/beast2/index.d.ts.map +1 -0
- package/dist/src/serialization/beast2/index.js +756 -0
- package/dist/src/serialization/beast2/index.js.map +1 -0
- package/dist/src/serialization/beast2/index.spec.d.ts +6 -0
- package/dist/src/serialization/beast2/index.spec.d.ts.map +1 -0
- package/dist/src/serialization/beast2/index.spec.js +528 -0
- package/dist/src/serialization/beast2/index.spec.js.map +1 -0
- package/dist/src/serialization/beast2/sourcemap-table.d.ts +29 -0
- package/dist/src/serialization/beast2/sourcemap-table.d.ts.map +1 -0
- package/dist/src/serialization/beast2/sourcemap-table.js +82 -0
- package/dist/src/serialization/beast2/sourcemap-table.js.map +1 -0
- package/dist/src/serialization/beast2/string-table.d.ts +16 -0
- package/dist/src/serialization/beast2/string-table.d.ts.map +1 -0
- package/dist/src/serialization/beast2/string-table.js +38 -0
- package/dist/src/serialization/beast2/string-table.js.map +1 -0
- package/dist/src/serialization/beast2/type-table.d.ts +86 -0
- package/dist/src/serialization/beast2/type-table.d.ts.map +1 -0
- package/dist/src/serialization/beast2/type-table.js +618 -0
- package/dist/src/serialization/beast2/type-table.js.map +1 -0
- package/dist/src/serialization/beast2/value-table.d.ts +40 -0
- package/dist/src/serialization/beast2/value-table.d.ts.map +1 -0
- package/dist/src/serialization/beast2/value-table.js +157 -0
- package/dist/src/serialization/beast2/value-table.js.map +1 -0
- package/dist/src/serialization/binary-utils.d.ts +33 -0
- package/dist/src/serialization/binary-utils.d.ts.map +1 -1
- package/dist/src/serialization/binary-utils.js +157 -0
- package/dist/src/serialization/binary-utils.js.map +1 -1
- package/dist/src/serialization/csv.d.ts +17 -17
- package/dist/src/serialization/csv.d.ts.map +1 -1
- package/dist/src/serialization/csv.js +10 -8
- package/dist/src/serialization/csv.js.map +1 -1
- package/dist/src/serialization/csv.spec.d.ts +2 -0
- package/dist/src/serialization/csv.spec.d.ts.map +1 -0
- package/dist/src/serialization/csv.spec.js +556 -0
- package/dist/src/serialization/csv.spec.js.map +1 -0
- package/dist/src/serialization/east-inferred.spec.d.ts +2 -0
- package/dist/src/serialization/east-inferred.spec.d.ts.map +1 -0
- package/dist/src/serialization/east-inferred.spec.js +322 -0
- package/dist/src/serialization/east-inferred.spec.js.map +1 -0
- package/dist/src/serialization/east.d.ts +1 -1
- package/dist/src/serialization/east.d.ts.map +1 -1
- package/dist/src/serialization/east.js +178 -26
- package/dist/src/serialization/east.js.map +1 -1
- package/dist/src/serialization/east.spec.d.ts +2 -0
- package/dist/src/serialization/east.spec.d.ts.map +1 -0
- package/dist/src/serialization/east.spec.js +1548 -0
- package/dist/src/serialization/east.spec.js.map +1 -0
- package/dist/src/serialization/index.d.ts +1 -2
- package/dist/src/serialization/index.d.ts.map +1 -1
- package/dist/src/serialization/index.js +1 -2
- package/dist/src/serialization/index.js.map +1 -1
- package/dist/src/serialization/json.d.ts +1 -1
- package/dist/src/serialization/json.d.ts.map +1 -1
- package/dist/src/serialization/json.js +123 -24
- package/dist/src/serialization/json.js.map +1 -1
- package/dist/src/serialization/json.spec.d.ts +2 -0
- package/dist/src/serialization/json.spec.d.ts.map +1 -0
- package/dist/src/serialization/json.spec.js +1297 -0
- package/dist/src/serialization/json.spec.js.map +1 -0
- package/dist/src/type_of_type.d.ts +72 -35
- package/dist/src/type_of_type.d.ts.map +1 -1
- package/dist/src/type_of_type.is_data.spec.d.ts +6 -0
- package/dist/src/type_of_type.is_data.spec.d.ts.map +1 -0
- package/dist/src/type_of_type.is_data.spec.js +221 -0
- package/dist/src/type_of_type.is_data.spec.js.map +1 -0
- package/dist/src/type_of_type.js +355 -80
- package/dist/src/type_of_type.js.map +1 -1
- package/dist/src/type_of_type.to_etv.spec.d.ts +6 -0
- package/dist/src/type_of_type.to_etv.spec.d.ts.map +1 -0
- package/dist/src/type_of_type.to_etv.spec.js +263 -0
- package/dist/src/type_of_type.to_etv.spec.js.map +1 -0
- package/dist/src/types.d.ts +82 -12
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.error.spec.d.ts +2 -0
- package/dist/src/types.error.spec.d.ts.map +1 -0
- package/dist/src/types.error.spec.js +665 -0
- package/dist/src/types.error.spec.js.map +1 -0
- package/dist/src/types.js +663 -156
- package/dist/src/types.js.map +1 -1
- package/dist/src/types.spec.d.ts +2 -0
- package/dist/src/types.spec.d.ts.map +1 -0
- package/dist/src/types.spec.js +946 -0
- package/dist/src/types.spec.js.map +1 -0
- package/dist/src/walker.d.ts +65 -0
- package/dist/src/walker.d.ts.map +1 -0
- package/dist/src/walker.js +165 -0
- package/dist/src/walker.js.map +1 -0
- package/dist/src/walker.spec.d.ts +6 -0
- package/dist/src/walker.spec.d.ts.map +1 -0
- package/dist/src/walker.spec.js +109 -0
- package/dist/src/walker.spec.js.map +1 -0
- package/package.json +16 -38
- package/dist/src/serialization/beast2-stream.d.ts +0 -38
- package/dist/src/serialization/beast2-stream.d.ts.map +0 -1
- package/dist/src/serialization/beast2-stream.js +0 -670
- package/dist/src/serialization/beast2-stream.js.map +0 -1
- package/dist/src/serialization/beast2.d.ts +0 -41
- package/dist/src/serialization/beast2.d.ts.map +0 -1
- package/dist/src/serialization/beast2.js +0 -495
- package/dist/src/serialization/beast2.js.map +0 -1
package/dist/src/expr/index.d.ts
CHANGED
|
@@ -15,14 +15,17 @@ export { StringExpr } from './string.js';
|
|
|
15
15
|
export { BlobExpr } from './blob.js';
|
|
16
16
|
export { RefExpr } from './ref.js';
|
|
17
17
|
export { ArrayExpr } from './array.js';
|
|
18
|
+
export { VectorExpr } from './vector.js';
|
|
19
|
+
export { MatrixExpr } from './matrix.js';
|
|
18
20
|
export { SetExpr } from './set.js';
|
|
19
21
|
export { DictExpr } from './dict.js';
|
|
20
22
|
export { StructExpr } from './struct.js';
|
|
21
23
|
export { VariantExpr } from './variant.js';
|
|
24
|
+
export { RecursiveExpr } from './recursive.js';
|
|
22
25
|
export { type CallableFunctionExpr, FunctionExpr } from './function.js';
|
|
23
26
|
export { type CallableAsyncFunctionExpr, AsyncFunctionExpr } from './asyncfunction.js';
|
|
24
|
-
import { from, equal, notEqual, less, lessEqual, print, is, greaterEqual, greater, func, str, platform, asyncFunction, asyncPlatform, compile, compileAsync } from './block.js';
|
|
25
|
-
export { BlockBuilder, type AsyncPlatformDefinition, type PlatformDefinition } from './block.js';
|
|
27
|
+
import { from, equal, notEqual, less, lessEqual, print, is, greaterEqual, greater, func, str, platform, asyncFunction, asyncPlatform, genericPlatform, asyncGenericPlatform, compile, compileAsync, diff, applyPatch, composePatch, invertPatch } from './block.js';
|
|
28
|
+
export { BlockBuilder, type AsyncPlatformDefinition, type PlatformDefinition, type GenericPlatformDefinition, type AsyncGenericPlatformDefinition, equals, eq, notEquals, ne, lessThan, lt, lessThanOrEqual, lte, le, greaterThan, gt, greaterThanOrEqual, gte, ge, diff, applyPatch, composePatch, invertPatch } from './block.js';
|
|
26
29
|
export type { ToExpr as ExprFactory } from './expr.js';
|
|
27
30
|
/**
|
|
28
31
|
* Standard entry point for constructing East expressions.
|
|
@@ -223,6 +226,77 @@ export declare const East: {
|
|
|
223
226
|
* ```
|
|
224
227
|
*/
|
|
225
228
|
asyncPlatform: typeof asyncPlatform;
|
|
229
|
+
/**
|
|
230
|
+
* Defines a generic (polymorphic) platform function with type parameters.
|
|
231
|
+
* Type parameters are passed at call time and flow through to the implementation.
|
|
232
|
+
*
|
|
233
|
+
* @param name - The name of the platform function
|
|
234
|
+
* @param typeParams - Array of type parameter names (e.g., `["T", "U"]`)
|
|
235
|
+
* @param inputsFn - Callback that receives placeholder types and returns input types
|
|
236
|
+
* @param outputFn - Callback that receives placeholder types and returns output type
|
|
237
|
+
* @returns A callable generic platform function helper
|
|
238
|
+
*
|
|
239
|
+
* @see {@link platform} for non-generic platform functions.
|
|
240
|
+
* @see {@link asyncGenericPlatform} for async generic platform functions.
|
|
241
|
+
*
|
|
242
|
+
* @example
|
|
243
|
+
* ```ts
|
|
244
|
+
* // Define a generic log function
|
|
245
|
+
* const log = East.genericPlatform(
|
|
246
|
+
* "log",
|
|
247
|
+
* ["T"],
|
|
248
|
+
* (T) => [T],
|
|
249
|
+
* (_T) => NullType
|
|
250
|
+
* );
|
|
251
|
+
*
|
|
252
|
+
* // Use it - type is passed first, then value
|
|
253
|
+
* const myFunction = East.function([StringType], NullType, ($, s) => {
|
|
254
|
+
* $(log(StringType, s));
|
|
255
|
+
* });
|
|
256
|
+
*
|
|
257
|
+
* // Implementation receives type params as a factory
|
|
258
|
+
* const platform = [
|
|
259
|
+
* log.implement((T) => (value) => {
|
|
260
|
+
* console.log(printFor(T)(value));
|
|
261
|
+
* return null;
|
|
262
|
+
* }),
|
|
263
|
+
* ];
|
|
264
|
+
* ```
|
|
265
|
+
*/
|
|
266
|
+
genericPlatform: typeof genericPlatform;
|
|
267
|
+
/**
|
|
268
|
+
* Defines an asynchronous generic (polymorphic) platform function with type parameters.
|
|
269
|
+
* The async variant of `genericPlatform`.
|
|
270
|
+
*
|
|
271
|
+
* @param name - The name of the platform function
|
|
272
|
+
* @param typeParams - Array of type parameter names (e.g., `["T", "U"]`)
|
|
273
|
+
* @param inputsFn - Callback that receives placeholder types and returns input types
|
|
274
|
+
* @param outputFn - Callback that receives placeholder types and returns output type
|
|
275
|
+
* @returns A callable async generic platform function helper
|
|
276
|
+
*
|
|
277
|
+
* @see {@link genericPlatform} for sync generic platform functions.
|
|
278
|
+
* @see {@link asyncPlatform} for non-generic async platform functions.
|
|
279
|
+
*
|
|
280
|
+
* @example
|
|
281
|
+
* ```ts
|
|
282
|
+
* // Define an async generic fetch function
|
|
283
|
+
* const fetchAs = East.asyncGenericPlatform(
|
|
284
|
+
* "fetchAs",
|
|
285
|
+
* ["T"],
|
|
286
|
+
* (_T) => [StringType], // URL input
|
|
287
|
+
* (T) => T // Returns parsed value of type T
|
|
288
|
+
* );
|
|
289
|
+
*
|
|
290
|
+
* // Implementation receives type params and returns async function
|
|
291
|
+
* const platform = [
|
|
292
|
+
* fetchAs.implement((T) => async (url) => {
|
|
293
|
+
* const response = await fetch(url);
|
|
294
|
+
* return parseFor(T)(await response.text());
|
|
295
|
+
* }),
|
|
296
|
+
* ];
|
|
297
|
+
* ```
|
|
298
|
+
*/
|
|
299
|
+
asyncGenericPlatform: typeof asyncGenericPlatform;
|
|
226
300
|
/**
|
|
227
301
|
* Converts any East expression to its string representation.
|
|
228
302
|
* Uses the East serialization format (not JSON).
|
|
@@ -329,6 +403,34 @@ export declare const East: {
|
|
|
329
403
|
* ```
|
|
330
404
|
*/
|
|
331
405
|
greaterEqual: typeof greaterEqual;
|
|
406
|
+
/** Alias for {@link equal} */
|
|
407
|
+
equals: typeof equal;
|
|
408
|
+
/** Alias for {@link equal} */
|
|
409
|
+
eq: typeof equal;
|
|
410
|
+
/** Alias for {@link notEqual} */
|
|
411
|
+
notEquals: typeof notEqual;
|
|
412
|
+
/** Alias for {@link notEqual} */
|
|
413
|
+
ne: typeof notEqual;
|
|
414
|
+
/** Alias for {@link less} */
|
|
415
|
+
lessThan: typeof less;
|
|
416
|
+
/** Alias for {@link less} */
|
|
417
|
+
lt: typeof less;
|
|
418
|
+
/** Alias for {@link lessEqual} */
|
|
419
|
+
lessThanOrEqual: typeof lessEqual;
|
|
420
|
+
/** Alias for {@link lessEqual} */
|
|
421
|
+
lte: typeof lessEqual;
|
|
422
|
+
/** Alias for {@link lessEqual} */
|
|
423
|
+
le: typeof lessEqual;
|
|
424
|
+
/** Alias for {@link greater} */
|
|
425
|
+
greaterThan: typeof greater;
|
|
426
|
+
/** Alias for {@link greater} */
|
|
427
|
+
gt: typeof greater;
|
|
428
|
+
/** Alias for {@link greaterEqual} */
|
|
429
|
+
greaterThanOrEqual: typeof greaterEqual;
|
|
430
|
+
/** Alias for {@link greaterEqual} */
|
|
431
|
+
gte: typeof greaterEqual;
|
|
432
|
+
/** Alias for {@link greaterEqual} */
|
|
433
|
+
ge: typeof greaterEqual;
|
|
332
434
|
/**
|
|
333
435
|
* Reference equality comparison for mutable types (Array, Set, Dict).
|
|
334
436
|
* Checks if two expressions reference the same object in memory.
|
|
@@ -345,6 +447,67 @@ export declare const East: {
|
|
|
345
447
|
* ```
|
|
346
448
|
*/
|
|
347
449
|
is: typeof is;
|
|
450
|
+
/**
|
|
451
|
+
* Compute the difference between two values of the same type.
|
|
452
|
+
* Returns a patch that, when applied to `before`, produces `after`.
|
|
453
|
+
*
|
|
454
|
+
* @param before - The original value
|
|
455
|
+
* @param after - The modified value
|
|
456
|
+
* @returns A patch describing the changes
|
|
457
|
+
*
|
|
458
|
+
* @example
|
|
459
|
+
* ```ts
|
|
460
|
+
* const before = East.value([1n, 2n, 3n]);
|
|
461
|
+
* const after = East.value([1n, 4n, 3n]);
|
|
462
|
+
* const patch = East.diff(before, after);
|
|
463
|
+
* ```
|
|
464
|
+
*/
|
|
465
|
+
diff: typeof diff;
|
|
466
|
+
/**
|
|
467
|
+
* Apply a patch to a value, producing the modified value.
|
|
468
|
+
*
|
|
469
|
+
* @param value - The value to patch
|
|
470
|
+
* @param patch - The patch to apply
|
|
471
|
+
* @returns The patched value
|
|
472
|
+
* @throws East runtime error if the patch conflicts with the value
|
|
473
|
+
*
|
|
474
|
+
* @example
|
|
475
|
+
* ```ts
|
|
476
|
+
* const result = East.applyPatch(original, patch);
|
|
477
|
+
* ```
|
|
478
|
+
*/
|
|
479
|
+
applyPatch: typeof applyPatch;
|
|
480
|
+
/**
|
|
481
|
+
* Compose two patches into a single patch.
|
|
482
|
+
* The result is a patch that has the same effect as applying `first` then `second`.
|
|
483
|
+
*
|
|
484
|
+
* @param first - The first patch to apply
|
|
485
|
+
* @param second - The second patch to apply
|
|
486
|
+
* @param type - The East type of the values being patched
|
|
487
|
+
* @returns A composed patch
|
|
488
|
+
* @throws East runtime error if the patches are incompatible
|
|
489
|
+
*
|
|
490
|
+
* @example
|
|
491
|
+
* ```ts
|
|
492
|
+
* const composed = East.composePatch(patch1, patch2, ArrayType(IntegerType));
|
|
493
|
+
* ```
|
|
494
|
+
*/
|
|
495
|
+
composePatch: typeof composePatch;
|
|
496
|
+
/**
|
|
497
|
+
* Invert a patch, producing a patch that undoes the original.
|
|
498
|
+
* Applying the inverted patch to the "after" value produces the "before" value.
|
|
499
|
+
*
|
|
500
|
+
* @param patch - The patch to invert
|
|
501
|
+
* @param type - The East type of the values being patched
|
|
502
|
+
* @returns An inverted patch
|
|
503
|
+
*
|
|
504
|
+
* @example
|
|
505
|
+
* ```ts
|
|
506
|
+
* const inverted = East.invertPatch(patch, ArrayType(IntegerType));
|
|
507
|
+
* const original = East.applyPatch(modified, inverted);
|
|
508
|
+
* ```
|
|
509
|
+
*/
|
|
510
|
+
invertPatch: typeof invertPatch;
|
|
348
511
|
/**
|
|
349
512
|
* Returns the minimum of two values using East's total ordering.
|
|
350
513
|
*
|
|
@@ -526,6 +689,27 @@ export declare const East: {
|
|
|
526
689
|
linspace(start: Expr<import("../types.js").FloatType> | number, stop: Expr<import("../types.js").FloatType> | number, size: Expr<import("../types.js").IntegerType> | bigint): import("./types.js").ExprType<import("../types.js").ArrayType<import("../types.js").FloatType>>;
|
|
527
690
|
generate<T>(size: Expr<import("../types.js").IntegerType> | bigint, valueType: T, valueFn: import("./types.js").SubtypeExprOrValue<import("../types.js").FunctionType<[import("../types.js").IntegerType], NoInfer<T>>>): import("./types.js").ExprType<import("../types.js").ArrayType<T>>;
|
|
528
691
|
};
|
|
692
|
+
/**
|
|
693
|
+
* Standard library functions for Vector operations.
|
|
694
|
+
* Provides creation utilities for creating vectors.
|
|
695
|
+
*/
|
|
696
|
+
Vector: {
|
|
697
|
+
zeros(length: Expr<typeof import("../types.js").IntegerType> | bigint): import("./vector.js").VectorExpr<typeof import("../types.js").FloatType>;
|
|
698
|
+
ones(length: Expr<typeof import("../types.js").IntegerType> | bigint): import("./vector.js").VectorExpr<typeof import("../types.js").FloatType>;
|
|
699
|
+
fill<V extends unknown>(length: Expr<typeof import("../types.js").IntegerType> | bigint, value: V): import("./vector.js").VectorExpr<import("./types.js").TypeOf<V>>;
|
|
700
|
+
fromArray<V extends readonly unknown[] | Expr<import("../types.js").ArrayType<import("../types.js").EastType>>>(arr: V): import("./vector.js").VectorExpr<import("./types.js").TypeOf<V> extends import("../types.js").ArrayType<infer U> ? U : import("../types.js").EastType>;
|
|
701
|
+
};
|
|
702
|
+
/**
|
|
703
|
+
* Standard library functions for Matrix operations.
|
|
704
|
+
* Provides creation utilities for creating matrices.
|
|
705
|
+
*/
|
|
706
|
+
Matrix: {
|
|
707
|
+
zeros(rows: Expr<typeof import("../types.js").IntegerType> | bigint, cols: Expr<typeof import("../types.js").IntegerType> | bigint): import("./matrix.js").MatrixExpr<typeof import("../types.js").FloatType>;
|
|
708
|
+
ones(rows: Expr<typeof import("../types.js").IntegerType> | bigint, cols: Expr<typeof import("../types.js").IntegerType> | bigint): import("./matrix.js").MatrixExpr<typeof import("../types.js").FloatType>;
|
|
709
|
+
fill<V extends unknown>(rows: Expr<typeof import("../types.js").IntegerType> | bigint, cols: Expr<typeof import("../types.js").IntegerType> | bigint, value: V): import("./matrix.js").MatrixExpr<import("./types.js").TypeOf<V>>;
|
|
710
|
+
fromArray<V extends readonly unknown[] | Expr<import("../types.js").ArrayType<import("../types.js").EastType>>>(arr: V): import("./matrix.js").MatrixExpr<import("./types.js").TypeOf<V> extends import("../types.js").ArrayType<import("../types.js").ArrayType<infer U>> ? U : import("../types.js").EastType>;
|
|
711
|
+
fromRows<V extends Expr<import("../types.js").ArrayType<import("../types.js").VectorType<import("../types.js").EastType>>>>(arr: V): import("./matrix.js").MatrixExpr<import("./types.js").TypeOf<V> extends import("../types.js").ArrayType<import("../types.js").VectorType<infer U>> ? U : import("../types.js").EastType>;
|
|
712
|
+
};
|
|
529
713
|
/**
|
|
530
714
|
* Standard library functions for Set operations.
|
|
531
715
|
* Provides generation utilities for creating sets.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/expr/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,cAAc,YAAY,CAAC;AAG3B,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,KAAK,oBAAoB,EAAE,YAAY,EA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/dist/src/expr/index.js
CHANGED
|
@@ -17,15 +17,18 @@ export { StringExpr } from './string.js';
|
|
|
17
17
|
export { BlobExpr } from './blob.js';
|
|
18
18
|
export { RefExpr } from './ref.js';
|
|
19
19
|
export { ArrayExpr } from './array.js';
|
|
20
|
+
export { VectorExpr } from './vector.js';
|
|
21
|
+
export { MatrixExpr } from './matrix.js';
|
|
20
22
|
export { SetExpr } from './set.js';
|
|
21
23
|
export { DictExpr } from './dict.js';
|
|
22
24
|
export { StructExpr } from './struct.js';
|
|
23
25
|
export { VariantExpr } from './variant.js';
|
|
26
|
+
export { RecursiveExpr } from './recursive.js';
|
|
24
27
|
export { FunctionExpr } from './function.js';
|
|
25
28
|
export { AsyncFunctionExpr } from './asyncfunction.js';
|
|
26
29
|
// Import factory implementation
|
|
27
|
-
import { from, equal, notEqual, less, lessEqual, print, is, greaterEqual, greater, func, str, platform, asyncFunction, asyncPlatform, compile, compileAsync } from './block.js';
|
|
28
|
-
export { BlockBuilder } from './block.js';
|
|
30
|
+
import { from, equal, notEqual, less, lessEqual, print, is, greaterEqual, greater, func, str, platform, asyncFunction, asyncPlatform, genericPlatform, asyncGenericPlatform, compile, compileAsync, equals, eq, notEquals, ne, lessThan, lt, lessThanOrEqual, lte, le, greaterThan, gt, greaterThanOrEqual, gte, ge, diff, applyPatch, composePatch, invertPatch } from './block.js';
|
|
31
|
+
export { BlockBuilder, equals, eq, notEquals, ne, lessThan, lt, lessThanOrEqual, lte, le, greaterThan, gt, greaterThanOrEqual, gte, ge, diff, applyPatch, composePatch, invertPatch } from './block.js';
|
|
29
32
|
// Import standard libraries
|
|
30
33
|
import IntegerLib from './libs/integer.js';
|
|
31
34
|
import FloatLib from './libs/float.js';
|
|
@@ -33,6 +36,8 @@ import DateTimeLib from './libs/datetime.js';
|
|
|
33
36
|
import StringLib from './libs/string.js';
|
|
34
37
|
import BlobLib from './libs/blob.js';
|
|
35
38
|
import ArrayLib from './libs/array.js';
|
|
39
|
+
import VectorLib from './libs/vector.js';
|
|
40
|
+
import MatrixLib from './libs/matrix.js';
|
|
36
41
|
import SetLib from './libs/set.js';
|
|
37
42
|
import DictLib from './libs/dict.js';
|
|
38
43
|
// /** Compile an East function to executable JavaScript.
|
|
@@ -256,6 +261,77 @@ export const East = {
|
|
|
256
261
|
* ```
|
|
257
262
|
*/
|
|
258
263
|
asyncPlatform,
|
|
264
|
+
/**
|
|
265
|
+
* Defines a generic (polymorphic) platform function with type parameters.
|
|
266
|
+
* Type parameters are passed at call time and flow through to the implementation.
|
|
267
|
+
*
|
|
268
|
+
* @param name - The name of the platform function
|
|
269
|
+
* @param typeParams - Array of type parameter names (e.g., `["T", "U"]`)
|
|
270
|
+
* @param inputsFn - Callback that receives placeholder types and returns input types
|
|
271
|
+
* @param outputFn - Callback that receives placeholder types and returns output type
|
|
272
|
+
* @returns A callable generic platform function helper
|
|
273
|
+
*
|
|
274
|
+
* @see {@link platform} for non-generic platform functions.
|
|
275
|
+
* @see {@link asyncGenericPlatform} for async generic platform functions.
|
|
276
|
+
*
|
|
277
|
+
* @example
|
|
278
|
+
* ```ts
|
|
279
|
+
* // Define a generic log function
|
|
280
|
+
* const log = East.genericPlatform(
|
|
281
|
+
* "log",
|
|
282
|
+
* ["T"],
|
|
283
|
+
* (T) => [T],
|
|
284
|
+
* (_T) => NullType
|
|
285
|
+
* );
|
|
286
|
+
*
|
|
287
|
+
* // Use it - type is passed first, then value
|
|
288
|
+
* const myFunction = East.function([StringType], NullType, ($, s) => {
|
|
289
|
+
* $(log(StringType, s));
|
|
290
|
+
* });
|
|
291
|
+
*
|
|
292
|
+
* // Implementation receives type params as a factory
|
|
293
|
+
* const platform = [
|
|
294
|
+
* log.implement((T) => (value) => {
|
|
295
|
+
* console.log(printFor(T)(value));
|
|
296
|
+
* return null;
|
|
297
|
+
* }),
|
|
298
|
+
* ];
|
|
299
|
+
* ```
|
|
300
|
+
*/
|
|
301
|
+
genericPlatform,
|
|
302
|
+
/**
|
|
303
|
+
* Defines an asynchronous generic (polymorphic) platform function with type parameters.
|
|
304
|
+
* The async variant of `genericPlatform`.
|
|
305
|
+
*
|
|
306
|
+
* @param name - The name of the platform function
|
|
307
|
+
* @param typeParams - Array of type parameter names (e.g., `["T", "U"]`)
|
|
308
|
+
* @param inputsFn - Callback that receives placeholder types and returns input types
|
|
309
|
+
* @param outputFn - Callback that receives placeholder types and returns output type
|
|
310
|
+
* @returns A callable async generic platform function helper
|
|
311
|
+
*
|
|
312
|
+
* @see {@link genericPlatform} for sync generic platform functions.
|
|
313
|
+
* @see {@link asyncPlatform} for non-generic async platform functions.
|
|
314
|
+
*
|
|
315
|
+
* @example
|
|
316
|
+
* ```ts
|
|
317
|
+
* // Define an async generic fetch function
|
|
318
|
+
* const fetchAs = East.asyncGenericPlatform(
|
|
319
|
+
* "fetchAs",
|
|
320
|
+
* ["T"],
|
|
321
|
+
* (_T) => [StringType], // URL input
|
|
322
|
+
* (T) => T // Returns parsed value of type T
|
|
323
|
+
* );
|
|
324
|
+
*
|
|
325
|
+
* // Implementation receives type params and returns async function
|
|
326
|
+
* const platform = [
|
|
327
|
+
* fetchAs.implement((T) => async (url) => {
|
|
328
|
+
* const response = await fetch(url);
|
|
329
|
+
* return parseFor(T)(await response.text());
|
|
330
|
+
* }),
|
|
331
|
+
* ];
|
|
332
|
+
* ```
|
|
333
|
+
*/
|
|
334
|
+
asyncGenericPlatform,
|
|
259
335
|
/**
|
|
260
336
|
* Converts any East expression to its string representation.
|
|
261
337
|
* Uses the East serialization format (not JSON).
|
|
@@ -362,6 +438,37 @@ export const East = {
|
|
|
362
438
|
* ```
|
|
363
439
|
*/
|
|
364
440
|
greaterEqual,
|
|
441
|
+
// ============================================================================
|
|
442
|
+
// Comparison function aliases
|
|
443
|
+
// ============================================================================
|
|
444
|
+
/** Alias for {@link equal} */
|
|
445
|
+
equals,
|
|
446
|
+
/** Alias for {@link equal} */
|
|
447
|
+
eq,
|
|
448
|
+
/** Alias for {@link notEqual} */
|
|
449
|
+
notEquals,
|
|
450
|
+
/** Alias for {@link notEqual} */
|
|
451
|
+
ne,
|
|
452
|
+
/** Alias for {@link less} */
|
|
453
|
+
lessThan,
|
|
454
|
+
/** Alias for {@link less} */
|
|
455
|
+
lt,
|
|
456
|
+
/** Alias for {@link lessEqual} */
|
|
457
|
+
lessThanOrEqual,
|
|
458
|
+
/** Alias for {@link lessEqual} */
|
|
459
|
+
lte,
|
|
460
|
+
/** Alias for {@link lessEqual} */
|
|
461
|
+
le,
|
|
462
|
+
/** Alias for {@link greater} */
|
|
463
|
+
greaterThan,
|
|
464
|
+
/** Alias for {@link greater} */
|
|
465
|
+
gt,
|
|
466
|
+
/** Alias for {@link greaterEqual} */
|
|
467
|
+
greaterThanOrEqual,
|
|
468
|
+
/** Alias for {@link greaterEqual} */
|
|
469
|
+
gte,
|
|
470
|
+
/** Alias for {@link greaterEqual} */
|
|
471
|
+
ge,
|
|
365
472
|
/**
|
|
366
473
|
* Reference equality comparison for mutable types (Array, Set, Dict).
|
|
367
474
|
* Checks if two expressions reference the same object in memory.
|
|
@@ -378,6 +485,70 @@ export const East = {
|
|
|
378
485
|
* ```
|
|
379
486
|
*/
|
|
380
487
|
is,
|
|
488
|
+
// ============================================================================
|
|
489
|
+
// Patch Operations
|
|
490
|
+
// ============================================================================
|
|
491
|
+
/**
|
|
492
|
+
* Compute the difference between two values of the same type.
|
|
493
|
+
* Returns a patch that, when applied to `before`, produces `after`.
|
|
494
|
+
*
|
|
495
|
+
* @param before - The original value
|
|
496
|
+
* @param after - The modified value
|
|
497
|
+
* @returns A patch describing the changes
|
|
498
|
+
*
|
|
499
|
+
* @example
|
|
500
|
+
* ```ts
|
|
501
|
+
* const before = East.value([1n, 2n, 3n]);
|
|
502
|
+
* const after = East.value([1n, 4n, 3n]);
|
|
503
|
+
* const patch = East.diff(before, after);
|
|
504
|
+
* ```
|
|
505
|
+
*/
|
|
506
|
+
diff,
|
|
507
|
+
/**
|
|
508
|
+
* Apply a patch to a value, producing the modified value.
|
|
509
|
+
*
|
|
510
|
+
* @param value - The value to patch
|
|
511
|
+
* @param patch - The patch to apply
|
|
512
|
+
* @returns The patched value
|
|
513
|
+
* @throws East runtime error if the patch conflicts with the value
|
|
514
|
+
*
|
|
515
|
+
* @example
|
|
516
|
+
* ```ts
|
|
517
|
+
* const result = East.applyPatch(original, patch);
|
|
518
|
+
* ```
|
|
519
|
+
*/
|
|
520
|
+
applyPatch,
|
|
521
|
+
/**
|
|
522
|
+
* Compose two patches into a single patch.
|
|
523
|
+
* The result is a patch that has the same effect as applying `first` then `second`.
|
|
524
|
+
*
|
|
525
|
+
* @param first - The first patch to apply
|
|
526
|
+
* @param second - The second patch to apply
|
|
527
|
+
* @param type - The East type of the values being patched
|
|
528
|
+
* @returns A composed patch
|
|
529
|
+
* @throws East runtime error if the patches are incompatible
|
|
530
|
+
*
|
|
531
|
+
* @example
|
|
532
|
+
* ```ts
|
|
533
|
+
* const composed = East.composePatch(patch1, patch2, ArrayType(IntegerType));
|
|
534
|
+
* ```
|
|
535
|
+
*/
|
|
536
|
+
composePatch,
|
|
537
|
+
/**
|
|
538
|
+
* Invert a patch, producing a patch that undoes the original.
|
|
539
|
+
* Applying the inverted patch to the "after" value produces the "before" value.
|
|
540
|
+
*
|
|
541
|
+
* @param patch - The patch to invert
|
|
542
|
+
* @param type - The East type of the values being patched
|
|
543
|
+
* @returns An inverted patch
|
|
544
|
+
*
|
|
545
|
+
* @example
|
|
546
|
+
* ```ts
|
|
547
|
+
* const inverted = East.invertPatch(patch, ArrayType(IntegerType));
|
|
548
|
+
* const original = East.applyPatch(modified, inverted);
|
|
549
|
+
* ```
|
|
550
|
+
*/
|
|
551
|
+
invertPatch,
|
|
381
552
|
// Root stdlib
|
|
382
553
|
/**
|
|
383
554
|
* Returns the minimum of two values using East's total ordering.
|
|
@@ -495,6 +666,16 @@ export const East = {
|
|
|
495
666
|
* ```
|
|
496
667
|
*/
|
|
497
668
|
Array: ArrayLib,
|
|
669
|
+
/**
|
|
670
|
+
* Standard library functions for Vector operations.
|
|
671
|
+
* Provides creation utilities for creating vectors.
|
|
672
|
+
*/
|
|
673
|
+
Vector: VectorLib,
|
|
674
|
+
/**
|
|
675
|
+
* Standard library functions for Matrix operations.
|
|
676
|
+
* Provides creation utilities for creating matrices.
|
|
677
|
+
*/
|
|
678
|
+
Matrix: MatrixLib,
|
|
498
679
|
/**
|
|
499
680
|
* Standard library functions for Set operations.
|
|
500
681
|
* Provides generation utilities for creating sets.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/expr/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,sBAAsB;AACtB,cAAc,YAAY,CAAC;AAE3B,+CAA+C;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AA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