Learn Flecha v0.4
This section contains two independent tutorial sequences. The main sequence covers the language and toolchain in five levels. ARROWFALL applies a subset of the same features while building one terminal game in seven cumulative steps.
The tutorials use matching v0.4.0 flecha and longbow binaries from the
current installation. Their commands, sources, and exact output
are exercised by the documentation CI with the official release toolchain.
Beginner
Build, run, and share a small Flecha command-line program.
Prerequisite: No Flecha experience; install the v0.4.0 toolchain first.
Scope: About 60–90 minutes
Basic
Read and write ordinary Flecha programs with explicit errors and tests.
Prerequisite: Complete the Beginner track.
Scope: About 3–4 hours
Intermediate
Design multi-module applications that own resources and use the operating system safely.
Prerequisite: Comfort with Flecha values, control flow, errors, and tests.
Scope: About 5–7 hours
Advanced
Qualify deterministic native software across package, ABI, performance, and failure boundaries.
Prerequisite: Complete the Intermediate track and be comfortable reading generated artifacts.
Scope: About 8–12 hours
Unsafe
Contain, review, and test the smallest possible raw-memory or native boundary.
Prerequisite: Complete the Advanced track; use unsafe only when safe Flecha cannot express the boundary.
Scope: About 4–6 hours
ARROWFALL tutorial
Section titled “ARROWFALL tutorial”ARROWFALL is separate from the five-level sequence. It starts with a static terminal scene and adds state, input, collision, turns, archery, deterministic randomness, tests, and a release build.
The ARROWFALL tutorial contains seven cumulative versions of a terminal game. Each version is compiled and run with Flecha v0.4.0; input and output are checked against committed fixtures.
Navigation
Section titled “Navigation”Previous and Next links in the main sequence connect its five levels. Reference pages, examples, release notes, and specifications remain standalone: they are not part of tutorial pagination.
The Unsafe level is last. It documents operations that safe Flecha cannot express and retains a safe alternative wherever one exists.
ARROWFALL has its own seven-step Previous/Next sequence. Its source, commands, input, output, and terminal frames come from fixtures validated with official Flecha and Longbow v0.4.0.