0.BREAKING.ENHANCING.RELEASE
0
shows that Aqua does not meet its vision yet, so syntax and semantics can change quicklyBREAKING
part is incremented for each breaking change when old .aqua
files need to be updated to compile with the new versionENHANCING
part is incremented for every syntax additionRELEASE
is the release number, shows internal compiler changes, bugfixes that keep the language untouched1 + x
), arrow calls in any place (e.g. for x <- foo(3 + bar()) par
...) and simple comparison (e.g. if a > 3
) (#461 -> #410)array[5]
. With this syntax, non-literal indices are allowed, like array[conf.length]
(#401)import "@fluencelabs/aqua-lib/builtins"
should always work now, even outside of an NPM project (#384)for
cycles (#321)fldist
so far (cannot run the emitted AIR
via fldist
). Use aqua run
to run Aqua instead (#358).aqua
extension in imports is optional: you may import "file.aqua"
or just import "file"
with the same effect (#292)aqua-js
command (#256)module
, declares
, use
, export
expressions (#245), see Imports and Exports for the docs. host_peer_id
, a predefined constant that points on the relay if Aqua compilation is configured so, and on %init_peer_id%
otherwise, see #218.