toilscript 0.1.1 → 0.1.4
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/NOTICE +1 -1
- package/README.md +4 -39
- package/bin/{asinit.js → toilinit.js} +5 -5
- package/bin/{asc.js → toilscript.js} +1 -1
- package/dist/cli.d.ts +4 -0
- package/dist/{asc.generated.d.ts → cli.generated.d.ts} +15 -15
- package/dist/{asc.js → cli.js} +9 -9
- package/dist/cli.js.map +7 -0
- package/dist/importmap.json +2 -2
- package/dist/toilscript.generated.d.ts +15 -15
- package/dist/toilscript.js +2 -2
- package/dist/toilscript.js.map +1 -1
- package/dist/transform.d.ts +1 -1
- package/dist/web.js +3 -3
- package/package.json +16 -16
- package/std/README.md +2 -2
- package/std/assembly/index.d.ts +1 -1
- package/std/assembly/rt/README.md +2 -2
- package/std/assembly/rt.ts +1 -1
- package/std/assembly/toilscript.ts +1 -1
- package/std/assembly.json +1 -0
- package/std/portable/index.d.ts +1 -1
- package/std/ts-plugin.cjs +44 -0
- package/util/README.md +1 -1
- package/dist/asc.d.ts +0 -4
- package/dist/asc.js.map +0 -7
package/dist/importmap.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"imports": {
|
|
3
|
-
"toilscript": "https://cdn.jsdelivr.net/npm/toilscript@0.1.
|
|
4
|
-
"toilscript/
|
|
3
|
+
"toilscript": "https://cdn.jsdelivr.net/npm/toilscript@0.1.4/dist/toilscript.js",
|
|
4
|
+
"toilscript/cli": "https://cdn.jsdelivr.net/npm/toilscript@0.1.4/dist/cli.js",
|
|
5
5
|
"binaryen": "https://cdn.jsdelivr.net/npm/binaryen@129.0.0-nightly.20260428/index.js",
|
|
6
6
|
"long": "https://cdn.jsdelivr.net/npm/long@5.3.2/index.js"
|
|
7
7
|
}
|
|
@@ -1003,7 +1003,7 @@ declare module "types:toilscript/src/diagnostics" {
|
|
|
1003
1003
|
}
|
|
1004
1004
|
declare module "types:toilscript/src/tokenizer" {
|
|
1005
1005
|
/**
|
|
1006
|
-
* @fileoverview A TypeScript tokenizer modified for
|
|
1006
|
+
* @fileoverview A TypeScript tokenizer modified for ToilScript.
|
|
1007
1007
|
*
|
|
1008
1008
|
* The `Tokenizer` scans over a source file and returns one syntactic token
|
|
1009
1009
|
* at a time that the parser will combine to an abstract syntax tree.
|
|
@@ -1227,7 +1227,7 @@ declare module "types:toilscript/src/glue/binaryen" {
|
|
|
1227
1227
|
/**
|
|
1228
1228
|
* @fileoverview Portable definitions for Binaryen's C-API.
|
|
1229
1229
|
*
|
|
1230
|
-
* tsc uses the .js file next to it, while
|
|
1230
|
+
* tsc uses the .js file next to it, while toilscript makes it a Wasm import.
|
|
1231
1231
|
*
|
|
1232
1232
|
* See: https://github.com/WebAssembly/binaryen/blob/main/src/binaryen-c.h
|
|
1233
1233
|
*
|
|
@@ -2069,7 +2069,7 @@ declare module "types:toilscript/src/glue/binaryen" {
|
|
|
2069
2069
|
}
|
|
2070
2070
|
declare module "types:toilscript/src/types" {
|
|
2071
2071
|
/**
|
|
2072
|
-
* @fileoverview Mappings from
|
|
2072
|
+
* @fileoverview Mappings from ToilScript types to WebAssembly types.
|
|
2073
2073
|
* @license Apache-2.0
|
|
2074
2074
|
*/
|
|
2075
2075
|
import { Class, Program, OperatorKind, Function } from "types:toilscript/src/program";
|
|
@@ -2921,7 +2921,7 @@ declare module "types:toilscript/src/resolver" {
|
|
|
2921
2921
|
}
|
|
2922
2922
|
declare module "types:toilscript/src/parser" {
|
|
2923
2923
|
/**
|
|
2924
|
-
* @fileoverview A TypeScript parser for the
|
|
2924
|
+
* @fileoverview A TypeScript parser for the ToilScript subset.
|
|
2925
2925
|
*
|
|
2926
2926
|
* Takes the tokens produced by the `Tokenizer` and builds an abstract
|
|
2927
2927
|
* syntax tree composed of `Node`s wrapped in a `Source` out of it.
|
|
@@ -3067,7 +3067,7 @@ declare module "types:toilscript/src/parser" {
|
|
|
3067
3067
|
}
|
|
3068
3068
|
declare module "types:toilscript/src/program" {
|
|
3069
3069
|
/**
|
|
3070
|
-
* @fileoverview
|
|
3070
|
+
* @fileoverview ToilScript's intermediate representation.
|
|
3071
3071
|
*
|
|
3072
3072
|
* The compiler uses Binaryen IR, which is fairly low level, as its
|
|
3073
3073
|
* primary intermediate representation, with the following structures
|
|
@@ -3137,7 +3137,7 @@ declare module "types:toilscript/src/program" {
|
|
|
3137
3137
|
/** Converts a unary postfix operator token to the respective operator kind. */
|
|
3138
3138
|
function fromUnaryPostfixToken(token: Token): OperatorKind;
|
|
3139
3139
|
}
|
|
3140
|
-
/** Represents an
|
|
3140
|
+
/** Represents an ToilScript program. */
|
|
3141
3141
|
export class Program extends DiagnosticEmitter {
|
|
3142
3142
|
/** Compiler options. */
|
|
3143
3143
|
options: Options;
|
|
@@ -4570,7 +4570,7 @@ declare module "types:toilscript/src/bindings/js" {
|
|
|
4570
4570
|
}
|
|
4571
4571
|
declare module "types:toilscript/src/compiler" {
|
|
4572
4572
|
/**
|
|
4573
|
-
* @fileoverview The
|
|
4573
|
+
* @fileoverview The ToilScript compiler.
|
|
4574
4574
|
* @license Apache-2.0
|
|
4575
4575
|
*/
|
|
4576
4576
|
import { Range, DiagnosticEmitter } from "types:toilscript/src/diagnostics";
|
|
@@ -5840,7 +5840,7 @@ declare module "types:toilscript/src/module" {
|
|
|
5840
5840
|
/**
|
|
5841
5841
|
* @fileoverview A thin wrapper around Binaryen's C-API.
|
|
5842
5842
|
*
|
|
5843
|
-
* The
|
|
5843
|
+
* The ToilScript compiler utilizes Binaryen's C-API directly. Even
|
|
5844
5844
|
* though it currently imports binaryen.js, none of the JS APIs it
|
|
5845
5845
|
* provides are used.
|
|
5846
5846
|
*
|
|
@@ -8877,7 +8877,7 @@ declare module "types:toilscript/src/bindings" {
|
|
|
8877
8877
|
export { TSDBuilder } from "types:toilscript/src/bindings/tsd";
|
|
8878
8878
|
}
|
|
8879
8879
|
/**
|
|
8880
|
-
* Environment definitions for compiling
|
|
8880
|
+
* Environment definitions for compiling ToilScript to JavaScript using tsc.
|
|
8881
8881
|
*
|
|
8882
8882
|
* Note that semantic differences require additional explicit conversions for full compatibility.
|
|
8883
8883
|
* For example, when casting an i32 to an u8, doing `<u8>(someI32 & 0xff)` will yield the same
|
|
@@ -9397,8 +9397,8 @@ declare module "types:toilscript/src/index-wasm" {
|
|
|
9397
9397
|
* as a flat namespace.
|
|
9398
9398
|
*
|
|
9399
9399
|
* Note though that the compiler sources are written in "portable
|
|
9400
|
-
*
|
|
9401
|
-
* to WebAssembly with
|
|
9400
|
+
* ToilScript" that can be compiled to both JavaScript with tsc and
|
|
9401
|
+
* to WebAssembly with toilscript, and as such require additional glue code
|
|
9402
9402
|
* depending on the target.
|
|
9403
9403
|
*
|
|
9404
9404
|
* When compiling to JavaScript `glue/js/index.js` must be included.
|
|
@@ -9571,7 +9571,7 @@ declare module "types:toilscript/src/extra/ast" {
|
|
|
9571
9571
|
/**
|
|
9572
9572
|
* @fileoverview Abstract Syntax Tree extras.
|
|
9573
9573
|
*
|
|
9574
|
-
* Provides serialization of the
|
|
9574
|
+
* Provides serialization of the ToilScript AST back to it source form.
|
|
9575
9575
|
*
|
|
9576
9576
|
* @license Apache-2.0
|
|
9577
9577
|
*/
|
|
@@ -9681,7 +9681,7 @@ declare module "types:toilscript/src/index-js" {
|
|
|
9681
9681
|
declare module "types:toilscript/src/index" {
|
|
9682
9682
|
/**
|
|
9683
9683
|
* @license
|
|
9684
|
-
* Copyright 2020 Daniel Wirtz / The
|
|
9684
|
+
* Copyright 2020 Daniel Wirtz / The ToilScript Authors.
|
|
9685
9685
|
*
|
|
9686
9686
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9687
9687
|
* you may not use this file except in compliance with the License.
|
|
@@ -9876,7 +9876,7 @@ declare module "types:toilscript/src/glue/src/glue/binaryen" {
|
|
|
9876
9876
|
/**
|
|
9877
9877
|
* @fileoverview Portable definitions for Binaryen's C-API.
|
|
9878
9878
|
*
|
|
9879
|
-
* tsc uses the .js file next to it, while
|
|
9879
|
+
* tsc uses the .js file next to it, while toilscript makes it a Wasm import.
|
|
9880
9880
|
*
|
|
9881
9881
|
* See: https://github.com/WebAssembly/binaryen/blob/main/src/binaryen-c.h
|
|
9882
9882
|
*
|
|
@@ -10792,7 +10792,7 @@ declare function i64_to_f64(value: i64): number;
|
|
|
10792
10792
|
declare function i64_to_string(value: i64, unsigned?: boolean): string;
|
|
10793
10793
|
declare function i64_clone(value: i64): i64;
|
|
10794
10794
|
/**
|
|
10795
|
-
* Environment definitions for compiling
|
|
10795
|
+
* Environment definitions for compiling ToilScript to JavaScript using tsc.
|
|
10796
10796
|
*
|
|
10797
10797
|
* Note that semantic differences require additional explicit conversions for full compatibility.
|
|
10798
10798
|
* For example, when casting an i32 to an u8, doing `<u8>(someI32 & 0xff)` will yield the same
|
package/dist/toilscript.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* The
|
|
4
|
-
* Copyright 2026 Daniel Wirtz / The
|
|
3
|
+
* The ToilScript compiler
|
|
4
|
+
* Copyright 2026 Daniel Wirtz / The ToilScript Authors
|
|
5
5
|
* SPDX-License-Identifier: Apache-2.0
|
|
6
6
|
*/
|
|
7
7
|
var to=Object.defineProperty;var Uc=Object.getOwnPropertyDescriptor;var Yb=Object.getOwnPropertyNames;var $b=Object.prototype.hasOwnProperty;var ro=(t,i)=>{for(var e in i)to(t,e,{get:i[e],enumerable:!0})},zc=(t,i,e,r)=>{if(i&&typeof i=="object"||typeof i=="function")for(let n of Yb(i))!$b.call(t,n)&&n!==e&&to(t,n,{get:()=>i[n],enumerable:!(r=Uc(i,n))||r.enumerable});return t},io=(t,i,e)=>(zc(t,i,"default"),e&&zc(e,i,"default"));var Dc=(t,i,e,r)=>{for(var n=r>1?void 0:r?Uc(i,e):i,s=t.length-1,a;s>=0;s--)(a=t[s])&&(n=(r?a(i,e,n):a(n))||n);return r&&n&&to(i,e,n),n};var Mc={};ro(Mc,{ASTBuilder:()=>Nc,ArrayLiteralExpression:()=>Ar,ArrowKind:()=>gi,AssertionExpression:()=>ga,AssertionKind:()=>mi,AtomicRMWOp:()=>vp,BinaryExpression:()=>ba,BinaryModule:()=>Sl,BinaryOp:()=>Ti,BlockStatement:()=>Ha,BrOnOp:()=>Py,BreakStatement:()=>ja,CallExpression:()=>xa,Class:()=>Yt,ClassDeclaration:()=>In,ClassExpression:()=>Ta,ClassPrototype:()=>rs,CommaExpression:()=>Aa,CommentKind:()=>mp,CommentNode:()=>ya,CommonFlags:()=>Ve,CommonNames:()=>P,CompiledExpression:()=>Ka,Compiler:()=>Ss,ConditionKind:()=>Op,ConstantValueKind:()=>Qp,Constraints:()=>Cc,ConstructorExpression:()=>Ea,ContinueStatement:()=>Xa,DEFAULT_STACK_SIZE:()=>OI,DeclarationStatement:()=>We,DeclaredElement:()=>$t,DecoratorFlags:()=>Jt,DecoratorKind:()=>kt,DecoratorNode:()=>ma,DiagnosticCategory:()=>fa,DiagnosticCode:()=>lt,DiagnosticEmitter:()=>Oe,DiagnosticMessage:()=>_a,DoStatement:()=>Za,Element:()=>$n,ElementAccessExpression:()=>va,ElementKind:()=>ct,EmptyStatement:()=>Ya,Enum:()=>Wl,EnumDeclaration:()=>$a,EnumValue:()=>Kl,EnumValueDeclaration:()=>Ja,ExportDefaultStatement:()=>il,ExportImportStatement:()=>el,ExportMember:()=>tl,ExportNames:()=>vs,ExportStatement:()=>rl,Expression:()=>de,ExpressionId:()=>Ir,ExpressionRunnerFlags:()=>Fl,ExpressionStatement:()=>nl,ExternalKind:()=>Ep,FEATURES_ALL:()=>oS,FEATURES_DEFAULT:()=>uS,FEATURE_BULK_MEMORY:()=>jI,FEATURE_CLOSURES:()=>lS,FEATURE_EXCEPTION_HANDLING:()=>YI,FEATURE_EXTENDED_CONST:()=>nS,FEATURE_GC:()=>tS,FEATURE_MEMORY64:()=>rS,FEATURE_MULTI_VALUE:()=>eS,FEATURE_MUTABLE_GLOBALS:()=>QI,FEATURE_NONTRAPPING_F2I:()=>HI,FEATURE_REFERENCE_TYPES:()=>JI,FEATURE_RELAXED_SIMD:()=>iS,FEATURE_SHARED_EVERYTHING:()=>aS,FEATURE_SIGN_EXTENSION:()=>KI,FEATURE_SIMD:()=>XI,FEATURE_STRINGREF:()=>sS,FEATURE_TAIL_CALLS:()=>$I,FEATURE_THREADS:()=>ZI,FalseExpression:()=>Oa,Feature:()=>It,FeatureFlags:()=>Ap,FieldDeclaration:()=>sl,FieldFlags:()=>Vp,File:()=>es,FloatLiteralExpression:()=>Ia,Flow:()=>Bt,FlowFlags:()=>Ml,ForOfStatement:()=>ll,ForStatement:()=>al,Function:()=>ft,FunctionDeclaration:()=>Sn,FunctionExpression:()=>Sa,FunctionPrototype:()=>je,FunctionTypeNode:()=>Tr,GETTER_PREFIX:()=>ea,Global:()=>Sr,HeapTypeRef:()=>me,INDEX_SUFFIX:()=>Ne,INNER_DELIMITER:()=>rp,INSTANCE_DELIMITER:()=>tp,IdentifierExpression:()=>qe,IdentifierHandling:()=>gp,IfStatement:()=>ol,ImportDeclaration:()=>ul,ImportNames:()=>zi,ImportStatement:()=>Fn,IndexSignature:()=>Qn,IndexSignatureNode:()=>Qa,InstanceOfExpression:()=>Fa,IntegerLiteralExpression:()=>Ra,Interface:()=>Hn,InterfaceDeclaration:()=>pl,InterfacePrototype:()=>Ql,JSBuilder:()=>Bi,LIBRARY_PREFIX:()=>at,LIBRARY_SUBST:()=>xy,LiteralExpression:()=>ot,LiteralKind:()=>Ht,Local:()=>Ue,LocalFlags:()=>qn,MemoryOrder:()=>wy,MemorySegment:()=>xi,MethodDeclaration:()=>Er,Module:()=>Pt,ModuleDeclaration:()=>yl,NamedTypeNode:()=>xr,Namespace:()=>ts,NamespaceDeclaration:()=>cl,NewExpression:()=>ka,Node:()=>M,NodeKind:()=>Rt,NullExpression:()=>wa,ObjectLiteralExpression:()=>Ca,OmittedExpression:()=>Pa,OperatorKind:()=>Ie,Options:()=>Is,PARENT_SUBST:()=>ux,PATH_DELIMITER:()=>Je,PackedType:()=>Cn,Parameter:()=>Kp,ParameterKind:()=>vr,ParameterNode:()=>hi,ParenthesizedExpression:()=>Ba,Parser:()=>Zn,Precedence:()=>Uy,Program:()=>Yn,Property:()=>Kn,PropertyAccessExpression:()=>La,PropertyPrototype:()=>Si,Range:()=>ae,RefAsOp:()=>Cy,RegexpLiteralExpression:()=>Na,Relooper:()=>Il,ReportMode:()=>Dl,Resolver:()=>Wn,ReturnStatement:()=>_l,Runtime:()=>$s,RuntimeFeatures:()=>Pc,SETTER_PREFIX:()=>ta,SIMDExtractOp:()=>Ip,SIMDLoadOp:()=>Rp,SIMDLoadStoreLaneOp:()=>kp,SIMDReplaceOp:()=>Sp,SIMDShiftOp:()=>Fp,SIMDTernaryOp:()=>wp,STATIC_DELIMITER:()=>gn,STUB_DELIMITER:()=>ip,SideEffects:()=>Dp,Signature:()=>De,Source:()=>fe,SourceKind:()=>yi,State:()=>El,Statement:()=>le,StringEncodeOp:()=>Ny,StringEqOp:()=>My,StringLiteralExpression:()=>Ga,StringMeasureOp:()=>Ly,StringNewOp:()=>By,SuperExpression:()=>za,SwitchBuilder:()=>Pn,SwitchCase:()=>fl,SwitchStatement:()=>hl,TSDBuilder:()=>Ui,Target:()=>ii,TemplateLiteralExpression:()=>Ua,TernaryExpression:()=>Ma,ThisExpression:()=>Da,ThrowStatement:()=>dl,Token:()=>bi,Tokenizer:()=>kn,TrueExpression:()=>Va,TryStatement:()=>ml,TupleTypeNode:()=>ha,Type:()=>u,TypeBuilderErrorReason:()=>Tp,TypeDeclaration:()=>gl,TypeDefinition:()=>Ze,TypeFlags:()=>_t,TypeKind:()=>Xt,TypeName:()=>fi,TypeNode:()=>_i,TypeParameterNode:()=>da,TypeRef:()=>L,TypedElement:()=>Nt,Typeinfo:()=>ni,TypeinfoFlags:()=>Js,UnaryExpression:()=>vn,UnaryOp:()=>Bn,UnaryPostfixExpression:()=>qa,UnaryPrefixExpression:()=>Wa,UncheckedBehavior:()=>Gl,VariableDeclaration:()=>bl,VariableLikeDeclarationStatement:()=>di,VariableLikeElement:()=>Fr,VariableStatement:()=>xl,VoidStatement:()=>Tl,WhileStatement:()=>Al,addGlobalAlias:()=>MI,allocPtrArray:()=>ce,buildJS:()=>GS,buildTSD:()=>MS,compile:()=>NS,createType:()=>Ke,defaultFeatures:()=>$l,diagnosticCategoryToColor:()=>Sy,diagnosticCategoryToString:()=>dp,diagnosticCodeToString:()=>ra,ensureType:()=>On,expandType:()=>Cp,featureToString:()=>ri,findDecorator:()=>wt,formatDiagnostic:()=>Fy,formatDiagnosticMessage:()=>Fy,getBinaryLeft:()=>He,getBinaryOp:()=>Ai,getBinaryRight:()=>Be,getBinaryenModuleRef:()=>zS,getBlockChildAt:()=>Un,getBlockChildCount:()=>zn,getBlockName:()=>Gn,getBreakCondition:()=>Wx,getBreakName:()=>qx,getCallOperandAt:()=>ze,getCallOperandCount:()=>pt,getCallTarget:()=>Vn,getConstValueF32:()=>xe,getConstValueF64:()=>Te,getConstValueI32:()=>ie,getConstValueI64High:()=>Re,getConstValueI64Low:()=>Ae,getConstValueInteger:()=>Pp,getConstValueV128:()=>Bp,getDefaultParameterName:()=>qy,getDependee:()=>BS,getDiagnosticCategory:()=>xS,getDiagnosticCode:()=>bS,getDiagnosticMessage:()=>TS,getDiagnosticRange:()=>AS,getDiagnosticRelatedRange:()=>ES,getDropValue:()=>Qx,getExpressionId:()=>$,getExpressionType:()=>ne,getFunctionBody:()=>Xx,getFunctionName:()=>zp,getFunctionParams:()=>Zx,getFunctionResults:()=>Yx,getFunctionVars:()=>$x,getGlobalGetName:()=>Nn,getGlobalInit:()=>t2,getGlobalName:()=>Jx,getGlobalType:()=>e2,getIfCondition:()=>Bl,getIfFalse:()=>Ei,getIfTrue:()=>Dn,getLoadBytes:()=>Lp,getLoadOffset:()=>Nx,getLoadPtr:()=>Mx,getLocalGetIndex:()=>ut,getLocalSetIndex:()=>wl,getLocalSetValue:()=>Cl,getLoopBody:()=>Ox,getLoopName:()=>Vx,getMemoryGrowDelta:()=>jx,getRangeEnd:()=>IS,getRangeSource:()=>SS,getRangeStart:()=>vS,getReturnValue:()=>Hx,getSelectCondition:()=>Kx,getSelectElse:()=>Gp,getSelectThen:()=>Mp,getSideEffects:()=>vi,getSource:()=>gS,getSourceNormalizedPath:()=>FS,getStoreBytes:()=>Gx,getStoreOffset:()=>zx,getStorePtr:()=>Ux,getStoreValue:()=>Dx,getTagName:()=>r2,getTagParams:()=>i2,getTagResults:()=>n2,getUnaryOp:()=>Mn,getUnaryValue:()=>Pl,initializeProgram:()=>LS,isConstExpressionNaN:()=>kl,isConstNaN:()=>Lx,isConstNegZero:()=>Rl,isConstNonZero:()=>rt,isConstZero:()=>Qe,isDeclaredElement:()=>Jn,isError:()=>wS,isGlobalMutable:()=>Up,isIllegalVariableIdentifier:()=>bp,isInfo:()=>RS,isLoadSigned:()=>Np,isLocalTee:()=>Ln,isNullableType:()=>Gy,isTypeOmitted:()=>Fe,isTypedElement:()=>zl,isWarning:()=>kS,mangleInternalName:()=>ke,mangleInternalPath:()=>Rn,mustPreserveSideEffects:()=>Ll,newOptions:()=>TI,newProgram:()=>mS,nextDiagnostic:()=>yS,nextFile:()=>PS,operatorTokenToString:()=>ve,optimize:()=>DS,parse:()=>CS,readString:()=>Ge,removeGlobalAlias:()=>GI,runtimeFunctions:()=>Li,runtimeGlobals:()=>Ni,setBasenameHint:()=>_S,setBindingsHint:()=>fS,setBundleVersion:()=>WI,setDebugInfo:()=>dS,setExportMemory:()=>II,setExportRuntime:()=>VI,setExportStart:()=>zI,setExportTable:()=>CI,setFeature:()=>pS,setImportMemory:()=>SI,setImportTable:()=>wI,setInitialMemory:()=>FI,setLowMemoryLimit:()=>DI,setMaximumMemory:()=>RI,setMemoryBase:()=>LI,setNoAssert:()=>vI,setNoUnsafe:()=>UI,setOptimizeLevelHints:()=>cS,setPedantic:()=>hS,setRuntime:()=>EI,setSharedMemory:()=>kI,setSourceMap:()=>PI,setStackSize:()=>qI,setTableBase:()=>NI,setTarget:()=>AI,setUncheckedBehavior:()=>BI,tokenFromKeyword:()=>Ry,tokenIsAlsoIdentifier:()=>ky,typesToRefs:()=>Rr,typesToString:()=>Ul,util:()=>hp,validate:()=>US});var Z=typeof window<"u"&&window||typeof global<"u"&&global||self;if(typeof Z.ASC_TARGET>"u"){let e=function(){Error.captureStackTrace?Error.captureStackTrace(this,e):this.stack=this.name+": "+this.message+`
|