[mercury-users] lisp macros
Michael Day
mikeday at bigpond.net.au
Mon Jun 3 14:34:29 AEST 2002
> I think that is the most sensible solution to this problem. For a
> system that supplies only a source-to-binary compiler, it will not be
> possible to compile a file that defines expansion clauses that are
> meant to be run on itself: you would need to have compiled the file
> before you could compile the same file.
Perhaps if you wanted a special purpose macro purely for module foo, you
could declare it in a sub-module foo.bar (in a separate file) included
from the implementation of foo? Then it would not be much of a
restriction.
Michael
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list