[mercury-users] Off-topic: IDE/compiler trade-off

Jonathan Morgan jonmmorgan at gmail.com
Wed Jan 10 07:54:31 AEDT 2007

On 1/10/07, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
> On Wed, 10 Jan 2007, Jonathan Morgan wrote:
> > While sensible (from memory it was a fairly small change to the
> > compiler) it is still different from the general approach, which would
> > have documentation generated by a separate program, often with a
> > separate parser.
> Presumably you actually mean usual rather than general there?  I fail
> to see how one approach is more general than the other.  In our case
> the choice of approach was fairly obvious: in order to embed sufficient
> information in the XML representation to allow for the creation of,
> for example, links between uses of an item and its definition requires
> that things like module and type qualification have been done; in short
> you need to run a large chunk of the frontend of the compiler in order
> to get the information necessary to generate the documentation.

The usual approach: as you say, I can't see that it is more general
(if you have a separate parser it's much more likely to break if the
language changes).

mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au

More information about the users mailing list