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
|
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.
|