@explorable-viz/fluid 0.7.82 → 0.7.83
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/dist/fluid/shared/fluid.mjs +43 -24
- package/package.json +1 -1
@@ -28453,7 +28453,7 @@ var parseImports = /* @__PURE__ */ $Parser(
|
|
28453
28453
|
);
|
28454
28454
|
var evaluate = (v) => {
|
28455
28455
|
const $0 = v._1.fileName;
|
28456
|
-
const fluidSrcPaths = [
|
28456
|
+
const fluidSrcPaths = [v._1.prefix, ...v._1.library ? ["node_modules/@explorable-viz/fluid/dist/fluid/fluid"] : []];
|
28457
28457
|
return _bind(loadProgCxt3(fluidSrcPaths)(v._1.imports)(v._1.datasets))((progCxt) => _bind(prepConfig3(fluidSrcPaths)($0)(progCxt))((v1) => _bind(graphEval2(v1.gconfig)(v1.e))((v2) => _pure($Val(
|
28458
28458
|
void 0,
|
28459
28459
|
functorBaseVal.map((v$1) => {
|
@@ -28556,43 +28556,62 @@ var program = /* @__PURE__ */ (() => $Parser(
|
|
28556
28556
|
$Parser(
|
28557
28557
|
"MultP",
|
28558
28558
|
$MultPE(
|
28559
|
-
|
28560
|
-
"
|
28561
|
-
|
28562
|
-
|
28563
|
-
|
28564
|
-
|
28565
|
-
|
28566
|
-
|
28567
|
-
|
28568
|
-
|
28569
|
-
|
28570
|
-
|
28571
|
-
|
28572
|
-
|
28573
|
-
|
28574
|
-
|
28575
|
-
|
28576
|
-
|
28559
|
+
$Parser(
|
28560
|
+
"MultP",
|
28561
|
+
$MultPE(
|
28562
|
+
parserFunctor.map((v) => (v1) => (v2) => (v3) => (v4) => $Program({ library: v, imports: v1, datasets: v2, fileName: v3, prefix: v4 }))($Parser(
|
28563
|
+
"AltP",
|
28564
|
+
flag$p(true)((() => {
|
28565
|
+
const $0 = help("Are you running fluid as a library?");
|
28566
|
+
const $1 = $0._2._1.tag === "Nothing" ? Nothing : $0._2._1;
|
28567
|
+
const $2 = $0._2._2.tag === "Nothing" ? Nothing : $0._2._2;
|
28568
|
+
return $Mod(
|
28569
|
+
(x) => $0._1({
|
28570
|
+
flagNames: [$OptName("OptShort", "l"), $OptName("OptLong", "library"), ...x.flagNames],
|
28571
|
+
flagActive: x.flagActive
|
28572
|
+
}),
|
28573
|
+
$DefaultProp($1.tag === "Nothing" ? Nothing : $1, $2.tag === "Nothing" ? Nothing : $2),
|
28574
|
+
(x) => $0._3(x)
|
28575
|
+
);
|
28576
|
+
})()),
|
28577
|
+
$Parser("NilP", false)
|
28578
|
+
)),
|
28579
|
+
parserFunctor.map(fromFoldable29)(parseImports)
|
28580
|
+
)
|
28581
|
+
),
|
28582
|
+
parserFunctor.map(fromFoldable29)(parseDatasets)
|
28577
28583
|
)
|
28578
28584
|
),
|
28579
|
-
|
28585
|
+
option(readerAsk)((() => {
|
28586
|
+
const $0 = help("The file to parse");
|
28587
|
+
const $1 = $0._2._1.tag === "Nothing" ? Nothing : $0._2._1;
|
28588
|
+
const $2 = $0._2._2.tag === "Nothing" ? Nothing : $0._2._2;
|
28589
|
+
return $Mod(
|
28590
|
+
(x) => $0._1({
|
28591
|
+
optNames: [$OptName("OptShort", "f"), $OptName("OptLong", "file"), ...x.optNames],
|
28592
|
+
optCompleter: x.optCompleter,
|
28593
|
+
optNoArgError: x.optNoArgError
|
28594
|
+
}),
|
28595
|
+
$DefaultProp($1.tag === "Nothing" ? Nothing : $1, $2.tag === "Nothing" ? Nothing : $2),
|
28596
|
+
(x) => $0._3(x)
|
28597
|
+
);
|
28598
|
+
})())
|
28580
28599
|
)
|
28581
28600
|
),
|
28582
|
-
option(readerAsk)((() => {
|
28583
|
-
const $0 = help("The
|
28601
|
+
parserFunctor.map(Folder)(option(readerAsk)((() => {
|
28602
|
+
const $0 = help("The prefix for the file");
|
28584
28603
|
const $1 = $0._2._1.tag === "Nothing" ? Nothing : $0._2._1;
|
28585
28604
|
const $2 = $0._2._2.tag === "Nothing" ? Nothing : $0._2._2;
|
28586
28605
|
return $Mod(
|
28587
28606
|
(x) => $0._1({
|
28588
|
-
optNames: [$OptName("OptShort", "
|
28607
|
+
optNames: [$OptName("OptShort", "p"), $OptName("OptLong", "prefix"), ...x.optNames],
|
28589
28608
|
optCompleter: x.optCompleter,
|
28590
28609
|
optNoArgError: x.optNoArgError
|
28591
28610
|
}),
|
28592
28611
|
$DefaultProp($1.tag === "Nothing" ? Nothing : $1, $2.tag === "Nothing" ? Nothing : $2),
|
28593
28612
|
(x) => $0._3(x)
|
28594
28613
|
);
|
28595
|
-
})())
|
28614
|
+
})()))
|
28596
28615
|
)
|
28597
28616
|
))();
|
28598
28617
|
var commands = /* @__PURE__ */ (() => ({
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@explorable-viz/fluid",
|
3
|
-
"version": "0.7.
|
3
|
+
"version": "0.7.83",
|
4
4
|
"description": "Fluid is an experimental programming language which integrates a bidirectional dynamic analysis to connect outputs to data sources in a fine-grained way. Fluid is implemented in PureScript and runs in the browser.",
|
5
5
|
"main": "index.js",
|
6
6
|
"repository": {
|