Origin is a programming language built for developers who want readable, typed code with direct access to hardware. It compiles to Python under the hood, giving you the full power of the Python ecosystem while keeping your source code expressive and human-readable. Origin v1.7.5 is designed for Raspberry Pi embedded projects, robotics, and any hardware-adjacent application.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/boblio-max/origin/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Install Origin on Windows via the standalone installer or run from source on any platform.
Quickstart
Write and run your first Origin script in under five minutes.
Language Reference
Explore variables, control flow, functions, classes, modules, and more.
Hardware Control
Drive GPIO pins, servos, I2C, SPI, and UART directly from Origin code.
Why Origin?
Origin is designed around three principles:- Readability first — syntax reads like English so code is self-documenting and easy to review
- Safe by default — mandatory type annotations catch mismatches at the interpretation stage; servo angles are automatically clamped to 0–180° to prevent physical damage
- Hardware-native — first-class commands for Raspberry Pi GPIO, PCA9685 servos, I2C, SPI, and UART require no boilerplate
Install Origin
Download the Windows standalone installer or clone the repo and install Python dependencies.
Write your first script
Create a file with the
.or extension and use let to declare typed variables, print to output values.Key Features
Strict Typing
let x: int = 10 — every variable carries a type. Mismatches are caught before execution.Parallel Execution
The
parallel block automatically schedules independent statements across threads using wavefront analysis.Python Interop
Embed any Python code with
py { } blocks — access the full Python standard library and third-party packages.Binary Builder
Compile
.or scripts into standalone .exe files with origin build — no Python required on the target machine.