Part 3: the language


What can it do? - Brace stacks

evaluated Array constructor:

        {1. 2. 1 + 2. 2 * 2 }  ->    #(1 2 3 4)

conversion to other types with: "as: aClass"

        {1. 2 * 2. 1 + 2. 2} as: SortedCollection   -> SortedCollection (1 2 3  4)

parrallel assignment:

        |a b c|
       {a. b. c}:= #(1 2 3)    -> a:= 1. b:=1. c:= 3
       {a. b. c} := {b. a}     -> a and b swapped