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


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to