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/HISTORY
ViewVC logotype

Diff of /sml/trunk/HISTORY

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

revision 1342, Mon Aug 11 20:46:00 2003 UTC revision 1494, Thu May 20 03:09:17 2004 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
17    Date: 2004/05/19 22:10:00 CDT
18    Tag: blume-20040519-ml-build
19    Description:
20    
21    Arranged for ml-build to clean up after itself a little bit better.
22    The script generates a temporary SML source file and compiles it using
23    CM, so CM generates metadata (GUID, SKEL, objectfile) for it.  It now
24    gets rid of those at the end, so they don't accumulate under .cm.
25    
26    This required a minor change to install.sh because the name of the
27    metadata directory (default: .cm) is actually configurable at
28    installation time.
29    
30    ----------------------------------------------------------------------
31    Name: Matthias Blume (blume (at) tti - c (dot) org)
32    Date: 2004/05/18 15:50:00 CDT
33    Tag: blume-20040518-mkreader
34    Description:
35    
36    Added Posix.IO.mk{Bin,Text}{Reader,Writer} by lifting their respective
37    implementations from internal modules PosixBinPrimIO and PosixTextPrimIO.
38    
39    ----------------------------------------------------------------------
40    Name: Matthias Blume (blume (at) tti - c (dot) org)
41    Date: 2004/05/11 14:35:00 CDT
42    Tag: blume-20040511-win32sock
43    Description:
44    
45    Added previously missing support for many socket-related functions
46    under win32.  Thanks to David Hansel <hansel@reactive-systems.com>
47    for the voluminous patch!
48    
49    (I have not tested this patch under win32 yet.)
50    
51    Here is David's e-mail:
52    
53    Hi,
54    
55    Attached to this email you find a diff against sml/nj 110.45
56    that will enable socket support under Windows.
57    
58    To apply the patch (using unix or cygwin)
59    1) gunzip runtime.diff.gz
60    2) "cd" into "src/runtime" in the source tree of a fresh
61       110.45 installation.
62    3) patch -p 1 < [your/path/to]runtime.diff
63    
64    The code compiles fine but has NOT yet been extensively tested.
65    I only ran a few tests for basic socket client functionality
66    (which worked fine).  Especially the functions that use ioctl
67    are not tested at all and might not work (see below).
68    
69    I implemented this since we want to move to a newer version of sml/nj
70    but need socket support in order to use it.  This is the first time I
71    even had a look at the sml/nj source,  so please review my changes
72    before making this part of the distribution!  Here are a few issues
73    that I think might be better for someone to solve who is more
74    familiar with the sml/nj source (and socket programming):
75    
76    - getnetbyaddr.c and getnetbyname.c will raise a "not implemented"
77      exception since I could not figure out what the windows equivalent
78      of these functions is
79    
80    - In sockets-osdep.h there are a some #include statements that are
81      only used in a few files that include sockets-osdep.h
82    
83    - In smlnj-sock-lib.c, function init_fn() calls WSAStartup() but
84      does not process its return value since I don't know how to
85      report an error upwards.
86    
87    - It would probably be good to have a call to WSACleanup() when
88      the library is unloaded (if there is such a possibility).
89      Otherwise I think Windows will take care of this automatically
90      when the process finishes.
91    
92    - I used ioctlsocket() as a replacement for ioctl() but I have
93      no idea if that is actually the proper replacement on Windows.
94    
95    - All these issues are marked in the code by "FIXME" comments.
96    
97    We use sml/nj extensively in our products and are quite happy
98    with it.  I hope this contribution will help you.
99    
100    Keep up the good work!
101    
102    David
103    
104    ----------------------------------------------------------------------
105    Name: Matthias Blume (blume (at) tti - c (dot) org)
106    Date: 2004/05/11 14:20:00 CDT
107    Tag: blume-20040511-installml
108    Description:
109    
110    Fixed two bugs in installml script.  (Thanks to Vesa A. Norrman for
111    the patch.)
112    
113    ----------------------------------------------------------------------
114    Name: Matthias Blume (blume (at) tti - c (dot) org)
115    Date: 2004/05/11 14:05:00 CDT
116    Tag: blume-20040511-nlffi-netbsd
117    Description:
118    
119    Added support for nlffi under netbsd.  (Thanks to Vesa A. Norrman for
120    the patch.)
121    
122    ----------------------------------------------------------------------
123    Name: Matthias Blume (blume (at) tti - c (dot) org)
124    Date: 2004/05/11 12:05:00 CDT
125    Tag: blume-20040511-exports
126    Description:
127    
128    As per request by Adam Chlipala <adam@hcoop.net>, extended various
129    export lists in compiler-related .cm-files.
130    
131    ----------------------------------------------------------------------
132    Name: Matthias Blume (blume (at) tti - c (dot) org)
133    Date: 2004/05/11 11:35:00 CDT
134    Tag: blume-20040511-allsource
135    Description:
136    
137    The installer now honors the "src-smlnj" target again, although its meaning
138    has changed from "all sources required for the compiler" to "all sources
139    the installer knows about".  In other words, if you enable "src-smlnj"
140    in the "targets" file, then the installer will pull in sources for
141    everything.  (Notice that this refers to source code only.  Compiled
142    code is still only installed for modules that were requested explicitly
143    or which are required for other modules that were requested explicitly.)
144    
145    ----------------------------------------------------------------------
146    Name: Matthias Blume (blume (at) tti - c (dot) org)
147    Date: 2004/04/23 17:40:00 CDT
148    Tag: blume-20040423-ieee-scan
149    Description:
150    
151    Fixed IEEEReal.scan (and .fromString) so that if there is an overflow
152    in the exponent calculation we get INF or ZERO (depending on the mantissa
153    and the sign of the exponent).
154    
155    ----------------------------------------------------------------------
156    Name: Matthias Blume (blume (at) tti - c (dot) org)
157    Date: 2004/04/23 10:40:00 CDT
158    Tag: blume-20040423-ml-build
159    Description:
160    
161    The ml-build script now terminates with a non-0 status when something
162    goes wrong.
163    
164    ----------------------------------------------------------------------
165    Name: Matthias Blume (blume (at) tti - c (dot) org)
166    Date: 2004/04/22 16:35:00 CDT
167    Tag: blume-20040422-Option
168    Description:
169    
170    Made exception Option to be the same as exception Option.Option
171    (as it should be).
172    
173    ----------------------------------------------------------------------
174    Name: Allen Leung (leunga (at) reservoir (dot) com)
175    Date: 2004/03/19 14:40:00 EST
176    Tag: leunga-20040319-cygwin-nlffi
177    Description:
178    
179    Fixed the runtime so that ml-nlffi-lib runs on the cygwin version
180    of SML/NJ.  The problem is that
181    
182       lib = dlopen(NULL, ...)
183       f   = dlsym(lib, "malloc");
184    
185    does not work on Windows unless we explicitly export symbols
186    such as 'malloc' during linking.  We fixed this by explicitly
187    exporting the required symbols with the magic gcc incantation:
188    
189        -Wl,--export-all cygwin.def
190    
191    where cygwin.def is a file containing all the symbols that
192    we wish to export.
193    
194    I suspect this is a Windows problem and we'll have to
195    do the same (somehow with windows compilers) when
196    we build the native win32 version with the system
197    calls LoadLibrary/GetProcAddress.
198    
199    ----------------------------------------------------------------------
200    Name: Matthias Blume (blume (at) tti - c (dot) org)
201    Date: 2004/03/04 16:35:00 CST
202    Tag: blume-20040304-intinf-fmt
203    Description:
204    
205    Fixed problem with IntInf.fmt (sign would show up on the right instead
206    of on the left for BIN, OCT, and HEX).
207    
208    ----------------------------------------------------------------------
209    Name: Matthias Blume (blume (at) tti - c (dot) org)
210    Date: 2004/03/04 11:25:00 CST
211    Tag: blume-20040304-symlinks
212    Description:
213    
214    Fixed problem with installer script (unix only) where bin/ml-yacc and
215    friends pointed (via symlinks) to absolute locations instead of just
216    .run-sml.  This was reported by Vesa A Norrman.
217    
218    ----------------------------------------------------------------------
219    Name: Matthias Blume (blume (at) tti - c (dot) org)
220    Date: 2004/02/13 14:50:00 CST
221    Tag: Release_110_45
222    Description:
223    
224    New working version (110.45). New bootfiles.
225    
226    ----------------------------------------------------------------------
227    Name: Matthias Blume (blume (at) tti - c (dot) org)
228    Date: 2004/01/26 15:15:15 CST
229    Tag: blume-20040126-toplevel
230    Description:
231    
232    Improved handling of exceptions at the interactive toplevel.
233    
234    ----------------------------------------------------------------------
235    Name: Matthias Blume (blume (at) tti - c (dot) org)
236    Date: 2004/01/26 11:25:00
237    Tag: blume-20040126-app
238    Description:
239    
240    Type of top-level "app" corrected.
241    Added code for setting vp_limitPtrMask to Win32-specific runtime.
242    
243    ----------------------------------------------------------------------
244    Name: Matthias Blume (blume (at) tti - c (dot) org)
245    Date: 2003/11/18 17:10 CST
246    Tag: blume-20031118-basis-fiddle
247    Description:
248    
249    - changed Timer interface to what might become the spec
250    - POSIX_FLAGS -> BIT_FLAGS according to spec
251    - some other minor discrepancies wrt. spec eliminated
252    
253    ----------------------------------------------------------------------
254    Name: Matthias Blume (blume (at) tti - c (dot) org)
255    Date: 2003/11/06 12:00:00 CST
256    Tag: Release_110_44
257    Description:
258    
259    New working version (110.44). New bootfiles.
260    
261    ----------------------------------------------------------------------
262    Name: Matthias Blume (blume (at) tti - c (dot) org)
263    Date: 2003/11/04 11:50:00 CST
264    Tag: blume-20031104-move-libraries
265    Description:
266    
267    Eliminated the "dont_move_libraries" directive in config/targets.
268    (The mechanism was broken and could not be fixed easily.  Moreover,
269    there does not seem to be any reason not to move all libraries into
270    lib during installation.  I originally implemented this directive as a
271    backward-compatibility feature when I first introduced the new CM.
272    Now that things have been stable for a long time and going back to the
273    old CM is not an option, there is no reason to keep it around.)
274    
275    ----------------------------------------------------------------------
276    Name: Matthias Blume (blume (at) tti - c (dot) org)
277    Date: 2003/11/03 16:00:00 CST
278    Tag: blume-20031103-installdir
279    Description:
280    
281    Made installer honor INSTALLDIR variable again.  (Thanks to Chris
282    Richards for pointing out the problem and providing the solution.)
283    
284    ----------------------------------------------------------------------
285    Name: Matthias Blume (blume (at) tti - c (dot) org)
286    Date: 2003/10/01 17:05:00 CDT
287    Tag: blume-20031001-lal-mlrisc
288    Description:
289    
290    MLRISC bug fix from Lal.
291    
292    ----------------------------------------------------------------------
293    Name: Matthias Blume (blume (at) tti - c (dot) org)
294    Date: 2003/09/30 16:10:00 CDT
295    Tag: blume-20030930-primio-bat
296    Description:
297    
298    1. Added openVector, nullRd, and nullWr to PRIM_IO.
299    2. Improved .bat files (for Win32 port) to make things work under Win95.
300       (thanks to Aaron S. Hawley for this one)
301    
302    ----------------------------------------------------------------------
303    Name: Matthias Blume (blume (at) tti - c (dot) org)
304    Date: 2003/09/26 16:05:00 CDT
305    Tag: blume-20030926-wrappriv
306    Description:
307    
308    Added missing wrapper for privilege "primitive" in $smlnj/viscomp/core.cm.
309    
310    ----------------------------------------------------------------------
311    Name: Matthias Blume (blume (at) tti - c (dot) org)
312    Date: 2003/09/26 15:00:00 CDT
313    Tag: blume-20030926-110_43_3
314    Description:
315    
316    - additional cleanup
317    - version number bump, NEW BOOTFILES
318    
319    ----------------------------------------------------------------------
320    Name: Matthias Blume (blume (at) tti - c (dot) org)
321    Date: 2003/09/26 12:00:00 CDT
322    Tag: blume-20030926-ppautoload
323    Description:
324    
325    I modified the read-eval-print loop so that the autoloader gets
326    invoked whenever the prettyprinter tries to look up a symbol that
327    is not currently defined in the toplevel environment but which
328    appears in CM's autoload registry.  As a result, we see far fewer of
329    those ?.Foo.Bar.xxx names in the prettyprinter's output.
330    
331    In addition to this I tried to clean up some pieces of the Basis
332    implementation (e.g., Socket, Word8Array) in order to prevent other
333    instances of these ?.Foo.Bar.xxx names from being printed.
334    
335    The mechanism that picks names for types still needs some work, though.
336    (Right now it seems that if there is a type A.t which is defined to
337    be B.u, but B is unavailable at toplevel, then A.t gets printed as
338    "?.B.u" although the perhaps more sensible solution would be to use
339    "A.t" in this case.  In other words, the prettyprinter should follow
340    a chain of DEFtycs not farther than there are corresponding toplevel
341    names in the current environment.)
342    
343    ----------------------------------------------------------------------
344    Name: Matthias Blume (blume (at) tti - c (dot) org)
345    Date: 2003/09/24 16:31:00 CDT
346    Tag: blume-20030924-installer
347    Description:
348    
349    Another installer tweak:  All the ML code for the installer is now
350    compiled during CMB.make and put into a little library called
351    $smlnj/installer.cm.  The installation then simply invokes
352    
353       sml -m $smlnj/installer.cm
354    
355    and everything happens automagically.
356    
357    Win32:  ML code senses value of environment variable SMLNJ_HOME.
358    Unix:   ML code senses values of environment variables ROOT, CONFIGDIR,
359            and BINDIR.
360    
361    The new scheme guarantees that the ML code responsible for the installation
362    is in sync with the APIs of the main system.  Also, the installer is
363    somewhat faster because the installer script is precompiled.
364    
365    ----------------------------------------------------------------------
366    Name: Matthias Blume (blume (at) tti - c (dot) org)
367    Date: 2003/09/24 15:35:00 CDT
368    Tag: blume-20030924-synsock
369    Description:
370    
371    Added a signature SYNCHRONOUS_SOCKET to basis.cm.  This is like SOCKET
372    but excludes all non-blocking operations.  Defined SOCKET (in Basis)
373    and CML_SOCKET in terms of SYNCHRONOUS_SOCKET.  Removed superfluous
374    implementations of non-blocking operations from CML's Socket
375    structure.
376    
377    ----------------------------------------------------------------------
378    Name: Matthias Blume (blume (at) tti - c (dot) org)
379    Date: 2003/09/24 15:10:05 CDT
380    Tag: blume-20030924-sockets
381    Description:
382    
383    1. Fixed SOCKET API and implementation to match Basis spec.
384       This required changing the internal representation of sockets to one
385       that remembers (for each socket file descriptor) whether it is currently
386       blocking or non-blocking.  This state is maintained lazily (i.e., a system
387       call is made only if the state actually needs to change).
388    
389    2. OS-specific details of sockets were moved into separate files, thus
390       making it possible to unify the bulk of the socket implementations
391       between Unix and Win32.
392    
393    3. CML's socket API changed accordingly.
394       (Note that we need to remove non-blocking functions from this API
395       since they are redundant in the case of CML!)
396    
397    4. CML's socket implementation now makes use of non-blocking functions
398       provided by Basis, thus removing all OS-dependent code from this part
399       of CML.
400    
401    5. Changed Real64.precision from 52 to 53.  Minor cleanup in Real64 code.
402    
403    ----------------------------------------------------------------------
404    Name: Matthias Blume (blume (at) tti - c (dot) org)
405    Date: 2003/09/22 12:10:00 CDT
406    Tag: blume-20030922-110_43_2
407    Description:
408    
409    Made a new interim version and bootfiles for developer's bootstrapping
410    convenience.
411    
412       110.43.2 -- NEW BOOTFILES
413    
414    ----------------------------------------------------------------------
415    Name: Matthias Blume (blume (at) tti - c (dot) org)
416    Date: 2003/09/19 15:55:00 CDT
417    Tag: blume-20030919-cmdir
418    Description:
419    
420    1. new-install.sh -> install.sh
421    2. changed default CM "metadata" directory name to ".cm" (instead of "CM")
422    3. tweaked installer so that another name instead of .cm can be chosen
423       at install time (by setting the CM_DIR_ARC environment variable
424       during installation); once installation is complete, the name is
425       fixed
426    
427    ----------------------------------------------------------------------
428    Name: Matthias Blume (blume (at) tti - c (dot) org)
429    Date: 2003/09/18 16:00:00 CDT
430    Tag: blume-20030918-110_43_1
431    Description:
432    
433    Made a new interim version and bootfiles for developer's bootstrapping
434    convenience.
435    
436       110.43.1 -- NEW BOOTFILES
437    
438    ----------------------------------------------------------------------
439    Name: Matthias Blume (blume (at) tti - c (dot) org)
440    Date: 2003/09/18 15:20:00 CDT
441    Tag: blume-20030918-misc
442    Description:
443    
444    1. Exported fractionsPerSecond etc. from TimeImp (but not from Time as
445       this seems to be controversial at the moment) and used those in
446       Posix.ProcEnv.times.
447    
448    2. Added Time.{from,to}Nanoseconds to Time.
449    
450    3. Improved Real.{from,to}LargeInt by avoiding needless calculations.
451       For example, fromLargeInt never needs to look at more than 3 "big
452       digits" to get its 53 bits of precision.
453    
454    ----------------------------------------------------------------------
455    Name: Matthias Blume (blume (at) tti - c (dot) org)
456    Date: 2003/09/17 16:30:00 CDT
457    Tag: blume-20030917-real32-slices
458    Description:
459    
460    Added an entry to the primitive environment
461    (compiler/Semant/statenv/prim.sml) for int32->real64 conversion and
462    added code to compiler/CodeGen/main/mlriscGen.sml to implement it.
463    
464    Removed some of the "magic" constants in real64.sml and replaced them
465    with code that generates these values from their corresponding
466    integer counterparts.
467    
468    Made all(?) the slice-related changes to the Basis and made everything
469    compile again...
470    
471    ----------------------------------------------------------------------
472    Name: Matthias Blume (blume (at) tti - c (dot) org)
473    Date: 2003/09/15 17:45:00 CDT
474    Tag: blume-20030915-rbase
475    Description:
476    
477    Fixed bug in Real.fromLargeInt.
478    
479    ----------------------------------------------------------------------
480    Name: Matthias Blume (blume (at) tti - c (dot) org)
481    Date: 2003/09/13 18:11:00 CDT
482    Tag: blume-20030913-libinstall
483    Description:
484    
485    Minor bugfix in config/libinstall (set anchor with path to
486    standalone tool after installing it, otherwise libraries that
487    need ml-lex or ml-yacc won't compile the first time the installer
488    runs).
489    
490    ----------------------------------------------------------------------
491    Name: Matthias Blume (blume (at) tti - c (dot) org)
492    Date: 2003/09/12 11:45:00 CDT
493    Tag: blume-20030912-various
494    Description:
495    
496     - fixed bug in Real.toLargeInt
497     - fixed bug in Posix.ProcEnv.times
498     - changed inputLine functions to return an option
499     - minor installer improvements / bugfixes
500     - changed default @SMLalloc parameter for x86/celeron to 64k
501    
502    ----------------------------------------------------------------------
503    Name: Matthias Blume (blume (at) tti - c (dot) org)
504    Date: 2003/09/09 22:00:00 CDT
505    Tag: Release_110_43
506    Description:
507    
508        New working release 110.43.  New bootfiles.
509    
510    ----------------------------------------------------------------------
511    Name: Matthias Blume (blume (at) tti - c (dot) org)
512    Date: 2003/09/09 19:20:00 CDT
513    Tag: blume-20030909-installer
514    Description:
515    
516    Rewrote large parts of config/install.sh in SML (config/libinstall.sml).
517    Modified config/install.bat to take advantage of it.  Also modified
518    config/install.sh (and called it config/new-install.sh) to take advantage
519    of it on Unix systems.  (The SML code is (supposed to be) platform-
520    independent.)
521    
522    The installer can now install everything under Win32
523    as well as under *nix as long as it compiles.
524    
525    Other changes:
526    
527      - made CML compile again under Win32
528      - made eXene compile under Win32 (by providing a fake structure UnixSock
529        and by using OS.Process.getEnv instead of Posix.ProcEnv.getenv)
530      - fixed a bug in nowhere: it assumed that type OS.Process.status is the
531        same as type int;  under Win32 it isn't
532      - fixed some slice-related problems in the win32-specific parts of CML
533      - added a functor argument "sameVol" to os-path-fn.sml in the Basis
534        (under Win32, the volume name is case-insensitive, and the
535        OS.Path code compares volume names for equality)
536    
537    ----------------------------------------------------------------------
538    Name: Matthias Blume (blume (at) tti - c (dot) org)
539    Date: 2003/09/08 11:55:00 CDT
540    Tag: blume-20030908-fullpath
541    Description:
542    
543    Made Win32 version of OS.FileSys.fullPath return current directory
544    when given an empty string.  This is what the spec says, and incidentally,
545    CM depends on it.  (CM otherwise goes into an infinite loop in certain
546    cases when presented with the name of a non-existing .cm file.)
547    
548    ----------------------------------------------------------------------
549    Name: Matthias Blume (blume (at) tti - c (dot) org)
550    Date: 2003/09/04 16:30:00 CDT
551    Tag: blume-20030905-slices-etc
552    Description:
553    
554      1. Changed interface to vectors and arrays in Basis to match
555         (draft) Basis spec.
556      2. Added signatures and implementations of slices according to
557         Basis spec.
558      3. Edited source code throughout the system to make it compile again
559         under 1. and 2.  (In some cases code had to be added to have it
560         match the new signatures.)
561      4. MLRISC should be backward-compatible: the copies of the originals
562         of files that needed to change under 3. were retained, the .cm files
563         check the compiler version number and use old versions when
564         appropriate.
565      5. Changed type of OS.FileSys.readDir and Posix.FileSys.readdir to
566         dirstream -> string option (in accordance with Basis spec).
567      6. When generating code that counts lines, ml-lex used function
568         CharVector.foldli, taking advantage of its old interface.
569         This has been replaced with the corresponding code from
570         CharVectorSlice.  (html-lex must be re-lexed!)
571      7. BitArray in smlnj-lib/Util has been extended/modified to match the
572         new MONO_ARRAY signature.  (Do we need BitArraySlice?)
573      8. Removed temporary additions (fromInternal, toInternal) from the
574         (now obsolete) IntInf in smlnj-lib/Util.
575      9. Cleaned up structure Byte.
576     10. Added localOffset, scan, and fromString to Date (according to spec).
577         Cleaned/corrected implementation of Date.
578         (Still need to check for correctness; implement better canonicalizeDate.)
579     11. Added "scan" to signature IEEE_REAL.
580     12. Some improvements to IntInf [in particular: efficiency-hack for
581         mod and rem when second operand is 2 (for parity checks).]
582     13. Changed representation of type Time.time, using a single IntInf.int
583         value counting microseconds.  This considerably simplified the
584         implementation of structure Time.  We now support negative time
585         values; scan and fromString handle signs.
586     14. Functor PrimIO now takes two additional arguments (VectorSlice and
587         ArraySlice).
588    
589    ----------------------------------------------------------------------
590    Name: Matthias Blume (blume (at) tti - c (dot) org)
591    Date: 2003/08/28 17:00:00 CDT
592    Tag: blume-20030828-intinf
593    Description:
594    
595    This is a major update which comes with a version number bump
596    (110.42.99 -- yes, we are really close to 110.43 :-), NEW BOOTFILES,
597    and an implementation of IntInf in the Basis.
598    
599    There are a fairly large number of related changes and updates throughout
600    the system:
601    
602    Basis:
603            - Implemented IntInf.
604            - Made LargeInt a projection of IntInf (by filtering through INTEGER).
605            - Added some missing Real64 operations, most notably Real.toLargeInt.
606            - Added FixedInt as a synonym for Int32.
607    
608    compiler:
609            * Added support for a built-in intinf type.
610              - literals
611              - pattern matching
612              - conversion shortcuts (Int32.fromLarge o Int.toLarge etc.)
613              - overloading on literals and operations
614    
615            This required adding a primitive type intinf, some additional
616            primops, and implementations for several non-trivial intinf
617            operations in Core.  (The intinf type is completely abstract
618            to the compiler; all operations get delegated back to the Core.)
619    
620            * Intinf equality is handled by polyequal.  However, the compiler
621            does not print its usual warning in this case (since polyequal
622            is the right thing to do there).
623    
624            * Improved the organization of structure InlineT.
625    
626            * A word about conversion primops:
627            If conversions involving intinf do not cancel out during
628            CPS contract, then the compiler must insert calls to Core functions.
629            Since all core access must be resolved already during the FLINT
630            translate phase, it would be too late a the time of CPS contract
631            to add new Core calls.  For this reason, conversion primops
632            for intinf carry two arguments:  1. the numeric argument that
633            they are supposed to convert, and 2. the Core function that
634            can help with this conversion if necessary.  If CPS contract
635            eliminates a primop, then the associated Core function becomes
636            dead and goes away.  Intinf conversion primops that do not get
637            eliminated by CPS contract get rewritten into calls of their
638            core functions by a separate, new phase.
639    
640    interactive system:
641            - Control.Print.intinfDepth controls max length of intinf constants
642            being printed. (Analogous to Control.Print.stringDepth.)
643            - Cleanup in printutil and pputil: got rid of unused stuff and
644            duplicates; replaced some of the code with code that makes better
645            use of library functionality.
646    
647    CM:
648            Bugfix: parse-errors in init group (system/smlnj/init/init.cmi)
649            are no longer silent.
650    
651    CKIT:
652            Fixed mismatched uses of Int32 and LargeInt.  I always decided
653            in favor of LargeInt -- which is now the same as IntInf.
654            CKIT-knowledgable people should check whether this is what's
655            intended and otherwise change things back to using Int32 or
656            FixedInt.
657    
658    Throughout the code:
659            Started using IntInf.int literals and built-in operations
660            (e.g., comparison with 0) where this seems appropriate.
661    
662    
663    ----------------------------------------------------------------------
664    Name: Dave MacQueen (dbm@cs.uchicago.edu)
665    Date: 2003/08/13 11:36:00 CDT
666    Tag: dbm-20030813-mcz-merge1
667    Description:
668    
669    Merging changes from the mcz-branch development branch into trunk.
670    These changes involve replacement of the emulated old prettyprinter
671    interface with direct use of the SML/NJ Lib PP library, and fixing
672    of a couple of bugs (895, 1186) relating to error messages.  A new
673    prettyprinter for ast datatypes (Elaborator/print/ppast.{sig,sml})
674    has been added.
675    
676    ----------------------------------------------------------------------
677    Name: Matthias Blume (blume (at) tti - c (dot) org)
678  Date: 2003/08/11 15:45:00 CDT  Date: 2003/08/11 15:45:00 CDT
679  Tag: blume-20030811-windows  Tag: blume-20030811-windows
680  Description:  Description:
# Line 108  Line 769 
769  use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.  use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.
770    
771  ----------------------------------------------------------------------  ----------------------------------------------------------------------
772  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
773  Date: 2003/05/27 16:55:00 CDT  Date: 2003/05/27 16:55:00 CDT
774  Tag: blume-20030527-polyeq  Tag: blume-20030527-polyeq
775  Description:  Description:
# Line 116  Line 777 
777  Tried to eliminated most cases of polymorphic equality.  Tried to eliminated most cases of polymorphic equality.
778    
779  ----------------------------------------------------------------------  ----------------------------------------------------------------------
780  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
781  Date: 2003/05/21 17:45:00 CDT  Date: 2003/05/21 17:45:00 CDT
782  Tag: blume-20030517-complete  Tag: blume-20030517-complete
783  Description:  Description:
# Line 129  Line 790 
790       without a single non-exhaustive match- or bind warning.       without a single non-exhaustive match- or bind warning.
791    
792  ----------------------------------------------------------------------  ----------------------------------------------------------------------
793  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
794  Date: 2003/05/17 10:20:00 CDT  Date: 2003/05/17 10:20:00 CDT
795  Tag: blume-20030517-absyn  Tag: blume-20030517-absyn
796  Description:  Description:

Legend:
Removed from v.1342  
changed lines
  Added in v.1494

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