Hi all - <br><br>I have a couple of related questions about define-syntax - basically I am wondering how some language facilities such as struct or classes are done as macros: <br><ol><li>how can define-syntax create multiple forms/definitions - I found the entry on
<a href="http://community.schemewiki.org/?scheme-faq-macros">http://community.schemewiki.org/?scheme-faq-macros</a> but unable to extrapolate from there to creating of something similar to a define-struct <br></li><li>how to generate names based on the struct/class name into the definitions - seems like there needs to be ways of inserting results of a function call into define-syntax?
<br></li></ol>I tried to read the source code of class & struct but my head exploded without learning much... would appreciate some pointers/links... ;) <br><br>Thanks,<br>yinso <br><br>-- <br><a href="http://www.yinsochen.com">
http://www.yinsochen.com</a><br>...continuous learning...