-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathdavid-blass-incredibleness.ts
56 lines (48 loc) · 1.66 KB
/
david-blass-incredibleness.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// @ts-nocheck
import { entry } from 'conformance-tests/from-wat/return-mid-loop'; import type { ReadStringFromMemory } from 'ts-type-math';
type e=entry<[393736, 60552], true, 11>// =>
// import { executeInstruction } from "wasm-to-typescript-types"
// import { Result } from "./evaluate/restart/result-02775272.ts"
// type e = executeInstruction<Result, true, 2775272> // =>
type r=e['results']// =>
type s=e['stack'] // =>
type s0=s[0] // =>
type s1=s[1] // =>
type s2=s[2] // =>
type s3=s[3] // =>
type sl=s['length']// =>
// type rsfm=ReadStringFromMemory<e>// =>
type c=e['count']// =>
type al=e['activeLocals'] // =>
type af=e['activeFuncId'] // =>
type ab=e['activeBranches'] // =>
type as=e['activeStackDepth']// =>
type ec=e['executionContexts']
type c0=ec[0]['funcId']// =>
type c1=ec[1]['funcId']// =>
type c2=ec[2]['funcId']// =>
type c3=ec[3]['funcId']// =>
type f = 0;
type cff=ec[f]['funcId'] // =>
type cfl=ec[f]['locals'] // =>
type cfb=ec[f]['branches'] // =>
type cfs=ec[f]['stackDepth'] // =>
type cfs=ec[f]['instructions']// =>
type m=e['memory']// =>
type i=e['instructions']
type i0=e['instructions'][0]// =>
type i1=e['instructions'][1]// =>
type i2=e['instructions'][2]// =>
type i3=e['instructions'][3]// =>
type i4=e['instructions'][4]// =>
type i5=e['instructions'][5]// =>
type i6=e['instructions'][6]// =>
type i7=e['instructions'][7]// =>
type i8=e['instructions'][8]// =>
type i9=e['instructions'][9]// =>
type d=i0['stuff']// =>
type g=e['globals']// =>
type b0=ec[1]['branches']['$B0']// =>
type b1=ec[1]['branches']['$B1']// =>
type b2=ec[1]['branches']['$B2']// =>
type b3=ec[1]['branches']['$B3']// =>