aqua/integration-tests
fluencebot 5db1282c1f
chore(main): release aqua 0.11.11 (#850)
* chore(main): release aqua 0.11.11

* chore: Bump aqua version to 0.11.11

---------

Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
2023-08-21 16:40:35 +03:00
..
aqua feat: parseq implementation (fixes LNG-223) (#840) 2023-08-21 14:26:30 +04:00
src feat(compiler): Structural typing for data and abilities [fixes LNG-215] (#843) 2023-08-18 16:15:20 +03:00
.gitignore chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
.npmignore chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
.prettierrc.cjs feat(compiler): Add boolean algebra [fixes LNG-211] (#814) 2023-07-27 14:11:36 +03:00
jest.config.cjs chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
LICENSE chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
package-lock.json chore(deps): update dependency @fluencelabs/aqua-lib to v0.7.3 (#830) 2023-08-09 17:49:01 +03:00
package.json chore(main): release aqua 0.11.11 (#850) 2023-08-21 16:40:35 +03:00
README.md chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
tsconfig.json chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00

Aqua playground

Repository demonstrating the how to start writing aqua and integrate it into a typescript application

Getting started

Install dependencies

npm install

To compile the aqua files execute

npm run compile-aqua

To start the index.ts execute

npm run run

To run all examples in example directory

npm run exec

If everything works correctly logs without errors will be printed on a screen:

Then you can add or modify aqua files in aqua directory, these files will be compiled into /src/compiled and you can use it in a TypeScript in your preferable way.

Project structure

Aqua source files are located in src/aquadirectory.

Aqua files are compiled into .ts located in /src/compiled directory.

Entry point to use aqua compiled files from TypeScript: /src/index.ts

Code that call all examples and check results: /src/run-examples.ts

References

Documentation for the compiler can be found in the official repo: https://github.com/fluencelabs/aqua