[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] auxiliary syntax



On Mon, Jan 7, 2013 at 11:45 AM, John Cowan <cowan@x> wrote:
Alex Shinn scripsit:

> Notably, it's otherwise impossible for library A to use macros from
> unrelated libraries B and C which happen to have chosen the same
> keyword.

I don't actually consider this a bug.  By the same token, it is impossible
for library A to use macros from libraries B and C which happen to have
chosen the same *primary* syntax keyword: if you import "gazinta" from B
with one definition, and "|ga\x7A;inta|" from C with another definition,
you are screwed.

Yes, but you can rename/prefix primary syntax.

Sure, you can also rename auxiliary syntax but then
your entire DSL looks different.  This is an unacceptable
burden.

-- 
Alex

_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports