Tutorials Memory docs GitHub
This page does not execute code. It is a syntax explorer: browse examples of current FLOW syntax with highlighting and basic lint checks. Every example below compiles and runs with the real compiler — copy one and run it locally with ./flow run (instructions in the right panel). For hands-on lessons see Interactive Tutorials; for heap/arena rules see Memory docs.
Example:
main.flow Ready
Syntax Check
Click "Check Syntax" for basic lint checks (comment style, ranges, balanced braces). These are lightweight editor checks — only the real compiler is authoritative.

Run this program for real

FLOW compiles server-side (Python transpiler → C → native). Save the editor contents as main.flow and run:

git clone https://github.com/flooooooooooow/flow.git
cd flow
# paste the editor contents into main.flow, then:
./flow run main.flow

Advanced: python3 -m flow.transpiler main.flow --c -o main.c emits C; ./flow mlir main.flow emits MLIR.

Every example in the dropdown is verified against the current compiler.