This is the technical reference and user guide for the Olive systems programming language.
- Introduction: The philosophy and goals of the Olive project.
- Getting Started: How to install Olive and run your first program.
- Basic Syntax: Variables, numbers, strings, and loops.
- Functions: How to group code into reusable blocks.
- Ownership: How Olive manages memory without a garbage collector.
- Generics: Writing flexible, reusable code with type parameters.
- Structs and Enums: Building your own data types.
- Traits: Defining shared behavior between different types.
- Async: Writing fast, concurrent programs with
asyncandawait. - Error Handling: How to deal with things that go wrong.
- Modules: Organizing your code and using the standard library.
- C / Rust Interop (FFI): Calling C/C++ or Rust code and using
unsafeblocks. - Python Interoperability: High-performance zero-copy Python integration.
- CLI Reference: The full list of commands for the
pittoolchain. - Debugger: Breakpoints, stepping, and variable inspection via VS Code or
pit debug. - Optimizations: How code is optimized for performance.
- Compiler Internals: A look under the hood at how Olive works.