Socket
Socket
Sign inDemoInstall

@fluencelabs/aqua-cli

Package Overview
Dependencies
0
Maintainers
3
Versions
114
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @fluencelabs/aqua-cli

Aqua compiler


Version published
Maintainers
3
Install size
26.1 MB
Created

Readme

Source

Aqua

Aqua is a new-gen language for distributed systems.

Aqua programs are executed on many peers, sequentially or in parallel, forming a single-use coordination network.

Aqua's runtime is heterogeneous: it includes browsers, servers, devices, all involved in solving a single task. Therefore, Aqua scripts are compiled into several targets at once, with AIR and Typescript as a default.

aqua-cli

The package contains a convenience aqua-cli wrapper for usage in npm-based projects.

usage

**Warning: the package requires java to be installed (it will call "java -jar ... ") **

Get the latest package

npm i --save-dev @fluencelabs/aqua-cli

Create a directory for the source files: .aqua and for compiled files: .ts

mkdir aqua compiled

To compile files run:

npx aqua -i ./src/aqua/ -o ./src/compiled

Alternatively the compilation script can be put into scripts section of package.json

...
"scripts": {
    ...
    "compile": "aqua -i ./src/aqua/ -o ./src/compiled"
},
...

and can be started with

npm run compile

references

  • For the list of compiler options see: https://github.com/fluencelabs/aqua
  • To get started writing aqua see: https://github.com/fluencelabs/aqua-playground

Keywords

FAQs

Last updated on 03 Sep 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc