Flare is a statically-typed, block-structured programming language designed for clarity, concurrency, and extensibility. This document describes all core language features, syntax, and semantics.
- Syntax Basics
- Variables and Types
- Functions
- Control Flow
- Fibers (Concurrency)
- Modules and Imports
- Variants and Tags
- Built-in Functions
- Example Programs
See docs/syntax.md for full details.
See docs/variables.md for full details.
See docs/functions.md for full details.
See docs/control_flow.md for full details.
See docs/fibers.md for full details.
See docs/modules.md for full details.
See docs/variants.md for full details.
See docs/tags.md for full details.
See docs/builtins.md for full details.
import std; func main() { std.print("Hello, world!"); } For more details on any feature, see the relevant documentation file in the docs/ directory.