Piko

Output


            

Examples

Hello World

Basic output

Variables

Variable assignment and output

Math

Base26 arithmetic operations

Functions

Function definition and calling

Loops

Loop constructs

Input

User input

Chains

Chain operations

Syntax

Operations

(o value) - output
(i variable) - input
(a variable value) - assign
(r value) - return

Functions

(f name param1 param2 ... body) - define
(c name arg1 arg2 ...) - call

Loops

(l body) - infinite
(l condition body) - conditional
(b) - break

Math

(+ a b) - add
(- a b) - subtract
(* a b) - multiply
(/ a b) - divide

Comparison

(< a b) - less than
(> a b) - greater than
(<= a b) - less equal
(>= a b) - greater equal
(== a b) - equal
(!= a b) - not equal

Chains

(ao variable value) - assign then output
(ia variable) - input then assign
(io variable) - input then output