diff clojure/com/aurellem/run/save_corruption.clj @ 250:b7f682bb3090

updated title and save_corruption to work with all the recent updates
author Robert McIntyre <rlm@mit.edu>
date Mon, 26 Mar 2012 03:49:33 -0500
parents 09caf6a5bbf4
children d9e0752da684
line wrap: on
line diff
     1.1 --- a/clojure/com/aurellem/run/save_corruption.clj	Mon Mar 26 03:09:26 2012 -0500
     1.2 +++ b/clojure/com/aurellem/run/save_corruption.clj	Mon Mar 26 03:49:33 2012 -0500
     1.3 @@ -4,219 +4,243 @@
     1.4  
     1.5  (use 'clojure.repl)
     1.6  
     1.7 -(defn-memo start-walking [] 
     1.8 -  (->> (finish-title)
     1.9 -       (advance [:b] [:b :r])))
    1.10 +(defn-memo start-walking
    1.11 +  ([script] 
    1.12 +     (->> script
    1.13 +          (advance [:b] [:b :r])))
    1.14 +  ([] (start-walking (finish-title))))
    1.15  
    1.16  (def walk (partial advance []))
    1.17  
    1.18 -(defn-memo walk-to-stairs []
    1.19 -  (->> (start-walking)
    1.20 -       (walk [:u])
    1.21 -       (walk [:u])
    1.22 -       (walk [:u])
    1.23 -       (walk [:u])
    1.24 -       (walk [:u])
    1.25 -       (walk [:r])
    1.26 -       (walk [:r])
    1.27 -       (walk [:r])))
    1.28 +(defn-memo walk-to-stairs
    1.29 +  ([] (walk-to-stairs (start-walking)))
    1.30 +  ([script]
    1.31 +     (->> script
    1.32 +          (walk [:u])
    1.33 +          (walk [:u])
    1.34 +          (walk [:u])
    1.35 +          (walk [:u])
    1.36 +          (walk [:u])
    1.37 +          (walk [:r])
    1.38 +          (walk [:r])
    1.39 +          (walk [:r]))))
    1.40  
    1.41 -(defn-memo walk-to-door []
    1.42 -  (->> (walk-to-stairs)
    1.43 -       (walk [:d])
    1.44 -       (walk [:d])
    1.45 -       (walk [:d])
    1.46 -       (walk [:d])
    1.47 -       (walk [:d])
    1.48 -       (walk [:d])
    1.49 -       (walk [:l])
    1.50 -       (walk [:l])
    1.51 -       (walk [:l])
    1.52 -       (walk [:l])))
    1.53 -  
    1.54 +(defn-memo walk-to-door
    1.55 +  ([] (walk-to-door (walk-to-stairs)))
    1.56 +  ([script]
    1.57 +     (->> script
    1.58 +          (walk [:d])
    1.59 +          (walk [:d])
    1.60 +          (walk [:d])
    1.61 +          (walk [:d])
    1.62 +          (walk [:d])
    1.63 +          (walk [:d])
    1.64 +          (walk [:l])
    1.65 +          (walk [:l])
    1.66 +          (walk [:l])
    1.67 +          (walk [:l]))))
    1.68  
    1.69 -(defn-memo activate-menu []
    1.70 -  (->> (walk-to-door)
    1.71 -       (advance [:b] [:a :b :start])))
    1.72 +(defn-memo activate-menu
    1.73 +  ([] (activate-menu (walk-to-door)))
    1.74 +  ([script]
    1.75 +     (->> script
    1.76 +          (advance [:b] [:a :b :start]))))
    1.77  
    1.78 -(defn-memo save-game []
    1.79 -  (->> (activate-menu)
    1.80 -       (advance [] [:d])
    1.81 -       (play-moves [[] [] [] [:d] [] [] [] [:d] [] [] [:a]])
    1.82 -       scroll-text))
    1.83 +(defn-memo save-game
    1.84 +  ([] (save-game (activate-menu)))
    1.85 +  ([script]
    1.86 +     (->> script
    1.87 +          (advance [] [:d])
    1.88 +          (play-moves [[] [] [] [:d] [] [] [] [:d] [] [] [:a]])
    1.89 +          scroll-text)))
    1.90  
    1.91 -(defn-memo corrupt-save []
    1.92 -  (->> (save-game)
    1.93 -       (play-moves
    1.94 -        ;; this section is copied from speedrun-2942
    1.95 -        ;; and corrupts the save so that the end-of-list marker
    1.96 -        ;; for the pokemon roster is destroyed, but the save is still
    1.97 -        ;; playable.
    1.98 -         [[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
    1.99 -         [] [] [] [] [] [] [] [] [] [] [:select] [:restart]])))
   1.100 +(defn-memo corrupt-save
   1.101 +  ([] (corrupt-save (save-game)))
   1.102 +  ([script]
   1.103 +     (->>
   1.104 +      script
   1.105 +      (play-moves
   1.106 +       ;; this section is copied from speedrun-2942 and corrupts
   1.107 +       ;; the save so that the end-of-list marker for the pokemon
   1.108 +       ;; roster is destroyed, but the save is still playable.
   1.109 +       [[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.110 +        [] [] [] [] [] [] [] [] [] [] [] [:select] [:restart]]))))
   1.111  
   1.112 -(defn-memo skip-title-again []
   1.113 -  (->> (corrupt-save)
   1.114 -       (play-moves
   1.115 -        (first (title)))))
   1.116 +(defn-memo start-game
   1.117 +  ([] (start-game (corrupt-save)))
   1.118 +  ([script]
   1.119 +     (->> script
   1.120 +          (title)
   1.121 +          (advance [] [:start])
   1.122 +          (advance [] [:a])
   1.123 +          (advance [:a] [:a :start]))))
   1.124  
   1.125 -(defn-memo start-game []
   1.126 -  (->> (skip-title-again)
   1.127 -       (advance [] [:start])
   1.128 -       (advance [] [:a])
   1.129 -       (advance [:a] [:a :start])))
   1.130 -
   1.131 -(defn-memo destroy-item-end-of-list-marker []
   1.132 -  (->> (start-game)
   1.133 -       (play-moves
   1.134 -        [
   1.135 -         [:start] [] [] [] [] [] [] [] [] [] [] []
   1.136 -        [] [] [] [] [] [] [] [] [] [] [] [:a] [] [] [] [] [] [] [] []
   1.137 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:d]
   1.138 -        [] [] [] [:a] [] [] [:d] [] [] [:a] [] [] [] [] [] [] [] [] []
   1.139 -        [] [] [] [] [:d] [] [] [] [] [:d] [] [] [] [] [:d] [] [] [] []
   1.140 -        [:d] [] [] [] [] [:d] [] [] [] [] [:d] [] [] [] [] [:d] [] []
   1.141 -        [] [] [:d] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] [] []
   1.142 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.143 -        [] [] [] [] [] [] [] [] [] [] [] [:d] [] [] [] [:a] [] [] [:d]
   1.144 -        [] [] [:a] [] [] [] [] [] [] [] [] [] [] [] [] [] [:u] [] []
   1.145 -        [] [] [:u] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] [] []
   1.146 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.147 -        [] [] [] [] [] [] [] [] [] [] []
   1.148 -
   1.149 -        ;; [:b] [] [] [] [] [] [] [] []
   1.150 -        ;; [] [] [] [] [] [] [] [] [] [] [] [] [] [] [][][][][] [] []
   1.151 -        ;; [] [] [] [] [] [] [] [] [] [] [] [] [] [:d] [] [] [:a] [] []
   1.152 -        ;; [] [] [] [] [] [] [] [] [] [] [] [] [] [:d] [] [] [] [:d] []
   1.153 -        ])))
   1.154 -        
   1.155 -
   1.156 +(defn-memo destroy-item-end-of-list-marker
   1.157 +  ([] (destroy-item-end-of-list-marker (start-game)))
   1.158 +  ([script]
   1.159 +     (->>
   1.160 +      script
   1.161 +      (play-moves
   1.162 +       [[:start] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.163 +        [] [] [] [] [] [] [] [] [:a] [] [] [] [] [] [] [] []
   1.164 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.165 +        [] [] [:d] [] [] [] [:a] [] [] [:d] [] [] [:a] [] []
   1.166 +        [] [] [] [] [] [] [] [] [] [] [] [:d] [] [] [] []
   1.167 +        [:d] [] [] [] [] [:d] [] [] [] [] [:d] [] [] [] []
   1.168 +        [:d] [] [] [] [] [:d] [] [] [] [] [:d] [] [] [] []
   1.169 +        [:d] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] []
   1.170 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.171 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:d]
   1.172 +        [] [] [] [:a] [] [] [:d] [] [] [:a] [] [] [] [] []
   1.173 +        [] [] [] [] [] [] [] [] [:u] [] [] [] [] [:u] [] []
   1.174 +        [] [:a] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.175 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.176 +        [] [] [] [] [] [] [] [] [] [] [] []]))))
   1.177  
   1.178  (defn warp-to-elite-four
   1.179 -  "This is copied from speedrun-2942 to ensure that everything is good
   1.180 -   up to this point."
   1.181 +  "This is copied from speedrun-2942 to ensure that
   1.182 +   everything is good up to this point."
   1.183    []
   1.184    (->> (corrupt-save)
   1.185         (play-moves
   1.186 -        [ [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.187 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.188 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.189 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.190 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.191 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.192 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.193 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.194 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.195 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.196 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.197 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.198 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.199 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.200 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.201 -        [] [] [] [] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] [] []
   1.202 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.203 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.204 -        [] [] [] [] [] [] [:start] [] [] [] [] [] [] [] [] [] [] [] []
   1.205 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.206 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.207 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.208 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.209 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.210 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.211 -        [] [] [] [] [] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] []
   1.212 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.213 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.214 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.215 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.216 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.217 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.218 -        [] [] [] [] [] [] [] [] [] [:start] [] [] [] [] [] [] [] [] []
   1.219 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.220 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:a]
   1.221 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.222 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.223 -        [] [] [] [] [] [] [] [:start] [] [] [] [] [] [] [] [] [] [] []
   1.224 -        [] [] [] [] [] [] [] [] [] [] [] [:a] [] [] [] [] [] [] [] []
   1.225 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:d]
   1.226 -        [] [] [] [:a] [] [] [:d] [] [] [:a] [] [] [] [] [] [] [] [] []
   1.227 -        [] [] [] [] [:d] [] [] [] [] [:d] [] [] [] [] [:d] [] [] [] []
   1.228 -        [:d] [] [] [] [] [:d] [] [] [] [] [:d] [] [] [] [] [:d] [] []
   1.229 -        [] [] [:d] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] [] []
   1.230 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.231 -        [] [] [] [] [] [] [] [] [] [] [] [:d] [] [] [] [:a] [] [] [:d]
   1.232 -        [] [] [:a] [] [] [] [] [] [] [] [] [] [] [] [] [] [:u] [] []
   1.233 -        [] [] [:u] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] [] []
   1.234 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.235 -        [] [] [] [] [] [] [] [] [] [] [] [:b] [] [] [] [] [] [] [] []
   1.236 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.237 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [:d] [] [] [:a] [] []
   1.238 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [:d] [] [] [] [:d] []
   1.239 -        [] [] [:d] [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] []
   1.240 -        [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d]
   1.241 -        [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] [] [] [] []
   1.242 -        [] [:d] [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] [] []
   1.243 -        [] [] [] [:d] [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d] []
   1.244 -        [] [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] [] [] [] [] []
   1.245 -        [:d] [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] [] [] []
   1.246 -        [] [] [:d] [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] []
   1.247 -        [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d]
   1.248 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [:b] [] [] [] [] [] []
   1.249 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:select] [] []
   1.250 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.251 -        [] [] [] [] [] [] [] [] [] [] [:b] [] [] [] [] [] [] [] [] []
   1.252 -        [] [] [] [] [] [] [] [] [] [] [] [] [:d] [] [] [] [] [] [] []
   1.253 -        [] [:b] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.254 -        [] [] [] [:select] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.255 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.256 -        [:b] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:d] [] []
   1.257 -        [] [] [] [] [] [] [] [] [] [:b] [] [] [] [] [] [] [] [] [] []
   1.258 -        [] [] [] [] [] [:d] [] [] [] [] [:b] [] [] [] [] [] [] [] []
   1.259 -        [] [] [] [] [] [] [] [] [:select] [] [] [] [] [] [] [] [] []
   1.260 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:b] [] [] [] []
   1.261 -        [] [] [] [] [] [] [] [] [] [] [] [] [:d] [] [] [] [] [] [] []
   1.262 -        [:d] [] [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] [] []
   1.263 -        [] [] [] [:d] [] [] [] [] [] [] [] [] [] [] [] [:select] [] []
   1.264 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.265 -        [] [] [] [] [] [] [] [] [] [:a] [] [] [:d] [] [] [:a] [:u] []
   1.266 -        [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u]
   1.267 -        [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] []
   1.268 -        [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u]
   1.269 -        [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] []
   1.270 -        [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u]
   1.271 -        [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] []
   1.272 -        [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u]
   1.273 -        [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] []
   1.274 -        [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [:a] [] [] [] []
   1.275 -        [] [:a] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.276 -        [] [] [] [] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] [] []
   1.277 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:b] [] [] [] [] []
   1.278 -        [] [] [] [:b] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d]
   1.279 -        [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d]
   1.280 -        [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d]
   1.281 -        [:d] [:d] [:d] [:d] [:d] [:d] [:d] [] [] [] [] [] [] [] [] []
   1.282 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.283 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.284 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.285 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.286 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.287 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.288 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.289 -        [:a] [] [] [] [] [] [] [] [] [] [] [] [] [:a] [] [] [] [] []
   1.290 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.291 -        [:a] [] [] [] [] [] [] [] [] [] [] [] [] [:a] [] [] [] [] []
   1.292 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.293 -        [:a] [] [] [] [] [] [] [] [] [] [] [] [] [:a] [] [] [] [] []
   1.294 -        [] [] [] [] [] [] [] [] [] [] [] [:a] [] [] [] [] [] [] [] []
   1.295 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:a] []
   1.296 -        [] [] [] [] [] [] [] [] [] [] [] [:a] [] [] [] [] [] [] [] []
   1.297 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:a] []
   1.298 -        [] [] [] [] [] [] [] [] [] [] [] [:a] [] [] [] [] [] [] [] []
   1.299 -        [] [] [] [] [] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] []
   1.300 -        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:a] [] [] [] []
   1.301 -        [] [] [] [] [] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] []
   1.302 -        [] [] [] [:b]])))
   1.303 -
   1.304 -        
   1.305 -       
   1.306 -
   1.307 -
   1.308 +        [ [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.309 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.310 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.311 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.312 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.313 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.314 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.315 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.316 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.317 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.318 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.319 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.320 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.321 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.322 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.323 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.324 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.325 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.326 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:a] []
   1.327 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.328 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.329 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.330 +        [] [] [] [] [] [] [] [] [:start] [] [] [] [] [] []
   1.331 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.332 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.333 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.334 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.335 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.336 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.337 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.338 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.339 +        [] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] [] []
   1.340 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.341 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.342 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.343 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.344 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.345 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.346 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.347 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.348 +        [:start] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.349 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.350 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.351 +        [] [:a] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.352 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.353 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.354 +        [:start] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.355 +        [] [] [] [] [] [] [] [] [:a] [] [] [] [] [] [] [] []
   1.356 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.357 +        [] [] [:d] [] [] [] [:a] [] [] [:d] [] [] [:a] [] []
   1.358 +        [] [] [] [] [] [] [] [] [] [] [] [:d] [] [] [] []
   1.359 +        [:d] [] [] [] [] [:d] [] [] [] [] [:d] [] [] [] []
   1.360 +        [:d] [] [] [] [] [:d] [] [] [] [] [:d] [] [] [] []
   1.361 +        [:d] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] []
   1.362 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.363 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:d]
   1.364 +        [] [] [] [:a] [] [] [:d] [] [] [:a] [] [] [] [] []
   1.365 +        [] [] [] [] [] [] [] [] [:u] [] [] [] [] [:u] [] []
   1.366 +        [] [:a] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.367 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.368 +        [] [] [] [] [] [] [] [] [] [] [] [] [:b] [] [] [] []
   1.369 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.370 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.371 +        [] [] [] [] [:d] [] [] [:a] [] [] [] [] [] [] [] []
   1.372 +        [] [] [] [] [] [] [] [:d] [] [] [] [:d] [] [] []
   1.373 +        [:d] [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d]
   1.374 +        [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] []
   1.375 +        [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] [] [] []
   1.376 +        [] [] [:d] [] [] [] [] [] [] [:d] [] [] [] [] [] []
   1.377 +        [:d] [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d]
   1.378 +        [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] []
   1.379 +        [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] [] [] []
   1.380 +        [] [] [:d] [] [] [] [] [] [] [:d] [] [] [] [] [] []
   1.381 +        [:d] [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d]
   1.382 +        [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] []
   1.383 +        [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] [] [] []
   1.384 +        [] [] [] [] [] [] [] [] [] [:b] [] [] [] [] [] [] []
   1.385 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:select]
   1.386 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.387 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:b]
   1.388 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.389 +        [] [] [] [] [:d] [] [] [] [] [] [] [] [] [:b] [] []
   1.390 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.391 +        [] [] [:select] [] [] [] [] [] [] [] [] [] [] [] []
   1.392 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.393 +        [] [] [] [] [] [:b] [] [] [] [] [] [] [] [] [] [] []
   1.394 +        [] [] [] [] [:d] [] [] [] [] [] [] [] [] [] [] []
   1.395 +        [:b] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.396 +        [:d] [] [] [] [] [:b] [] [] [] [] [] [] [] [] [] []
   1.397 +        [] [] [] [] [] [] [:select] [] [] [] [] [] [] [] []
   1.398 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:b]
   1.399 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:d]
   1.400 +        [] [] [] [] [] [] [] [:d] [] [] [] [] [] [] [] [:d]
   1.401 +        [] [] [] [] [] [] [:d] [] [] [] [] [] [] [:d] [] []
   1.402 +        [] [] [] [] [] [] [] [] [] [:select] [] [] [] [] []
   1.403 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.404 +        [] [] [] [] [] [] [] [] [] [] [:a] [] [] [:d] [] []
   1.405 +        [:a] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] []
   1.406 +        [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u]
   1.407 +        [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] []
   1.408 +        [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u]
   1.409 +        [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] []
   1.410 +        [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u]
   1.411 +        [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] []
   1.412 +        [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u]
   1.413 +        [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] []
   1.414 +        [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u] [] [:u]
   1.415 +        [] [:u] [] [:u] [:a] [] [] [] [] [] [:a] [] [] []
   1.416 +        [:a] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.417 +        [] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] [] []
   1.418 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:b] [] []
   1.419 +        [] [] [] [] [] [] [:b] [:d] [:d] [:d] [:d] [:d] [:d]
   1.420 +        [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d]
   1.421 +        [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d]
   1.422 +        [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d] [:d]
   1.423 +        [:d] [:d] [:d] [:d] [] [] [] [] [] [] [] [] [] [] []
   1.424 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.425 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.426 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.427 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.428 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.429 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.430 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.431 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.432 +        [] [] [] [] [] [] [] [] [:a] [] [] [] [] [] [] [] []
   1.433 +        [] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] [] []
   1.434 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:a] [] []
   1.435 +        [] [] [] [] [] [] [] [] [] [] [:a] [] [] [] [] [] []
   1.436 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.437 +        [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] [] []
   1.438 +        [:a] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.439 +        [:a] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.440 +        [] [] [] [] [] [] [] [] [] [] [:a] [] [] [] [] [] []
   1.441 +        [] [] [] [] [] [] [:a] [] [] [] [] [] [] [] [] [] []
   1.442 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [:a]
   1.443 +        [] [] [] [] [] [] [] [] [] [] [] [] [:a] [] [] [] []
   1.444 +        [] [] [] [] [] [] [] [] [] [] [] [] [:a] [] [] [] []
   1.445 +        [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.446 +        [] [] [] [] [] [:a] [] [] [] [] [] [] [] [] [] [] []
   1.447 +        [] [:a] [] [] [] [] [] [] [] [] [] [] [] [] [] []
   1.448 +        [:b]])))