[plt-scheme] Re: The role of macros in solving this little problem

From: Jason Tsia (Wuyou.Xie at gmail.com)
Date: Sat Sep 1 04:05:02 EDT 2007

On Aug 31, 9:52 am, "Grant Rettke" <gret... at acm.org> wrote:
> (resume
>    (work-entry
>        (company "C")
>        (responsibilities
>         (entry "e1")
>         (entry "e2"))))
>
> Is that typical? Is that a typical way to approach this?

I think using macro here is just to create a DSL to describe
"resume" data. Of cause you can also use list or other data structure
to represent such data. In JAVA community some people, like
Martin Fowler, have also discussed about replacing XML configuration
with DSL.



Posted on the users mailing list.