flowr 0.131.0

Runners for compiled 'flow' programs
Documentation
flow = "primitives"
docs = "DESCRIPTION.md"

# 1 plus 2 = 3
[[process]]
source = "lib://flowstdlib/math/add"
input.i1 = {once =  2}
input.i2 = {once =  1}

# 3 / 2 = 1.5
[[process]]
source = "lib://flowstdlib/math/divide"
input.divisor = {once =  2}

[[connection]]
from = "add"
to = "divide/dividend"

[[connection]]
from = "divide/result"
to = "stdout"

[[process]]
source = "lib://flowstdlib/control/tap"
input.control = {once =  false}

#compare result (1.5) to 1
[[process]]
source = "lib://flowstdlib/math/compare"
input.right = {once =  1}

[[connection]]
from = "divide/result"
to = "tap/data"

[[connection]]
from = "divide/result"
to = "compare/left"

[[connection]]
from = "compare/gt"
to = "stdout"

[[process]]
source = "context://stdio/stdout"

[[connection]]
from = "tap"
to = "stdout"