Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/NOTES/HISTORY
ViewVC logotype

Diff of /sml/trunk/NOTES/HISTORY

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1076, Tue Feb 19 15:47:18 2002 UTC revision 1078, Tue Feb 19 21:26:48 2002 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2002/02/19 16:20:00 EST
18    Tag: blume-20020219-cmffi
19    Description:
20    
21    A wild mix of changes, some minor, some major:
22    
23    * All C FFI-related libraries are now anchored under $c:
24        $/c.cm      --> $c/c.cm
25        $/c-int.cm  --> $c/internals/c-int.cm
26        $/memory.cm --> $c/memory/memory.cm
27    
28    * "make" tool (in CM) now treats its argument pathname slightly
29      differently:
30        1. If the native expansion is an absolute name, then before invoking
31           the "make" command on it, CM will apply OS.Path.mkRelative
32           (with relativeTo = OS.FileSys.getDir()) to it.
33        2. The argument will be passed through to subsequent phases of CM
34           processing without "going native".  In particular, if the argument
35           was an anchored path, then "make" will not lose track of that anchor.
36    
37    * Compiler backends now "know" their respective C calling conventions
38      instead of having to be told about it by ml-nlffigen.  This relieves
39      ml-nlffigen from one of its burdens.
40    
41    * The X86Backend has been split into X86CCallBackend and X86StdCallBackend.
42    
43    * Export C_DEBUG and C_Debug from $c/c.cm.
44    
45    * C type encoding in ml-nlffi-lib has been improved to model the conceptual
46      subtyping relationship between incomplete pointers and their complete
47      counterparts.  For this, ('t, 'c) ptr has been changed to 'o ptr --
48      with the convention of instantiating 'o with ('t, 'c) obj whenever
49      the pointer target type is complete.  In the incomplete case, 'o
50      will be instantiated with some "'c iobj" -- a type obtained by
51      using one of the functors PointerToIncompleteType or PointerToCompleteType.
52    
53      Operations that work on both incomplete and complete pointer types are
54      typed as taking an 'o ptr while operations that require the target to
55      be known are typed as taking some ('t, 'c) obj ptr.
56    
57      voidptr is now a bit "more concrete", namely "type voidptr = void ptr'"
58      where void is an eqtype without any values.  This makes it possible
59      to work on voidptr values using functions meant to operate on light
60      incomplete pointers.
61    
62    * As a result of the above, signature POINTER_TO_INCOMPLETE_TYPE has
63      been vastly simplified.
64    
65    ----------------------------------------------------------------------
66    Name: Matthias Blume
67  Date: 2002/02/19 10:48:00 EST  Date: 2002/02/19 10:48:00 EST
68  Tag: blume-20020219-pqfix  Tag: blume-20020219-pqfix
69  Description:  Description:

Legend:
Removed from v.1076  
changed lines
  Added in v.1078

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0