0.7.89 • Published 1 year ago

@explorable-viz/fluid v0.7.89

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.7.88

1 year ago

0.7.87

1 year ago

0.7.86

1 year ago

0.7.85

1 year ago

0.7.84

1 year ago

0.7.83

1 year ago

0.7.82

1 year ago

0.7.81

1 year ago

0.7.80

1 year ago

0.7.79

1 year ago

0.7.78

1 year ago

0.7.77

1 year ago

0.7.76

1 year ago

0.7.75

1 year ago

0.7.74

1 year ago

0.7.73

1 year ago

0.7.72

1 year ago

0.7.71

1 year ago

0.7.70

1 year ago

0.7.69

1 year ago

0.7.68

1 year ago

0.7.67

1 year ago

0.7.66

1 year ago

0.7.65

1 year ago

0.7.64

1 year ago

0.7.63

1 year ago

0.7.62

1 year ago

0.7.61

1 year ago

0.7.60

1 year ago

0.7.59

1 year ago

0.7.57

1 year ago

0.7.56

1 year ago

0.7.55

1 year ago

0.7.54

1 year ago

0.7.53

1 year ago

0.7.52

1 year ago

0.7.51

1 year ago

0.7.50

1 year ago

0.7.49

1 year ago

0.7.48

1 year ago

0.7.47

1 year ago

0.7.46

1 year ago

0.7.45

1 year ago

0.7.44

1 year ago

0.7.43

1 year ago

0.7.42

1 year ago

0.7.41

1 year ago

0.7.40

1 year ago

0.7.39

1 year ago

0.7.38

1 year ago

0.7.37

1 year ago

0.7.36

1 year ago

0.7.35

1 year ago

0.7.34

1 year ago

0.7.33

1 year ago

0.7.32

1 year ago

0.7.31

1 year ago

0.7.30

1 year ago

0.7.29

1 year ago

0.7.28

1 year ago

0.7.27

1 year ago

0.7.25

1 year ago

0.7.24

1 year ago

0.7.23

1 year ago

0.7.2

1 year ago

0.7.22

1 year ago

0.7.21

1 year ago

0.7.20

1 year ago

0.7.19

1 year ago

0.7.18

1 year ago

0.7.17

1 year ago

0.7.16

1 year ago

0.7.15

1 year ago

0.7.14

1 year ago

0.7.13

1 year ago

0.7.12

1 year ago

0.7.11

1 year ago

0.7.10

1 year ago

0.7.9

1 year ago

0.7.8

1 year ago

0.7.7

1 year ago

0.7.5

1 year 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

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

1.0.0

2 years ago