[m-dev.] Why don't variables have a context?
Ralph Becket
rafe at csse.unimelb.edu.au
Mon Oct 30 14:14:31 AEDT 2006
Peter Ross, Monday, 30 October 2006:
> Hi,
>
> I'm working on adding a pass to the compiler which outputs an XML
> representation of a module. The idea is that this XML representation
> can then be transformed by various stylesheets into a good documentation
> format.
>
> One of the key parts of this is having heuristics to associate comments
> to parts of the program. This is fine if we are looking for a comment
> related
> to some functor, however variables have no context associated with them,
> so it is impossible to do this.
>
> Is there a reason why?
It has always struck me as a mistake not to associate contexts with
variable terms.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions: mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the developers
mailing list