Hi all - continuing on the metacircular interpreter topic - I am now moving into creating a macro parser, but quickly realize the disproportionate effort required (compared to the effort so far) to come up with a macro parser for something like syntax-rules. Specifically, it seems that matching for nested ellipses is quite hard to get right, and I have not gotten to the hygiene portion yet, which appears to mean that I need my own syntax objects that have the same symbol but are different (and yet will resolve down lexically for ids that are in the head position).
Are there anyone who can share experiences on how to go about this "easily"? Thanks, yc On Wed, Dec 1, 2010 at 8:13 PM, YC <yinso.c...@gmail.com> wrote: > > > On Wed, Dec 1, 2010 at 7:39 PM, David Van Horn <dvanh...@ccs.neu.edu>wrote: > >> >> You can't substitute in values for variables that are set!; you need to >> use the techniques in the paper Shriram suggested, but the substitution >> model and effects can be made to work. >> >> To get the five minute version of Felleisen & Hieb, see this page: >> >> http://redex.plt-scheme.org/why-redex.html > > > Yes that makes sense. Thanks. > > yc > >
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users