@xnoxs/flux-lang 4.0.9 → 4.1.1

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.
@@ -1,87 +0,0 @@
1
- // ============================================================
2
- // Flux Lang — Compiler Entry Point v4.0.3
3
- // src/self/index.flux
4
- //
5
- // Di-kompilasi menjadi src/self/index.js, lalu di-bundle
6
- // oleh esbuild → dist/flux-compiler.js (satu file).
7
- //
8
- // Catatan: bundler.flux dan mangler.flux mengandung template
9
- // literal yang menghasilkan kode JS yang tidak bisa di-parse
10
- // oleh esbuild, sehingga tidak di-bundle di sini.
11
- // Gunakan @xnoxs/flux-lang untuk akses ke bundler dan mangler.
12
- // ============================================================
13
-
14
- // ── Core pipeline (koordinator utama) ────────────────────────
15
- import { transpile as _transpile, transpileFile as _transpileFile, FLUX_VERSION as _VERSION, FLUX_STAGE as _STAGE } from './transpiler'
16
-
17
- export val transpile = _transpile
18
- export val transpileFile = _transpileFile
19
- export val FLUX_VERSION = _VERSION
20
- export val FLUX_STAGE = _STAGE
21
-
22
- // ── Lexer ─────────────────────────────────────────────────────
23
- import { Lexer as _Lexer, lexerize as _lexerize, T as _T, TokenType as _TT } from './lexer'
24
-
25
- export val Lexer = _Lexer
26
- export val lexerize = _lexerize
27
- export val T = _T
28
- export val TokenType = _TT
29
-
30
- // ── Parser ────────────────────────────────────────────────────
31
- import { Parser as _Parser, makeParser as _makeParser } from './parser'
32
-
33
- export val Parser = _Parser
34
- export val makeParser = _makeParser
35
-
36
- // ── Code Generator ────────────────────────────────────────────
37
- import { CodeGenerator as _CG, makeCodeGen as _makeCG } from './codegen'
38
-
39
- export val CodeGenerator = _CG
40
- export val makeCodeGen = _makeCG
41
-
42
- // ── Type System ───────────────────────────────────────────────
43
- import { FluxTypeChecker as _FTC } from './type-checker'
44
- import { Checker as _Checker } from './checker'
45
-
46
- export val FluxTypeChecker = _FTC
47
- export val Checker = _Checker
48
-
49
- // ── Preprocessors ─────────────────────────────────────────────
50
- import { transformCss as _transformCss } from './css-preprocessor'
51
- import { transformJsx as _transformJsx, FLUX_H_BROWSER as _FHB, FLUX_H_SERVER as _FHS } from './jsx'
52
-
53
- export val transformCss = _transformCss
54
- export val transformJsx = _transformJsx
55
- export val FLUX_H_BROWSER = _FHB
56
- export val FLUX_H_SERVER = _FHS
57
-
58
- // ── Toolchain ─────────────────────────────────────────────────
59
- import { format as _format, diff as _diff } from './formatter'
60
- import { lint as _lint, Linter as _Linter } from './linter'
61
- import { SourceMapBuilder as _SMB } from './sourcemap'
62
-
63
- export val format = _format
64
- export val diff = _diff
65
- export val lint = _lint
66
- export val Linter = _Linter
67
- export val SourceMapBuilder = _SMB
68
-
69
- // ── Standard Library ──────────────────────────────────────────
70
- import { buildStdlib as _bStdlib, detectUsedSymbols as _det, STDLIB_SYMBOLS as _SS } from './stdlib'
71
-
72
- export val buildStdlib = _bStdlib
73
- export val detectUsedSymbols = _det
74
- export val STDLIB_SYMBOLS = _SS
75
-
76
- // ── Project Config & Test Runner ──────────────────────────────
77
- import { loadConfig as _lc, mergeConfig as _mc, writeConfig as _wc, validateConfig as _vc, DEFAULT_CONFIG as _DC } from './config'
78
- import { discoverTestFiles as _dtf, runTestFile as _rtf, runTests as _rt } from './test-runner'
79
-
80
- export val loadConfig = _lc
81
- export val mergeConfig = _mc
82
- export val writeConfig = _wc
83
- export val validateConfig = _vc
84
- export val DEFAULT_CONFIG = _DC
85
- export val discoverTestFiles = _dtf
86
- export val runTestFile = _rtf
87
- export val runTests = _rt