This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Mercury front-end


Hi all,

Happy new millenium.

I've implemented an initial version of a Mercury front-end for GCC.
I haven't tested it much yet, but (apart from bugs that I haven't
discovered yet ;-), it implements all the standard Mercury language
features.

The front-end consists of the existing Mercury compiler, which is over
200,000 lines of Mercury, plus about 4200 new lines of Mercury and
about 2000 lines of C, which hook it up to the GCC back-end
(rather than compiling to C, as the existing Mercury compiler does).

Now I'm wondering what the next step is.
I plan to post the diff to the mercury-developers mailing list sometime
soon, and eventually to include at least the Mercury side of the changes
in the Mercury distribution.  But I'm not quite sure what to do with
the C side of the changes.  Would it be appropriate to include them
in the standard GCC distribution?  Or would you prefer that we just
include them in the Mercury distribution?

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]