Aqua is a language for distributed workflow coordination in p2p networks.
It's structured with significant indentation.
-- Comments begin with double-dash and end with the line (inline)
funcfoo():-- Comments are allowed almost everywhere
-- Body of the block expression is indented
Values in Aqua have types, which are designated by a colon, :, as seen in the function signature below. The type of a return, which is yielded when a function is executed, is denoted by an arrow pointing to the right -> , whereas yielding is denoted by an arrow pointing to the left <-.
-- Define a function that yields a string
-- Call a function
-- Yield a value from a function
-- Return a yielded results from a function
Subsequent sections explain the main parts of Aqua.