mirror of
https://github.com/fluencelabs/aqua.git
synced 2025-04-24 14:32:13 +00:00
* move integration tests to repo * Move aqua-playground CI * Fix * Use local aqua cli * Move aqua tests to e2e * Test new build.sbt * Fix? * Test * Test * Test * Test * Update * Fix * Fix * Fix * fix * Fix * Rename aqua-api to api directory for consistency * Migrate to pnpm * Add bump version script * Test snapshot workflow * fix * Fix * Fix * Setup pnpm * Update pnpm version * Fix * Do not publish tests * Update * Fix * Fix? * delete import * Fix * Fix * Fix? * Fix * Fix * Use main branch * Fix quotes * Fix * Fix release * Cleanup * Remove compiled examples * Cleanup --------- Co-authored-by: DieMyst <dmitry.shakhtarin@fluence.ai>
1.1 KiB
1.1 KiB
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
- For the list of compiler options see: https://github.com/fluencelabs/aqua
- To get started writing aqua see: https://github.com/fluencelabs/aqua-playground