Programming language for distributed systems & p2p
Go to file
2023-03-31 15:57:24 +04:00
.github feat(compiler): add aqua native compilation (#681) 2023-03-07 13:46:20 +03:00
.vscode Add support for the new features of JS SDK API (#251) 2021-09-08 13:16:59 +03:00
api chore(main): release aqua 0.10.3 (#678) 2023-02-28 11:52:23 +03:00
aqua-run/src/main/scala/aqua/run fix(error-messages): fix incorrect number of arguments message [fixes LNG-108] (#645) 2023-01-18 20:06:31 +03:00
aqua-src feat: copy structures implementation [fixes LNG-102] (#646) 2023-01-20 12:02:05 +07:00
backend feat: Remove bang in lambdas in AIR (#688) 2023-03-28 14:44:47 +03:00
cli feat(compiler): add aqua native compilation (#681) 2023-03-07 13:46:20 +03:00
compiler/src fix: name uniqueness in stream gate (#676) 2023-02-25 12:12:40 +07:00
io Api for fluence cli (#611) 2022-12-28 11:30:42 +03:00
js Api for fluence cli (#611) 2022-12-28 11:30:42 +03:00
language-server chore(main): release aqua 0.10.3 (#678) 2023-02-28 11:52:23 +03:00
linker/src Module and Use expressions (#245) 2021-08-20 18:03:47 +03:00
model fix: Fix type for functor [fixes LNG-119] (#677) 2023-02-28 10:56:49 +03:00
parser/src parsr for pub/priv 2023-03-31 15:57:24 +04:00
project chore(deps): update dependency sbt/sbt to v1.8.2 (#679) 2023-03-09 11:23:59 +03:00
semantics/src feat: copy structures implementation [fixes LNG-102] (#646) 2023-01-20 12:02:05 +07:00
types/src LNG-96 object creation (#592) 2022-11-30 15:28:06 +03:00
utils Api for fluence cli (#611) 2022-12-28 11:30:42 +03:00
.gitignore Api for fluence cli (#611) 2022-12-28 11:30:42 +03:00
.jvmopts Upper cased constants (#260) 2021-09-07 11:09:48 +03:00
.scalafmt.conf VarModel -> VarRaw in collect functions (#405) 2022-01-20 07:08:26 +03:00
build.sbt feat(compiler): add aqua native compilation (#681) 2023-03-07 13:46:20 +03:00
CHANGELOG.md chore(main): release aqua 0.10.3 (#678) 2023-02-28 11:52:23 +03:00
CONTRIBUTING.md feat(docs): README update (#667) 2023-02-20 11:42:55 +03:00
INSTALL.md feat(docs): README update (#667) 2023-02-20 11:42:55 +03:00
LICENSE feat(docs): README update (#667) 2023-02-20 11:42:55 +03:00
README.md feat(docs): README update (#667) 2023-02-20 11:42:55 +03:00

Aqua

release npm

Aqua is an open-source language for distributed workflow coordination in p2p networks. Aqua programs are executed on many peers, sequentially or in parallel, forming a single-use coordination network. Applications are turned into hostless workflows over distributed function calls, which enables various levels of decentralization: from handling by a limited set of servers to complete peer-to-peer architecture by connecting user devices directly. Aqua is the core of the Fluence protocol and a framework for internet or private cloud applications.

Installation and Usage

The easiest way to use Aqua is to download the latest build from npm: @fluencelabs/aqua.

npm i -g @fluencelabs/aqua
aqua --input src/aqua --output src/generated

Input directory should contain files with .aqua scripts.

Other ways of installing Aqua can be found in INSTALL.md.

Documentation

Comprehensive documentation and usage examples as well as a number of videos can be found in Aqua Book. Aqua Playground demonstrates how to start writing Aqua and integrate it into a TypeScript application. Numerous videos are available at our YouTube channel.

Repository Structure

  • api - Aqua API for JS
  • aqua-run - Aqua API to run functions
  • backend - compilation backend interface
  • cli - CLI interface
  • compiler - compiler as a pure function made from linker, semantics and backend
  • model - middle-end, internal representation of the code, optimizations and transformations
    • transform - optimizations and transformations, converting model to the result, ready to be rendered
    • test-kit - tests and test helpers for the model and transformations
  • linker - checks dependencies between modules, builds and combines an abstract dependencies tree
  • parser - parser, takes source text and produces a source AST
  • semantics - rules to convert source AST into the model
  • types - data types, arrows, stream types definitions and variance

Support

Please, file an issue if you find a bug. You can also contact us at Discord or Telegram. We will do our best to resolve the issue ASAP.

Contributing

Any interested person is welcome to contribute to the project. Please, make sure you read and follow some basic rules.

License

All software code is copyright (c) Fluence Labs, Inc. under the Apache-2.0 license.