logo

A simple, general-purpose concatenative scripting programming language meant to be minimal in syntax and intuitive.

./fib.pile

# Fibonacci sequence in Pile programming language
import "std/io.pile"

proc Fib
0 1 as n a b let
n 1 <= if n return end
2 loop dup n 1 + = if break end
a b + b
let a
let b
1 +
end drop
b
end

69 Fib Print

Learning Resources

This website provides a concise documentation. You may find it useful to start using the language.

The docs include:

Contributing

Contributing to Pile's implementation

Visit the official GitHub repository to explore in-depth examples, access the full source code, and contribute directly to this innovative, stack-based language. Whether you're refining existing features, adding new ones, or simply learning, your contributions are invaluable to shaping Pile's future.

Contributing to Pile's website

Contribute to this website. If you have any suggestions, Pull Requests are welcome!