enyosx-ai 0.1.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.
Files changed (41) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +740 -0
  3. package/dist/chunk-2WM5L76D.js +320 -0
  4. package/dist/chunk-3BNDFBX3.js +324 -0
  5. package/dist/chunk-4LJILSCT.js +30 -0
  6. package/dist/chunk-4ZV5JV6W.js +298 -0
  7. package/dist/chunk-76PHNPTY.js +631 -0
  8. package/dist/chunk-BSSA33NY.js +677 -0
  9. package/dist/chunk-EK6IDRY7.js +105 -0
  10. package/dist/chunk-FI2EBH2N.js +2232 -0
  11. package/dist/chunk-GAKKLY4M.js +276 -0
  12. package/dist/chunk-HR4G5XQI.js +319 -0
  13. package/dist/chunk-HROGCEE5.js +30 -0
  14. package/dist/chunk-MMH7M7MG.js +30 -0
  15. package/dist/chunk-NGLRXS6G.js +2079 -0
  16. package/dist/chunk-NSE6LQJC.js +681 -0
  17. package/dist/chunk-O5XZOSBW.js +2484 -0
  18. package/dist/chunk-OVCMUPMP.js +677 -0
  19. package/dist/chunk-P2YBRE3X.js +2484 -0
  20. package/dist/chunk-VVIL5NIM.js +318 -0
  21. package/dist/chunk-ZNGEBY33.js +273 -0
  22. package/dist/cli.cjs +2509 -0
  23. package/dist/cli.d.ts +1 -0
  24. package/dist/cli.js +99 -0
  25. package/dist/index.cjs +2912 -0
  26. package/dist/index.d.ts +672 -0
  27. package/dist/index.js +379 -0
  28. package/dist/parser-4JXKOWKY.js +8 -0
  29. package/dist/parser-UUB6D2CZ.js +8 -0
  30. package/dist/parser-V44AIVNI.js +8 -0
  31. package/examples/README.md +13 -0
  32. package/examples/ia-demo.eny +37 -0
  33. package/examples/sample.eny +15 -0
  34. package/examples/simple/system.eny +7 -0
  35. package/examples/spec/sample.eny +19 -0
  36. package/examples/starter/README.md +96 -0
  37. package/examples/starter/main.eny +39 -0
  38. package/examples/starter/run.js +68 -0
  39. package/examples/starter.eny +16 -0
  40. package/examples/wasm-demo.eny +34 -0
  41. package/package.json +49 -0
@@ -0,0 +1,16 @@
1
+ Σ SYSTEM "Starter App"
2
+ Σ MODULE "Starter"
3
+ Δ hello(name)
4
+ → greet
5
+ → done
6
+ Ψ IA "assistant"
7
+ say: "Olá"
8
+ Φ UI { layout: simple }
9
+ Ω Item { title }
10
+ ⊗ {
11
+ task A
12
+ task B
13
+ }
14
+ Σ BUILD {
15
+ target: node
16
+ }
@@ -0,0 +1,34 @@
1
+ Σ SYSTEM "WASM Demo"
2
+ Σ MODE production
3
+ Σ TARGET wasm
4
+
5
+ Δ inicializar()
6
+ → configurar
7
+ → ativar
8
+
9
+ Δ configurar()
10
+ → carregarRecursos
11
+
12
+ Δ carregarRecursos()
13
+ → done
14
+
15
+ Δ ativar()
16
+ → iniciarLoop
17
+
18
+ Δ iniciarLoop()
19
+ → processar
20
+
21
+ Δ processar()
22
+ → done
23
+
24
+ Δ done()
25
+
26
+ Ψ IA runtime {
27
+ gerenciarMemoria
28
+ otimizarExecucao
29
+ }
30
+
31
+ Σ BUILD {
32
+ target: wasm
33
+ target: js
34
+ }
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "enyosx-ai",
3
+ "version": "0.1.0",
4
+ "description": "AI-ENY Core — Biblioteca da linguagem EnyOS (projeto experimental)",
5
+ "main": "dist/index.cjs",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "files": ["dist", "README.md", "examples"],
9
+ "bin": {
10
+ "eny": "dist/cli.js",
11
+ "enyosx-ai": "dist/cli.cjs"
12
+ },
13
+ "scripts": {
14
+ "build": "tsup src/index.ts src/cli.ts --format cjs,esm --dts",
15
+ "build:watch": "tsup src/index.ts src/cli.ts --watch --format cjs,esm --dts",
16
+ "dev": "tsup src/index.ts src/cli.ts --watch --format cjs,esm --dts",
17
+ "test": "vitest",
18
+ "lint": "eslint . --ext .ts,.tsx",
19
+ "prepublishOnly": "npm run build && npm test",
20
+ "prepare": "npm run build"
21
+ },
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/enyos/enyosx-ai.git"
28
+ },
29
+ "keywords": ["enyosx-ai", "eny", "ai-eny", "language", "compiler", "meta-system"],
30
+ "type": "module",
31
+ "homepage": "https://github.com/enyos/enyosx-ai#readme",
32
+ "bugs": { "url": "https://github.com/enyos/enyosx-ai/issues" },
33
+ "author": "EnyOS <hello@enyos.org>",
34
+ "license": "MIT",
35
+ "engines": { "node": ">=18" },
36
+ "peerDependencies": {
37
+ "react": ">=17"
38
+ },
39
+ "devDependencies": {
40
+ "@types/node": "^20.0.0",
41
+ "@types/react": "^18.0.0",
42
+ "eslint": "^8.0.0",
43
+ "eslint-config-prettier": "^8.0.0",
44
+ "prettier": "^2.0.0",
45
+ "tsup": "^6.0.0",
46
+ "typescript": "^5.0.0",
47
+ "vitest": "^1.0.0"
48
+ }
49
+ }