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
- Learn more about Syntax Basics
- Explore Types in detail
- Understand Functions
Interactive REPL
(Coming soon: Interactive REPL for experimenting with Felico)