Primitive Programming Language

Documentation Online Workspace PPL Forums

Simplicity is the key.

PPL strives to be easy to pick up while retaining complexity.

Similar to pseudocode.

printLine("Hello, World!")
Hello, World!
declare x = 0
loop 100 {
x = x + 1
if x % 15 < 1{
printLine("FizzBuzz")
}
if x%3 < 1 && x % 5 > 0{
printLine("Fizz")
}
if x % 5 < 1 && x % 3 > 0{
printLine("Buzz")
}
if x % 3 > 0 && x % 5 > 0{
printLine(x)
}
}
FizzBuzz
fn prime(n) {
declare b = 1
declare f = false
loop n - 2{
b = b + 1
if n % b < 1 {
f = false
}
}
unset b
return f
}
Prime Test

PPL comes in the form of an NPM package.

Install it now on your machine.

npm install ppl-lang