$ENTRY Go { = > > > >; }; Show { s.F t.T = >; }; Tree { = (1 (2 (4 (7 () ()) ()) (5 () ())) (3 (6 (8 () ()) (9 () ())) ())); }; Preorder { () = ; (s.V t.L t.R) = s.V ; }; Inorder { () = ; (s.V t.L t.R) = s.V ; }; Postorder { () = ; (s.V t.L t.R) = s.V; }; Levelorder { = ; () e.Q = ; (s.V t.L t.R) e.Q = s.V ; };