Getting Started
Quick Start
Write and run your first Pseudo program in under 2 minutes.
- 1
Create a file
Create a file named
hello.pseudo:hello.pseudo# hello.pseudo name = "world" print "Hello, {name}!"OutputHello, world! - 2
Run it
bashpseudo run hello.pseudo - 3
Try an algorithm
sort.pseudofunc bubbleSort(arr) for i from 0 to len(arr) for j from 0 to len(arr) - i - 1 if arr[j] > arr[j+1] swap arr[j] and arr[j+1] return arr bubbleSort([5, 2, 9, 1])Output[1, 2, 5, 9] - 4
Step through it (educational mode)
bashpseudo run sort.pseudo --stepThe
--stepflag pauses at each line and shows variable state. Perfect for understanding how an algorithm progresses. - 5
Try recursion
fib.pseudorecursive fibonacci(n) if n <= 1: return n return fibonacci(n-1) + fibonacci(n-2) fibonacci(10)Output55
Auto-print Behavior
A bare expression or function call at any level automatically prints its value - you don't need print everywhere:
pseudo
x = 42
x # → prints 42
arr = [1, 2, 3]
len(arr) # → prints 3Output
42
3
Key Concepts
Indentation defines blocks
The only strict rule. Spaces or tabs - consistent within a file.
Flexible keywords
if / when / check / given - all work. Defined by the .pmap file.
Dynamic typing
No type declarations. Types change freely like Python.
Auto-print
Bare values print automatically. No console.log spam needed.