Programming language for distributed systems & p2p
Go to file
2023-11-06 18:14:28 +07:00
.devcontainer feat(devcontainer): Add js-client to devcontainer (#736) 2023-06-09 08:44:54 +00:00
.github chore: Make renovate care for unstable versions (#942) 2023-11-02 10:07:23 +02: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.12.4 (#917) 2023-10-23 14:20:47 +00:00
aqua-run/src/main/scala/aqua/run feat(compiler): Add warnings subsystem [fixes LNG117] (#906) 2023-09-25 13:00:43 +00:00
aqua-src checking types for their validity 2023-11-06 17:41:10 +07:00
backend feat(compiler): Always generate last argument of fold [LNG-265] (#947) 2023-10-30 12:58:51 +03:00
compiler/src feat(compiler): Always generate last argument of fold [LNG-265] (#947) 2023-10-30 12:58:51 +03:00
integration-tests fix(deps): update dependency @fluencelabs/js-client to v0.4.2 (#956) 2023-11-01 10:24:31 +01:00
io fix(compiler): Incorrect focus on error [LNG-274] (#959) 2023-11-02 12:38:19 +00:00
js feat(build): Implement custom bundle task (#894) 2023-09-18 09:53:25 +02:00
language-server chore(main): release aqua 0.12.4 (#917) 2023-10-23 14:20:47 +00:00
linker/src feat(compiler): Add warnings subsystem [fixes LNG117] (#906) 2023-09-25 13:00:43 +00:00
model fix(compiler): Code generate wrong stream name in AIR [LNG-276] (#958) 2023-11-02 13:13:25 +00:00
parser/src checking types for their validity 2023-11-06 17:41:10 +07:00
project chore(deps): update dependency sbt/sbt to v1.9.7 (#949) 2023-11-01 12:46:31 +00:00
semantics/src add unit tests 2023-11-06 18:14:28 +07:00
types/src fix(compiler): Unknown service method call is ignored [LNG-273] (#957) 2023-11-01 14:55:59 +03:00
utils fix(compiler): Unknown service method call is ignored [LNG-273] (#957) 2023-11-01 14:55:59 +03: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 checking types for their validity 2023-11-06 17:41:10 +07:00
build.sbt chore(main): release aqua 0.12.4 (#917) 2023-10-23 14:20:47 +00:00
CHANGELOG.md chore(main): release aqua 0.12.4 (#917) 2023-10-23 14:20:47 +00:00
ci.cjs chore: Remove aqua cli (#874) 2023-09-12 13:37:40 +03:00
CONTRIBUTING.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
pnpm-lock.yaml fix(deps): update dependency @fluencelabs/js-client to v0.4.2 (#956) 2023-11-01 10:24:31 +01:00
pnpm-workspace.yaml chore: Remove aqua cli (#874) 2023-09-12 13:37:40 +03:00
README.md chore(docs): Update README (#892) 2023-09-19 11:33:39 +03: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 Apache-2.0 license.