1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
|
2011-09-03 Gabriel Dos Reis <gdr@cse.tamu.edu>
* interp/property.lisp: Remove unused codes.
* interp/g-util.boot (superType): If domain is $ then use current
information.
* interp/daase.lisp: Tidy.
* interp/c-util.boot (extendsCategoryForm): Temporarily disable
uses of information not coming from on-the-fly category compilation.
* interp/br-data.boot (getParentsFor): Change first parameter to a DB.
Adjust callers.
* algebra/Makefile.in: Adjust dependencies.
2011-08-30 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/Makefile.in: Simplify bootstrap rules. Build
initdb.daase before bootstrap.
2011-08-29 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/lisplib.boot (laodIfNecessaryAndExists): Remove as unused.
(loadLibIfnecessary): Fold definition into loadIfNecessary.
(loadDB): New.
(writeAttributes): Likewise.
(finalizeLisplib): Use it.
* interp/daase.lisp (MAKE-DATABASES): Fix SQUEEZE snafu.
* interp/c-util.boot (extendsCategoryForm): Prefer existing
translation of category definition to re-evaluation on the fly.
2011-08-29 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/lisplib.boot (loadLib): Remove deadcode.
(isDomainForm): Tidy.
(isFunctor): Likewise.
(compDefineExports): Remove as no longer used.
* interp/sys-utility.boot (loadExports): Likewise.
* interp/g-util.boot (get0, get1, get2): Tidy.
2011-08-29 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/lisplib.boot (writePrincipals): New.
(finalizeLisplib): Use it.
2011-08-28 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/define.boot (compDefineCategory2): Mark begining and end
of definition processing.
(compDefineFunctor1): Likewise.
* interp/daase.lisp (dbPrincipals): New accessor.
* interp/br-data.boot (getDefaultPackageClients): Fix thinko.
* interp/lisplib.boot (writeAncestors): New.
(finalizeLisplib): Use it
2011-08-27 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/lisplib.boot (writeInstanceCache): Remove.
(finalizeLisplib): Don't call it.
2011-08-27 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/daase.lisp (DATABASE): Add new field BEING-DEFINED.
(dbBeingMacro?): New accessor.
(GETDATABASE): Tidy.
2011-08-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
Remove $lisplibAttributes.
* interp/define.boot (compDefineFunctor1): Tidy.
(compCapsuleInner): Add a DB first parameter. Adjust callers.
* interp/lisplib.boot (NRTgenInitialAttributeAlist): Likewise.
(simplifyAttributeAlist): Likewise.
* interp/nruncomp.boot (changeDirectoryInSlot1): Likewise.
(buildFunctor): Change first parameter to DB. Adjust caller.
2011-08-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/lisplib.boot (autoLoad): Lose first parameter.
Adjust callers.
(unloadOneConstructor): Likewise.
* interp/category.boot (isCategoryForm): Rewrite.
* interp/patches.lisp (mkAutoLoad): Move to lisplib.boot.
2011-08-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (compHasFormat): Take environment
argument. Adjust callers.
* interp/define.boot (NRTmakeCategoryAlist): Likewise.
* interp/functor.boot (ProcessCond): Likewise.
* interp/lisplib.boot (NRTgenFinalAttributeAlist): Likewise.
(predicateBitIndex): Likewise.
(predicateBitRef): Likewise.
(makePredicateBitVector): Likewise.
(transHasCode): Likewise.
2011-08-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/hashcode.boot: Remove.
*interp/interop.boot: Move OpenAxiom relevant code to define.boot
and nrunfast.boot. Remove.
2011-08-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/define.boot ($mutableDomain): Remove. Adjust users.
($mutableDomains): Likewise.
* interp/database.boot (dbMutable?): Remove.
* interp/clam.boot (addToclam): Remove as unused.
* algebra/modmon.spad.pamphlet: Do not make MoMonic mutable.
* algebra/defaults.spad.pamphlet: Do not make RepeatedSquaring and
RepeatedDoubling, FiniteLinearAggregateSort mutable.
2011-08-24 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/daase.lisp (dbArity, dbInstanceCache): New accessors.
* interp/database.boot (loadDBIfnecessary): New.
(dbMutable?): Likewise.
* interp/lisplib.boot (finalizeLisplib): Record mutable property.
2011-08-23 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/Makefile.in: Support construction initial DB profile.
* interp/database.boot (printInitdbInfo): New.
(printAllInitdbInfo): Likewise.
* interp/sys-driver.boot (initializeDatabases): Exit early if
constructing initial DB profile.
(buildInitdbHandler): New. Handle --build-initdb.
* utils/command.cc (driver_table): Add map for --build-initdb.
2011-08-23 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/sys-driver.boot (initializeDatabases): New.
(initializeGlobalState): Use it.
* interp/spad-parser.boot (parseSpadFile): Tidy.
* interp/g-cndata.boot (installConstructor): Exit early it global
table not initialized.
* interp/database.boot (makeInitialDB): New.
(populateDBFromFile): Likewise.
* interp/daase.lisp: Introduce more DB accessors.
* interp/br-util.boot (dbSourceFile): Remove.
* interp/br-con.boot (kdPageInfo): Use
getConstructorSourceFileFromDB instead of dbSourceFile.
(kPage): Likewise.
* algebra/Makefile.in (SPADFILES): Include domain.spad
2011-08-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/sys-driver.boot (initializeGlobalState): Construct
database tables if algebra is not complete yet.
* interp/Makefile.in (${SAVESYS}): Simplify.
* algebra/Makefile.in (strap-stamp): Make the destination directory.
2011-08-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/metalex.lisp (LINE-HANDLER, NEXT-LINE, XCAPE): Remove.
(XTOKENREADER, GET-TOKEN, NEXT-META-LINE): Likewise.
(META_ERROR_HANDLER, META-SYNTAX-ERROR, META-META-ERROR-HANLER):
Likewise.
* interp/debug.lisp: Do not set /XCAPE property.
* interp/bootlex.lisp (INIT-BOOT/SPAD-READER): Do not set
XTOKENRADER, LINE-HANDLER, META_ERROR_HANDLER.
2011-08-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/daase.lisp: Remove NILADIC field from DATABASE structure.
(dbNiladic?): Remove. Adjust users.
(WRITE-INTERP): Don't write NILADIC field.
2011-08-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/define.boot (substNames): Lose second parameter. Adjust
callsers.
(evalAndSub): Likewise.
(augModmapsFromCategory): Likewise.
(genDomainView): Likewise.
(augModemapsFromCategoryRep): Remove as deadcode.
(genDomainOps): Lose first parameter. Adjust callers.
2011-08-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/database.boot (getConstructorModemap): Rename from
getConstructorModemapFromDB. Adjust callers.
2011-08-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/database.boot (niladicConstructor?): Rename from
niladicConstructorFromDB. Use getConstructorFormFromDB.
Adjust callers.
2011-08-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/define.boot ($lisplibAbbreviation): Remove. Adjust users.
($lisplibForm): Likewise.
* interp/c-doc.boot (finalizeDocumentation): Take constructor's
name as parameter. Adjust callers.
* interp/lisplib.boot (compileDocumentation): Likewise.
(WriteKind): New.
(writeConstructorForm): Likewise.
(writeOperations): Likewise.
(WriteConstructorModemap): Likewise.
(finalizeLisplib): Use them.
2011-08-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/lisplib.boot (leaveIfErrors): Take kind as argument.
(writeInfo): New.
(writeSuperDomain): Likewise.
(finalizeLisplib): Use it. Take constructor as argument.
* interp/define.boot ($lisplibSuperDomain): Remove. Adjust users.
($lisplibKind): Remove Adjust users.
(emitSubdomainInfo): Set dbSuperDomain.
(incompleteFunctorBody): Likewise.
* interp/daase.lisp: Add new database accessors.
(GETDATABASE): Fix handling of superDomain property.
* interp/br-util.boot (dbConstructorKind): Remove.
* interp/br-con.boot: Remove deadcode.
(dbShowCons1): Adjust.
* interp/br-saturn.boot (dbShowConsKinds): Likewise.
2011-08-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/sys-globals.boot ($compileExportOnly): Remove.
* interp/sys-driver.boot (initializeGlobalState): Don't set it.
* interp/define.boot (skipCategoryPackage?): Adjust.
(compDefineFunctor): Likewise.
(compDefineFunctor1): Likewise.
(incompleteFunctorBody): New.
(compFunctorBody): Use it.
2011-08-20 Gabriel Dos Reis <gdr@cse.tamu.edu>
* interp/sys-utility.boot (constructorDB): New.
* interp/daase.lisp (dbNiladic?): New. Use it to access niladic
property. of a constructor.
* interp/database.boot: Import daase.
(niladicContructorFromDB): Use it.
* interp/define.boot (compDefineCategory): Don't write
compilerInfo garbage.
(compDefineFunctor1): Likewise.
(compDefineCategory2): Set niladic property.
(compDefineFunctor): Likewise.
* interp/lisplib.boot (loadLib): Do not set niladic property. It
is now a side-effect of loading.
(loadLibNoUpdate): Do not check for version.
(makeConstructorAutoload): Do not set niladic property.
(initializeLisplib): Do not emit code to check version.
(mkCtorDBForm): New.
(writeNiladic?): Likewise.
(finalizeLisplib): Do not set niladic property.
* interp/patches.lisp: Remove deadcode.
* interp/sys-constants.boot (MAJOR-VERSION): Remove.
2011-08-20 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/polycat.spad.pamphlet (UnivariatePolynomialCategory)
[divide]: Tidy.
* algebra/Makefile.in (strap-0/%.$(FASLEXT)): Copy generated Lisp
files if keeping intermediate files.
2011-08-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/category.boot (mkOr): Taken environment as parameter.
Adjust callers.
(mkOr2): Likewise.
(mkAnd): Likewise.
(mkAnd2): Likewise.
(FindFundAncs): Likewise.
(CatEval): Likewise.
(AncestorP): Likewise.
(CondAncestorP): Likewise.
(DescendantP): Likewise.
* interp/compiler.boot (compMapCond): Likewise.
(compMapCond'): Likewise.
* interp/define.boot (formatPred): Likewise.
(formatInfo): Likewise.
(addInfo): Likewise.
(knownPred): Likewise.
* interp/functor.boot (InvestigateConditions): Likewise.
(ICformat): Likewise.
2011-08-18 Alfredo Portes <doyenatccny@gmail.com>
* sman/sman.c: Do not try to start graphic components
if binaries are not present.
* include/cfuns.h: Make writeablep and readablep
arguments const.
* lib/cfuns-c.c: Likewise.
2011-08-18 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/momdemap.boot: Fold content into compiler.boot and
define.boot. Remove.
* Makefile.in: Adjust dependencies.
2011-08-18 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot: Use category accessors.
* interp/category.boot: Likewise.
* interp/modemap.boot: Likewise.
2011-08-18 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot (categoryAssociatedTypes): Rename from
categoryHierarchy. Adjust callers.
(categoryPrincipals): New.
(categoryAncestors): Likewise.
(categoryLocals): Likewise.
(categoryParameters): Likewise.
(extendsCategoryForm): Use them.
* interp/category.boot: Likewise.
* interp/cattable.boot: Likewise.
* interp/define.boot: Likewise.
* interp/functor.boot: Likewise.
* interp/modemap.boot: Likewise.
* interp/nruncomp.boot: Likewise.
* interp/database.boot (getCategoryAttributes): Remove.
(getPrincipalAncestors): Likewise.
(getCategoryParents): Likewise.
* algebra/domain.spad.pamphlet (Category): Adjust.
2011-08-16 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot (categoryPrincipals): New.
(categoryAncestors): Likewise.
* interp/functor.boot (DescendCodeAdd): Tidy.
(DescendCodeVarAdd): Fix thinko. Iterator over $domainShell.
Don't pretend constants have ELT implementations.
* interp/nruncomp.boot (buildFunctor): Tidy.
2011-08-16 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/modemap.boot (addModemap0): Don't special-case
CategoryDefaults.
* interp/define.boot (processFunctor): Fold into caller. Remove.
* interp/clam.boot (recordInstantiation1): Do not special case
CategoryDefaults and RepeatedSquaring.
* interp/functor.boot (DescendCode): Lose last argument, for it is
always $. Adjust body. Adjust caller.
* interp/nruncomp.boot (buildFunctor): $catNames should not be a
fluid variable. Rename to viewNames.
2011-08-15 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/functor.boot (setVector0, setVector12, setVector3,
mkDomainFomer, setVector5, mkVectorWithDeferral): Remove as dead
codes.
2011-08-14 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot (optCollectVector): Generate VM forms.
(optIinc): New. Register as new transformer.
* interp/c-util.boot ($middleEndMacroList): Remove.
(middleEndExpand): Don't check for Lisp-level macros anymore.
2011-08-14 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (compSeq1): Tidy.
(cpmpSeqItem): Likewise.
(replaceExitEtc): Likewise.
(massageLoop): Don't check for TAGGEDexit anymore.
2011-08-14 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/lisp-backend.boot ($freeVarName): New global constant.
(loopVarInit): New.
(expandIN): Use it.
(expandON): Likewise.
(expandSTEP): Likewise.
(massageFreeVarInits): New.
(expandLoop): Use it.
* interp/fnewmeta.lisp (PARSE-QuantifiedVariable): Tidy.
(PARSE-AnyId): Likewise.
(PARSE-Variable): New. Allow scope-of-type specification for
loop variable.
(PARSE-Iterator): Use it.
* interp/compiler.boot (massage_llop): Don't check
$mayHaveFreeIteratorVariables.
(compRepeatOrCollect): Don't bind it.
(classifyIteratorVariable): New.
(complainIfShadowing): Remove as no longer needed.
(compStepIterator): Use it. Tidy.
(compONIterator, compINIterator): New. Split out of compIterator.
(compIterator): Refactor.
* interp/functor.boot (optFunctorBody): Fix thinko.
* interp/g-opt.boot (optCollectVector): A STEP iterator may have a
storage class.
* algebra/clip.spad.pamphlet: Fix loop variable scope.
* algebra/ffpoly.spad.pamphlet: Likewise.
* algebra/fparfrac.spad.pamphlet: Likewise.
* algebra/gdpoly.spad.pamphlet: Likewise.
* algebra/ghensel.spad.pamphlet: Likewise.
* algebra/groebsol.spad.pamphlet: Likewise.
* algebra/intfact.spad.pamphlet: Likewise.
* algebra/matfuns.spad.pamphlet: Likewise.
* algebra/moddfact.spad.pamphlet: Likewise.
* algebra/numtheor.spad.pamphlet: Likewise.
* algebra/permgrps.spad.pamphlet: Likewise.
* algebra/pfbr.spad.pamphlet: Likewise.
* algebra/pgcd.spad.pamphlet: Likewise.
* algebra/pleqn.spad.pamphlet: Likewise.
* algebra/pseudolin.spad.pamphlet: Likewise.
* algebra/radeigen.spad.pamphlet: Likewise.
* algebra/radix.spad.pamphlet: Likewise.
* algebra/regset.spad.pamphlet: Likewise.
* algebra/rep2.spad.pamphlet: Likewise.
* algebra/sgcf.spad.pamphlet: Likewise.
* algebra/smith.spad.pamphlet: Likewise.
* algebra/sregset.spad.pamphlet: Likewise.
* algebra/syssolp.spad.pamphlet: Likewise.
* algebra/zerodim.spad.pamphlet: Likewise.
* algebra/crfp.spad.pamphlet: Remove capsule-level declaration of
local variables.
* algebra/galfact.spad.pamphlet: Likewise.
* algebra/mathml.spad.pamphlet: Likewise.
* algebra/numode.spad.pamphlet: Likewise.
* algebra/tex.spad.pamphlet: Likewise.
* algebra/updecomp.spad.pamphlet: Likewise.
2011-08-13 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (compRepeatOrCollect): Set $loopKind directly.
(complainIfShadowing): Don't complain when collecting.
* algebra/contfrac.spad.pamphlet: Remove capsule-level declaration
of local variables.
* algebra/cycles.spad.pamphlet: Likewise.
* algebra/cyclotom.spad.pamphlet: Likewise.
* algebra/ddfact.spad.pamphlet: Likewise.
* algebra/fortpak.spad.pamphlet: Likewise.
* algebra/lingrob.spad.pamphlet: Likewise.
* algebra/numode.spad.pamphlet: Likewise.
* algebra/numquad.spad.pamphlet: Likewise.
* algebra/out.spad.pamphlet: Likewise.
* algebra/perman.spad.pamphlet: Likewise.
* algebra/view2D.spad.pamphlet: Likewise.
2011-08-13 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/integer.spad.pamphlet (Integer): Remove attribute infinite.
2011-08-13 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot (instantiationArgs): New.
(domainDirectory): Likewise.
(domainLookupFunction): Likewise.
(domainOperatorTable): Likewise.
(domainAttributes): Likewise.
(domainPredicates): Likewise.
(domainData): Likewise.
* interp/buildom.boot: Use new domain accessors.
* interp/functor.boot: Likewise.
* interp/interop.boot: Likewise.
* interp/nruncomp.boot: Likewise.
* interp/nrunfast.boot: Likewise.
2011-08-12 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (shoeCompTran1): Translate extended vector-forms.
* interp/c-util.boot: Use vector instead of LIST2VEC.
* interp/define.boot: Likewise.
* interp/i-coerce.boot: Likewise.
* interp/i-coerfn.boot: Likewise.
* interp/i-funsel.boot: Likewise.
* interp/i-map.boot: Likewise.
* interp/i-special.boot: Likewise.
* interp/interop.boot: Likewise.
* interp/nruncomp.boot: Likewise.
* interp/slam.boot: Likewise.
2011-08-12 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/nrunfast.boot (newLookupInTable): Compare domain and
dollar as objects, not as value.
(newLookupInCategories): Remove deadcode.
(newExpandGoGetTypes): Remove as unused.
2011-08-11 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/define.boot (NRTgetLookupFunction): Handle the case where
the base domain is a parameter.
* interp/g-util.boot (formalVarNumber): New.
* lisp/core.lisp.in (readIntegerIfCan): Likewise.
2011-08-11 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/define.boot (extendsCategoryBasic): Handle attribute
third argument too.
2011-08-10 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/lisp-backend.boot (expandBytevec2str): Use MAP instead of
COERCE. Eliminate second argument.
(expandStr2bytevec): Use MAP instead of COERCE.
* algebra/data.spad.pamphlet (ByteBuffer) [coerce]: Adjust call to
%bytevec2str.
2011-08-10 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/float.spad.pamphlet (Float): Tidy.
* algebra/fortmac.spad.pamphlet (MachineInteger): Likewise.
* algebra/fspace.spad.pamphlet (FunctionSpace): Likewise.
* algebra/integer.spad.pamphlet (Integer): Likewise.
* algebra/mkfunc.spad.pamphlet (InputForm): Likewise.
* algebra/newpoly.spad.pamphlet (RecursivePolynomialCategory):
Likewise.
* input/knot.input.pamphlet: Likewise.
* input/knot2.input.pamphlet: Likewise.
* input/mult3d.input.pamphlet: Likewise.
* input/multKnot.input.pamphlet: Likewise.
* input/r21bugsbig.input.pamphlet: Likewise.
* input/tutchap2.input.pamphlet: Likewise.
2011-08-10 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/Makefile.in (oa_strap_0_sources): Don't include OM.
(axiom_algebra_layer_0): Don't include OM, OMCONN, OMDEV.
(axiom_algebra_layer_4): Don't include OMENC.
(axiom_algebra_layer_14): Don't include OMPKG.
(axiom_algebra_layer_19): Don't include OMERR, OMERRK.
(axiom_algebra_layer_20): Don't include OMEXPR.
* algebra/omcat.spad.pamphlet: Remove.
* algebra/omdev.spad.pamphlet: Remove.
* algebra/omerror.spad.pamphlet: Remove.
* algebra/omserver.spad.pamphlet: Remove.
* algebra/openmath.spad.pamphlet: Remove.
2011-08-09 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/setvart.boot: Remoe OpenMath description.
* interp/setvars.boot (setOutputOpenMath): Remove.
(describeOutputOpenMath): Likewise.
* algebra/Makefile.in (axiom_algebra_layer_14): Don't include OMSERVER.
* algebra/float.spad.pamphlet (Float): Remove OpenMath exports.
* algebra/fraction.spad.pamphlet (Fraction): Likewise.
* algebra/gaussian.spad.pamphlet (Complex): Likewise.
* algebra/integer.spad.pamphlet (Integer): Likewise.
* algebra/list.spad.pamphlet (List): Likewise.
* algebra/sf.spad.pamphlet (DoubleFloat): Likewise.
* algebra/si.spad.pamphlet (SingleInteger): Likewise.
* algebra/string.spad.pamphlet (String): Likewise.
* algebra/symbol.spad.pamphlet (Symbol): Likewise.
2011-08-08 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/define.boot (NRTgetLookupFunction): Take an environment
argument. Adjust caller.
(NRTextendsCategory1): Likewise.
(extendsCategory): Likewise.
(extendsCategoryBasic): Likewise.
(catExtendsCat?): Likewise.
2011-08-08 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot (categoryHierarchy): New.
* interp/category.boot (mkCategory): Use it.
* interp/define.boot (NRTgetLookupFunction): Tidy.
(catExtendsCat?): Lose last argument. Adjust callers.
2011-08-07 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/define.boot (templateVal): Fold into expantTypeArgs. Remove.
2011-08-05 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/define.boot (extendsCategoryBasic0): Fold into
extendsCategoryBasic. Remove.
2011-08-05 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot: Remove unused and antiquated tokens.
* interp/i-output.boot: Escape caret.
2011-08-05 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/boolean.spad.pamphlet (Boolean) [test]: Remove.
2011-08-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (bfFlattenSeq): Rewrite.
(bfMKPROGN): Tidy.
2011-08-03 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (bfSTEP): Synthetize artificial variable for
unnamed loop index.
2011-07-14 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (bfIS1): Tidy test for cons cells.
2011-07-13 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/functor.boot (CategoryPrint): Move from category.boot.
(DomainPrint1): Tidy.
(PacPrint): Likewise.
(DomainPrintSubst): Likewise.
2011-07-13 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot: copyString, copyTree, and copyVector are now
builtin library functions.
* interp/br-util.boot: Use copyVector instead of COPY-SEQ.
* interp/category.boot: Likewise.
* interp/define.boot: Likewise.
* interp/functor.boot: Likewise.
* interp/i-coerfn.boot: Likewise.
* interp/i-syscmd.boot: Likewise.
* interp/newfort.boot: Likewise.
2011-07-13 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/category.boot: Remove dead codes.
* interp/define.boot (hasFullSignature): Tidy.
2011-07-10 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot (categoryExports): New.
* interp/category.boot (mkCategory): Use it.
(DropImplementations): Tidy.
2011-07-07 Gabriel Dos Reis <gdr@cs.tamu.edu>
* gui/debate.cc (start_interpreter): Do not forget core command
line options. Separate them from options to the base Lisp runtime
system.
2011-07-05 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/br-util.boot ($charUnderscore): Move to br-search.boot
where it is used.
* interp/br-search.boot (pmPreparse): Tidy.
(mkGrepPattern1): Likewise.
(genSearch): Don't try to remove default operations; they have
already been left out by grepSplit.
(docSearch): Likewise.
* interp/br-con.boot (dbShowConsDoc1): Don't confusingly enclose a
straightline documentation in a list.
* interp/br-op1.boot (dbShowOpDocumentation): Remove redundant test.
* interp/br-op2.boot (kFormatSlotDomain): Call isConstructorName
only on identifiers.
* interp/br-saturn.boot (displayDomainOp): Tidy.
(bcConform1): Likewise.
2011-07-05 Gabriel Dos Reis <gdr@cs.tamu.edu>
* gui/gui.pro.in [Mac OS X]: Don't build application bundle.
2011-07-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
* graph/view2D/process2d.c: Include "cfuns.h? before other local
headers.
* graph/view2D/control2d.c: Likewise.
* graph/view2D/main2d.c: Likewise.
* graph/view3D/process3d.c: Likewise.
* graph/view3D/main3d.c: Likewise.
* graph/view3D/surface3d.c: Likewise.
2011-07-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/setvars.boot: Remove support for script formula.
* interp/setvart.boot: Likewise.
* interp/diagnostics.boot (sayBrightlyNT1): Move from macros.lisp.
(sayBrightly1): Likewise.
(sayBrightlyNT): Likewise.
(sayBrightly): Likewise.
(sayBrightlyI): Likewise.
(sayMSG): Likewise.
(sayTeX): Likewise.
(sayMSG2File): Likewise.
* interp/i-output.boot (formulaFormat): Remove.
(output): Adjust.
* interp/macros.lisp (sayMSGNT): Remove.
(sayFORTRAN): Likewise.
(sayFORMULA): Likewise.
($formulaOutputstream): Likewise.
* interp/sys-globals.boot ($formulaOutputstream): Remove.
* interp/spad.lisp ($formulaFormat): Remove.
* algebra/exposed.lsp.pamphlet: Do not expose ScriptFormulaFormat
and ScriptFormulaFormat1.
* algebra/exposed.lsp.pamphlet: Remove.
2011-07-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/int-top.boot (SpadInterpretStream): Remove binding of
$erMsgToss, as it is never assigned to.
(phIntReportMsgs): Adjust.
(phReportMsgs): Likewise.
* interp/msg.boot (showMsgPos?): Likewise.
(initImPr): Likewise.
2011-07-03 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/vmlisp.lisp (PRINTEXP): Remove.
* interp/br-data.boot: Use writeString, writeChar, and writeLine.
* interp/c-util.boot: Likewise.
* interp/diagnostics.boot: Likewise.
* interp/fortcall.boot: Likewise.
* interp/i-output.boot: Likewise.
* interp/i-syscmd.boot: Likewise.
* interp/i-util.boot: Likewise.
* interp/lisplib.boot: Likewise.
* interp/msgdb.boot: Likewise.
* interp/newfort.boot: Likewise.
* interp/record.boot: Likewise.
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include
%writeString, %writeNewline, %writeLine.
* interp/lisp-backend.boot: Translate them.
2011-07-03 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot: flushOutput, writeNewline, writeString
are new builtin library functions.
* boot/utility.boot (finishLine): New exported function.
* interp/i-output.boot (formulaFormat): Use it.
(texFormat): Likewise.
(texFormat1): Likewise.
(mathmlFormat): Likewise.
(output): Remove case for TextWriter.
2011-07-02 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/macros.lisp (sayALGEBRA): Remove as duplicate of sayMSG.
* interp/i-output.boot: Replace sayALGBEBRA with sayMSG.
* interp/msg.boot (ncHardError): Remove dead variable ergMsg.
(ncBug): Likewise.
2011-07-01 Gabriel Dos Reis <gdr@cs.tamu.edu>
* gui/conversation.h (OutputTextArea): Now inherit from
QTextEditor, for the nth time.
(OutputTextArea::sizeHint): Declare as override.
* gui/conversation.cc (OutputTextArea::OutputTextArea): Make the
output text editor read only. Disallow vertical scroll bars.
(OutputTextArea::sizeHint): Give a tight estimate.
(OutputTextArea::add_paragraph): Tidy.
(OutputTextArea::add_text): Likewise.
(Exchange::reply_to_query): Toggle the mouse in busy state
after submitting query.
(Conversation::read_reply): Untoggle mouse' busy state if last
output text was read.
2011-06-30 Gabriel Dos Reis <gdr@cs.tamu.edu>
* sman/sman.c (main): Don't start Hyperdoc if no X11 server is running.
2011-06-30 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/modemap.boot: Cleanup inactive codes.
2011-06-27 Gabriel Dos Reis <gdr@cs.tamu.edu>
* utils/Makefile.in (libOpenAxiom_SOURCES): Include filesystem.cc
* include/open-axiom.h (Filesystem): New.
* gui/debate.cc (Debate::Debate): Initialize fs data member.
* gui/debate.h (Debate): Declare it.
2011-06-26 Gabriel Dos Reis <gdr@cs.tamu.edu>
* utils/storage.H (Memory::Arena): Extend.
(Memory::Factory): Add iterators. Make bidirectional.
2011-06-26 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/sf.spad.pamphlet (DoubleFloat) [nan?]: New export.
* algebra/clip.spad.pamphlet (TwoDimensionalPlotClipping): Use it
instead of %fNan?.
* algebra/plot.spad.pamphlet (Plot): Likewise.
2011-06-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
* sman/Makefile.in (oa_OpenAxiom_ldflags): New.
(spadclient_LDADD): Use it.
(sman_LDADD): Likewise.
2011-06-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
* share/algebra/libaxiom.al: Remove.
* algebra/libdb.text: Likewise.
2011-06-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
* sman/sman.c (main): Don't start the graphics and no X11 server
is running.
2011-06-23 Gabriel Dos Reis <gdr@cs.tamu.edu>
* utils/command.cc (build_rts_options) [clozure_runtime]: Request
no read of initialization file instead of quiet mode.
(execute_core): Set arg[0] to the about-to-bed-executed program.
2011-06-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* driver/Makefile.in (open_axiom_LDADD): Use library archives for
linking, to prevent accidental use of dynamic libraries.
2011-06-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/br-con.boot: Remove reference to asharp constructors.
* interp/br-op2.boot: Likewise.
* interp/br-saturn.boot: Likewise.
* interp/br-util.boot: Likewise.
* interp/c-util.boot: Likewise.
* interp/cattable.boot: Likewise.
* interp/database.boot: Likewise.
* interp/lisplib.boot: Likewise.
* interp/nrunfast.boot: Likewise.
2011-06-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
Fix ECL-based build failure.
* interp/sys-driver.boot (loadExposureGroupData): Use
getSystemModulePath to look up system modules.
2011-06-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (shoeEVALANDFILEACTQ): Remove.
(bfMain): Don't use it.
(translateToplevelExpression): Likewise.
* interp/Makefile.in (stamp): $(AUTO) is no more.
(all-interpsys): Likewise.
2011-06-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/spaderror.lisp (trapNumericErrors): Fix typo.
2011-06-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include FUNCALL.
($simpleVMoperators): Include SPADCALL.
2011-06-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/br-search.boot (dbReadLines): Don't include end-of-stream
marker.
2011-06-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot (optCond): Remove unreachable code.
(opt2bit): Tidy.
(opt2bool): Likewise.
* interp/bits.lisp (TRUTH-TO-BIT): Remove.
(BIT-TO-TRUTH): Likewise.
(BVEC-MAKE-FULL): Likewise.
(BVEC-ELT): Likewise.
(BVEC-SETELT): Likewise.
2011-06-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/Makefile.in (OBJS): Remove foam_l.$(FASLEXT), $(ASCOMP).
(ASCOMP, ASAUTO): Remove.
* interp/axext_l.lisp: Remove.
* interp/foam_l.lisp: Likewise.
* interp/ax.boot: Likewise.
* interp/as.boot: Likewise.
* interp/daase.lisp: Adjust.
* interp/i-syscmd.boot: Likewise.
2011-06-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/buildom.boot (MappingCategory): Take argument by value.
2011-06-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot: Remove reference to $SingleFloat.
* interp/foam_l.lisp: Likewise.
* interp/fortcall.boot: Likewise.
* interp/sys-constants.boot: Likewise.
* lisp/core.lisp.in: Likewise.
2011-06-20 Gabriel Dos Reis <gdr@cs.tamu.edu>
* lisp/core.lisp.in (%fNaN?): New.
* interp/spaderror.lisp (trapNumericErrors): Handle
ARITHMETIC-ERROR too.
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include %fNaN?.
* algebra/clip.spad.pamphlet (TwoDimensionalPlotClipping): Use it.
* algebra/plot.spad.pamphlet (Plot): Likewise.
2011-06-20 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/spaderror.lisp ($numericFailure): Remove.
(trapNumericErrors): Define for non-GCL RTS.
Tidy GCL-based definition.
* algebra/draw.spad.pamphlet: trapNumericErrors now returns a
value of type Maybe T.
* algebra/plot.spad.pamphlet: Likewise.
* algebra/plot3d.spad.pamphlet: Likewise.
2011-06-20 Gabriel Dos Reis <gdr@cs.tamu.edu>
* Makefile.am (OA_GRAPHICS_TARGETS): Fix thinko.
2011-06-20 Gabriel Dos Reis <gdr@cs.tamu.edu>
* utils/storage.H (Memory::Storage::acquire): Remove.
(Memory::SinglyLinkedStorage::acquire): Likewise.
(Memory::DoublyLinkedStorage): New.
* utils/storage.cc (acquire_storage_with_header): Rename from
Storage::acquire. Make template.
(OneWayLinkHeader): Rename from SingleLinkHeader.
(TwoWayLinkHeader): New.
2011-06-15 Gabriel Dos Reis <gdr@cs.tamu.edu>
* lib/fnct_key.c (handle_function_key): Explicitly cast the
null pointer sentinel to a pointer type.
2011-06-15 Gabriel Dos Reis <gdr@cs.tamu.edu>
* sman/sman.c: utils.h no longer exists.
2011-06-11 Gabriel Dos Reis <gdr@cs.tamu.edu>
* scripts/document.in: Remove.
2011-06-09 Gabriel Dos Reis <gdr@cs.tamu.edu>
* graph/view3D/header.h (swap): Remove.
2011-06-06 Gabriel Dos Reis <gdr@cs.tamu.edu>
* lisp/core.lisp.in (%escapeSequenceAverseHost?): New.
* interp/msgdb.boot (brightPrint0): Use it.
2011-06-05 Gabriel Dos Reis <gdr@ce.tamu.edu>
* utils/command.cc (default_driver): New.
(preprocess_arguments): Use it. Honor --no-gui on Windows.
(OPENAXIOM_DEFAULT_DRIVER): Remove.
2011-06-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
* driver/main.cc (upgrade_environment): Augment PATH for Windows
DLL search.
2011-06-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
* driver/Makefile.in (open-axiom$(EXEEXT)): Link statically.
* boot/ast.boot: Remove debugging statement.
2011-05-28 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/sys-utility.boot (displayTextFile): New.
* interp/i-syscmd.boot (summary): Use it.
(copyright): Likewise.
* algebra/net.spad.pamphlet: Replace closeFile with closeStream.
* boot/translator.boot: Likewise.
* interp/as.boot: Likewise.
* interp/ax.boot: Likewise.
* interp/br-saturn.boot: Likewise.
* interp/br-search.boot: Likewise.
2011-05-28 Gabriel Dos Reis <gdr@cs.tamu.edu>
* lisp/core.lisp.in (readExpr): New.
* interp/as.boot: Replace READLINE with readLine.
* interp/br-data.boot: Likewise.
* interp/br-saturn.boot: Likewise.
* interp/br-search.boot: Likewise.
* interp/c-doc.boot: Likewise.
* interp/cstream.boot: Likewise.
* interp/g-error.boot: Likewise.
* interp/ht-root.boot: Likewise.
* interp/htcheck.boot: Likewise.
* interp/i-syscmd.boot: Likewise.
* interp/msgdb.boot: Likewise.
* interp/server.boot: Likewise.
* interp/topics.boot: Likewise.
* interp/compat.boot (READLINE): Remove.
* interp/sys-macros.lisp (shoeConsole): Remove.
(shoeInputFile): Likewise.
(shoeread-line): Likewise.
* boot/ast.boot (bfQ): %nothing only needs EQ.
* algebra/files.spad.pamphlet (File) [read!, readIfCan!]: Use
readExpr instead of VMREAD. Avoid PLACEP
(TextFile) [readLine!, readLineIfCan!]: Likewise.
2011-05-28 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/intfile.boot: Remove.
2011-05-28 Gabriel Dos Reis <gdr@cs.tamu.edu>
* lisp/core.lisp.in: Define and export readLine and readbyte.
* interp/sys-utility.boot (readByteFromFile): Remove.
* boot/tokens.boot: Don't rename readLine and readByte.
* boot/includer.boot (shoeReadLine): Remove.
(bRgen1): Adjust. Use resdLine.
* algebra/net.spad.pamphlet (InputBinaryFile): Use readByte from
the runtime system.
2011-05-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (shoeCompTran1): Translate arguments to vector
constructor too.
2011-05-20 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/modemap.boot (augModemapsFromDomain): Don't add modemaps
for element types of Vector or List aggregates.
* algebrar/: Adjust algebras that depended on this behaviour.
2011-05-20 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (compConstructorCategory): Rewrite.
2011-05-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/aggcat.spad.pamphlet (Aggregate) [more?,less?,size?]:
Move to StreamAggregate.
* algebra/array2.spad.pamphlet (TwoDimensionalArrayCategory):
Don't implement them.
* algebra/tree.spad.pamphlet (Tree): Likewise.
2011-05-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/i-analy.boot (bottomUpForm0): Tidy.
* interp/i-eval.boot (evalForm): Likewise.
* interp/buildom.boot (formalRecordField): New.
(eltRecordFun): Use it.
(seteltRecordFun): New.
* interp/g-opt.boot (optSETRECORDELT): Remove.
(optRECORDCOPY): Likewise.
* interp/vmlisp.lisp (MAKE-VEC): Likewise.
2011-05-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/i-eval.boot (evalForm): Adjust.
* interp/buildom.boot (mkRecordFun): New.
(eltRecordFun): Likewise.
(copyRecordFun): Likewise.
(mkRecordFunList): Use them.
* interp/g-opt.boot (optMkRecord): Remove.
(optRECORDELT): Likewise.
* interp/lisp-backend.boot: Translate %vcopy.
2011-05-18 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/buildom.boot (lookupInDomainVector): Establish a new
binding for $lookupDefaults.
2011-05-18 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/buildom.boot (mkEnumerationFunList): Include enum
constants in the operation list.
2011-05-18 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/buildom.boot (Enumeration): Provide implementation of
constants.
2011-05-18 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/translator.boot: Remove bindings of $GenVarCounter.
* boot/parser.boot (bpOutItem): Bind it here.
2011-05-17 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/buildom.boot (EnumerationCategory): Rewrite.
* interp/compiler.boot (compEnumCat): New. Compile
EnumerationCategory forms.
2011-05-16 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (bfAtScope): New.
* boot/parser.boot (bpDo): Accept scoped expressions.
* boot/translator.boot: Cleanup.
2011-05-15 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot: "do" is now a keyword.
* boot/ast.boot (bfDo): New.
* boot/parser.boot (bpDo): New.
(bpReturn): Include do-expressions.
* interp/vmlisp.lisp (do): Remove.
2011-05-15 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (shoeCompTran1): Don't indiscriminately walk CASE
forms. Translate %Namespace forms too.
* boot/parser.boot (bpApplication): Include Namespace too.
2011-05-14 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/parser.boot (bpNamedScope): New.
(bpApplication): Call it.
2011-05-13 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/utility.boot (charPosition): New.
* boot/scanner.boot (shoeAccumulateLines): Use it.
(shoeS): Likewise.
2011-05-12 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/initial-env.lisp (MAKE-HASHTABLE): Remove.
(BEVC-MAKE-FULL): Likewise.
(MAKE-BVEC): Likewise.
* boot/tokens.boot (shoeKeyTableCons): Adjust.
(shoePunCons): Likewise.
(shoeDfu): Likewise.
(shoeXref): Likewise.
2011-05-07 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/table.spad.pamphlet (HashTable): Use tableValue instead
of HGET. Use tableLength instead of HCOUNT.
2011-05-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/initial-env.lisp (shoeOpenOutputFile): Remove. Adjust
callers to use outputTextFile.
2011-05-03 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/initial-env.lisp (shoeOpenInputFile): Remove. Adjust
callers to use inputTextFile with try/finally.
2011-05-02 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (idList?, charList?, stringLits?): New.
(bfMember): Use them for special cases.
* boot/parser.boot (bpDefinition): Stop support MDEF forms.
(bpMdef, bpMDefTail): Remove.
* boot/tokens.boot: "==>" is no longer a token.
2011-05-02 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot (categoryRef, domainRef, canonicalForm)
(instantiatorCtor, instantiatorArgs, categoryExports): New.
2011-05-01 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/parser.boot (bpDefinition): Accept macro definition
starting with the keyword "MACRO".
* boot/translator.boot (exportNames): Export them in all
evaluation contexts.
* interp/c-util.boot: "macro" is now a keyword.
* interp/define.boot: Likewise.
* interp/g-util.boot: Likewise.
* interp/i-syscmd.boot: Likewise.
* interp/postpar.boot: Likewise.
2011-05-01 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/macros.lisp (WI, tryLine, embrace indentNB, tryBreak)
(tryBreakNB, MARKHASH): Remove.
* interp/spad.lisp (NEWNAMTRANS): Likewise.
* interp/sys-macros.lisp: Remove more Lispy junk.
2011-05-01 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/utility.boot (applySubstNQ): New.
* interp/compiler.boot (finishLambdaExpression): Use it.
* interp/i-intern.boot (mkAtreeExpandMacros): Likewise.
* interp/i-map.boot (addMap): Likewise.
* interp/vmlisp.lisp (SUBLISNQ, SUBANQ, SUBB): Remove.
2011-05-01 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/vmlisp.lisp (EQSUBSTLIST): Remove.
* interp/c-util.boot (eqSubstAndCopy, eqSubst): Likewise. Adjust
callers.
2011-04-30 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/buildom.boot: Replace use of EQSUBSTLIST with applySubst.
* interp/c-util.boot: Likewise.
* interp/cattable.boot: Likewise.
* interp/compiler.boot: Likewise.
* interp/define.boot: Likewise.
* interp/format.boot: Likewise.
* interp/functor.boot: Likewise.
* interp/hashcode.boot: Likewise.
* interp/i-output.boot: Likewise.
* interp/i-syscmd.boot: Likewise.
* interp/lisplib.boot: Likewise.
* interp/modemap.boot: Likewise.
* interp/rulesets.boot: Likewise.
* interp/slam.boot: Likewise.
* interp/sys-macros.lisp (APPLYR, TAILFN, TAIL, rplac): Remove as
unused.
2011-04-30 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot: Don't rename append.
* boot/parser.boot (bpTyping): Support universally quantified types.
* boot/ast.boot: Rewrite APPEND as append.
(%Forall): New AST node.
* boot/translator.boot: Translate it.
2011-04-30 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (bfAppend): Write in full.
* interp/ptrees.boot (pfAppend): Likewise.
2011-04-30 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/vmlisp.lisp (NREMOVE): Remove.
(EFFACE): Likewise.
* interp/sys-utility.boot (remove!): New.
2011-04-29 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/vmlisp.lisp (remove): Remove.
(REMOVEQ, NREMOVEQ): Likewise.
* boot/utility.boot (removeSymbol, removeScalar, removeValue)
(remove): New.
* boot/ast.boot (bfMDef): Use applySubst in lieu of SUBLIS.
2011-04-29 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/utility.boot (assocSymbol): New.
(applySubst): Likewise. Export.
* boot/ast.boot: Use it. Remove SUBLIS and SUBLISLIS.
* interp/ax.boot: Likewise.
* interp/br-con.boot: Likewise.
* interp/br-op1.boot: Likewise.
* interp/br-op2.boot: Likewise.
* interp/br-prof.boot: Likewise.
* interp/br-saturn.boot: Likewise.
* interp/buildom.boot: Likewise.
* interp/c-doc.boot: Likewise.
* interp/c-util.boot: Likewise.
* interp/cattable.boot: Likewise.
* interp/compiler.boot: Likewise.
2011-04-29 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/cattable.boot (hasCat): Add type. Accept only
instantiation forms.
(simpHasPred): Adjust call to hasCat.
* interp/i-funsel.boot (hasCaty): Likewise.
2011-04-27 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (bfReduceCollect): Delegate to bfDoCollect if
op is append or append!.
2011-04-27 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (bfCollect): Use bfDoCollect.
(bfListReduce): Remove.
2011-04-27 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (bfMakeCollectInsn): Fix thinko.
2011-04-27 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/br-util.boot (dbInfovec): Move to c-util.boot
2011-04-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/translator.boot (inAllContexts): New.
(translateToplevel): Use it.
* boot/parser.boot (bpImport): Accept namespace import.
2011-04-24 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/initial-env.lisp (MEMQ): Remove.
* boot/ast.boot (shoeATOMs): Don't use it.
(isDynamicVariable): Likewise.
(shoeCompTran1): Likewise.
* boot/translator.boot (defuse1): Likewise.
2011-04-24 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (bfMakeCollectInsn): New.
(bfDoCollect): Tidy.
2011-04-24 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (bfDoCollect): New. Implement one-pass
list comprehension.
(bfListReduce): Use it.
2011-04-23 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (bf0APPEND): Remove.
(bf0COLLECT): Likewise.
(bfCollect): Tidy.
2011-04-23 Gabriel Dos Reis <gdr@cs.tamu.edu>
* lisp/core.lisp.in: Export basic types and compiler data types.
* interp/modemap.boot (knownInfo): Fix latent bug uncovered by
type declarations.
* boot/ast.boot: Remove type definitions.
(bfIN): Handle DOT as loop variable.
(bfON): Likewise. Allow a loop variable to iterator over its own
tails.
* boot/parser.boot (bfTyping): Simplify.
(bpSimpleMapping): Fix thinko.
2011-04-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot: Don't translate setDifference.
* boot/initial-env.lisp (SETDIFFERNECE): Remove.
* boot/translator.boot (evalBootFile): Rename form EVAL-BOOT-FILE.
* boot/utility.boot (setDifference): Define.
* interp/unlisp.lisp (ListMemberQ?): Remove.
(ListRemoveQ): Likewise.
(AlistAssocQ): Likewise.
2011-04-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/utility.boot (copyList): Define.
(append!): Likewise.
* boot/tokens.boot: Do not translate nconc.
2011-04-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot: Don't translate lastNode anymore.
* boot/utility.boot (lastNode): Define.
2011-04-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/utility.boot (objectMember?): Don't rely non tail recursion
removal.
(reverse): Define.
* boot/tokens.boot: Don't rename reverse anymore.
* boot/ast.boot: Generate reverse forms instead of REVERSE.
2011-04-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot: Don't rename nreverse.
* boot/utility.boot (reverse!): Define.
* boot/parser.boot: Use reverse! instead of NREVERSE.
* boot/ast.boot: Generate reverse! forms instead of NREVERSE.
2011-04-20 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/sys-utility.boot (substitute): Define.
(substitute!): Likewise.
* boot/utility.boot: Do not rely on tail recursion removal.
* boot/tokens.boot: Don't translate substitute and substitute!.
* boot/ast.boot (bfLp1): Tidy.
2011-04-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot: charUpcase, charDowncase, stringUpcase,
singDowncase, valueEq? are new builtin functions.
* boot/ast.boot (bfMembr): Tidy.
2011-04-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/newfort.boot: Likewise.
* interp/define.boot (orderBySubsumption): Fix thinko.
* interp/boot-pkg.lisp: Use BOOTTRAN package. Don't import names
individually.
* boot/utility.boot: New.
* boot/translator.boot (exportNames): Fix thinko.
* boot/tokens.boot: Add charEq? and scalarEq? builtiin functions.
* boot/ast.boot (bfMember): Generate call to symbolMember? for
membership tests for symbols.
2011-04-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot (%Module): Now take three arguments.
* boot/parser.boot (bpModuleInterface): Rename from bpExports.
(bpModuleExports): New.
(bpModule): Now allow specification of exported names.
2011-04-17 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot: Translate maxIndex to MAXINDEX.
2011-04-16 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot (shoeIdChar): Accept "!" too.
2011-04-14 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/msgdb.boot: Use stringChar more often.
2011-04-11 Gabriel Dos Reis <gdr@cs.tamu.edu>
* lisp/core.lisp.in: Include SB-SPROF when profiling SBCL-based build.
2011-04-10 Gabriel Dos Reis <gdr@cs.tamu.edu>
* lisp/core.lisp.in (compileLispFile): Tell ECL that the linker is
a C++ compiler.
2011-03-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/op.spad.pamphlet (BasicOperator) [display]: Now return a
Maybe (List O -> O) value.
[input]: Now return a Maybe(List SEX -> SEX).
* algebra/kl.spad.pamphlet (Kernel): Adjust.
* algebra/pattern.spad.pamphlet (Pattern): Likewise.
2011-03-20 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include
%bytevec2str and %str2bytevec opcode.
* interp/lisp-backend.boot: Expand them.
* algebra/data.spad.pamphlet (ByteBuffer): Tidy.
2011-03-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/translator.boot (FC): Remove.
(FBO): Likewise.
(FEV): Likewise.
(shoeGeneralFC): Likewise.
(shoeFindName): Likewise.
(shoeFindName2): Likewise.
(shoeTransform2): Likewise.
* boot/scanner.boot (shoeLineToks): Don't support `)package' line
anymore.
* boot/includer.boot: Remove support for `)package', `)include',
`)includelisp', `)includelines' lines.
(shorPackageStartsAt): Remove.
(shorFindLines): Likewise.
(shoeFileInput): Likewise.
(shoeLispFileInput): Likewise.
(shoeLineFileInput): Likewise.
(shoeFunctionFileInput): Likewise.
(shoePlainLine?): Reflect removal.
(shoeSimpleLine): Likewise.
* boot/tokens.boot (charByName): New builtin library function.
* algebra/sf.spad.pamphlet (RealNumberSystem): Don't re-export
abs. It is already exported by OrderedRing.
2011-03-17 Gabriel Dos Reis <gdr@cs.tamu.edu>
* utils/sexpr.H: Support more specialized s-expressions.
* utils/sexpr.cc: Likewise.
2011-03-17 Gabriel Dos Reis <gdr@cs.tamu.edu>
* utils/storage.H: Rework.
* utils/storage.cc: Likewise.
2011-03-16 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/i-syscmd.boot (compileSpad2Cmd): Remove experimental
support for Spad to Aldor translation.
(convertSpasToAsFile): Remove.
* interp/mark.boot: Remove.
* interp/nspadux.lisp: Likewise.
* interp/pspad1.boot: Likewise.
* interp/pspad2.boot: Likewise.
* interp/wi1.boot: Likewise.
* interp/wi2.boot: Likewise.
* interp/spad.lisp: Don't register removed formatters.
* interp/util.lisp: (TRANSLATE-FUNCTIONS): Remove.
(BUILD-INTERPSYS): Now take only one argument.
* src/share/doc/msgs/s2-us.msgs: Remove diagnostic S2IZ0085.
* interp/Makefile.in: Remove rules for building wi1.boot,
wi2.boot, mark.boot, pspad1.boot pspad2.boot.
2011-03-12 Gabriel Dos Reis <gdr@cs.tamu.edu>
* src/algebra/: Systematically use not zero? when comparing for
equality with 0.
2011-03-12 Gabriel Dos Reis <gdr@cs.tamu.edu>
* src/algebra/: Systematically use not one? when comparing for
equality with 1.
2011-03-12 Gabriel Dos Reis <gdr@cs.tamu.edu>
* src/algebra/: Systematically use negative? when comparing for
equality with 0.
2011-03-12 Gabriel Dos Reis <gdr@cs.tamu.edu>
* src/algebra/: Systematically use negative? when comparing for
greater than 0.
2011-03-12 Gabriel Dos Reis <gdr@cs.tamu.edu>
* src/algebra/: Systematically use negative? when comparing for
less than 0.
2011-03-12 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/si.spad.pamphlet (IntegerNumberSystem) [positive?]:
Remove definition.
(SingleInteger): Simplify implementation of random.
* algebra/sf.spad.pamphlet (DoubleFloat): Likewise.
[positive?]: Define.
* algebra/integer.spad.pamphlet (Integer): Tidy.
2011-03-11 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/catdef.spad.pamphlet (OrderedAbelianGroup): Export
negative?, abs, sign, with default implementations.
(OrderedAbelianMonoid): Export positive?, with default.
(OrderedRing): Don't export them.
2011-03-10 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/catdef.spad.pamphlet (CharacteristicNonZero)
[charthRoot]: Now return Maybe %.
(PolynomialFactorizationExplicit) [charthRoot]: Likewise.
* algebra/ffcat.spad.pamphlet (FiniteAlgebraicExtensionField):
Propagate change.
* algebra/fraction.spad.pamphlet (Fraction) [charthRoot]: Likewise.
* algebra/poly.spad.pamphlet (UnivariatePolynomialSquareFree):
Likewise.
* algebra/polycat.spad.pamphlet (PolynomialCategory): Likewise.
2011-03-10 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot (equalFormTemplate): Tidy comparison of value
argument to constructors.
2011-03-10 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot (mutateArgumentList): New.
(inlineDirectCall): Break out of replaceSimpleFunctions.
(resolveIndirectCall): Break out of foldSpadcall.
(replaceSimpleFunctions): Use them.
(foldSpadcall): Remove.
(usesVariablesLinearly?): Tidy.
(foldExportedFunctionReferences): Don't call foldSpadcall.
2011-03-10 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot (resolveConstantForm): New. Split out of
replaceSimpleFunctions.
(foldSpadcall): Use it too.
2011-03-09 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/catdef.spad.pamphlet (StepThrough) [nextItem]: Now
return Maybe %.
* algebra/ffcat.spad.pamphlet: Propagate change.
* algebra/fmod.spad.pamphlet: Likewise.
* algebra/fraction.spad.pamphlet: Likewise.
* algebra/integer.spad.pamphlet: Likewise.
* algebra/pfbr.spad.pamphlet: Likewise.
* algebra/polycat.spad.pamphlet: Likewise.
* algebra/si.spad.pamphlet: Likewise.
2011-03-09 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/catdef.spad.pamphlet (EuclideanDomain)
[expressIdealMember]: Now returns Maybe List %.
* algebra/Makefile.in: Tidy.
(axiom_algebra_bootstrap_last_layer): Remove.
2011-03-09 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot: %pair, %list, %vector, %bitvector are now
considered side-effect free functions.
* algebra/boolean.spad.pamphlet: Reflect change.
* algebra/Makefile.in (oa_strap_0_sources): Include MAYBE.
2011-03-09 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot (semiSimpleRelativeTo?): Consider conditionals.
2011-03-07 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/catdef.spad.pamphlet (SemiRing): New category.
2011-03-06 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/sys-utility.boot (getSystemModulePath): Use
systemAlgebraDirectory.
* interp/database.boot (pathToDatabase): Use systemDatabaseDirectory.
* algebra/integer.spad.pamphlet (Integer) [latex]: Tidy.
* algebra/string.spad.pamphlet (Character) [latex]: Likewise.
* algebra/Makefile.in: Rework bootstrapping set up.
(COMPILE_LISP): Remove.
(axiom_algebra_layer_strap): Likewise.
(axiom_algebra_layer_strap_objects): Likewise.
(axiom_algebra_bootstrap): Likewise.
(oa_strap_0_fasls): New.
(oa_strap_1_fasls): Likewise.
(oa_strap_2_fasls): Likewise.
(oa_strap_0_sources): Likewise.
(oa_strap_1_sources): Likewise.
(oa_strap_2_sources): Likewise.
* src/algerab/strap: Remove.
2011-03-06 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/si.spad.pamphlet (SingleInteger): Logic is indirectly
included through BooleanLogic.
2011-03-06 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/i-eval.boot (mkEvalable): Simplify.
(mkEvalableMapping): Remove.
(mkEvalableRecord): Likewise.
(mkEvalableUnion): Likewise.
2011-03-06 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include %c2s.
* interp/lisp-backend.boot: Translate it.
* algebra/integer.spad.pamphlet (Integer) [convert]: Tidy.
[latex]: Likewise.
* algebra/string.spad.pamphlet (Character)[latex]: Likewise.
2011-03-05 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/as.boot: Use getConstructorAbbreviationFromDB.
* interp/br-con.boot: Likewise.
* interp/br-data.boot: Likewise.
* interp/br-prof.boot: Likewise.
* interp/br-util.boot: Likewise.
* interp/c-doc.boot: Likewise.
* interp/clammed.boot: Likewise.
* interp/database.boot: Likewise.
* interp/define.boot: Likewise.
* interp/format.boot: Likewise.
* interp/functor.boot: Likewise.
* interp/g-cndata.boot: Likewise.
* interp/i-funsel.boot: Likewise.
* interp/i-output.boot: Likewise.
* interp/lisplib.boot: Likewise.
* interp/pspad1.boot: Likewise.
2011-03-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/nrunopt.boot: Move content to define.boot, interop.boot,
lisplib.boot, nruncomp.boot, showimp.boot. Delete.
2011-03-02 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/nrungo.boot: Move content to buildom.boot, i-map.boot,
i-special.boot, nrunfast.boot. Delete.
2011-03-02 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/i-eval.boot (mkEvalable): Exit early on niladic constructors.
* interp/define.boot (compDefineFunctor1): If bootstrapping, mark
functor as incomplete.
* interp/c-util.boot (lookupDefiningFunction): Don't look into
incomplete domains.
2011-02-28 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/info.boot: Move content to modemap.boot. Delete.
2011-02-28 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/i-code.boot: Move content to i-coerce.boot. Delete.
2011-02-28 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/boolean.spad.pamphlet (PropositionalFormula):
Implement true and false. Fix thinko in notFormula.
2011-02-27 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/i-analy.boot (elaborateTree): New.
* interp/i-special.boot (bottomUpProposition): Likewise.
(upand): Use it to handle propositional formula.
(upor): Likewise.
2011-02-27 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/i-analy.boot (bottomUpWithArgModesets): Split out of
bottomUp.
(bottomUp): Call it.
2011-02-27 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/Makefile.in (OBJS): Remove i-spec1.$(FASLEXT) and
i-spec2.$(FASLEXT). Add i-special.$(FASLEXT).
* interp/i-spec1.boot, interp/i-spec2.boot: Move content to
i-special.boot. Remove.
2011-02-27 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/outform.spad.pamphlet (OutputForm) [infix?]: Rewrite.
2011-02-26 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot (optCond): Recognize conjunction and
disjunction forms.
2011-02-26 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/nruncomp.boot (optDeltaEntry): Don't SPADCALL the
constant producing function.
* interp/c-util.boot (getFunctionReplacement): Use
comptileTimeBindingOf.
(lookupDefiningFunction): Tidy.
* interp/g-opt.boot (compileTimeBindingOf): Move to c-util.boot.
2011-02-26 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot (canInlineVarDefinition): Observe order of
evaluation.
2011-02-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot (optNot): Push %not inside conditionals.
(optCond): Remove ineffectual transformation.
2011-02-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/parse.boot (parseLessEqual): Remove.
2011-02-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/fmod.spad.pamphlet (IntegerMod): Simplify implementation.
2011-02-24 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot: makeSymbol is not a builtin function.
* boot/ast.boot: Use makeSymbol in place of INTERN.
* boot/parser.boot: Likewise.
* boot/scanner.boot: Likewise.
* boot/translator.boot: Likewise.
* interp/alql.boot: Likewise.
* interp/as.boot: Likewise.
* interp/ax.boot: Likewise.
* interp/bc-matrix.boot: Likewise.
* interp/bc-solve.boot: Likewise.
* interp/br-con.boot: Likewise.
* interp/br-data.boot: Likewise.
* interp/br-op2.boot: Likewise.
* interp/br-prof.boot: Likewise.
* interp/br-search.boot: Likewise.
* interp/c-doc.boot: Likewise.
* interp/c-util.boot: Likewise.
* interp/clam.boot: Likewise.
* interp/compiler.boot: Likewise.
* interp/define.boot: Likewise.
* interp/format.boot: Likewise.
* interp/fortcall.boot: Likewise.
* interp/i-syscmd.boot: Likewise.
* interp/i-spec1.boot: Likewise.
* interp/i-output.boot: Likewise.
* interp/i-coerce.boot: Likewise.
* interp/i-map.boot: Likewise.
* interp/htsetvar.boot: Likewise.
* interp/ht-util.boot: Likewise.
* interp/g-util.boot: Likewise.
* interp/functor.boot: Likewise.
* interp/pspad1.boot: Likewise.
* interp/pspad2.boot: Likewise.
* interp/postpar.boot: Likewise.
* interp/pf2sex.boot: Likewise.
* interp/parse.boot: Likewise.
* interp/packtran.boot: Likewise.
* interp/nrunopt.boot: Likewise.
* interp/nruncomp.boot: Likewise.
* interp/newfort.boot: Likewise.
* interp/msgdb.boot: Likewise.
* interp/modemap.boot: Likewise.
* interp/mark.boot: Likewise.
* interp/intfile.boot: Likewise.
* interp/interop.boot: Likewise.
* interp/incl.boot: Likewise.
* interp/word.boot: Likewise.
* interp/wi2.boot: Likewise.
* interp/wi1.boot: Likewise.
* interp/trace.boot: Likewise.
* interp/topics.boot: Likewise.
* interp/sys-constants.boot: Likewise.
* interp/showimp.boot: Likewise.
* interp/scan.boot: Likewise.
2011-02-24 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/sys-macros.lisp (shellEntry): New.
* interp/g-util.boot (setShellEntry): Remove.
* interp/compiler.boot: Use %store to %tref forms instead of
setHSellEntry.
* interp/define.boot: Likewise.
* interp/functor.boot: Likewise.
* interp/nruncomp.boot: Likewise.
* interp/nrunfast.boot: Likewise.
* interp/showimp.boot: Likewise.
* interp/c-util.boot (isSimple): Tidy.
(isSideEffectFree): Likewise.
(updateCapsuleDirectory): Likewise.
2011-02-23 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot (isSimple): Accept constructor instantiations.
* algebra/formula.spad.pamphlet: Avoid Lispisms.
* algebra/mathml.spad.pamphlet: Likewise.
* algebra/op.spad.pamphlet: Likewise.
* algebra/sex.spad.pamphlet: Likewise.
2011-02-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot: mmSource is a new selector for modemap datatype.
* interp/wi1.boot: Likewise.
* interp/br-data.boot: Various cleanups.
* interp/c-util.boot: Likewise.
* interp/compiler.boot: Likewise.
* interp/functor.boot: Likewise.
* interp/g-util.boot: Likewise.
* interp/guess.boot: Likewise.
* interp/i-util.boot: Likewise.
* interp/mark.boot: Likewise.
* interp/msgdb.boot: Likewise.
* interp/topics.boot: Likewise.
2011-02-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot (optCond): Recognize conjunctive guard as
nested conditionals.
2011-02-20 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/parse.boot (transSeq): Aggregate branches of toplevel
conditionals so that implications propagate down the pipe.
2011-02-15 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (coerceExtraHard): Explicitly fail if
autoCoerceByModemap fails.
2011-02-14 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (getUnionMode): Remove.
(isUnionMode): Move to c-util.boot.
(coerceExtraHard): Rework.
(belongsTo?): Remove.
* interp/c-util.boot (isUnionMode): Moved from compiler.boot.
(unionLike?): New.
(unionProperty): Likewise.
(getInverseEnvironment): Use unionProperty instead of getUnionMode.
2011-02-13 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot (getSuccessEnvironment): Follow through
temporaries designating result of assignment.
(getInverseEnvironment): Likewise.
2011-02-13 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/buildom.boot (mkNewUnionFunList): Align arity of
'case' implementation to declared signature.
(mkUnionFunList): Likewise.
* interp/compiler.boot (compCase1): 'case' is now unconditionally
binary.
* interp/g-opt.boot (optCond): Fix thinko.
2011-02-13 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot (optCond): Get rid of double negatives when
possible.
* interp/g-util.boot (assumeProperty): Remove.
(flattenVMForm): Likewise.
(mkVMForm): Likewise.
2011-02-12 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (compCons1): Use coerce not convert.
(setqSingle): Likewise.
(setqMultiple): Likewise.
(compConstruct): Likewise.
(compQuote): Likewise.
(compElt): Likewise.
(compSignatureImport): Likewise.
(compComma): Likewise.
2011-02-12 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (compExpressionList): Remove.
(compForm1): Don't call it.
2011-02-11 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot (changeVariableDefinitionToStore): Tidy.
2011-02-11 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot (dependentVars): New.
(canInlineVarDefinition): Use it to safely inline vardefs.
2011-02-11 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (canReturn): Don't check for LET*.
* interp/g-opt.boot (optLET*): Remove as we now generate only
%bind forms.
2011-02-11 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include %funcall
and %nothing.
* algebra/mkfunc.spad.pamphlet: Use %funcall instead of FUNCALL.
2011-02-10 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/vmlisp.lisp (VEC-SETELT): Remove.
* interp/scan.boot (scanInserts): Use vectorRef.
* interp/functor.boot (DescendCode): Don't check for SETELT or
QSETREFV forms.
* interp/nrunfast.boot (evalSlotDomain): Likewise.
2011-02-10 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/sys-globals.boot ($evalDomain): Remove.
* interp/nrungo.boot (NRTevalDomain): Likewise. Fix callers to call
evalDomain.
* interp/i-eval.boot (evalDomain): Don't check for $evalDomain
anymore. Handle assignment to domain object forms.
2011-02-09 Gabriel Dos Reis <gdr@cs.tamu.edu>
Add MappingCategory as a (builtin) category.
* interp/sys-constants.boot ($CategoryNames): Include MappingCategory.
* interp/g-cndata.boot (unabbrevSpecialForms): Handle
MappingCategory, RecordCategory, and UnionCategory.
* interp/buildom.boot (MappingCategory): New.
* interp/compiler.boot: Elaboration MappingCategory forms.
* interp/g-error.boot (needsToSplitMessage): Fix thinko from
type-based dispatch done by the Boot translator.
* interp/nrunfast.boot (builtinConstructor?): New.
(generalizedBuiltinConstructor?): Likewise.
(lazyMatch): Use them.
(newHasTest): Properly recognize all flavours of category forms.
2011-02-08 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/sys-constants.boot ($PrimitiveDomainNames): Remove.
* interp/category.boot (mkCategory): Drop test for primitive
domains.
2011-02-08 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/category.boot (mkCategory): Don't single out List
instantiations in determining NewLocals.
2011-02-08 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/category.boot(categoryObject?): Rename from isCategory.
* interp/c-util.boot: Adjust use.
* interp/functor.boot: Likewise.
* interp/modemap.boot: Likewise.
2011-02-08 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/buildom.boot: Don't cache instantiation of builtin
domains, as the comment at the top of the file says.
2011-02-08 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/lisp-backend.boot: Translate %ident? to IDENTP, not SYMBOLP.
* interp/compiler.boot (compMatch): test for identifier, not
atomic value.
* algebra/syntax.spad.pamphlet (Syntax): Tidy.
2011-02-07 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot: arrayRef is now a builtin function.
2011-02-07 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/ituple.spad.pamphlet (InfiniteTuple): Use Stream S as
representation, not extended domain (default search does not
work for the non-extending categories.)
2011-02-06 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot (groupVariableDefinitions): Look into clauses
of conditional too.
2011-02-06 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot (matchingEXIT): New.
(simplifySEQ): Use it.
2011-02-05 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include %fmanexp.
(sideEffectFree?): New.
(varIsAssigned): Tidy.
(canInlineVarDefinition): Likewise.
* interp/boot-pkg.lisp (gensym?): New.
* interp/c-util.boot ($NonExpandableOperators): New.
(expandableDefinition?): Use it.
* algebra/sf.spad.pamphlet (DoubleFloat): Use %fmanexp.
2011-02-05 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include inverse
hyperbolic functions.
* interp/lisp-backend.boot: Expand them.
* algebra/sf.spad.pamphlet: Use them.
2011-02-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot ($VMsideEffectFreeOperators): Remove CGREATERP
and GGREATERP. Add VM-level complex number operators.
* interp/lisp-backend.boot: Expand them.
* algebra/gaussian.spad.pamphlet (ComplexCategory): Use VM form
instead of Lisp level forms.
* algebra/pfr.spad.pamphlet (PartialFraction): Likewise.
* algebra/si.spad.pamphlet (SingleInteger): Likewise.
* algebra/symbol.spad.pamphlet (Symbol): Likewise.
2011-02-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot ($VMsideEffectFreeOperators): Remove more Lisp
level operators. Include %property and %bitveclt.
* interp/lisp-backend.boot: Expand them.
* algebra/si.spad.pamphlet (SingleInteger): Tidy. Use %ismall?.
* algebra/domain.spad.pamphlet (DomainConstructo): Use %property.
* algebra/outform.spad.pamphlet (OutputForm): Likewise.
* algebra/boolean.spad.pamphlet (IndexedBits): Use %bitveclt.
2011-02-03 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot (mutateConditionalFormWithUnaryFunction):
Rename from mutateCONDFormWithUnaryFunction. Update callers
(mutateBindingFormWithUnaryFunction): Rename from
mutateLETFormWithUnaryFunction. Allow %bind form too.
Update callers.
2011-02-03 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/stream.spad.pamphlet (Stream): Remove bogus assignment
to Rep. Rework local function definitions.
2011-02-03 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/c-util.boot: Replace COND with %when throught.
Use %otherwise instead of %true where appropriate.
* interp/define.boot: Likewise.
* interp/functor.boot: Likewise.
* interp/g-opt.boot: Likewise.
* interp/i-code.boot: Likewise.
* interp/i-output.boot: Likewise.
* interp/i-spec1.boot: Likewise.
* interp/i-spec2.boot: Likewise.
* interp/i-util.boot: Likewise.
* interp/info.boot: Likewise.
* interp/modemap.boot: Likewise.
* interp/nruncomp.boot: Likewise.
* interp/pspad1.boot: Likewise.
* interp/pspad2.boot: Likewise.
* interp/slam.boot: Likewise.
* interp/wi1.boot: Likewise.
* interp/wi2.boot: Likewise.
* interp/compiler.boot (canReturn): Don't test for COND anymore.
2011-02-03 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/slam.boot (reportFunctionCompilation): Use %otherwise,
not %true for default cases.
(reportFunctionCacheAll): Likewise.
(compileRecurrenceRelation): Likewise.
* interp/lisp-backend.boot (expandTry): Tidy.
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include %otherwise.
* interp/compiler.boot (compAlternativeGuard): Emit %otherwise
form, not Lisp level T form.
* interp/clam.boot (compClam): Tidy.
(compHash): Likewise.
(compHashGlobal): Likewise.
2011-02-02 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (finishLambdaExpression): Tidy. Don't
generate Lisp code directly.
(canReturn): Don't look into CLOSEDFN forms.
2011-02-02 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/clam.boot: Tidy.
* interp/slam.boot: Likewise.
2011-02-02 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/lisp-backend.boot: New file. Consolidate Common Lisp
backend module.
* interp/Makefile.in (OBJS): Include it.
(lisp-backend.$(FASLEXT)): New rule.
2011-02-01 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/files.spad.pamphlet (Library): Remove assignment to Rep.
* algebra/lie.spad.pamphlet (AssociatedLieAlgebra): Likewise.
(AssociatedJordanAlgebra): Likewise.
(LieSquareMatrix): Likewise.
2011-02-01 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/nrunopt.boot (NRTgetLookupFunction): Explain reason for
non-extension.
2011-02-01 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (compList): Use %nil form, not NIL.
2011-01-31 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot (optCallSpecially): Remove.
(optSpeciallCall): Likeise.
(optCall): Adjust.
(optCallEval): Move to wi2.boot, sole user.
2011-01-31 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot (optQSMINUS): Remove.
* algebra/data.spad.pamphlet: Tidy.
* algebra/plot.spad.pamphlet: Likewise.
* algebra/plot3d.spad.pamphlet: Likewise.
* algebra/si.spad.pamphlet: Likewise.
* algebra/syntax.spad.pamphlet: Likewise.
* algebra/list.spad.pamphlet: Remove use of NULL$Lisp.
2011-01-31 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot ($VMsideEffectFreeOperators): Remove QCDR,
QCAR. SYMBOLP, GREATERP.
Add %ibit, %ilength, %ident, %equal.
* interp/g-util.boot: Expand them
* algebra/any.spad.pamphlet: Tidy.
* algebra/catdef.spad.pamphlet: Likewise.
* algebra/data.spad.pamphlet: Likewise.
* algebra/domain.spad.pamphlet: Likewise.
* algebra/float.spad.pamphlet: Likewise.
* algebra/fname.spad.pamphlet: Likewise.
* algebra/integer.spad.pamphlet: Likewise.
* algebra/list.spad.pamphlet: Likewise.
* algebra/outform.spad.pamphlet: Likewise.
* algebra/random.spad.pamphlet: Likewise.
* algebra/sex.spad.pamphlet: Likewise.
* algebra/si.spad.pamphlet: Likewise.
* algebra/symbol.spad.pamphlet: Likewise.
* algebra/syntax.spad.pamphlet: Likewise.
2011-01-29 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/vmlisp.lisp: Remove QREFELT, QSDEC1, QSETREFV, QSETVELT,
QSETVELT-1, QSINC1, QVELT, QVELT-1.
* algebra/si.spad.pamphlet: Use %iinc and %idec forms.
2011-01-27 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/nruncomp.boot (NRTputInHead): Tidy.
2011-01-26 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-util.boot (expandListlit): Tidy.
2011-01-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (compForm1): Use %listlit form.
(compExpressionList): Likewise.
(compCons1): Likewise.
(compList): Likewise.
(compVector): Likewise.
* interp/g-timer.boot (timedEvaluate): Likewise.
* interp/wi1.boot: Likewise.
* interp/slam.boot: Likewise.
* interp/nruncomp.boot: Likewise.
* interp/i-object.boot: Likewise.
* interp/g-opt.boot (optMkRecord): Likewise.
(optRECORDCOPY): Likewise.
(optLIST): Remove.
(optListlit): New.
* interp/g-util.boot (optListlit): New. Expand %listlit forms.
2011-01-24 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot (optMkRecord): Generate %makepair forms.
($VMsideEffectFreeOperators): Include %listlit and %veclit.
* interp/g-util.boot: Translate them.
2011-01-24 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/array1.spad.pamphlet: Use %aref instead of %vref.
* interp/g-opt.boot (optSETRECORDELT): Tidy code generation.
(optRECORDCOPY): Likewise.
(optRECORDELT): Likewise.
($VMsideEffectFreeOperators): Include %aref. Translate.
2011-01-18 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/vmlisp.lisp (FIXP): Remove.
* interp/alql.boot: Use integer? instead of FIXP.
* interp/br-con.boot: Likewise.
* interp/br-op1.boot: Likewise.
* interp/c-util.boot: Likewise.
* interp/fnewmeta.lisp: Likewise.
* interp/ht-root.boot: Likewise.
* interp/i-analy.boot: Likewise.
* interp/i-syscmd.boot: Likewise.
* interp/i-toplev.boot: Likewise.
* interp/interop.boot: Likewise.
* interp/lisplib.boot: Likewise.
* interp/mark.boot: Likewise.
* interp/newfort.boot: Likewise.
* interp/nrunfast.boot: Likewise.
* interp/pspad1.boot: Likewise.
* interp/setvars.boot: Likewise.
* interp/showimp.boot: Likewise.
* interp/slam.boot: Likewise.
* interp/topics.boot: Likewise.
* interp/trace.boot: Likewise.
* interp/wi1.boot: Likewise.
* interp/wi2.boot: Likewise.
* interp/word.boot: Likewise.
2011-01-02 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-util.boot: Expand new bit vector operators.
* interp/g-opt.boot (opt2bit): New.
(opt2bool): Likewise.
* interp/bits.lisp (BVEC-SIZE): Remove.
(BVEC-COPY): Likewise.
(BVEC-CONCAT): Likewise.
(BVEC-EQUAL): Likewise.
(BVEC-AND): Likewise.
(BVEC-OR): Likewise.
(BVEC-XOR): Likewise.
(BVEC-NAND): Likewise.
(BVEC-NOR): Likewise.
(BVEC-NOT): Likewise.
* algebra/boolean.spad.pamphlet (IndexedBits): Remove uses of
Lisp-level functions.
2011-01-02 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/nrunfast.boot (evalSlotDomain): Expand to VM forms before
value argument evaluation.
(lazyMatch): Check for %llength too.
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include %2bit
and %2bool.
* interp/g-util.boot: Expand them.
* interp/define.boot (compJoin): Check for %llenght too.
* algebra/boolean.spad.pamphlet: Tidy.
* algebra/domain.spad.pamphlet: Likewise.
* algebra/draw.spad.pamphlet: Likewise.
* algebra/files.spad.pamphlet: Likewise.
* algebra/list.spad.pamphlet: Likewise.
* algebra/outform.spad.pamphlet: Likewise.
* algebra/sex.spad.pamphlet: Likewise.
* algebra/sf.spad.pamphlet: Likewise.
|