13 |
Description: |
Description: |
14 |
|
|
15 |
---------------------------------------------------------------------- |
---------------------------------------------------------------------- |
16 |
Name: Matthias Blume (blume@tti-c.org) |
Name: Matthias Blume (blume (at) tti - c (dot) org) |
17 |
|
Date: 2003/09/18 16:00:00 CDT |
18 |
|
Tag: blume-20030918-110_43_1 |
19 |
|
Description: |
20 |
|
|
21 |
|
Made a new interim version and bootfiles for developer's bootstrapping |
22 |
|
convenience. |
23 |
|
|
24 |
|
110.43.1 -- NEW BOOTFILES |
25 |
|
|
26 |
|
---------------------------------------------------------------------- |
27 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
28 |
|
Date: 2003/09/18 15:20:00 CDT |
29 |
|
Tag: blume-20030918-misc |
30 |
|
Description: |
31 |
|
|
32 |
|
1. Exported fractionsPerSecond etc. from TimeImp (but not from Time as |
33 |
|
this seems to be controversial at the moment) and used those in |
34 |
|
Posix.ProcEnv.times. |
35 |
|
|
36 |
|
2. Added Time.{from,to}Nanoseconds to Time. |
37 |
|
|
38 |
|
3. Improved Real.{from,to}LargeInt by avoiding needless calculations. |
39 |
|
For example, fromLargeInt never needs to look at more than 3 "big |
40 |
|
digits" to get its 53 bits of precision. |
41 |
|
|
42 |
|
---------------------------------------------------------------------- |
43 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
44 |
|
Date: 2003/09/17 16:30:00 CDT |
45 |
|
Tag: blume-20030917-real32-slices |
46 |
|
Description: |
47 |
|
|
48 |
|
Added an entry to the primitive environment |
49 |
|
(compiler/Semant/statenv/prim.sml) for int32->real64 conversion and |
50 |
|
added code to compiler/CodeGen/main/mlriscGen.sml to implement it. |
51 |
|
|
52 |
|
Removed some of the "magic" constants in real64.sml and replaced them |
53 |
|
with code that generates these values from their corresponding |
54 |
|
integer counterparts. |
55 |
|
|
56 |
|
Made all(?) the slice-related changes to the Basis and made everything |
57 |
|
compile again... |
58 |
|
|
59 |
|
---------------------------------------------------------------------- |
60 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
61 |
|
Date: 2003/09/15 17:45:00 CDT |
62 |
|
Tag: blume-20030915-rbase |
63 |
|
Description: |
64 |
|
|
65 |
|
Fixed bug in Real.fromLargeInt. |
66 |
|
|
67 |
|
---------------------------------------------------------------------- |
68 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
69 |
|
Date: 2003/09/13 18:11:00 CDT |
70 |
|
Tag: blume-20030913-libinstall |
71 |
|
Description: |
72 |
|
|
73 |
|
Minor bugfix in config/libinstall (set anchor with path to |
74 |
|
standalone tool after installing it, otherwise libraries that |
75 |
|
need ml-lex or ml-yacc won't compile the first time the installer |
76 |
|
runs). |
77 |
|
|
78 |
|
---------------------------------------------------------------------- |
79 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
80 |
|
Date: 2003/09/12 11:45:00 CDT |
81 |
|
Tag: blume-20030912-various |
82 |
|
Description: |
83 |
|
|
84 |
|
- fixed bug in Real.toLargeInt |
85 |
|
- fixed bug in Posix.ProcEnv.times |
86 |
|
- changed inputLine functions to return an option |
87 |
|
- minor installer improvements / bugfixes |
88 |
|
- changed default @SMLalloc parameter for x86/celeron to 64k |
89 |
|
|
90 |
|
---------------------------------------------------------------------- |
91 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
92 |
|
Date: 2003/09/09 22:00:00 CDT |
93 |
|
Tag: Release_110_43 |
94 |
|
Description: |
95 |
|
|
96 |
|
New working release 110.43. New bootfiles. |
97 |
|
|
98 |
|
---------------------------------------------------------------------- |
99 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
100 |
|
Date: 2003/09/09 19:20:00 CDT |
101 |
|
Tag: blume-20030909-installer |
102 |
|
Description: |
103 |
|
|
104 |
|
Rewrote large parts of config/install.sh in SML (config/libinstall.sml). |
105 |
|
Modified config/install.bat to take advantage of it. Also modified |
106 |
|
config/install.sh (and called it config/new-install.sh) to take advantage |
107 |
|
of it on Unix systems. (The SML code is (supposed to be) platform- |
108 |
|
independent.) |
109 |
|
|
110 |
|
The installer can now install everything under Win32 |
111 |
|
as well as under *nix as long as it compiles. |
112 |
|
|
113 |
|
Other changes: |
114 |
|
|
115 |
|
- made CML compile again under Win32 |
116 |
|
- made eXene compile under Win32 (by providing a fake structure UnixSock |
117 |
|
and by using OS.Process.getEnv instead of Posix.ProcEnv.getenv) |
118 |
|
- fixed a bug in nowhere: it assumed that type OS.Process.status is the |
119 |
|
same as type int; under Win32 it isn't |
120 |
|
- fixed some slice-related problems in the win32-specific parts of CML |
121 |
|
- added a functor argument "sameVol" to os-path-fn.sml in the Basis |
122 |
|
(under Win32, the volume name is case-insensitive, and the |
123 |
|
OS.Path code compares volume names for equality) |
124 |
|
|
125 |
|
---------------------------------------------------------------------- |
126 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
127 |
|
Date: 2003/09/08 11:55:00 CDT |
128 |
|
Tag: blume-20030908-fullpath |
129 |
|
Description: |
130 |
|
|
131 |
|
Made Win32 version of OS.FileSys.fullPath return current directory |
132 |
|
when given an empty string. This is what the spec says, and incidentally, |
133 |
|
CM depends on it. (CM otherwise goes into an infinite loop in certain |
134 |
|
cases when presented with the name of a non-existing .cm file.) |
135 |
|
|
136 |
|
---------------------------------------------------------------------- |
137 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
138 |
|
Date: 2003/09/04 16:30:00 CDT |
139 |
|
Tag: blume-20030905-slices-etc |
140 |
|
Description: |
141 |
|
|
142 |
|
1. Changed interface to vectors and arrays in Basis to match |
143 |
|
(draft) Basis spec. |
144 |
|
2. Added signatures and implementations of slices according to |
145 |
|
Basis spec. |
146 |
|
3. Edited source code throughout the system to make it compile again |
147 |
|
under 1. and 2. (In some cases code had to be added to have it |
148 |
|
match the new signatures.) |
149 |
|
4. MLRISC should be backward-compatible: the copies of the originals |
150 |
|
of files that needed to change under 3. were retained, the .cm files |
151 |
|
check the compiler version number and use old versions when |
152 |
|
appropriate. |
153 |
|
5. Changed type of OS.FileSys.readDir and Posix.FileSys.readdir to |
154 |
|
dirstream -> string option (in accordance with Basis spec). |
155 |
|
6. When generating code that counts lines, ml-lex used function |
156 |
|
CharVector.foldli, taking advantage of its old interface. |
157 |
|
This has been replaced with the corresponding code from |
158 |
|
CharVectorSlice. (html-lex must be re-lexed!) |
159 |
|
7. BitArray in smlnj-lib/Util has been extended/modified to match the |
160 |
|
new MONO_ARRAY signature. (Do we need BitArraySlice?) |
161 |
|
8. Removed temporary additions (fromInternal, toInternal) from the |
162 |
|
(now obsolete) IntInf in smlnj-lib/Util. |
163 |
|
9. Cleaned up structure Byte. |
164 |
|
10. Added localOffset, scan, and fromString to Date (according to spec). |
165 |
|
Cleaned/corrected implementation of Date. |
166 |
|
(Still need to check for correctness; implement better canonicalizeDate.) |
167 |
|
11. Added "scan" to signature IEEE_REAL. |
168 |
|
12. Some improvements to IntInf [in particular: efficiency-hack for |
169 |
|
mod and rem when second operand is 2 (for parity checks).] |
170 |
|
13. Changed representation of type Time.time, using a single IntInf.int |
171 |
|
value counting microseconds. This considerably simplified the |
172 |
|
implementation of structure Time. We now support negative time |
173 |
|
values; scan and fromString handle signs. |
174 |
|
14. Functor PrimIO now takes two additional arguments (VectorSlice and |
175 |
|
ArraySlice). |
176 |
|
|
177 |
|
---------------------------------------------------------------------- |
178 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
179 |
|
Date: 2003/08/28 17:00:00 CDT |
180 |
|
Tag: blume-20030828-intinf |
181 |
|
Description: |
182 |
|
|
183 |
|
This is a major update which comes with a version number bump |
184 |
|
(110.42.99 -- yes, we are really close to 110.43 :-), NEW BOOTFILES, |
185 |
|
and an implementation of IntInf in the Basis. |
186 |
|
|
187 |
|
There are a fairly large number of related changes and updates throughout |
188 |
|
the system: |
189 |
|
|
190 |
|
Basis: |
191 |
|
- Implemented IntInf. |
192 |
|
- Made LargeInt a projection of IntInf (by filtering through INTEGER). |
193 |
|
- Added some missing Real64 operations, most notably Real.toLargeInt. |
194 |
|
- Added FixedInt as a synonym for Int32. |
195 |
|
|
196 |
|
compiler: |
197 |
|
* Added support for a built-in intinf type. |
198 |
|
- literals |
199 |
|
- pattern matching |
200 |
|
- conversion shortcuts (Int32.fromLarge o Int.toLarge etc.) |
201 |
|
- overloading on literals and operations |
202 |
|
|
203 |
|
This required adding a primitive type intinf, some additional |
204 |
|
primops, and implementations for several non-trivial intinf |
205 |
|
operations in Core. (The intinf type is completely abstract |
206 |
|
to the compiler; all operations get delegated back to the Core.) |
207 |
|
|
208 |
|
* Intinf equality is handled by polyequal. However, the compiler |
209 |
|
does not print its usual warning in this case (since polyequal |
210 |
|
is the right thing to do there). |
211 |
|
|
212 |
|
* Improved the organization of structure InlineT. |
213 |
|
|
214 |
|
* A word about conversion primops: |
215 |
|
If conversions involving intinf do not cancel out during |
216 |
|
CPS contract, then the compiler must insert calls to Core functions. |
217 |
|
Since all core access must be resolved already during the FLINT |
218 |
|
translate phase, it would be too late a the time of CPS contract |
219 |
|
to add new Core calls. For this reason, conversion primops |
220 |
|
for intinf carry two arguments: 1. the numeric argument that |
221 |
|
they are supposed to convert, and 2. the Core function that |
222 |
|
can help with this conversion if necessary. If CPS contract |
223 |
|
eliminates a primop, then the associated Core function becomes |
224 |
|
dead and goes away. Intinf conversion primops that do not get |
225 |
|
eliminated by CPS contract get rewritten into calls of their |
226 |
|
core functions by a separate, new phase. |
227 |
|
|
228 |
|
interactive system: |
229 |
|
- Control.Print.intinfDepth controls max length of intinf constants |
230 |
|
being printed. (Analogous to Control.Print.stringDepth.) |
231 |
|
- Cleanup in printutil and pputil: got rid of unused stuff and |
232 |
|
duplicates; replaced some of the code with code that makes better |
233 |
|
use of library functionality. |
234 |
|
|
235 |
|
CM: |
236 |
|
Bugfix: parse-errors in init group (system/smlnj/init/init.cmi) |
237 |
|
are no longer silent. |
238 |
|
|
239 |
|
CKIT: |
240 |
|
Fixed mismatched uses of Int32 and LargeInt. I always decided |
241 |
|
in favor of LargeInt -- which is now the same as IntInf. |
242 |
|
CKIT-knowledgable people should check whether this is what's |
243 |
|
intended and otherwise change things back to using Int32 or |
244 |
|
FixedInt. |
245 |
|
|
246 |
|
Throughout the code: |
247 |
|
Started using IntInf.int literals and built-in operations |
248 |
|
(e.g., comparison with 0) where this seems appropriate. |
249 |
|
|
250 |
|
|
251 |
|
---------------------------------------------------------------------- |
252 |
|
Name: Dave MacQueen (dbm@cs.uchicago.edu) |
253 |
|
Date: 2003/08/13 11:36:00 CDT |
254 |
|
Tag: dbm-20030813-mcz-merge1 |
255 |
|
Description: |
256 |
|
|
257 |
|
Merging changes from the mcz-branch development branch into trunk. |
258 |
|
These changes involve replacement of the emulated old prettyprinter |
259 |
|
interface with direct use of the SML/NJ Lib PP library, and fixing |
260 |
|
of a couple of bugs (895, 1186) relating to error messages. A new |
261 |
|
prettyprinter for ast datatypes (Elaborator/print/ppast.{sig,sml}) |
262 |
|
has been added. |
263 |
|
|
264 |
|
---------------------------------------------------------------------- |
265 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
266 |
|
Date: 2003/08/11 15:45:00 CDT |
267 |
|
Tag: blume-20030811-windows |
268 |
|
Description: |
269 |
|
|
270 |
|
Version number bumped to 110.42.9. NEW BOOTFILES!!! |
271 |
|
|
272 |
|
http://smlnj.cs.uchicago.edu/dist/working/110.42.9/ |
273 |
|
|
274 |
|
This patch restores SML/NJ's ability to run under win32. There are a |
275 |
|
number of changes, including fixes for several bugs that had gone |
276 |
|
unnoticed until now: |
277 |
|
|
278 |
|
- uname "CYGWIN_NT*" is recognized as win32 (This is relevant only when |
279 |
|
trying to run the win32 version from within cygwin.) |
280 |
|
|
281 |
|
- There are a number of simple .bat scripts that substitute for their |
282 |
|
corresponding Unix shell-scripts. (See below.) |
283 |
|
|
284 |
|
- The internals of ml-build have been modified slightly. The main |
285 |
|
difference is that instead of calling ".link-sml" (or link-sml.bat) |
286 |
|
using OS.Process.system, the ML process delegates this task back |
287 |
|
to the script. Otherwise problems arise in mixed environments such |
288 |
|
as Cygwin where scripts look and work like Unix scripts, but |
289 |
|
where OS.Process.system cannot run them. |
290 |
|
|
291 |
|
- In CM, the srcpath pickler used native pathname syntax -- which |
292 |
|
is incorrect in the case of cross-compilation. The new pickle format |
293 |
|
is independent of platform-specific naming conventions. |
294 |
|
|
295 |
|
- Path configuration files (such as lib/pathconfig) can now choose |
296 |
|
between native and standard syntax. Placing a line of the form |
297 |
|
|
298 |
|
standard! |
299 |
|
|
300 |
|
into the file causes all subsequent paths to be interpreted using |
301 |
|
CM standard pathname syntax (= Unix conventions); a line |
302 |
|
|
303 |
|
native! |
304 |
|
|
305 |
|
switches back to native style. This was needed so that |
306 |
|
path config files can be written portably, see src/system/pathconfig. |
307 |
|
|
308 |
|
- Runtime system: |
309 |
|
|
310 |
|
- win32-filesys.c: get_file_time and set_file_time now |
311 |
|
access modification time, not creation time. |
312 |
|
|
313 |
|
- I/O code made aware of new array representation. |
314 |
|
|
315 |
|
- Bug fixes in X86.prim.masm. |
316 |
|
|
317 |
|
- src/system/makeml made aware of win32. (For use under cygwin |
318 |
|
and other Unix-environments for windows.) |
319 |
|
|
320 |
|
- In Basis, fixed off-by-one error in win32-io.sml (function vecF) |
321 |
|
which caused BinIO.inputAll to fail consistently. |
322 |
|
|
323 |
|
.bat scripts: |
324 |
|
|
325 |
|
Windows .bat scripts assume that SMLNJ_HOME is defined. |
326 |
|
|
327 |
|
- sml.bat, ml-yacc.bat, ml-lex.bat: Driver scripts for standalone |
328 |
|
applications (sml, ml-yacc, ml-lex). |
329 |
|
- ml-build.bat: analogous to ml-build. |
330 |
|
- config\install.bat: Analogous to config/install.sh. This requires |
331 |
|
that SMLNJ_HOME is set and that Microsoft Visual C is ready to use. |
332 |
|
(nmake etc. must be on the path, and vcvars32 must have been run.) |
333 |
|
Moreover, sources for ml-lex and ml-yacc need to exist under src, |
334 |
|
and the bootfile hierarchy must have been unpacked under |
335 |
|
sml.boot.x86-win32. |
336 |
|
The script is very primitive and does a poor job at error checking. |
337 |
|
It only installs the base system, ml-lex, and ml-yacc. No other |
338 |
|
libraries are being installed (i.e., you get only those that |
339 |
|
are part of the compiler.) |
340 |
|
- link-sml.bat: analogous to .link-sml, but not currently used |
341 |
|
|
342 |
|
Unrelated bug fixes: |
343 |
|
|
344 |
|
- ml-nlffigen now exports structures ST_* corresponding to incomplete |
345 |
|
types. |
346 |
|
- Added getDevice to PP/src/pp-debug-fn.sml. (Would not compile |
347 |
|
otherwise.) |
348 |
|
|
349 |
|
---------------------------------------------------------------------- |
350 |
|
Name: Dave MacQueen (macqueen@cs.uchicago.edu) |
351 |
|
Date: 2003/06/17 |
352 |
|
Tag: macqueen-20030617-bug895 |
353 |
|
Description: |
354 |
|
|
355 |
|
Modified compiler/Elaborator/print/pptype.sml to fix bug 895. |
356 |
|
Tag will be used for new development branch (mcz-branch) for |
357 |
|
use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago. |
358 |
|
|
359 |
|
---------------------------------------------------------------------- |
360 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
361 |
|
Date: 2003/05/27 16:55:00 CDT |
362 |
|
Tag: blume-20030527-polyeq |
363 |
|
Description: |
364 |
|
|
365 |
|
Tried to eliminated most cases of polymorphic equality. |
366 |
|
|
367 |
|
---------------------------------------------------------------------- |
368 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
369 |
Date: 2003/05/21 17:45:00 CDT |
Date: 2003/05/21 17:45:00 CDT |
370 |
Tag: blume-20030517-complete |
Tag: blume-20030517-complete |
371 |
Description: |
Description: |
378 |
without a single non-exhaustive match- or bind warning. |
without a single non-exhaustive match- or bind warning. |
379 |
|
|
380 |
---------------------------------------------------------------------- |
---------------------------------------------------------------------- |
381 |
Name: Matthias Blume (blume@tti-c.org) |
Name: Matthias Blume (blume (at) tti - c (dot) org) |
382 |
Date: 2003/05/17 10:20:00 CDT |
Date: 2003/05/17 10:20:00 CDT |
383 |
Tag: blume-20030517-absyn |
Tag: blume-20030517-absyn |
384 |
Description: |
Description: |