From: jblazi <jblazi@gmx.de>
Subject: Help with macro
Date: Fri, 22 Nov 2002 15:47:58 +0100 [thread overview]
Message-ID: <200211221547.58987.jblazi@gmx.de> (raw)
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
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
next reply other threads:[~2002-11-22 14:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-22 14:47 jblazi [this message]
2002-11-22 15:54 ` Help with macro Joshua Judson Rosen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200211221547.58987.jblazi@gmx.de \
--to=jblazi@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).