diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-05-06 17:29:51 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-05-06 17:29:51 -0700 |
commit | 1648a04cc0e92c0583c9d283ed6b6108120f820f (patch) | |
tree | 63f6145a8023be046bb30e29599ad80dddabe6f0 /403unicode.mu | |
parent | e9981404da5fcaf24acc6b298f4752a543d8af9f (diff) | |
download | mu-1648a04cc0e92c0583c9d283ed6b6108120f820f.tar.gz |
literal macros
Current plan: - some way to define macros. For now: (def f (litmac litfn () (a b) `(+ ,a , b))) - macroexpand will expand calls by passing them through the cdr (f 3 4) macroexpand: ((litfn () (a b) `(+ ,a ,b)) 3 4) => (+ 3 4) eval: (+ 3 4) => 7
Diffstat (limited to '403unicode.mu')
0 files changed, 0 insertions, 0 deletions