[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help with macro
From: |
jblazi |
Subject: |
Help with macro |
Date: |
Fri, 22 Nov 2002 15:47:58 +0100 |
How can I write the following macro in Guile:
(define-syntax defpoint
(syntax-rules
()
( (defpoint p) (display "ERROR"))
( (defpoint p p-tupel) (define p (apply point 'p-tupel)))
( (defpoint p p-tupel pp ...) (begin (defpoint p p-tupel) (defpoint pp
...)))))
Another question: Is there a "scm_c_eval_file"?
TIA,
--
Janos Blazi
- Help with macro,
jblazi <=