Programming language for distributed systems & p2p
Go to file
renovate[bot] d6178f2203
chore(deps): update dependency org.scalatest:scalatest to v3.2.19 (#1165)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-24 11:32:03 +00:00
.devcontainer feat(devcontainer): Add js-client to devcontainer (#736) 2023-06-09 08:44:54 +00:00
.github chore(main): release aqua 0.14.10 (#1152) 2024-06-07 09:35:50 +00: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.14.10 (#1152) 2024-06-07 09:35:50 +00:00
aqua-run/src/main/scala/aqua/run fix(compiler): Create restrictions in inliner [LNG-346] (#1099) 2024-03-28 11:10:13 +00:00
aqua-src fix(compiler): Push to stream in closures [LNG-365] (#1157) 2024-06-18 16:57:55 +03:00
backend feat(compiler): CRDT-maps implementation (#1142) 2024-06-06 04:24:47 +00:00
compiler/src feat(compiler): Allow redeclaring services (and abilities) [LNG-360] (#1135) 2024-05-10 12:43:52 +02:00
integration-tests fix(compiler): Push to stream in closures [LNG-365] (#1157) 2024-06-18 16:57:55 +03:00
io chore: Add extension to imports on preparing import tokens (#1139) 2024-05-20 07:55:09 +00:00
js feat(api, lsp): Case classes exported to JS as normal JSONs (#1151) 2024-06-07 11:38:37 +03:00
language-server chore(main): release aqua 0.14.10 (#1152) 2024-06-07 09:35:50 +00:00
linker/src feat(language-server): Resolve paths for imports (#1079) 2024-02-20 12:52:54 +00:00
model fix(compiler): Push to stream in closures [LNG-365] (#1157) 2024-06-18 16:57:55 +03:00
parser/src feat(compiler): CRDT-maps implementation (#1142) 2024-06-06 04:24:47 +00:00
project chore(deps): update dependency scalajs to v0.16.0 (#1149) 2024-06-03 12:31:43 +00:00
semantics/src feat(compiler): CRDT-maps implementation (#1142) 2024-06-06 04:24:47 +00:00
types/src feat(compiler): CRDT-maps implementation (#1142) 2024-06-06 04:24:47 +00:00
utils chore: Add extension to imports on preparing import tokens (#1139) 2024-05-20 07:55:09 +00:00
.gitignore feat(build): Implement custom bundle task (#894) 2023-09-18 09:53:25 +02:00
.jvmopts Upper cased constants (#260) 2021-09-07 11:09:48 +03:00
.scalafmt.conf fix(compiler): Incorrect focus on error [LNG-274] (#959) 2023-11-02 12:38:19 +00:00
build.sbt chore(deps): update dependency org.scalatest:scalatest to v3.2.19 (#1165) 2024-06-24 11:32:03 +00:00
CHANGELOG.md chore(main): release aqua 0.14.10 (#1152) 2024-06-07 09:35:50 +00:00
ci.cjs chore: Remove aqua cli (#874) 2023-09-12 13:37:40 +03:00
CONTRIBUTING.md chore: Update LICENSE to AGPLv3 (#1160) 2024-06-21 12:01:06 +00:00
LICENSE chore: Update LICENSE to AGPLv3 (#1160) 2024-06-21 12:01:06 +00:00
pnpm-lock.yaml chore(main): release aqua 0.14.10 (#1152) 2024-06-07 09:35:50 +00:00
pnpm-workspace.yaml chore: Remove aqua cli (#874) 2023-09-12 13:37:40 +03:00
README.md chore: Update LICENSE to AGPLv3 (#1160) 2024-06-21 12:01:06 +00:00
USAGE.md chore(docs): Update README (#892) 2023-09-19 11:33:39 +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.

Usage

The easiest way to use Aqua is through Fluence CLI with aqua command.

Other ways of using Aqua are described in USAGE.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
  • 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 AGPLv3 license.