Skip to content

Commit

Permalink
Implement s and z
Browse files Browse the repository at this point in the history
  • Loading branch information
palfrey committed Jul 5, 2012
1 parent 88b27e6 commit ed6b65b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/clostridium/core.clj
Expand Up @@ -379,6 +379,14 @@
)
\n (fn [b] (setNewToss b []))
\r reflect
\s (fn [nb]
(let [
{:keys [b item]} (removeFromStack (updatePC nb))
]
(assoc b :grid (setVal (:grid b) (:pc b) (char item)))
)
)
\z (fn [b] b)
\j (fn [nb]
(let [
{:keys [b item]} (removeFromStack nb)
Expand Down

0 comments on commit ed6b65b

Please sign in to comment.