aqua/npm
2022-05-17 15:05:25 +03:00
..
aqua createService and addBlueprint commands (#449) 2022-03-09 19:56:51 +03:00
src Finalizing current CLI API (#457) 2022-03-21 23:55:16 +03:00
test Language server (#512) 2022-05-17 15:05:25 +03:00
.gitignore CLI: Implement create_keypair (#375) 2021-11-26 14:05:24 +03:00
aqua-run.md run manual (#407) 2022-02-02 14:40:10 +03:00
aqua-run.sh Deploy service (#413) 2022-02-05 11:10:18 +03:00
error.js Fix for greedy XOR tags (#412) 2022-02-02 19:06:35 +03:00
index.js handle EPIPE error properly (#491) 2022-04-14 15:04:43 +03:00
LICENSE Create aquamarine npm package (#56) 2021-04-14 18:00:51 +03:00
package-lock.json update fjs to 0.23.0 (#503) 2022-04-26 12:09:44 +03:00
package.json update fjs to 0.23.0 (#503) 2022-04-26 12:09:44 +03:00
readme.md Readme updates (#295) 2021-09-10 17:36:21 +03:00
tsconfig.json Upload file to Fluence IPFS sidecar (#390) 2021-12-24 15:50:12 +07:00
utils.js #370 #377 #378 Builtin as default import and minor changes (#384) 2021-12-03 20:30:00 +03:00

Aqua

Aqua is a new-gen language for distributed systems.

Aqua programs are executed on many peers, sequentially or in parallel, forming a single-use coordination network.

Aqua's runtime is heterogeneous: it includes browsers, servers, devices, all involved in solving a single task. Therefore, Aqua scripts are compiled into several targets at once, with AIR and Typescript as a default.

aqua

The package contains a convenience aqua wrapper for usage in npm-based projects.

usage

Get the latest package

npm i --save-dev @fluencelabs/aqua

Create a directory for the source files: .aqua and for compiled files: .ts

mkdir src/aqua src/compiled

To compile files run:

aqua -i ./src/aqua/ -o ./src/compiled

Alternatively the compilation script can be put into scripts section of package.json

...
"scripts": {
    ...
    "compile": "aqua -i ./src/aqua/ -o ./src/compiled"
},
...

and can be started with

npm run compile

references