0.7.89 • Published 8 months ago

@explorable-viz/fluid v0.7.89

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Fluid: Language-integrated data provenance

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.

develop GitHub pages

Installation

Software required

  • git
  • Node.js >=14.0.0
  • yarn >= 1.22

Additionally, for Windows users only:

Building

  • Clone the repository (for Windows users, do this under the Ubuntu WSL)
  • Run ./script/setup/dev-setup.sh from the top-level directory
  • Run yarn build

Use

The following assumes you have already succesfully run yarn build (see above).

Running programs from the command line

Fluid examples in the dist/fluid/fluid can be evaluated from the command line as follows (from the top-level directory):

npx fluid evaluate -f <path>

Note that the path is relative and should not include the .fld extension, e.g. for the range.fld example:

% npx fluid evaluate -f example/range
((0, 0) : ((0, 1) : ((1, 0) : ((1, 1) : []))))
Success

Running the fluid.org website locally

  • yarn serve fluid-org (you may be prompted to proceed: type y).
  • Open a browser at the served URL (usually 127.0.0.1:8080)

Testing

Running the tests from the command line

After building, tests can be run from the command line via yarn test-all

Running tests in browser

  • As per command-line tests above, but run yarn test-browser, which opens a browser window.
  • To observe the status of tests, click Debug in the browser window, and then open the JavaScript Console for your browser (e.g., via the Developer Tools).

Run Puppeteer tests for page Y of website X

Rebuild with puppeteerTests.headless set to false to run in browser. Then:

  • yarn bundle-website X
  • ./script/test-page.sh X X.Y

Development via VS Code

The following are some notes on developing Fluid using VS Code.

  • Avoid having PureScript installed globally
  • Install the PureScript IDE extension
  • In the PureScript IDE extension settings, select Add Npm Path

  • For Windows users: - Launch VSCode through Ubuntu (WSL) terminal - Install WSL extension in VSCode

0.7.89

8 months ago

0.7.88

8 months ago

0.7.87

8 months ago

0.7.86

8 months ago

0.7.85

8 months ago

0.7.84

8 months ago

0.7.83

8 months ago

0.7.82

8 months ago

0.7.81

8 months ago

0.7.80

8 months ago

0.7.79

8 months ago

0.7.78

8 months ago

0.7.77

8 months ago

0.7.76

8 months ago

0.7.75

9 months ago

0.7.74

9 months ago

0.7.73

9 months ago

0.7.72

9 months ago

0.7.71

9 months ago

0.7.70

9 months ago

0.7.69

9 months ago

0.7.68

9 months ago

0.7.67

9 months ago

0.7.66

9 months ago

0.7.65

9 months ago

0.7.64

9 months ago

0.7.63

9 months ago

0.7.62

9 months ago

0.7.61

9 months ago

0.7.60

9 months ago

0.7.59

9 months ago

0.7.57

9 months ago

0.7.56

9 months ago

0.7.55

9 months ago

0.7.54

9 months ago

0.7.53

9 months ago

0.7.52

9 months ago

0.7.51

9 months ago

0.7.50

9 months ago

0.7.49

9 months ago

0.7.48

9 months ago

0.7.47

9 months ago

0.7.46

9 months ago

0.7.45

9 months ago

0.7.44

9 months ago

0.7.43

9 months ago

0.7.42

9 months ago

0.7.41

9 months ago

0.7.40

9 months ago

0.7.39

9 months ago

0.7.38

9 months ago

0.7.37

9 months ago

0.7.36

9 months ago

0.7.35

9 months ago

0.7.34

9 months ago

0.7.33

9 months ago

0.7.32

9 months ago

0.7.31

9 months ago

0.7.30

10 months ago

0.7.29

10 months ago

0.7.28

10 months ago

0.7.27

10 months ago

0.7.25

10 months ago

0.7.24

10 months ago

0.7.23

10 months ago

0.7.2

10 months ago

0.7.22

10 months ago

0.7.21

10 months ago

0.7.20

10 months ago

0.7.19

10 months ago

0.7.18

10 months ago

0.7.17

10 months ago

0.7.16

10 months ago

0.7.15

10 months ago

0.7.14

10 months ago

0.7.13

10 months ago

0.7.12

10 months ago

0.7.11

10 months ago

0.7.10

10 months ago

0.7.9

10 months ago

0.7.8

10 months ago

0.7.7

10 months ago

0.7.5

10 months ago

0.0.23

1 year ago

0.0.22

1 year ago

0.0.21

1 year ago

0.0.20

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

1.0.0

1 year ago