Programming language for distributed systems & p2p
Go to file
InversionSpaces 5044dd030d Add comments
2023-12-06 10:56:59 +00:00
.devcontainer feat(devcontainer): Add js-client to devcontainer (#736) 2023-06-09 08:44:54 +00:00
.github fix(e2e): Use main branch for fcli (#987) 2023-11-27 13:20:13 +02:00
.vscode Add support for the new features of JS SDK API (#251) 2021-09-08 13:16:59 +03:00
api Add comments 2023-12-06 10:56:59 +00:00
aqua-run/src/main/scala/aqua/run Remove AquaPath usage 2023-12-05 15:49:24 +00:00
aqua-src fix(compiler): Use correct empty stream as argument [LNG-280, LNG-292] (#967) 2023-11-28 10:45:12 +00:00
backend feat(compiler)!: Prohibit mutating options [LNG-277] (#960) 2023-11-13 11:58:36 +03:00
compiler/src fix(compiler): Allow returning resolved service as ability [LNG-266] (#977) 2023-11-23 10:12:44 +00:00
integration-tests fix(compiler): Use correct empty stream as argument [LNG-280, LNG-292] (#967) 2023-11-28 10:45:12 +00:00
io fix(compiler): Incorrect focus on error [LNG-274] (#959) 2023-11-02 12:38:19 +00:00
js feat(api): Use js.UndefOr for defaultServiceId (#980) 2023-11-22 13:44:34 +00:00
language-server fix(compiler): Use correct empty stream as argument [LNG-280, LNG-292] (#967) 2023-11-28 10:45:12 +00:00
linker/src feat(compiler): Add warnings subsystem [fixes LNG117] (#906) 2023-09-25 13:00:43 +00:00
model fix(compiler): Use correct empty stream as argument [LNG-280, LNG-292] (#967) 2023-11-28 10:45:12 +00:00
parser/src fix(compiler): Allow returning resolved service as ability [LNG-266] (#977) 2023-11-23 10:12:44 +00:00
project chore(deps): update dependency com.eed3si9n:sbt-assembly to v2.1.5 (#991) 2023-11-27 14:18:54 +03:00
semantics/src fix(compiler): Use correct empty stream as argument [LNG-280, LNG-292] (#967) 2023-11-28 10:45:12 +00:00
types/src fix(compiler): Use correct empty stream as argument [LNG-280, LNG-292] (#967) 2023-11-28 10:45:12 +00:00
utils feat(compiler)!: Prohibit mutating options [LNG-277] (#960) 2023-11-13 11:58:36 +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 fix(compiler): Incorrect focus on error [LNG-274] (#959) 2023-11-02 12:38:19 +00:00
build.sbt fix(compiler): Allow returning resolved service as ability [LNG-266] (#977) 2023-11-23 10:12:44 +00:00
CHANGELOG.md chore(main): release aqua 0.13.0 (#944) 2023-11-22 15:21:38 +01: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 chore(deps): update dependency @fluencelabs/aqua-lib to v0.8.1 (#976) 2023-11-27 12:04:23 +00: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.