A simple, expressive language designed for beginner programmers.
set x = 5
print "hello"
if
, otherwise
(else-if), else
repeat 5 { ... }
add A and B into result
,
multiply A and B into result
square of x
, sqrt of x
uppercase "hello"
, reverse "abc"
random between 1 and 10
choose from "a", "b", "c" into x
say "Hi there"
(browser-only)ask "What's your name?"
(not supported in browser)timer start
, timer stop
wait 5
(skipped in browser)function greet() { ... }
function anonymous (n) { return n * 2 }
call greet
and access return with
last_return
map (n) => n * 2 over [1, 2, 3]
set x = 5 if x > 3 { print "Greater" } else { print "Less" } function double(n) { return n * 2 } set nums = [1, 2, 3] set doubled = map (n) => n * 2 over nums print doubled