Documentation
Flecha’s documentation is synced from the compiler repository so the guides here track the implementation while this website remains independently deployable.
Start here
Section titled “Start here”- Language specification
- Compiler reference
- Supported toolchains
- Modules
- Longbow
- Package ecosystem
- Complete v0.4 standard-library API inventory
New in 0.4
Section titled “New in 0.4”- 0.4.0 release and upgrade notes
- Signature-only interfaces and typed behaviors
- Scoped single-threaded async design
- Namespace attachments
- JSON behavior migration
- Compiler, Longbow, language-server, editor, and package distribution
Learning tracks
Section titled “Learning tracks”- Five-level Learn path
- Hello, Archer!
- Basic language track
- Intermediate ownership and systems track
- Advanced qualification track
- Unsafe boundaries track
Language features
Section titled “Language features”- Structures, tuples, and enums
- Fixed arrays and dynamic arrays
- Strings and error values
- Iteration, match, and defer
- Generics and callable signatures, callable examples, and extern declarations
- Module, quiver, and private-module visibility
- Logical modules across multiple source files
- Attached logical namespaces
- Interfaces, behaviors, and async execution
Memory and ownership
Section titled “Memory and ownership”- Checked references and checked slices
- Ownership contracts
- Definite assignment
- Raw allocation and unsafe pointers
- Memory model and remaining proposals
Tooling and standard library
Section titled “Tooling and standard library”- Bytes, collections, text, and formatting
- Filesystem and buffered I/O, paths, networking, OS APIs, and child processes
- Encoding, hashing, cryptography, and randomness
- Math, time, memory helpers, and testing
- Every exported module and top-level declaration
- Focused standard-library development and the changed-subsystem test runner
Compiler internals
Section titled “Compiler internals”Implementation references cover semantic analysis, typed lowering IR, LLVM code generation, native code generation, and the runtime ABI.