Quick Start
Get up and running with JOEL in 5 minutes!
Installation
First, install JOEL:
git clone https://github.com/JJ-Dynamite/JOEL.git
cd JOEL
./install.shSee the Installation Guide for detailed instructions.
Your First Program
Create a file called hello.joel:
[Interpreted]
fn main() {
print("Hello, JOEL!")
}Run it:
joel run hello.joelOutput:
🚀 JOEL Runtime - Mode: Interpreted
Hello, JOEL!Basic Syntax
Variables
[Interpreted]
let name = "JOEL"
let age = 24
let active = trueFunctions
[Interpreted]
fn greet(name: str) -> str {
return "Hello, " + name
}
fn main() {
print(greet("World"))
}Control Flow
[Interpreted]
let x = 10
if x > 5 {
print("x is greater than 5")
} else {
print("x is not greater than 5")
}Loops
[Interpreted]
# For loop
for i in range(0, 5) {
print("Count:", i)
}
# While loop
let count = 0
while count < 5 {
print("Count:", count)
count = count + 1
}Common Commands
# Run a JOEL file
joel run program.joel
# Build for a target (coming soon)
joel build program.joel --target native
# Show version
joel versionNext Steps
- Your First Program - Detailed walkthrough
- Syntax Overview - Complete syntax reference
- Examples - More examples