~bouncepaw/agidel-stdlib

0f5b6fe8d20acc29facf69a3c423c2d25ac1ea0b — Timur Ismagilov 5 years ago 9c49fbd
Add defmacto to Agidel/C
1 files changed, 2 insertions(+), 0 deletions(-)

M c.scm
M c.scm => c.scm +2 -0
@@ 267,4 267,6 @@
              (-string-join (-map expand-prep-elif (-list 'clause* ...)) "")))))

 (define (prep-error error-msg) (format "#error ~A\n" error-msg))
 (define (defmacro id . replacement)
   (format "#define ~A ~A" id (-string-join (-map -->string replacement))))
 )