|
From: | Tobia Conforto |
Subject: | Re: [Chicken-users] Is there any way programmatically to determine a macro? |
Date: | Tue, 6 Jan 2009 00:24:07 +0100 |
Lam Luu wrote:
Given an S-Expression, (here is an example), is there any way to write a script to determine whether or not that expression is a procedure-call or a macro? If it is a macro call, is there anyway to expand it back to the lowest level of special form possible?
Are you looking for macroexpand? http://chicken.wiki.br/Unit%20eval#macroexpand -Tobia
[Prev in Thread] | Current Thread | [Next in Thread] |