Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Quick Start

Let’s write your first Felico program!

Hello, World!

Create a new file called hello.felico:

print("Hello, World!")

Run it with:

felico run hello.felico

You should see:

Hello, World!

Basic Arithmetic

Felico supports basic arithmetic operations:

let x = 10
let y = 20
print(x + y)  // 30

Variables and Types

Felico has compile-time type checking:

let name = "Felico"
let version = 1
let is_fun = true

print(name)

Functions

Define and call functions:

fn greet(name) {
    print("Hello, " + name + "!")
}

greet("World")

Next Steps

Interactive REPL

(Coming soon: Interactive REPL for experimenting with Felico)