Skip to content
Ferret v0.0.10+ now supports Mac!!

Ferret Programming Language

Explicit ownership, practical semantics, and a compiler-first workflow.
01

Ownership & Safety

Ferret uses explicit pointer ownership and compile-time analysis to make memory behavior visible and predictable.

02

Practical Type System

Built-in optionals ?T, error unions E!T, enums, structs, and interfaces keep APIs explicit.

03

Large Number support

We are not limited to 64 bit numbers. You can go as far as you want

type Mode enum {
debug,
run,
}
fn SelectMode(v: i32) -> Mode {
if v > 0 {
return Mode::run
}
return Mode::debug
}
fn main() {
let mode = SelectMode(1)
if mode == Mode::run {
println("Ferret is running")
}
}
Step 1

Installation

Install Ferret and set up your development environment

Step 2

Hello World

Write your first Ferret program in minutes

Step 3

Language Guide

Learn about Ferret’s syntax and type system