diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2014-11-27 05:18:40 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2014-11-27 05:23:22 -0800 |
commit | 6952b8f0693920b7ad27793a75defaca5ef31a9d (patch) | |
tree | 53b41bab071a46adaab05d507fb9329d09a7f2de /factorial.mu | |
parent | a069fd623df37f29cc97cca74b1fe74abfc658de (diff) | |
download | mu-6952b8f0693920b7ad27793a75defaca5ef31a9d.tar.gz |
344 - about to give up on rewrite rules
I wanted to come up with some way to rewrite 'def-clause foo' to 'after foo/more-clauses', something like: rewrite def-clause [ (fn-name string-address) <- arg (label-name string-address) <- strcat (fn-name string-address deref) ("/more-clauses" literal) (body expr) <- arg reply `(after ,label-name ,body) ] But the quasiquote is still a nested expression that doesn't fit our model well. Still an open question how to do template interpolation in mu.
Diffstat (limited to 'factorial.mu')
0 files changed, 0 insertions, 0 deletions