1 USING: tools.walker io io.streams.string kernel math
2 math.private namespaces prettyprint sequences tools.test
3 continuations math.parser threads arrays tools.walker.debug
4 generic.standard sequences.private kernel.private ;
20 [ 2 [ "Yo" ] dip ] test-walker
24 [ 2 [ "Yo" ] dip 3 ] test-walker
28 [ t [ 2 ] [ "hi" ] if ] test-walker
32 [ f [ 2 ] [ "hi" ] if ] test-walker
36 [ 2 2 fixnum+ ] test-walker
42 [ foo 4 fixnum+ ] test-walker
45 [ { C{ 1 1.5 } { } C{ 1 1.5 } { } } ] [
46 [ C{ 1 1.5 } { } 2dup ] test-walker
50 [ 5 5 number= ] test-walker
54 [ 5 6 number= ] test-walker
58 [ 0 { array-capacity } declare ] test-walker
62 [ "XYZ" "XYZ" mismatch ] test-walker
66 [ "XYZ" "XYZ" sequence= ] test-walker
70 [ "XYZ" "XYZ" = ] test-walker
74 [ "XYZ" "XuZ" = ] test-walker
82 [ [ 3 "x" set "x" get ] with-scope ] test-walker
86 [ [ "hi" print ] with-string-writer ] test-walker
90 [ [ 2 2 + number>string print ] with-string-writer ] test-walker
94 [ { 1 2 3 } set-datastack ] test-walker
98 [ [ 3 [ nip continue ] callcc0 2 * ] test-walker ] unit-test
101 [ [ [ 3 swap continue-with ] callcc1 2 * ] test-walker ] unit-test
104 [ [ [ ] [ ] recover ] test-walker ] unit-test
107 [ [ [ 3 throw ] [ 2 * ] recover ] test-walker ] unit-test
109 [ { T{ no-method f + nth } } ]
110 [ [ [ 0 \ + nth ] [ ] recover ] test-walker ] unit-test
113 [ "a" "b" set "c" "d" set [ ] test-walker ] with-scope