This is the mail archive of the gcc-patches@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


Here's the C side of the Mercury front-end.

For completeness I've also attached the two modules on the Mercury
side (gcc.m and mlds_to_gcc.m) which are specific to the GCC back-end
interface, though if you don't know Mercury, you may find them heavy
going ;-).

There's still a lot of XXX comments in the source code indicating
known problems, features not yet implemented, etc., particularly in
mlds_to_gcc.m, but in the spirit of "release early, release often"
I think it's best that I post this now.

Review comments welcome!

Cheers,
	Fergus.

----------

2001-01-31  Fergus Henderson  <fjh@cs.mu.oz.au>

	Initial version of the Mercury front-end interface.

	* gcc/mercury: New directory.
	  This contains the C side of the Mercury <-> GCC interface.

	* gcc/mercury/Make-lang.in: New.
	* gcc/mercury/config-lang.in: New.
	* gcc/mercury/lang-specs.h: New.
	  Makefile/configure/specs fragments (respectively)
	  that are required by GCC.

	* gcc/mercury/lang-options.h: New.
	  Documents the Mercury-specific gcc options,
	  in particular the `--mmc-flag=' option.

	* gcc/mercury/mercury-gcc.h: New.
	* gcc/mercury/mercury-gcc.c: New.
	  This is the "meat" on the C side of the Mercury <-> GCC interface.
	  These files provide the C code that GCC requires of each
	  language front-end.  They also define some routines for
	  building parts of the GCC `tree' data structure that are
	  used by the Mercury compiler.

	* gcc/mercury/Makefile: New.
	  A Makefile which just runs `make mercury' in the parent directory.
	  Just for convenience.

	* gcc/mercury/README: New.
	* gcc/mercury/ChangeLog: New.
	  Some basic documentation.

	* gcc/mercury/test.m: New.
	  A sample Mercury module, to serve as a simple test case.

	* gcc/mercury/testmercury.c: New.
	  C driver program for the test Mercury module.

-- 
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.

diff.gz

gcc.m.gz

mlds_to_gcc.m.gz


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