diff options
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,6 +37,8 @@ const interpret = tree => { return D.bonusAdd(interpret(tree.left), interpret(tree.right)) case 'bonusSubtract': return D.bonusSubtract(interpret(tree.left), interpret(tree.right)) + case 'repeat': + return D.repeat(interpret(tree.left), interpret(tree.right)) } } |