[m-rev.] diff: Java documentation updates

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Feb 20 18:59:32 AEDT 2004


Estimated hours taken: 0.5
Branches: main

NEWS:
	Mention improvements in the Java back-end.

compiler/mlds_to_java.m:
	Update the Java TODO list.

Workspace: /home/jupiter/fjh/ws-jupiter/mercury
Index: NEWS
===================================================================
RCS file: /home/mercury1/repository/mercury/NEWS,v
retrieving revision 1.327
diff -u -d -r1.327 NEWS
--- NEWS	27 Jan 2004 03:26:36 -0000	1.327
+++ NEWS	20 Feb 2004 07:49:02 -0000
@@ -42,6 +42,7 @@
 
 Changes to the compiler back-ends:
 * The .NET CLR back-end now bootstraps.
+* Major improvements to the Java back-end.
 
 Numerous minor improvements to the Mercury standard library.
 
@@ -288,6 +289,12 @@
   standard library.  As well as being able to bootstrap in grade `il',
   we also now pass more than 90% of the applicable tests in the
   Mercury test suite.  See README.DotNet for details.
+
+* Major improvements to the Java back-end.
+
+  The Java back-end is now enabled by default.  We've fixed a lot of
+  bugs, and implemented a lot more of the Mercury standard library.
+  See README.Java for details.
 
 NEWS for Mercury 0.11
 ---------------------
Index: compiler/mlds_to_java.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/mlds_to_java.m,v
retrieving revision 1.52
diff -u -d -r1.52 mlds_to_java.m
--- compiler/mlds_to_java.m	16 Feb 2004 03:52:44 -0000	1.52
+++ compiler/mlds_to_java.m	20 Feb 2004 07:57:08 -0000
@@ -20,24 +20,23 @@
 %	multidet and nondet predicates
 %	test tests/benchmarks/*.m
 %	generate optimized tailcalls
+%	RTTI generation
 %	handle foreign code written in Java
+% 	Support for Java in Mmake and mmc --make (except for nested modules)
 %
 % TODO: 
-% 	Support for Java in Mmake and mmc --make
 % 	Fix problem with type names and constructor names that are the same
 % 		(Java does not allow the name of a nested class to be
 % 		the same as its enclosing class)
+%	Support nested modules
+%		(The problem with current code generation scheme for nested
+%		modules is that Java does not allow the name of a class to
+%		be the same as the name of its enclosing package.)
+% 	Support for Java in Mmake and mmc --make, for Mercury code usin
+%		nested modules.
+%	Generate names of classes etc. correctly (mostly same as IL backend)
 %	General code cleanup
 %	handle static ground terms(?)
-%	RTTI: currently we generate RTTI data which compiles,
-%		but which is not actually usable.  The class
-%		hierarchy of the RTTI classes in java/runtime/*.java
-%		needs quite a bit of work.  It is implemented in a way
-%		that mirrors what we do for C, but in C we rely on being
-%		able to coerce between different types that have the same
-%		initial fields (e.g. FA_TypeInfo_Struct and TypeInfo_Struct),
-%		and that doesn't work in Java.
-%	generate names of classes etc. correctly (mostly same as IL backend)
 %	support foreign_import_module for Java
 %	handle foreign code written in C 
 %

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list