Flowcharts, runnable in your browser!
Integer
for whole numbersReal
for decimal numbersString
for textBoolean
for true/false+
, -
, *
, /
, %
for arithmetic operations&&
, ||
, !
for boolean operations<
, <=
, ==
, !=
, >
, >=
for comparing valuesThe rules of precedence should be familiar to you from mathematics.
For example:
*
has higher precedence than +
:2 + 2 * 2
== 2 + 4
== 6
.&&
has higher precedence than ||
:true || false && true
== true || false
== true
.You can define new functions and use them from your main
function.
Functions have a return type, the type of value which it returns.
For example, if you calculate a sum of two Integer
s, the result would also be an Integer
(return type).
The return type can also be Void
, which means it doesn't return anything, it just executes and that's it.
For example, it could calculate something, print it and exit.
There are also some predefined functions that you can use, they are defined automatically in FlowRun.
You can find them here
Written in ScalaJS.
Uses d3-graphviz to display the flowcharts.