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

Jason Tsia Wuyou.Xie at gmail.com
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.




More information about the plt-scheme mailing list