Files
sybil/examples/array.sy

15 lines
226 B
Plaintext
Raw Normal View History

# Create an array with just some numbers
{ 1 2 3 }
println!
[ :x x x ] :dup
# Call some functions
{ 1 dup! dup! }
println!
# Call your own functions, why not?
{
[ 2 *! ] :double
1 dup! double! dup! double!
}
println!