Language: Start here¶
This section is about writing .incn programs: syntax, semantics, patterns, and mental models.
If you’re not sure where you fit, start at Start here.
Deciding if Incan fits¶
Tutorials (learn)¶
- The Incan Book (Basics): Book index
- Dates and times: Dates and times
- Fallible and infallible paths: Fallible and infallible paths
- Web framework tutorial: Web Framework (advanced; reads like tutorial + how-to)
How-to guides (do)¶
- Async Programming
- Dates and times
- Error Messages
- File I/O
- Generators
- Module state
- Choosing collection types
- Choosing numeric types
- Performance
- Rust Interop
Reference (look up)¶
- Current feature inventory: Feature inventory (generated)
- Generated language reference: Language reference (generated)
- Code style (canonical source layout guide): Incan Code Style Guide
- Static storage: Static storage
- Numeric semantics: Numeric Semantics
- Strings: Strings
- Generators: Generators
- Derives reference cluster:
| Guide | Derives |
|---|---|
| String Representation | Debug, Display |
| Comparison | Eq, Ord, Hash |
| Copying & Default | Clone, Copy, Default |
| Serialization | Serialize, Deserialize |
| Validation | Validate |
| Custom Behavior | Overriding derived behavior |
Explanation (understand)¶
- Control flow
- Callable presets
- Closures
- Compile time and runtime
- Rust-shaped confidence
- Consts
- Module static storage
- Numeric types
- Date and time model
- OrdinalMap
- Derives & Traits
- Enums
- Generators
- Error Handling
- Imports & Modules
- Models & Classes
- Scopes & Name Resolution
See also¶
- Tooling: Tooling start here
- RFCs (design records): RFC index