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
|
2008-03-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/Makefile.pamphlet (axiom_algebra_layer_strap): Derive
value from $(axiom_algebra_bootstrap).
(axiom_algebra_layer_0): Include more categories.
(axiom_algebra_layer_1): Likewise.
(axiom_algebra_layer_2): Likewise.
(axiom_algebra_layer_3): Likewise.
(axiom_algebra_layer_4): Remove some constructors.
(axiom_algebra_layer_5): Likewise.
2008-03-03 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/i-analy.boot (bottomUp): Don't record constructor
instantiations representations in interactive environments.
* interp/i-eval.boot (evaluateFormAsType): New.
(evaluateType): Use it.
(evaluateType1): Tidy.
* interp/i-output.boot (output): Tidy.
* interp/i-object.boot ($genValue): Define here.
* interp/sys-dirver.boot ($verbose): Rename from
$verboseInterpreter.
* interp/i-map.boot (genMapCode): Propagate $verbose renaming.
* interp/slam.boot (compileRecurrenceRelation): Likewise.
2008-02-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/i-analy.boot (bottomUpFormTuple): Use "tuple" for
parse form that are not type instantiations.
* interp/i-coerce.boot (coerceInt1): Likewise.
* interp/i-intern.boot (mkAtree3): Likewise.
(collectDefTypesAndPreds): Likewise.
* interp/i-map.boot (args2Tuple): Likewise.
(makePattern): Likewise.
(canMakeTuple): Likewise.
(makeRuleForm): Likewise.
(numArgs): Likewise.
(combineMapParts): Likewise.
(mkMapPred): Likewise.
(findLocalVars1): Likewise.
* interp/i-output.boot (outputTran): Likewise.
* interp/i-spec1.boot ($specialOps): Likewise.
(evalUntargetedADEF): Likewise.
(upDeclare): Likewise.
(declare): Likewise.
* interp/i-spec2.boot (upDollarTuple): Likewise.
(upLET): Likewise.
(isTupleForm): Remove.
(uptuple): Rename from upTuple.
(upLETWithFormOnLhs): Use "tuple" for parse forms that are not
type instantiations.
* interp/i-syscmd.boot (displayMacro): Likewise.
* interp/pf2atree.boot (pf2Atree1): Likewise.
* interp/pf2sex.boot (pf2Sex1): Likewise.
(pfApplication2Sex): Likewise.
(pfCollectArgTran): Likewise.
* interp/ptrees.boot (pfTuple): Likewise.
(pfTuple?): Likewise.
2008-02-20 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/i-coerce.boot (coerceInt1): Avoid misguided
Tuple coercion behind the scene.
* interp/Makefile.pamphlet (astr.$(FASLEXT)): Depend on
vmlisp.$(FASLEXT) instead.
* algebra/Makefile.pamphlet (.NOTPARALLEL): Remove rectriction.
2008-02-20 Gabriel Dos Reis <gdr@cs.tamu.edu>
* lisp/core.lisp.in [SBCL]: Require "sb-posix".
(|resetErrorCount|): New export function.
* interp/vmlisp.lisp (opOf): Remove macro definition.
* interp/msg.boot (setMsgCatlessAttr): Fix thinko.
* interp/monitor.lisp (monitor-add): Remove extra right parenthesis.
* interp/lisplib.boot: Import "debug".
(initializeLisplib): Don't use ERRORS variable.
* interp/i-spec1.boot (isDomainValuedVariable): Tidy.
* interp/i-output.boot (outputTran): Use SIZE instead of #.
(output): Remove misguided conversion from Tuple to List.
* interp/i-coerce.boot (coerceInteractive): Allow domain object
convesions.
* interp/g-util.boot (opOf): Declare.
* interp/Makefile.pamphlet (lisplib.$(FASLEXT)): Depend on
debug.$(FASLEXT).
* algebra/Makefile.pamphlet: Use .$(FASLEXT) instead of hardcoded
.o extension.
2008-02-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/vmlisp.lisp (|opOf|): Remove duplicate.
* lisp/core.lisp.in (|resetErrorCount|): New function. Export.
2008-02-18 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/variable.spad.pamphlet (AnonymousFunction): Add new
functions `parameters' and `body'.
* algebra/domain.spad.pamphlet: Rename from algebra/domain.spad.
(Category): New category.
* algebra/Makefile.pamphlet (axiom_algebra_layer_0): Include
CATEGORY.o.
(DOMAIN.NRLIB/code.$(FASLEXT)): Remove rule.
* interp/trace.boot (transTraceItem): Use $LangSupportTypes.
* interp/sys-constants.boot ($None): New.
($Type): Likewise.
($LangSupportTypes): Likewise.
* interp/parse.boot (parseHas): Use $LangSupportTypes.
(parseHasRhs): Likewise.
* interp/i-spec2.boot (upLETtype): Use conceptualType.
(uptypeOf): Likewise.
(upwhere): Likewise.
(typeOfType): Remove.
* interp/i-spec1.boot (isDomainValuedVariable): Variables with
type Category and Type are domain valued too.
* interp/i-output.boot (output): Special case only Mode and Type.
* interp/i-funsel.boot (selectMms): Don't ignore modemaps with
category parameters.
* interp/i-coerce.boot (canCoerce1): Test for Category instead of
SubDomain Domain.
(canCoerceFrom0): Use $None and $Any.
(absolutelyCannotCoerce): Use $None.
(coerceInteractive): Use $LangSupportTypes.
(coerceInt1): Use $Any.
* interp/i-analy.boot (conceptualType): New.
(bottomUpType): Use it.
* interp/clammed.boot (isValidType): Use $LangSupportTypes.
* interp/g-cndata.boot (isNameOfType): Likewise.
* interp/category.boot (Category): Remove hacky definition.
* interp/buildom.boot ($noCategoryDomains): Domain now has a
Lisplib.
2008-02-15 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/unlisp.lisp (|CatchAsCan|): Tidy.
* interp/sys-utility.boot (delete): Fix thinko.
* interp/sys-globals.boot ($sourceFiles): Define here.
(INPUTSTREAM): Likewise.
* interp/i-syscmd.boot (UNDERBAR): Move to sys-globals.boot.
* interp/fname.lisp: Import "macros".
* interp/debug.lisp: Import "parsing".
Replace $PRETTYPRINT with $PrettyPrint.
(/FN): Define.
(depthAlist): Likewise.
* interp/br-search.boot (docSearch1): Fix thinko.
* interp/Makefile.pamphlet (debug.$(FASLEXT)): Depend on
parsing.$(FASLEXT).
* interp/i-output.boot (starstarcond): Remove used function.
(transcomparg): Likewise.
(MATBORCH): Define here.
(*TALLPAR): Likewise.
* interp/vmlisp.lisp (|char|): Remove duplicate definition.
2008-02-15 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/parser.boot (bpSimpleCatch): New.
(bTry): Use it.
* boot/strap: Update.
2008-02-14 Gabriel Dos Reis <gdr@cs.tamu.edu>
Add try/catch to Boot.
* boot/tokens.boot (shoeKeyWords): Add new keywords.
* boot/ast.boot (Ast): Include three new nodes.
(bfTry): New.
(bfThrow): Likewise.
* boot/parser.boot ($bodyHasReturn): Remove.
(bpNoteReturnStmt): Likewise.
(bpThrow): New.
(bpTry): Likewise.
(bpPiledCatchItems): Likewise.
(bpCatchItemList): Likewise.
(bpExceptionHead): Likewise.
(bpExceptionTail): Likewise.
(bpException): Likewise.
(bpCatchItem): Likewise.
(bpReturn): Include `throw' expressions.
(bpStatement): Include `try' expressions.
* interp/macros.lisp (|tryLine|): Rename from |try|.
* interp/pspad1.boot: Replace `try' with `tryLine' throughout.
2008-02-14 Gabriel Dos Reis <gdr@cs.tamu.edu>
* OpenAxiom-1.1.0 has been released.
2008-02-14 Gabriel Dos Reis <gdr@cs.tamu.edu>
* driver/utils.c (openaxiom_execute_core) [__WIN32__]: Enclose
every argument in quotes.
2008-02-10 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/sys-driver.boot (executeSpadScript): By default make
script execution quiet. Support --verbose for verbose processing.
2008-02-09 Gabriel Dos Reis <gdr@cs.tamu.edu>
Add support for batch processing.
* sman/sman.c (process_arguments): Now take an argument for
openaxiom_command. Don't support '-ws', '-comp', '-grprog',
'-clefprog', '-clientprog' anymore.
(process_options): Take one more arguments.
(main): Excute the Core if in batch mode.
* sman/Makefile.in (sman_objects): Add driver/utils.lo.
(%.lo): Look up headers in src/driver too.
* interp/sys-utility.boot (RECLAIM): Define here.
(makeAbsoluteFilename): Likewise.
* interp/sys-driver.boot ($openServerIfTrue): Define here.
($SpadServer): Likewise.
(AxiomCore::%sysInit): Tidy.
(loadExposureGroupData): Define here.
(REROOT): Likewise.
(initMemoryConfig): Likewise.
(RESTART): Likewise.
(SPAD-SAVE): Likewise.
(SET-RESTART-HOOK): Likewise.
(executeSpadScript): New. Install as driver.
* interp/obey.lisp (OBEY): Use makeAbsoluteFilename.
* interp/patches.lisp (save-system): Likewise.
* interp/util.lisp: Likewise.
* interp/vmlisp.lisp: Likewise.
* interp/msgdb.boot: Have mssage throwers countError.
* interp/incl.boot ($inputLineNumber): New.
(incClassify): Use it. Recognize the magic number.
(incLude1): Ignore line with magic number.
* interp/i-toplev.boot (statisticsInitialization): Define here.
* interp/i-syscmd.boot ($options): Define.
($historyDirectory): Likewise.
($HiFiAccess): Likewise.
(history): Tidy.
(initHist): Likewise.
(initHistList): Likewise.
(historySpad2Cmd): Likewise.
(setHistoryCore): Likewise.
(restoreHistory): Likewise.
($reportUndo): Define.
(diffAlist): Tidy.
* interp/diagnostics.boot (BUMPERRORCOUNT): Use countError.
* interp/debug.lisp (/D-2): Use makeAbsoluteFilename.
* interp/Makefile.pamphlet (OBJS): Remove bookvol5.$(FASLEXT).
(makeint.lisp): Don't require bookvol5.$(FASLEXT). Don't load it.
(bookvol5.$(FASLEXT)): Remove rule.
(bookvol5.pamphlet): Remove.
* include/sman.H1: Fold content into sman/sman.c. Remove.
* driver/main.c (OPENAXIOM_CORE_EXECUTABLE): Move to utils.c
(OPENAXIOM_SMAN_EXECUTABLE): Likewise.
(OPENAXIOM_CORE_PATH): Likewise.
(OPENAXIOM_SMAN_PATH): Likewise.
(get_systemdir): Rename to openaxiom_get_systemdir; move to
utils.c.
(make_path_for): Rename openaxiom_make_path_for; move to utils.c
(main): Simplify.
* driver/utils.c: New.
* driver/utils.h: Likewise.
* driver/Makefile.in: Rename axiom to open-axiom.
* Makefile.pamphlet (all-sman): Now require all-driver.
2008-02-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/Makefile.pamphlet (OBJS): Include sys-utility.$(FASLEXT).
(sys-utility.$(FASLEXT)): New rule.
* interp/sys-utility.boot: New.
* interp/macros.lisp (|functionp|): Move to sys-utility.boot.
(|macrop|): Likewise.
(|delete|): Likewise.
(CONTAINED, contained\,eq, contained\,equal): Likewise.
(ASSOCLEFT): Likewise.
(ASSOCRIGHT): Likewise.
(ADDASSOC): Likewise.
(DELLASOS): Likewise.
(LASSOC): Likewise.
(|rassoc|): Likewise.
2008-02-03 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/foam_l.lisp (|G-stdoutVar|): Define; don't just assign.
(|G-stdinVar|): Likewise.
(|G-stderrVar|): Likewise.
(|FormatNumber|): Bind local variable; don't just assign to it.
(|magicEq1|): Tidy.
* interp/debug.lisp: Don't declare `COUNT as SPECIAL.
Remove reference to LISP package. Remove CCL special-cased
definitions.
* interp/comp.lisp ($closedfns): Define.
* interp/cfuns.lisp (|getEnv|): Define only for GCL, for the time
being.
2008-02-03 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/translator.boot (translateToplevelExpression): New.
(bpOutItem): Use it.
* boot/ast.boot (needsPROG): New.
(shoeCompTran): Use it. Tidy.
(bfMain): Define cache variables before functions manipulating them.
* boot/strap/: Update cached Lisp translations.
* interp/g-timer.boot: Use assignment instead of SETANDFILEQ at
toplevel.
* interp/i-syscmd.boot: Likewise.
* interp/pf2atree.boot: Likewise.
* interp/trace.boot: Likewise.
2008-02-02 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/msgdb.boot ($MARG): Define.
* interp/int-top.boot (intloopReadConsole): Remove code for
$DALYMODE.
* interp/define.boot ($NRTopt): Define.
($suffix): Likewise.
* interp/debug.lisp (S-SPADKEY): Define.
* interp/Makefile.pamphlet (OBJS): Don't include setq.$(FASLEXT).
(setq.$(FASLEXT)): Remove rule.
* interp/setq.lisp: Remove.
2008-02-02 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/spad.lisp (APLMODE): Don't define.
(XTOKENREADER): Don't set; define.
* interp/setvars.boot (resetWorkspaceVariables): Don't reset
$coerceIntByMapCounter.
* interp/setq.lisp: Stop redundant assignments.
* interp/nrunfast.boot ($NRTmonitorIfTrue): Define here.
* interp/i-object.boot (objEnv): Use $EmptyEnvironment.
* interp/i-coerce.boot ($useConvertForCoercions): Likewise.
* interp/format.boot ($abbreviateJoin): Define here.
2008-02-02 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/sys-globals.boot ($consistencyCheck): Remove.
($insideCanCoerceFrom): Define.
2008-02-01 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/apply.boot (oldCompilerAutoloadOnceTrigger): Remove.
* interp/setq.lisp: Remove more unused variables.
* interp/patches.lisp (/RF-1): Tidy.
* interp/server.boot (parseAndInterpret): Likewise.
* interp/packtran.boot ($useNewParser): Remove.
* interp/ht-util.boot (parseAndEval): Tidy.
* interp/clam.boot ($failed): Define.
* interp/g-timer.boot ($printStorageIfTrue): Likewise.
* interp/hashcode.boot ($DomainsWithoutLisplibs): Likewise.
* interp/i-coerce.boot ($useCoerceOrCroak): Likewise.
* interp/i-analy.boot ($univariateDomains): Likewise.
($multivariateDomains): Likewise.
* interp/i-object.boot ($useIntegerSubdomain): Likewise.
* interp/i-syscmd.boot ($existingFiles): Likewise.
* interp/newfort.boot ($fortranArrayStartingIndex): Likewise.
* interp/setvars.boot (resetWorkspaceVariables): Don't reset
$dependeeClosureAlist.
2008-02-02 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/setq.lisp: Remove more unused variables.
* interp/nruncomp.boot ($Slot1DataBase): Define here.
* interp/parse.boot ($oldParserExpandAbbrs): Likewise.
* interp/define.boot ($mutableDomains): Define here.
(compDefineFunctor1): Tidy.
(clearCmdCompletely): Don't set $functionTable.
2008-01-31 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/setq.lisp (COPYRIGHTS): Remove.
(LCTRUE): Likewise.
($HTPreviousDomain): Likewise.
($HTOperationError): Likewise.
($xdatabase): Likewise.
($CatOfCaDatabase): Likewise.
($DomOfCatDatabase): Likewise.
($JoinOfDomDatabase): Likewise.
($JoinOfCatDatabase): Likewise.
($attributeDb): Likewise.
($abbreviateIfTrue): Likewise.
($deltax): Likewise.
($deltay): Likewise.
($displayDomains): Likewise.
($displayTowardAncestors): Likewise.
($minimumSeparation): Likewise.
($testOutputLineFlag): Likewise.
($testOutputLineStack): Likewise.
($runTestFlag): Likewise.
($mkTestFlag): Likewise.
($mkTestInputStack): Likewise.
($mkTestOutputStack): Likewise.
2008-01-31 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/unlisp.lisp (|OsRunProgram|): Remove.
(|OsRunProgramToStream|): Likewise.
(|PathnameWithinDirectory|): Likewise.
(|PathnameWithinOsEnvVar|): Likewise.
(|OsEnvGet|): Likewise.
(|OsEnvVarCharacter|): Likewise.
(|NewPathname|): Likewise.
(|SessionPathname|): Likewise.
(|PathnameDirectory|): Likewise.
(|PathnameDirectoryOfDirectoryPathname|): Likewise.
(|ToPathname|): Likewise.
(|PathnameName|): Likewise.
(|PathnameWithType|): Likewise.
(|PathnameWithoutType|): Likewise.
(|PathnameWithDirectory|): Likewise.
(|PathnameWithoutDirectory|): Likewise.
(|PathnameType|): Likewise.
(|PathnameToUsualCase|): Likewise.
(|PathnameAbsolute?|): Likewise.
(|TempFileDirectory|): Likewise.
(|OsProcessNumber|): Likewise.
(|LispReadFromString|): Likewise.
(|LispEval|): Likewise.
(|LispCompile|): Likewise.
(|LispCompileFile|): Likewise.
(|LispLoadFileQuietly|): Likewise.
(|LispLoadFile|): Likewise.
(|LispKeyword|): Likewise.
(|DeepCopy|): Remove.
(|SortInPlace|): Likewise.
(|PlainError|): Likewise.
(|PlainPrint|): Likewise.
(|PlainPrintOn|): Likewise.
(|WriteByte|): Likewise.
(|WriteChar|): Likewise.
(|WriteString|): Likewise.
(|WriteLine|): Likewise.
(|ByteFileWriteLine|): Likewise.
(|ReadByte|): Likewise.
(|ByteFileReadLine|): Likewise.
(|ReadChar|): Likewise.
(|ReadLine|): Likewise.
(|ReadLineIntoString|): Likewise.
(|ByteFileReadLineIntoString|): Likewise.
(|ReadBytesIntoVector|): Likewise.
(|InputStream?|): Likewise.
(|OutputStream?|): Likewise.
(|StreamGetPosition|): Likewise.
(|StreamSetPosition|): Likewise.
(|StreamSize|): Likewise.
(|WithOpenStream|): Likewise.
(|StreamCopyChars|): Likewise.
(|StreamCopyBytes|): Likewise.
(|StreamEnd?|): Likewise.
(|StreamFlush|): Likewise.
(|StreamClose|): Likewise.
(|LispFileType|): Likewise.
(|FaslFileType|): Likewise.
(|MakeSymbol|): Likewise.
(|Symbol?|): Likewise.
(|SymbolString|): Likewise.
(|TrueBit|): Likewise.
(|FalseBit|): Likewise.
(|Bit?|): Likewise.
(|BitOn?|): Likewise.
(|BitOr|): Likewise.
(|Bit|): Likewise.
(|FullVector|): Likewise.
(|Vector?|): Likewise.
(|FullBvec|): Likewise.
(|CharGreater?|): Likewise.
(|CharDigit?|): Likewise.
(|NewlineChar|): Likewise.
(|SpaceChar|): Likewise.
(|TimeStampString|): Likewise.
(|CsetString|): Likewise.
(|CsetComplement|): Likewise.
(|AlphaCset|): Likewise.
(|AlphaCset|): Likewise.
(|LowerCaseCset|): Likewise.
(|UpperCaseCset|): Likewise.
(|NumericCset|): Likewise.
(|CsetUnion|): Likewise.
(|CsetMember?|): Likewise.
(|FullString|): Likewise.
(|ToString|): Likewise.
(|StringImage|): Likewise.
(|String?|): Likewise.
(|StringGetCode|): Likewise.
(|StringConcat|): Likewise.
(|StringFromTo|): Likewise.
(|StringFromToEnd|): Likewise.
(|StringFromLong|): Likewise.
(|StringPrefix?|): Likewise.
(|StringUpperCase|): Likewise.
(|StringLowerCase|): Likewise.
(|StringGreater?|): Likewise.
(|StringToInteger|): Likewise.
(|StringToFloat|): Likewise.
(|StringLength|): Likewise.
(|Number?|): Likewise.
(|Integer?|): Likewise.
(|Float?|): Likewise.
(|Odd?|): Likewise.
(|Pair?|): Likewise.
(|car|): Likewise.
(|cdr|): Likewise.
(|caar|): Likewise.
(|cadr|): Likewise.
(|cdar|): Likewise.
(|cddr|): Likewise.
(|caaar|): Likewise.
(|caadr|): Likewise.
(|cadar|): Likewise.
(|caddr|): Likewise.
(|cdaar|): Likewise.
(|cdadr|): Likewise.
(|cddar|): Likewise.
(|cdddr|): Likewise.
(|FastCar|): Likewise.
(|FastCdr|): Likewise.
(|FastCaar|): Likewise.
(|FastCadr|): Likewise.
(|FastCdar|): Likewise.
(|FastCddr|): Likewise.
(|FastCaaar|): Likewise.
(|FastCaadr|): Likewise.
(|FastCadar|): Likeiwse.
(|FastCaddr|): Likewise.
(|FastCdaar|): Likewise.
(|FastCdadr|): Likewise.
(|FastCddar|): Likewise.
(|FastCdddr|): Likewise.
(|IfCar|): Likewise.
(|IfCdr|): Likewise.
(|EqCar|): Likewise.
(|EqCdr|): Likewise.
(|ListNReverse|): Likewise.
(|ListIsLength?|): Likewise.
(|ListNRemoveQ|): Likewise.
(|ListRemoveDuplicatesQ|): Likewise.
(|ListUnion|): Likewise.
(|ListUnionQ|): Likewise.
(|ListIntersection|): Likewise.
(|ListIntersectionQ|): Likewise.
(|ListAdjoin|): Likewise.
(|ListAdjoinQ|): Likewise.
(|AlistAssoc|): Likewise.
(|AlistRemove|): Likewise.
(|AlistAdjoinQ|): Likewise.
(|AlistUnionQ|): Likewise.
(|Table?|): Likewise.
(|TableCount|): Likewise.
(|TableGet|): Likewise.
(|TableSet|): Likewise.
(|TableUnset|): Likewise.
(|TableKeys|): Likewise.
(lucid-os-run-program): Likewise.
(lucid-os-run-program-to-stream): Likewise.
(lucid-os-env-get): Likewise.
(lucid-os-process-number): Likewise.
(c-to-lisp-string): Likewise.
(cmulisp-os-run-program): Likewise.
(cmulisp-os-run-program-to-stream): Likewise.
(cmulisp-os-env-get): Likewise.
(cmulisp-os-process-number): Likewise.
(kcl-os-run-program): Likewise.
(kcl-os-run-program-to-stream): Likewise.
(kcl-os-env-get): Likewise.
(kcl-os-process-number): Likewise.
(|PathnameString|): Likewise.
(|Remainder|): Likewise.
(|DoublePrecision|): Likewise.
(|Abs|): Likewise.
(|Min|): Likewise.
(|Max|): Likewise.
(|Exp|): Likewise.
(|Ln|): Likewise.
(|Log10|): Likewise.
(|Sin|): Likewise.
(|Cos|): Likewise.
(|Tan|): Likewise.
(|Cotan|): Likewise.
(|Arctan|): Likewise.
(|CharCode|): Likewise.
(|Pathname|): Likewise.
(|Char|): Likewise.
(|Char?|): Likewise.
(*new-pathname-counter*): Likewise.
(|funcall|): Move sys-macros.lisp.
(|Catch|): Likewise.
(|Throw|): Likewise.
(|UnwindProtect|): Likewise.
* interp/pathname.boot (pathnameDirectory): Use KEYWORD package.
* interp/incl.boot (ifCond): Use INTERN.
(assertCond): Likewise.
* interp/cformat.boot (pfname): Use NAMESTRING.
2008-01-28 Gabriel Dos Reis <gdr@cs.tamu.edu>
Support signature declaration in Boot.
* boot/ast.boot (bfUntuple): New.
(bfTagged): Toplevel tags are signatures.
* boot/parser.boot (bpTyping): New.
(bpTagged): Use it.
* boot/translator.boot (genDeclaration): New.
(bpOutItem): Use it.
* interp/compiler.boot: Add type annotations for compiler routines.
* lisp/Makefile.in ($(OUT)/lisp$(EXEEXT)): Don't turn on emit-fn.
2008-01-27 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/Makefile.pamphlet: Remove.
* boot/translator.boot: New.
* boot/translator.boot: Remove.
* boot/tokens.boot: New.
* boot/tokens.boot.pamphlet: Remove.
* boot/scanner.boot: New.
* boot/scanner.boot.pamphlet: Remove.
* boot/pile.boot: New.
* boot/pile.boot.pamphlet: Remove.
* boot/parser.boot: New.
* boot/parser.boot.pamphlet: New.
* boot/initial-env.lisp: New.
* boot/initial-env.lisp.pamphlet: Remove.
* boot/includer.boot: New.
* boot/includer.boot.pamphlet: Remove.
* boot/ast.boot: New.
* boot/ast.boot.pamphlet: Remove.
2008-01-27 Gabriel Dos Reis <gdr@cs.tamu.edu>
Fix SF/1872551
* interp/c-util.boot (dollarIfRepHack): New.
(RepIfRepHack): Likewise.
(substituteDollarIfRepHack): Likewise.
(isSubset): Dollar is subset of Rep only in old semantics.
* interp/buildom.boot (mkMappingFunList): Substitute dollar for
Rep only when appropriate.
(mkRecordFunList): Likewise.
(mkNewUnionFunList): Likewise.
(mkUnionFunList): Likewise.
* interp/compiler.boot (compNoStacking): Likewise.
(compNoStacking1): Likewise.
(getConstructorFormOfMode): Likewise.
(isUnionMode): Likewise.
(coerce): Likewise.
(coerceSubset): Likewise.
* interp/modemap.boot (addModemap1): Likewise.
(isSuperDomain): Likewise.
* interp/define.boot (maybeInsertViewMorphisms): New.
(compCapsule): Use it.
(compCategoryItem): Don't allow exports of rep and per.
* interp/sys-globals.boot ($useRepresentationHack): New.
2008-01-26 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/database.boot: Tidy uses of $EmptyEnvironment.
* interp/i-map.boot: Likewise. Allocate fresh cell for $env.
* interp/i-spec1.boot: Likewise.
* interp/i-syscmd.boot: Likewise.
* interp/i-toplev.boot: Likewise.
* interp/lisplib.boot: Likewise.
* interp/setvars.boot: Likewise.
* interp/sys-globals.boot: Likewise.
* interp/nruncomp.boot: Encode flag types too.
* interp/template.boot: Likewise.
* share/algebra: Update databases.
2008-01-25 Gabriel Dos Reis <gdr@cs.tamu.edu>
Fix AW/311
* interp/i-syscmd.boot (displayOperationsFromLisplib): Say no
exported operations when there is nothing to display.
2008-01-24 Gabriel Dos Reis <gdr@cs.tamu.edu>
Fix AW/272
* interp/i-spec1.boot (compileADEFBody): Don't evaluate unnamed
functions. Compile them instead.
* testsuite/interpreter/aw-272.input: New.
2008-01-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/any.spad.pamphlet (empty$Scope): Use literal empty list.
(empty$Environment): Likewise.
2008-01-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
Waldek Hebisch <hebisch@math.uni.wroc.pl>
Fix AW/102
* interp/iterator.boot (getIdentity): Properly identify the
algebra empty list.
2008-01-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
Apply patch by Stephen Wilson <<wilsons@multiboard.com>
Fix AW/370
* interp/compiler.boot (compWithMappingMode): Consult current
environment to decide which variabes are free.
* testsuite/compiler/cwmm-test.spad: New.
2008-01-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/syntax.spad.pamphlet (Syntax): Assert a member of
SetCategory. Implement equality.
* algebra/Makefile.pamphlet (axiom_algebra_layer_0): Move
BASTYPE.o from layer 3 to here. Move SYNTAX.o from here to layer 1.
(axiom_algebra_layer_1): Move CTROCALL.o to layer 2.
* share/algebra: Update database.
2008-01-20 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/syntax.spad.pamphlet (ElaboratedExpression): New.
* algebra/any.spad.pamphlet: Rename ObjectProperty to Property.
* algebra/exposed.lsp.pamphlet: Likewise.
* algebra/Makefile.pamphlet (axiom_algebra_layer_5): Include
ELABEXPR.o
* share/algebra: Update databases.
2008-01-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/syntax.spad.pamphlet: Rename from algebra/syntax.spad.
Add a new domain for constructor instantiation form.
* algebra/Makefile.pamphlet (axiom_algebra_layer_1): Include
CTORCALL.o
(SYNTAX.NRLIB/code.$(FASLEXT)): Remove rule. Now implicit.
* share/algebra: Update databases.
2008-01-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/Makefile.pamphlet (axiom_algebra_layer_0): Now include
SYNTAX.o
* algebra/syntax.spad (buildSyntax$Syntax): Use CONS$Lisp to
permit early bootstrap.
2008-01-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/any.spad.pamphlet (getProperty$Environment): New.
(setProperty!$Environment): Likewise.
(getProperties$Environment): Likewise.
(setProperties!$Environment): Likewise.
2008-01-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/construc.lisp (|loadLibNoUpdate|): Fix thinko in initial
value for empty environments.
* interp/database.boot (rebuildCDT): Likewise.
* interp/i-map.boot (addDefMap): Likewise.
(rewriteMap0): Likewise.
(rewriteMap1): Likewise.
(compileDeclaredMap): Likewise.
(analyzeUndeclaredMap): Likewise.
* interp/i-spec1.boot: Likewise.
* interp/i-syscmd.boot (reportOperations): Likewise.
* interp/i-toplev.boot (interpret): Likewise.
* interp/lisplib.boot (loadLib): Likewise.
(loadLibNoUpdate): Likewise.
* interp/setvars.boot (resetWorkspaceVariables): Likewise.
* interp/spad.lisp ($e): Move definition to sys-globals.boot.
($env): Likewise.
* interp/sys-globals.boot ($e): Define here.
($env): Likewise.
* algebra/any.spad.pamphlet (ObjectProperty): New.
(Binding): Likewise.
(Contour): Likewise.
(Scope): Likewise.
(Environment): Likewise.
* algebra/exposed.lsp.pamphlet: Expose ObjectProperty, Binding,
Contour, Scope, and Environment.
* algebra/Makefile.pamphlet (axiom_algebra_layer_0): Include
OBJPROP.o.
(axiom_algebra_layer_1): Include BINDING.o
(axiom_algebra_layer_2): Include CONTOUR.o
(axiom_algebra_layer_3): Include SCOPE.o
(axiom_algebra_layer_4): Include ENV.o
* share/algebra: Update database.
2008-01-17 Gabriel Dos Reis <gdr@cs.tamu.edu>
Fix SF/1849734
* interp/i-spec1.boot (upand): Don't insist on having operands of
type Boolean.
(upor): Likewise.
* algebra/mkrecord.spad.pamphlet (Pair): New domain constructor.
* algebra/exposed.lsp.pamphlet: Expose Pair, PropositionalLogic,
PropositionalFormula.
* algebra/boolean.spad.pamphlet (PropositionalFormula): New domain
constructor.
* algebra/Makefile.pamphlet (axiom_algebra_layer_4): Include
PAIR.o.
(axiom_algebra_layer_19): Include PROPFRML.o
* share/algebra: Update databases.
* testsuite/interpreter/1849734.input: New.
2008-01-16 Gabriel Dos Reis <gdr@cs.tamu.edu>
Fix SF/1848975
* interp/buildom.boot ($commonCategoryAncestors): New.
($commonCategoryDefaults): Likewise.
(Record0): Use it.
(Union): Likewise.
(Mapping): Likewise.
(Enumeration): Likewise.
* testsuite/algebra/1848975.input: New.
2008-01-16 Gabriel Dos Reis <gdr@cs.tamu.edu>
Fix SF/1872564
* interp/compiler.boot (compPretend): Don't check for `new'
compiler semantics.
(compColonInside): Likewise.
* testsuite/compiler/1872564.spad: New.
2008-01-15 Gabriel Dos Reis <gdr@cs.tamu.edu>
Fix SF/1850071
* algebra/syntax.spad (compound?$Syntax): New.
2008-01-15 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/boolean.spad.pamphlet (PropositionalLogic): New category.
(Boolean): Assert as belonging to PropositionalLogic.
Update cached Lisp translation.
* algebra/Makefile.pamphlet (axiom_algebra_layer_0): Add
PROPLOG.o
* src/algebra: Update databases.
2008-01-15 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/syntax.spad (autoCoerce$Syntax): Add overloads.
* interp/compiler.boot (coerceExtraHard): Always coerce by
autoCoerce.
* testsuite/interpreter/case.spad: Likewise.
* testsuite/interpreter/case.input: New.
2008-01-14 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (compSymbol): Don't handle possible
case views here.
(hasUniqueCaseView): Rename from getUniqueCaseView. Take the
target mode as second argument.
(compForm2): Use calling convention vector to determine infer flag
parameter types.
(compCase1): Uniformly handle `case-expressions'. Call
genDeltaEntry for selected operator.
(coerceExtraHard): Handle coercions from UnionType domains.
(autoCoerceByModemap): Tidy.
* interp/g-opt.boot (optCall): Be more verbose in diagnostics.
* algebra/syntax.spad (Syntax): Rework.
* algebra/coerce.spad.pamphlet (UnionType): New.
* algebra/Makefile.pamphlet (axiom_algebra_layer_0):
Include UTYPE.o
* share/algebra: Update databases.
2008-01-13 Gabriel Dos Reis <gdr@cs.tamu.edu>
Fix SF/1852076
* algebra/domain.spad (reify$Domain): Specify target type of
conversion.
* interp/nrunfast.boot (newLookupInDomain): Tidy.
(newLookupInCategories): Likewise.
* testsuite/interpreter/1852076.input: New.
2008-01-13 Gabriel Dos Reis <gdr@cs.tamu.edu>
Fix SF/1867459
* interp/postpar.boot (postError): Fix thinko.
* interp/parse.boot ($defOp): Define.
* testsuite/compiler/1867459.spad: New.
2008-01-13 Ralf Hemmecke <ralf@hemmecke.de>
Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/bags.spad.pamphlet (map!$Stack): Cache the result in the
underlying reference.
2008-01-11 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/msg.boot (getStFromMsg): Fix typo.
2008-01-10 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/syntax.spad (getOperator): Inject into the right
Union branch.
2008-01-08 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/msgdb.boot (brightPrint0): Disable highlightinh on Win32.
* lib/cfuns-c.c (std_stream_is_terminal): Tidy.
2008-01-08 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/Makefile.pamphlet (AXIOM_LOCAL_LISP): Use Lisp image with C
bindings.
* interp/msgdb.boot (brightPrint0): Don't highlight if the
standard output is not attached to a terminal.
* interp/sys-driver.boot (stdStreamIsTerminal): New.
* lib/cfuns-c.c (std_stream_is_terminal): New.
2008-01-07 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/ast.boot.pamphlet (Ast): Add ImportSignature, Signature,
and Mapping.
* boot/parser.boot.pamphlet (bpImport): Parse import declaration.
(bpSignature): New.
(bpMapping): Likewise.
* boot/tokens.boot.pamphlet (shoeKeyWords): Add new keyword.
* boot/translator.boot.pamphlet (genImportDeclaration): Translate
import declaration.
(shoeOutItem): Handle import declarations.
2008-01-06 Gabriel Dos Reis <gdr@cs.tamu.edu>
* sman/sman.c: Remove debug and dead codes.
2008-01-06 Gabriel Dos Reis <gdr@cs.tamu.edu>
* driver/main.c (main) [__WIN32__]: Fix off-by-one thinko.
2008-01-05 Gabriel Dos Reis <gdr@cs.tamu.edu>
* scripts/axiom.in: Remove.
* driver: New directory.
* driver/main.c: New. Now implement driver as native
application.
|