eny-ai 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 +18 -0
- package/README.md +740 -0
- package/dist/chunk-2WFUL4XJ.js +2476 -0
- package/dist/chunk-E4KJZEXX.js +274 -0
- package/dist/chunk-PNKVD2UK.js +26 -0
- package/dist/cli.cjs +2453 -0
- package/dist/cli.d.cts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +100 -0
- package/dist/index.cjs +3235 -0
- package/dist/index.d.cts +704 -0
- package/dist/index.d.ts +704 -0
- package/dist/index.js +495 -0
- package/dist/react/index.cjs +342 -0
- package/dist/react/index.d.cts +751 -0
- package/dist/react/index.d.ts +751 -0
- package/dist/react/index.js +284 -0
- package/dist/symbols.cjs +324 -0
- package/dist/symbols.d.cts +584 -0
- package/dist/symbols.d.ts +584 -0
- package/dist/symbols.js +61 -0
- package/examples/README.md +13 -0
- package/examples/ia-demo.eny +37 -0
- package/examples/sample.eny +15 -0
- package/examples/simple/system.eny +7 -0
- package/examples/spec/sample.eny +19 -0
- package/examples/starter/README.md +96 -0
- package/examples/starter/main.eny +39 -0
- package/examples/starter/run.js +68 -0
- package/examples/starter.eny +16 -0
- package/examples/wasm-demo.eny +34 -0
- package/master.mid.ai +540 -0
- package/package.json +71 -0
|
@@ -0,0 +1,584 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ENY-AI Symbols — Alfabeto AI-X Completo
|
|
3
|
+
* Mapeamento simbólico para código 90% simbólico
|
|
4
|
+
*/
|
|
5
|
+
declare const TRUE = true;
|
|
6
|
+
declare const FALSE = false;
|
|
7
|
+
declare const VOID: null;
|
|
8
|
+
declare const NIL: undefined;
|
|
9
|
+
declare const SYMBOLS: {
|
|
10
|
+
readonly STATE: "Σ";
|
|
11
|
+
readonly SUBSTATE: "σ";
|
|
12
|
+
readonly VOID: "Ø";
|
|
13
|
+
readonly TRUE: "⊤";
|
|
14
|
+
readonly FALSE: "⊥";
|
|
15
|
+
readonly LOCK: "🔒";
|
|
16
|
+
readonly UNLOCK: "🔓";
|
|
17
|
+
readonly STRING: "𝕊";
|
|
18
|
+
readonly INTEGER: "ℤ";
|
|
19
|
+
readonly REAL: "ℝ";
|
|
20
|
+
readonly BOOLEAN: "𝔹";
|
|
21
|
+
readonly ARRAY: "𝔸";
|
|
22
|
+
readonly OBJECT: "𝕆";
|
|
23
|
+
readonly FUNCTION: "λ";
|
|
24
|
+
readonly PROMISE: "ℙ";
|
|
25
|
+
readonly ANY: "⊛";
|
|
26
|
+
readonly NULL: "∅";
|
|
27
|
+
readonly SHAPE: "■";
|
|
28
|
+
readonly CLASS: "○";
|
|
29
|
+
readonly INSTANCE: "●";
|
|
30
|
+
readonly MODULE: "⧉";
|
|
31
|
+
readonly FN: "ƒ";
|
|
32
|
+
readonly LAMBDA: "λ";
|
|
33
|
+
readonly ASYNC: "λ⇄";
|
|
34
|
+
readonly MEMO: "λ+";
|
|
35
|
+
readonly ACTION: "Δ";
|
|
36
|
+
readonly EXEC: "→";
|
|
37
|
+
readonly IMPLIES: "⇒";
|
|
38
|
+
readonly PARALLEL: "⇉";
|
|
39
|
+
readonly ASSIGN: "←";
|
|
40
|
+
readonly DERIVE: "⇐";
|
|
41
|
+
readonly NOT_EQUAL: "≠";
|
|
42
|
+
readonly LTE: "≤";
|
|
43
|
+
readonly GTE: "≥";
|
|
44
|
+
readonly AND: "∧";
|
|
45
|
+
readonly OR: "∨";
|
|
46
|
+
readonly NOT: "¬";
|
|
47
|
+
readonly MULT: "×";
|
|
48
|
+
readonly DIV: "÷";
|
|
49
|
+
readonly MERGE: "⊕";
|
|
50
|
+
readonly IN: "∈";
|
|
51
|
+
readonly UNION: "∪";
|
|
52
|
+
readonly MAP: "↦";
|
|
53
|
+
readonly FILTER: "⊳";
|
|
54
|
+
readonly REDUCE: "⊲";
|
|
55
|
+
readonly FIND: "⊙";
|
|
56
|
+
readonly EVERY: "∀";
|
|
57
|
+
readonly SOME: "∃";
|
|
58
|
+
readonly EFFECT: "⚡";
|
|
59
|
+
readonly EVENT: "◌";
|
|
60
|
+
readonly AWAIT: "⇄";
|
|
61
|
+
readonly GET: "⇄ GET";
|
|
62
|
+
readonly POST: "⇄ POST";
|
|
63
|
+
readonly MEMORY: "𝓜";
|
|
64
|
+
readonly ROUTE: "🧭";
|
|
65
|
+
readonly NAVIGATE: "🧭→";
|
|
66
|
+
readonly COMPONENT: "☐";
|
|
67
|
+
readonly JSX_OPEN: "⟨";
|
|
68
|
+
readonly JSX_CLOSE: "⟩";
|
|
69
|
+
readonly PAGE: "☐.page";
|
|
70
|
+
readonly CARD: "☐.card";
|
|
71
|
+
readonly BTN: "☐.btn";
|
|
72
|
+
readonly INPUT: "☐.input";
|
|
73
|
+
readonly MODAL: "☐.modal";
|
|
74
|
+
readonly SPINNER: "☐.spinner";
|
|
75
|
+
readonly SECURITY: "🛡";
|
|
76
|
+
readonly VALIDATE: "🛡!";
|
|
77
|
+
readonly KEY: "🔑";
|
|
78
|
+
readonly EVOLVE: "⟳";
|
|
79
|
+
readonly AI: "Ψ";
|
|
80
|
+
readonly LOG: "📜";
|
|
81
|
+
readonly INTERVAL: "↻";
|
|
82
|
+
readonly IMPORT: "⧉";
|
|
83
|
+
readonly EXPORT: "↑";
|
|
84
|
+
};
|
|
85
|
+
declare const TRANSPILE_MAP: Record<string, string>;
|
|
86
|
+
declare function transpileSymbols(code: string): string;
|
|
87
|
+
declare function toSymbolic(code: string): string;
|
|
88
|
+
declare const state: <T>(name: string, initial: T) => string;
|
|
89
|
+
declare const effect: (body: string, deps?: string[]) => string;
|
|
90
|
+
declare const fn: (name: string, params: string[], body: string) => string;
|
|
91
|
+
declare const asyncFn: (name: string, params: string[], body: string) => string;
|
|
92
|
+
declare const component: (name: string, body: string) => string;
|
|
93
|
+
declare const shape: (name: string, fields: Record<string, string>) => string;
|
|
94
|
+
declare const get: (url: string) => string;
|
|
95
|
+
declare const post: (url: string, body: string) => string;
|
|
96
|
+
declare const navigate: (path: string) => string;
|
|
97
|
+
declare const map: (arr: string, cb: string) => string;
|
|
98
|
+
declare const filter: (arr: string, pred: string) => string;
|
|
99
|
+
declare const reduce: (arr: string, red: string, init: string) => string;
|
|
100
|
+
declare const find: (arr: string, pred: string) => string;
|
|
101
|
+
declare const storageGet: (key: string) => string;
|
|
102
|
+
declare const storageSet: (key: string, val: string) => string;
|
|
103
|
+
declare const validate: (schema: string, data: string) => string;
|
|
104
|
+
declare const log: (msg: string) => string;
|
|
105
|
+
declare const error: (msg: string) => string;
|
|
106
|
+
declare const ALPHABET: {
|
|
107
|
+
STATE: {
|
|
108
|
+
symbol: string;
|
|
109
|
+
js: string;
|
|
110
|
+
desc: string;
|
|
111
|
+
};
|
|
112
|
+
SUBSTATE: {
|
|
113
|
+
symbol: string;
|
|
114
|
+
js: string;
|
|
115
|
+
desc: string;
|
|
116
|
+
};
|
|
117
|
+
VOID: {
|
|
118
|
+
symbol: string;
|
|
119
|
+
js: string;
|
|
120
|
+
desc: string;
|
|
121
|
+
};
|
|
122
|
+
TRUE: {
|
|
123
|
+
symbol: string;
|
|
124
|
+
js: string;
|
|
125
|
+
desc: string;
|
|
126
|
+
};
|
|
127
|
+
FALSE: {
|
|
128
|
+
symbol: string;
|
|
129
|
+
js: string;
|
|
130
|
+
desc: string;
|
|
131
|
+
};
|
|
132
|
+
STRING: {
|
|
133
|
+
symbol: string;
|
|
134
|
+
js: string;
|
|
135
|
+
desc: string;
|
|
136
|
+
};
|
|
137
|
+
INTEGER: {
|
|
138
|
+
symbol: string;
|
|
139
|
+
js: string;
|
|
140
|
+
desc: string;
|
|
141
|
+
};
|
|
142
|
+
REAL: {
|
|
143
|
+
symbol: string;
|
|
144
|
+
js: string;
|
|
145
|
+
desc: string;
|
|
146
|
+
};
|
|
147
|
+
BOOLEAN: {
|
|
148
|
+
symbol: string;
|
|
149
|
+
js: string;
|
|
150
|
+
desc: string;
|
|
151
|
+
};
|
|
152
|
+
ARRAY: {
|
|
153
|
+
symbol: string;
|
|
154
|
+
js: string;
|
|
155
|
+
desc: string;
|
|
156
|
+
};
|
|
157
|
+
OBJECT: {
|
|
158
|
+
symbol: string;
|
|
159
|
+
js: string;
|
|
160
|
+
desc: string;
|
|
161
|
+
};
|
|
162
|
+
FUNCTION: {
|
|
163
|
+
symbol: string;
|
|
164
|
+
js: string;
|
|
165
|
+
desc: string;
|
|
166
|
+
};
|
|
167
|
+
FN: {
|
|
168
|
+
symbol: string;
|
|
169
|
+
js: string;
|
|
170
|
+
desc: string;
|
|
171
|
+
};
|
|
172
|
+
SHAPE: {
|
|
173
|
+
symbol: string;
|
|
174
|
+
js: string;
|
|
175
|
+
desc: string;
|
|
176
|
+
};
|
|
177
|
+
CLASS: {
|
|
178
|
+
symbol: string;
|
|
179
|
+
js: string;
|
|
180
|
+
desc: string;
|
|
181
|
+
};
|
|
182
|
+
INSTANCE: {
|
|
183
|
+
symbol: string;
|
|
184
|
+
js: string;
|
|
185
|
+
desc: string;
|
|
186
|
+
};
|
|
187
|
+
EXEC: {
|
|
188
|
+
symbol: string;
|
|
189
|
+
js: string;
|
|
190
|
+
desc: string;
|
|
191
|
+
};
|
|
192
|
+
ASSIGN: {
|
|
193
|
+
symbol: string;
|
|
194
|
+
js: string;
|
|
195
|
+
desc: string;
|
|
196
|
+
};
|
|
197
|
+
AND: {
|
|
198
|
+
symbol: string;
|
|
199
|
+
js: string;
|
|
200
|
+
desc: string;
|
|
201
|
+
};
|
|
202
|
+
OR: {
|
|
203
|
+
symbol: string;
|
|
204
|
+
js: string;
|
|
205
|
+
desc: string;
|
|
206
|
+
};
|
|
207
|
+
NOT: {
|
|
208
|
+
symbol: string;
|
|
209
|
+
js: string;
|
|
210
|
+
desc: string;
|
|
211
|
+
};
|
|
212
|
+
MAP: {
|
|
213
|
+
symbol: string;
|
|
214
|
+
js: string;
|
|
215
|
+
desc: string;
|
|
216
|
+
};
|
|
217
|
+
FILTER: {
|
|
218
|
+
symbol: string;
|
|
219
|
+
js: string;
|
|
220
|
+
desc: string;
|
|
221
|
+
};
|
|
222
|
+
REDUCE: {
|
|
223
|
+
symbol: string;
|
|
224
|
+
js: string;
|
|
225
|
+
desc: string;
|
|
226
|
+
};
|
|
227
|
+
FIND: {
|
|
228
|
+
symbol: string;
|
|
229
|
+
js: string;
|
|
230
|
+
desc: string;
|
|
231
|
+
};
|
|
232
|
+
EFFECT: {
|
|
233
|
+
symbol: string;
|
|
234
|
+
js: string;
|
|
235
|
+
desc: string;
|
|
236
|
+
};
|
|
237
|
+
EVENT: {
|
|
238
|
+
symbol: string;
|
|
239
|
+
js: string;
|
|
240
|
+
desc: string;
|
|
241
|
+
};
|
|
242
|
+
AWAIT: {
|
|
243
|
+
symbol: string;
|
|
244
|
+
js: string;
|
|
245
|
+
desc: string;
|
|
246
|
+
};
|
|
247
|
+
MEMORY: {
|
|
248
|
+
symbol: string;
|
|
249
|
+
js: string;
|
|
250
|
+
desc: string;
|
|
251
|
+
};
|
|
252
|
+
ROUTE: {
|
|
253
|
+
symbol: string;
|
|
254
|
+
js: string;
|
|
255
|
+
desc: string;
|
|
256
|
+
};
|
|
257
|
+
NAVIGATE: {
|
|
258
|
+
symbol: string;
|
|
259
|
+
js: string;
|
|
260
|
+
desc: string;
|
|
261
|
+
};
|
|
262
|
+
COMPONENT: {
|
|
263
|
+
symbol: string;
|
|
264
|
+
js: string;
|
|
265
|
+
desc: string;
|
|
266
|
+
};
|
|
267
|
+
SECURITY: {
|
|
268
|
+
symbol: string;
|
|
269
|
+
js: string;
|
|
270
|
+
desc: string;
|
|
271
|
+
};
|
|
272
|
+
EVOLVE: {
|
|
273
|
+
symbol: string;
|
|
274
|
+
js: string;
|
|
275
|
+
desc: string;
|
|
276
|
+
};
|
|
277
|
+
AI: {
|
|
278
|
+
symbol: string;
|
|
279
|
+
js: string;
|
|
280
|
+
desc: string;
|
|
281
|
+
};
|
|
282
|
+
LOG: {
|
|
283
|
+
symbol: string;
|
|
284
|
+
js: string;
|
|
285
|
+
desc: string;
|
|
286
|
+
};
|
|
287
|
+
INTERVAL: {
|
|
288
|
+
symbol: string;
|
|
289
|
+
js: string;
|
|
290
|
+
desc: string;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
declare const _default: {
|
|
294
|
+
SYMBOLS: {
|
|
295
|
+
readonly STATE: "Σ";
|
|
296
|
+
readonly SUBSTATE: "σ";
|
|
297
|
+
readonly VOID: "Ø";
|
|
298
|
+
readonly TRUE: "⊤";
|
|
299
|
+
readonly FALSE: "⊥";
|
|
300
|
+
readonly LOCK: "🔒";
|
|
301
|
+
readonly UNLOCK: "🔓";
|
|
302
|
+
readonly STRING: "𝕊";
|
|
303
|
+
readonly INTEGER: "ℤ";
|
|
304
|
+
readonly REAL: "ℝ";
|
|
305
|
+
readonly BOOLEAN: "𝔹";
|
|
306
|
+
readonly ARRAY: "𝔸";
|
|
307
|
+
readonly OBJECT: "𝕆";
|
|
308
|
+
readonly FUNCTION: "λ";
|
|
309
|
+
readonly PROMISE: "ℙ";
|
|
310
|
+
readonly ANY: "⊛";
|
|
311
|
+
readonly NULL: "∅";
|
|
312
|
+
readonly SHAPE: "■";
|
|
313
|
+
readonly CLASS: "○";
|
|
314
|
+
readonly INSTANCE: "●";
|
|
315
|
+
readonly MODULE: "⧉";
|
|
316
|
+
readonly FN: "ƒ";
|
|
317
|
+
readonly LAMBDA: "λ";
|
|
318
|
+
readonly ASYNC: "λ⇄";
|
|
319
|
+
readonly MEMO: "λ+";
|
|
320
|
+
readonly ACTION: "Δ";
|
|
321
|
+
readonly EXEC: "→";
|
|
322
|
+
readonly IMPLIES: "⇒";
|
|
323
|
+
readonly PARALLEL: "⇉";
|
|
324
|
+
readonly ASSIGN: "←";
|
|
325
|
+
readonly DERIVE: "⇐";
|
|
326
|
+
readonly NOT_EQUAL: "≠";
|
|
327
|
+
readonly LTE: "≤";
|
|
328
|
+
readonly GTE: "≥";
|
|
329
|
+
readonly AND: "∧";
|
|
330
|
+
readonly OR: "∨";
|
|
331
|
+
readonly NOT: "¬";
|
|
332
|
+
readonly MULT: "×";
|
|
333
|
+
readonly DIV: "÷";
|
|
334
|
+
readonly MERGE: "⊕";
|
|
335
|
+
readonly IN: "∈";
|
|
336
|
+
readonly UNION: "∪";
|
|
337
|
+
readonly MAP: "↦";
|
|
338
|
+
readonly FILTER: "⊳";
|
|
339
|
+
readonly REDUCE: "⊲";
|
|
340
|
+
readonly FIND: "⊙";
|
|
341
|
+
readonly EVERY: "∀";
|
|
342
|
+
readonly SOME: "∃";
|
|
343
|
+
readonly EFFECT: "⚡";
|
|
344
|
+
readonly EVENT: "◌";
|
|
345
|
+
readonly AWAIT: "⇄";
|
|
346
|
+
readonly GET: "⇄ GET";
|
|
347
|
+
readonly POST: "⇄ POST";
|
|
348
|
+
readonly MEMORY: "𝓜";
|
|
349
|
+
readonly ROUTE: "🧭";
|
|
350
|
+
readonly NAVIGATE: "🧭→";
|
|
351
|
+
readonly COMPONENT: "☐";
|
|
352
|
+
readonly JSX_OPEN: "⟨";
|
|
353
|
+
readonly JSX_CLOSE: "⟩";
|
|
354
|
+
readonly PAGE: "☐.page";
|
|
355
|
+
readonly CARD: "☐.card";
|
|
356
|
+
readonly BTN: "☐.btn";
|
|
357
|
+
readonly INPUT: "☐.input";
|
|
358
|
+
readonly MODAL: "☐.modal";
|
|
359
|
+
readonly SPINNER: "☐.spinner";
|
|
360
|
+
readonly SECURITY: "🛡";
|
|
361
|
+
readonly VALIDATE: "🛡!";
|
|
362
|
+
readonly KEY: "🔑";
|
|
363
|
+
readonly EVOLVE: "⟳";
|
|
364
|
+
readonly AI: "Ψ";
|
|
365
|
+
readonly LOG: "📜";
|
|
366
|
+
readonly INTERVAL: "↻";
|
|
367
|
+
readonly IMPORT: "⧉";
|
|
368
|
+
readonly EXPORT: "↑";
|
|
369
|
+
};
|
|
370
|
+
ALPHABET: {
|
|
371
|
+
STATE: {
|
|
372
|
+
symbol: string;
|
|
373
|
+
js: string;
|
|
374
|
+
desc: string;
|
|
375
|
+
};
|
|
376
|
+
SUBSTATE: {
|
|
377
|
+
symbol: string;
|
|
378
|
+
js: string;
|
|
379
|
+
desc: string;
|
|
380
|
+
};
|
|
381
|
+
VOID: {
|
|
382
|
+
symbol: string;
|
|
383
|
+
js: string;
|
|
384
|
+
desc: string;
|
|
385
|
+
};
|
|
386
|
+
TRUE: {
|
|
387
|
+
symbol: string;
|
|
388
|
+
js: string;
|
|
389
|
+
desc: string;
|
|
390
|
+
};
|
|
391
|
+
FALSE: {
|
|
392
|
+
symbol: string;
|
|
393
|
+
js: string;
|
|
394
|
+
desc: string;
|
|
395
|
+
};
|
|
396
|
+
STRING: {
|
|
397
|
+
symbol: string;
|
|
398
|
+
js: string;
|
|
399
|
+
desc: string;
|
|
400
|
+
};
|
|
401
|
+
INTEGER: {
|
|
402
|
+
symbol: string;
|
|
403
|
+
js: string;
|
|
404
|
+
desc: string;
|
|
405
|
+
};
|
|
406
|
+
REAL: {
|
|
407
|
+
symbol: string;
|
|
408
|
+
js: string;
|
|
409
|
+
desc: string;
|
|
410
|
+
};
|
|
411
|
+
BOOLEAN: {
|
|
412
|
+
symbol: string;
|
|
413
|
+
js: string;
|
|
414
|
+
desc: string;
|
|
415
|
+
};
|
|
416
|
+
ARRAY: {
|
|
417
|
+
symbol: string;
|
|
418
|
+
js: string;
|
|
419
|
+
desc: string;
|
|
420
|
+
};
|
|
421
|
+
OBJECT: {
|
|
422
|
+
symbol: string;
|
|
423
|
+
js: string;
|
|
424
|
+
desc: string;
|
|
425
|
+
};
|
|
426
|
+
FUNCTION: {
|
|
427
|
+
symbol: string;
|
|
428
|
+
js: string;
|
|
429
|
+
desc: string;
|
|
430
|
+
};
|
|
431
|
+
FN: {
|
|
432
|
+
symbol: string;
|
|
433
|
+
js: string;
|
|
434
|
+
desc: string;
|
|
435
|
+
};
|
|
436
|
+
SHAPE: {
|
|
437
|
+
symbol: string;
|
|
438
|
+
js: string;
|
|
439
|
+
desc: string;
|
|
440
|
+
};
|
|
441
|
+
CLASS: {
|
|
442
|
+
symbol: string;
|
|
443
|
+
js: string;
|
|
444
|
+
desc: string;
|
|
445
|
+
};
|
|
446
|
+
INSTANCE: {
|
|
447
|
+
symbol: string;
|
|
448
|
+
js: string;
|
|
449
|
+
desc: string;
|
|
450
|
+
};
|
|
451
|
+
EXEC: {
|
|
452
|
+
symbol: string;
|
|
453
|
+
js: string;
|
|
454
|
+
desc: string;
|
|
455
|
+
};
|
|
456
|
+
ASSIGN: {
|
|
457
|
+
symbol: string;
|
|
458
|
+
js: string;
|
|
459
|
+
desc: string;
|
|
460
|
+
};
|
|
461
|
+
AND: {
|
|
462
|
+
symbol: string;
|
|
463
|
+
js: string;
|
|
464
|
+
desc: string;
|
|
465
|
+
};
|
|
466
|
+
OR: {
|
|
467
|
+
symbol: string;
|
|
468
|
+
js: string;
|
|
469
|
+
desc: string;
|
|
470
|
+
};
|
|
471
|
+
NOT: {
|
|
472
|
+
symbol: string;
|
|
473
|
+
js: string;
|
|
474
|
+
desc: string;
|
|
475
|
+
};
|
|
476
|
+
MAP: {
|
|
477
|
+
symbol: string;
|
|
478
|
+
js: string;
|
|
479
|
+
desc: string;
|
|
480
|
+
};
|
|
481
|
+
FILTER: {
|
|
482
|
+
symbol: string;
|
|
483
|
+
js: string;
|
|
484
|
+
desc: string;
|
|
485
|
+
};
|
|
486
|
+
REDUCE: {
|
|
487
|
+
symbol: string;
|
|
488
|
+
js: string;
|
|
489
|
+
desc: string;
|
|
490
|
+
};
|
|
491
|
+
FIND: {
|
|
492
|
+
symbol: string;
|
|
493
|
+
js: string;
|
|
494
|
+
desc: string;
|
|
495
|
+
};
|
|
496
|
+
EFFECT: {
|
|
497
|
+
symbol: string;
|
|
498
|
+
js: string;
|
|
499
|
+
desc: string;
|
|
500
|
+
};
|
|
501
|
+
EVENT: {
|
|
502
|
+
symbol: string;
|
|
503
|
+
js: string;
|
|
504
|
+
desc: string;
|
|
505
|
+
};
|
|
506
|
+
AWAIT: {
|
|
507
|
+
symbol: string;
|
|
508
|
+
js: string;
|
|
509
|
+
desc: string;
|
|
510
|
+
};
|
|
511
|
+
MEMORY: {
|
|
512
|
+
symbol: string;
|
|
513
|
+
js: string;
|
|
514
|
+
desc: string;
|
|
515
|
+
};
|
|
516
|
+
ROUTE: {
|
|
517
|
+
symbol: string;
|
|
518
|
+
js: string;
|
|
519
|
+
desc: string;
|
|
520
|
+
};
|
|
521
|
+
NAVIGATE: {
|
|
522
|
+
symbol: string;
|
|
523
|
+
js: string;
|
|
524
|
+
desc: string;
|
|
525
|
+
};
|
|
526
|
+
COMPONENT: {
|
|
527
|
+
symbol: string;
|
|
528
|
+
js: string;
|
|
529
|
+
desc: string;
|
|
530
|
+
};
|
|
531
|
+
SECURITY: {
|
|
532
|
+
symbol: string;
|
|
533
|
+
js: string;
|
|
534
|
+
desc: string;
|
|
535
|
+
};
|
|
536
|
+
EVOLVE: {
|
|
537
|
+
symbol: string;
|
|
538
|
+
js: string;
|
|
539
|
+
desc: string;
|
|
540
|
+
};
|
|
541
|
+
AI: {
|
|
542
|
+
symbol: string;
|
|
543
|
+
js: string;
|
|
544
|
+
desc: string;
|
|
545
|
+
};
|
|
546
|
+
LOG: {
|
|
547
|
+
symbol: string;
|
|
548
|
+
js: string;
|
|
549
|
+
desc: string;
|
|
550
|
+
};
|
|
551
|
+
INTERVAL: {
|
|
552
|
+
symbol: string;
|
|
553
|
+
js: string;
|
|
554
|
+
desc: string;
|
|
555
|
+
};
|
|
556
|
+
};
|
|
557
|
+
TRANSPILE_MAP: Record<string, string>;
|
|
558
|
+
transpileSymbols: typeof transpileSymbols;
|
|
559
|
+
toSymbolic: typeof toSymbolic;
|
|
560
|
+
state: <T>(name: string, initial: T) => string;
|
|
561
|
+
effect: (body: string, deps?: string[]) => string;
|
|
562
|
+
fn: (name: string, params: string[], body: string) => string;
|
|
563
|
+
asyncFn: (name: string, params: string[], body: string) => string;
|
|
564
|
+
component: (name: string, body: string) => string;
|
|
565
|
+
shape: (name: string, fields: Record<string, string>) => string;
|
|
566
|
+
get: (url: string) => string;
|
|
567
|
+
post: (url: string, body: string) => string;
|
|
568
|
+
navigate: (path: string) => string;
|
|
569
|
+
map: (arr: string, cb: string) => string;
|
|
570
|
+
filter: (arr: string, pred: string) => string;
|
|
571
|
+
reduce: (arr: string, red: string, init: string) => string;
|
|
572
|
+
find: (arr: string, pred: string) => string;
|
|
573
|
+
storageGet: (key: string) => string;
|
|
574
|
+
storageSet: (key: string, val: string) => string;
|
|
575
|
+
validate: (schema: string, data: string) => string;
|
|
576
|
+
log: (msg: string) => string;
|
|
577
|
+
error: (msg: string) => string;
|
|
578
|
+
TRUE: boolean;
|
|
579
|
+
FALSE: boolean;
|
|
580
|
+
VOID: null;
|
|
581
|
+
NIL: undefined;
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
export { ALPHABET, FALSE, NIL, SYMBOLS, TRANSPILE_MAP, TRUE, VOID, asyncFn, component, _default as default, effect, error, filter, find, fn, get, log, map, navigate, post, reduce, shape, state, storageGet, storageSet, toSymbolic, transpileSymbols, validate };
|