Debian Codegraph @

src/BuiltIn/ChangeLog

raw
1 2024-06-07 Steven M. Eker <eker@eker10>
2
3 * stringOpSymbol.cc (StringOpSymbol::ropeToNumber): allow leading
4 zeros in nats, ints and both parts of rats
5
6 2024-04-16 Steven Eker <eker@pup>
7
8 * stringOpSymbol.cc (StringOpSymbol::attachData): use BIND_OP3()
9 (StringOpSymbol::getDataAttachments): use CODE_CASE3()
10 (StringOpSymbol::eqRewrite): use CODE3()
11 (StringOpSymbol::getDataAttachments): beginsWith -> startsWith
12 (StringOpSymbol::eqRewrite): beginsWith -> startsWith
13 (StringOpSymbol::eqRewrite): goto fail on bad string op
14 (StringOpSymbol::eqRewrite): static_cast<unsigned char> before calling
15 isspace()
16 (StringOpSymbol::getDataAttachments): added character tests
17 (StringOpSymbol::eqRewrite): added character tests
18
19 2024-04-15 Steven Eker <eker@pup>
20
21 * stringOpSymbol.cc (StringOpSymbol::eqRewrite): added trim
22 functions and reorganized switch statement
23 (StringOpSymbol::eqRewrite): use Rope::const_iterator rather than
24 operator[] to avoid O(n log n) time to trim ropes
25 (StringOpSymbol::eqRewrite): added beginsWith, endsWith
26 (StringOpSymbol::getDataAttachments): support new functions
27
28 2024-03-29 Steven Eker <eker@pup>
29
30 * stringOpSymbol.cc (StringOpSymbol::ropeToNumber): allow things
31 like -0, 0/1, -0/2
32
33 ===================================Maude160===========================================
34
35 2024-03-06 Steven Eker <eker@pup>
36
37 * divisionSymbol.cc (DivisionSymbol::isRat): (both versions)
38 removed unneeded cast in Assert()
39 (DivisionSymbol::getRat) (both versions) ditto
40
41 * minusSymbol.cc (MinusSymbol::isNeg): (both versions) removed
42 unneeded cast in Assert()
43 (MinusSymbol::getNeg): (both versions) ditto
44 (MinusSymbol::getSignedInt64): ditto
45
46 * divisionSymbol.hh (class DivisionSymbol): updated decls for
47 Term* versions of isRat() and getRat()
48
49 * divisionSymbol.cc (DivisionSymbol::isRat): (Term* version)
50 made arg const
51 (DivisionSymbol::getRat): (Term* version) made arg const
52
53 * minusSymbol.hh (class MinusSymbol): updated decls for Term*
54 versions of isNet() and getNeg()
55
56 * minusSymbol.cc (MinusSymbol::isNeg): (Term* version) make arg const
57 (MinusSymbol::getNeg): (Term* version) make arg const
58
59 2024-03-04 Steven Eker <eker@pup>
60
61 * stringOpSymbol.cc (StringOpSymbol::eqRewrite): use unsigned long rather
62 than Uint to correspond with GMP return type
63 (StringOpSymbol::eqRewrite): use ULONG_MAX rather than UINT max
64
65 ===================================Maude158===========================================
66
67 2024-02-09 Steven Eker <eker@pup>
68
69 * numberOpSymbol.cc (NumberOpSymbol::eqRewrite): use mpz_fits_ulong_p()
70 for << second argument, rather than EXPONENT_BOUND
71 (NumberOpSymbol::eqRewrite): use mpz_fits_ulong_p() for ^ second argument
72 (NumberOpSymbol::eqRewrite): used ulong for >> computations
73
74 * numberOpSymbol.hh (class NumberOpSymbol): deleted EXPONENT_BOUND
75 (class NumberOpSymbol): deleted commented out decls
76
77 ===================================Maude157===========================================
78
79 2024-01-29 Steven Eker <eker@pup>
80
81 * branchSymbol.cc (BranchSymbol::stackArguments): take and use
82 respectUnstackable argument
83
84 * branchSymbol.hh (class BranchSymbol): update decl for
85 stackArguments()
86
87 ===================================Maude156===========================================
88
89 2023-10-02 Steven Eker <eker@pup>
90
91 * succSymbol.cc (SuccSymbol::makeNatDag64): fix const bug that
92 caused compile time error on 32-bit targets
93
94 ===================================Maude152===========================================
95
96 2023-06-05 Steven Eker <eker@pup>
97
98 * counterSymbol.hh (class CounterSymbol): delete commented out decls
99 for saveHiddenState(), restoreHiddenState(), typedef MpzStack and
100 data member currentValueStack
101
102 * counterSymbol.cc (CounterSymbol::saveHiddenState)
103 (CounterSymbol::restoreHiddenState): deleted commented out code. We
104 don't need to save hidden state in the functional metalevel because
105 it only accesses modules it owns
106
107 2023-05-19 Steven Eker <eker@pup>
108
109 * succSymbol.hh (class SuccSymbol): updated decl for makeNatDag64
110
111 * succSymbol.cc (SuccSymbol::makeNatDag64): uint64_t -> uint_fast64_t
112
113 ===================================Maude150===========================================
114
115 2023-05-12 Steven Eker <eker@pup>
116
117 * succSymbol.cc (SuccSymbol::makeNatDag): becomes makeNatDag64() to
118 avoid overload confusion
119
120 * succSymbol.hh (class SuccSymbol): added decl for uint64_t version of
121 makeNatDag()
122 (class SuccSymbol): makeNatDag() -> makeNatDag64()
123
124 * succSymbol.cc (SuccSymbol::makeNatDag): added uint64_t version
125
126 ===================================Maude149===========================================
127
128 2023-04-13 Steven Eker <eker@pup>
129
130 * minusSymbol.cc (MinusSymbol::attachData): use empty()
131
132 ===================================Maude144===========================================
133
134 2023-04-12 Steven Eker <eker@pup>
135
136 * bindingMacros.hh (NULL_DATA): use empty()
137
138 * sortTestSymbol.cc (SortTestSymbol::makeLazyStrategy): use empty()
139
140 2023-03-27 Steven Eker <eker@pup>
141
142 * stringOpSymbol.cc (StringOpSymbol::eqRewrite): don't use preallocate ctor
143
144 ===================================Maude144===========================================
145
146 2023-03-13 Steven Eker <eker@pup>
147
148 * stringDagNode.cc (StringDagNode::StringDagNode): use static_assert()
149 rather than a runtime Assert()
150
151 2023-03-10 Steven Eker <eker@pup>
152
153 * stringDagNode.cc: use MemoryBlock::MachineWord
154
155 ===================================Maude143===========================================
156
157 2023-02-15 Steven Eker <eker@pup>
158
159 * counterSymbol.cc (CounterSymbol::eqRewrite): clarify comment
160
161 ===================================Maude141===========================================
162
163 2023-01-03 Steven Eker <eker@pup>
164
165 * bindingMacros.hh: type -> symbolType to avoid confusion with type keyword
166
167 * divisionSymbol.hh: removed #include "cachedDag.hh"
168
169 ===================================Maude139===========================================
170
171 2021-09-07 Steven Eker <eker@pup>
172
173 * randomOpSymbol.cc: use mt19937::result_type for RandomOpSymbol::globalSeed
174
175 * randomOpSymbol.hh (class RandomOpSymbol): use std::mt19937 in place of MTRand
176
177 * randomOpSymbol.cc (RandomOpSymbol::eqRewrite): use std::mt19937 in place of MTRand
178 (RandomOpSymbol::RandomOpSymbol): use std::mt19937 in place of MTRand
179
180 ===================================Maude137===========================================
181
182 2021-03-02 Steven Eker <eker2@eker10>
183
184 * succSymbol.hh (class SuccSymbol): added decl for
185 getScaledSignedInt64()
186
187 * succSymbol.cc (SuccSymbol::getScaledSignedInt64): added
188
189 ===================================Maude134===========================================
190
191 2020-12-14 Steven Eker <eker2@eker10>
192
193 * succSymbol.hh (class SuccSymbol): use Ruben's hack to fix the
194 lack of a conversion from long long int to mpz_class on 32-bit
195 machines via a new inline function
196
197 ===================================Maude132-32===========================================
198
199 2020-09-28 Steven Eker <eker2@eker10>
200
201 * matrixOpSymbol.cc (MatrixOpSymbol::eqRewrite): use range-based
202 for loop
203
204 * ACU_NumberOpSymbol.cc (ACU_NumberOpSymbol::eqRewrite2): use
205 range-based for loop
206
207 ===================================Maude131===========================================
208
209 2020-04-22 Steven Eker <eker2@eker9>
210
211 * minusSymbol.hh (class MinusSymbol): added decl for makeIntDag()
212
213 * minusSymbol.cc (MinusSymbol::makeIntDag): added
214
215 ===================================Maude128a===========================================
216
217 2019-12-17 Steven Eker <eker@mu>
218
219 * floatOpSymbol.cc (isNaN): use ::isnan() to avoid ambiguity with
220 older compilers
221
222 ===================================Maude128===========================================
223
224 2019-12-06 Steven Eker <eker@mu>
225
226 * counterSymbol.hh (NumberOpSymbol): commented out declarations for
227 saveHiddenState(), restoreHiddenState()
228 (NumberOpSymbol): commented out typedef MpzStack, data member
229 currentValueStack
230
231 * counterSymbol.cc (saveHiddenState, restoreHiddenState): commented out
232
233 ===================================Maude127===========================================
234
235 2019-05-24 Steven Eker <[email protected]>
236
237 * floatOpSymbol.cc (eqRewrite, safePow): finite() -> isfinite()
238
239 * floatSymbol.cc (fillInSortInfo, computeBaseSort): finite() -> isfinite()
240
241 2019-01-30 Steven Eker <[email protected]>
242
243 * stringDagNode.cc (StringDagNode): fix bad Assert() caught by
244 new compiler
245
246 ===================================Maude121===========================================
247
248 2018-08-13 Steven Eker <[email protected]>
249
250 * stringOpSymbol.hh (FreeSymbol): added decls for upperCase(),
251 lowerCase()
252
253 * stringOpSymbol.cc (eqRewrite, getDataAttachments): added support
254 for upperCase() and lowerCase()
255 (upperCase, lowerCase): added
256
257 ===================================Maude118===========================================
258
259 2018-08-03 Steven Eker <[email protected]>
260
261 * bindingMacros.hh (BIND_SYMBOL2): added; this version
262 checks nrArgs
263
264 2018-03-26 Steven Eker <[email protected]>
265
266 * floatOpSymbol.cc (safePow, eqRewrite): use isNaN() macro to
267 avoid ambiguity between C and C++ definitions of isnan() that
268 appear with -std=gnu++11
269
270 ===================================Maude115===========================================
271
272 2017-07-25 Steven Eker <[email protected]>
273
274 * minusSymbol.hh (NumberOpSymbol): added decl for
275 getSignedInt64()
276
277 * minusSymbol.cc (getSignedInt64): added
278
279 ===================================Maude115===========================================
280
281 2017-03-10 Steven Eker <[email protected]>
282
283 * branchSymbol.hh (FreeSymbol): updated decl for stackArguments()
284
285 * branchSymbol.cc (stackArguments): handle respectFrozen and
286 eagerContext arguments
287
288 ===================================Maude111b===========================================
289
290 2015-12-18 Steven Eker <[email protected]>
291
292 * matrixOpSymbol.cc (downAlgorithm): use Rope
293
294 * stringDagNode.cc (getHashValue): use prefix Rope::const_iterator
295 increment
296
297 * stringTerm.cc (normalize): use prefix Rope::const_iterator
298 increment
299
300 * stringOpSymbol.cc (ropeToNumber): use new
301 makeZeroTerminatedString() member function
302 (eqRewrite): use new makeZeroTerminatedString() member function
303 (ropeToNumber): use two argument substr()
304
305 * stringOpSymbol.hh: crope -> Rope throughout
306
307 * stringOpSymbol.cc: crope -> Rope throughout
308
309 2015-12-17 Steven Eker <[email protected]>
310
311 * stringDagNode.cc: crope -> Rope throughout
312
313 * stringDagNode.hh: crope -> Rope throughout
314
315 * stringTerm.cc: crope -> Rope throughout
316
317 * stringTerm.hh: crope -> Rope throughout
318
319 ===================================Maude108a===========================================
320
321 2014-05-19 Steven Eker <[email protected]>
322
323 * divisionSymbol.cc (makeRatDag): allow 0/n
324 (makeRatTerm): allow 0/n
325
326 2014-05-05 Steven Eker <[email protected]>
327
328 * bindingMacros.hh (BIND_OP3): added
329 (CODE3): added
330 (CODE_CASE3): added
331
332 ===================================Maude103===========================================
333
334 2014-02-18 Steven Eker <[email protected]>
335
336 * equalityExtor.cc (execute): rewritten; use tail call
337
338 * equalityExtorFinal.cc (execute): use tail call
339
340 * equalitySymbol.cc (generateFinalInstruction)
341 (generateInstruction): added
342
343 * equalitySymbol.hh (FreeSymbol): added decls for
344 generateFinalInstruction(), generateInstruction()
345
346 * builtIn.hh: added classes EqualityExtor and EqualityExtorFinal
347
348 * equalityExtorFinal.cc: created
349
350 * equalityExtorFinal.hh: created
351
352 * equalityExtor.cc (EqualityExtor): call stackMachineCompile
353
354 * equalitySymbol.hh (stackMachineCompile): added
355
356 * equalitySymbol.cc (stackMachinePostProcess): deleted
357
358 * equalitySymbol.hh (FreeSymbol): stackMachinePostProcess()
359 becomes stackMachineCompile()
360
361 * equalityExtor.cc (execute): use getEqualInstructionSequence(),
362 getNotEqualInstructionSequence()
363
364 * equalitySymbol.hh (FreeSymbol): added declaration for
365 stackMachinePostProcess()
366 (getEqualInstructionSequence, getNotEqualInstructionSequence): added
367
368 * equalitySymbol.cc (stackMachinePostProcess): added
369
370 2014-02-12 Steven Eker <[email protected]>
371
372 * equalityExtor.hh: created
373
374 * equalityExtor.cc: created
375
376 ===================================Maude101===========================================
377
378 2012-03-30 Steven Eker <[email protected]>
379
380 * floatSymbol.hh (NA_Symbol): added decl for termify()
381
382 * floatSymbol.cc (termify): added
383
384 * stringSymbol.hh (NA_Symbol): added decl for termify()
385
386 * stringSymbol.cc (termify): added
387
388 ===================================Maude96===========================================
389
390 2011-12-31 Steven Eker <eker@rho>
391
392 * stringOpSymbol.cc (StringOpSymbol::eqRewrite): use makeZeroTerminatedString()
393 in place of c_str()
394 (StringOpSymbol::ropeToNumber): use makeZeroTerminatedString() in place of c_str()
395 (2 places)
396
397 * matrixOpSymbol.cc (MatrixOpSymbol::downAlgorithm): use makeZeroTerminatedString()
398 instead of c_str() since we now distrust the latter
399
400 ===================================Maude95c===========================================
401
402 2010-10-19 Steven Eker <eker@rho>
403
404 * stringSymbol.cc
405 (StringSymbol::makeCanonicalCopyEagerUptoReduced): deleted
406
407 * stringSymbol.hh (class StringSymbol): deleted decl for
408 makeCanonicalCopyEagerUptoReduced()
409
410 * floatSymbol.cc (FloatSymbol::makeCanonicalCopyEagerUptoReduced):
411 deleted
412
413 * floatSymbol.hh (class FloatSymbol): deleted decl for
414 makeCanonicalCopyEagerUptoReduced()
415
416 ===================================Maude95a===========================================
417
418 2010-09-29 Steven Eker <eker@rho>
419
420 * stringSymbol.hh (class StringSymbol): added decl for
421 makeCanonicalCopyEagerUptoReduced()
422
423 * stringSymbol.cc (StringSymbol::makeCanonicalCopyEagerUptoReduced): added
424
425 * floatSymbol.hh (class FloatSymbol): added decl for
426 makeCanonicalCopyEagerUptoReduced()
427
428 * floatSymbol.cc (FloatSymbol::makeCanonicalCopyEagerUptoReduced):
429 added
430
431 ===================================Maude95===========================================
432
433 2010-05-07 Steven Eker <eker@rho>
434
435 * branchSymbol.cc (BranchSymbol::attachTerm): added
436 DebugAdvisory()
437
438 ===================================Maude93d===========================================
439
440 2009-03-21 Steven Eker <[email protected]>
441
442 * floatOpSymbol.cc (eqRewrite): fix bug where we were treating
443 floor() with an unevaluated argument as float()
444
445 2008-12-22 Steven Eker <[email protected]>
446
447 * branchSymbol.hh (class BranchSymbol): deleted decls for
448 fillInSortInfo() and computeBaseSort()
449
450 * branchSymbol.cc (compileOpDeclarations): add fake declarations
451 to encode our sort structure
452 (computeBaseSort): deleted
453 (fillInSortInfo): deleted
454
455 2008-09-11 Steven Eker <[email protected]>
456
457 * numberOpSymbol.cc (eqRewrite): assign dummy value to b in default
458 case to silence compiler warning
459
460 * floatOpSymbol.cc (eqRewrite): assign dummy values to r in default
461 cases to silence compiler warning
462
463 * stringOpSymbol.cc (eqRewrite): assign dummy values to r in
464 default cases to silence compiler warning
465
466 * floatDagNode.hh (class FloatDagNode): use anonymous union so I
467 can get the bit pattern for hashing without breaking
468 strict-aliasing rules under gcc 4
469
470 * floatDagNode.cc (getHashValue): remove the reinterpret_cast<>
471 now I have an anonymous union
472
473 * floatTerm.cc (normalize): remove the reinterpret_cast<> now I
474 have an anonymous union
475
476 * floatTerm.hh (class FloatTerm): use anonymous union so I can get
477 the bit pattern for hashing without breaking strict-aliasing rules
478 under gcc 4
479
480 2008-09-04 Steven Eker <[email protected]>
481
482 * stringOpSymbol.cc (eqRewrite): ifdef out the kudge that was
483 avoiding Rope::c_str()
484 (ropeToNumber): ifdef out similar kudges
485
486 2008-05-09 Steven Eker <[email protected]>
487
488 * matrixOpSymbol.cc (eqRewrite): pass NONE rather than UNBOUNDED
489 to represent unbounded upper bound
490
491 ===================================Maude91a===========================================
492
493 2008-04-10 Steven Eker <[email protected]>
494
495 * matrixOpSymbol.cc (MACRO): added
496
497 * matrixOpSymbol.hh (class MatrixOpSymbol): added decl for
498 copyAttachments()
499
500 ===================================Maude91===========================================
501
502 2007-09-06 Steven Eker <[email protected]>
503
504 * branchSymbol.cc (computeBaseSort): added explanation of what it
505 does following coverity inspection
506
507 ===================================Maude89h===========================================
508
509 2007-01-18 Steven Eker <[email protected]>
510
511 * branchSymbol.cc (compileOpDeclarations): call
512 FreeSymbol::compileOpDeclarations() as a quick hack to get
513 unification working
514
515 ===================================Maude88d===========================================
516
517 2006-11-14 Steven Eker <[email protected]>
518
519 * floatOpSymbol.cc (getDataAttachments): added min and max cases
520 (eqRewrite): added min and max cases
521
522 ===================================Maude88c===========================================
523
524 2006-09-22 Steven Eker <[email protected]>
525
526 * floatTerm.cc (instantiate2): added
527
528 * stringTerm.cc (instantiate2): added
529
530 * floatTerm.hh (class FloatTerm): added decl for instantiate2()
531
532 * stringTerm.hh (class StringTerm): added decl for instantiate2()
533
534 2005-09-08 Steven Eker <[email protected]>
535
536 * matrixOpSymbol.cc (eqRewrite): use GCD where algorithm ==
537 SYSTEMS_CHOICE and number of variables is <= number of equations +
538 1
539
540 2005-09-07 Steven Eker <[email protected]>
541
542 * matrixOpSymbol.cc (eqRewrite): init maxRowNr and maxColNr to -1
543 here; check that maxRowNr is >= 0 after downing stuff
544 (downMatrix): don't init matrix, maxRowNr and maxColNr here
545 (eqRewrite): revert to returning empty homogenous set if
546 inhomogenous set is empty
547
548 2005-08-25 Steven Eker <[email protected]>
549
550 * matrixOpSignature.cc (MACRO): added stringSymbol
551
552 * matrixOpSymbol.hh (class MatrixOpSymbol): added enum Algorithm
553 and decl for downAlgorithm()
554
555 * matrixOpSymbol.cc (downAlgorithm): addded
556 (eqRewrite): use downAlgorithm()
557
558 2005-08-23 Steven Eker <[email protected]>
559
560 * matrixOpSymbol.cc (eqRewrite): code cleaning
561 (upSet): code cleaning
562 (upVector): code cleaning
563 (downVector): clear vec
564 (downVectorEntry): clear new vec entries after resize()
565 (downMatrix): clear matrix
566 (downMatrixEntry): optimize
567
568 2005-08-18 Steven Eker <[email protected]>
569
570 * matrixOpSymbol.hh (class MatrixOpSymbol): updated dec for
571 upVector()
572
573 * matrixOpSymbol.cc (upVector): work with IntVec
574 (eqRewrite): use class MpzSystem
575
576 * matrixOpSymbol.hh (class MatrixOpSymbol): added typedef IntVec
577
578 2005-08-17 Steven Eker <[email protected]>
579
580 * matrixOpSymbol.hh (class MatrixOpSymbol): updated decls for
581 typedef SparseVector; deleted decl for downMatrixEntry(); updated
582 decls for downVectorEntry() and downVector()
583
584 * matrixOpSymbol.cc (downCoeff): deleted
585 (downMatrixEntry): use getNumber()
586 (downVectorEntry): rewritten
587 (downVector): updated
588
589 * numberOpSymbol.cc (getNumber): added
590
591 * numberOpSymbol.hh (class NumberOpSymbol): added decl for
592 getNumber()
593
594 ===================================Maude86c===========================================
595
596 2004-10-28 Steven Eker <[email protected]>
597
598 * matrixOpSymbol.cc (eqRewrite): quick hack to test DiophantineSystem3
599
600 2004-10-14 Steven Eker <[email protected]>
601
602 * matrixOpSymbol.cc (getDataAttachments): return natSystemSolve as data
603 (eqRewrite): return nonempty homogenous solution set only if
604 inhomogenous nonempty
605
606 2004-09-16 Steven Eker <[email protected]>
607
608 * matrixOpSymbol.cc (downMatrixEntry): fixed bug where we were
609 returning true even after failing
610 (upVector): fixed bug where we were generating null pointer vector
611 entries
612
613 2004-09-15 Steven Eker <[email protected]>
614
615 * matrixOpSymbol.hh (class MatrixOpSymbol): added decls for new
616 member functions
617
618 * matrixOpSymbol.cc (downVector): added
619 (downVectorEntry): added
620 (downCoeff): added
621 (downMatrixEntry): added
622 (downMatrix): added
623
624 * numberOpSymbol.hh (class NumberOpSymbol): commented out
625 declarations for makeNegDag(), isNeg(), getNeg()
626 (getMinusSymbol): added
627
628 * matrixOpSymbol.cc (upSet): added
629 (upVector): added
630
631 2004-09-14 Steven Eker <[email protected]>
632
633 * matrixOpSymbol.cc: created
634
635 * matrixOpSymbol.hh: created
636
637 * matrixOpSignature.cc: created
638
639 2004-09-09 Steven Eker <[email protected]>
640
641 * floatOpSymbol.cc (getDataAttachments): fixed bug where we were
642 returning NumberSymbol rather than FloatOpSymbol
643
644 2004-08-24 Steven Eker <[email protected]>
645
646 * ACU_NumberOpSymbol.cc (getDataAttachments): handle min and max
647 (eqRewrite2): added min and max
648
649 ===================================Maude85===========================================
650
651 2004-06-29 Steven Eker <[email protected]>
652
653 * floatOpSymbol.cc (safePow): fixed 0.0 ^ -1.0 = Infinity issue on
654 certain plaforms
655
656 ===================================Maude84d===========================================
657
658 2004-06-14 Steven Eker <[email protected]>
659
660 * randomOpSymbol.cc (attachData): call
661 NumberOpSymbol::attachData() for consistancy
662 (getDataAttachments): call NumberOpSymbol::getDataAttachments()
663 for consistancy
664
665 * counterSymbol.cc (attachData): call NumberOpSymbol::attachData()
666 for consistancy
667 (getDataAttachments): call NumberOpSymbol::getDataAttachments()
668 for consistancy
669
670 * numberOpSymbol.cc (getDataAttachments): handle NONE case
671 gracefully
672
673 2004-06-07 Steven Eker <[email protected]>
674
675 * counterSymbol.cc (resetRules): call NumberOpSymbol::resetRules()
676 (saveHiddenState): added
677 (restoreHiddenState): added
678
679 * counterSymbol.hh (class CounterSymbol): added decl for
680 saveHiddenState() and restoreHiddenState(); added data member
681 currentValueStack
682
683 * counterSymbol.cc (reset): becomes resetRules()
684
685 * counterSymbol.hh (class CounterSymbol): replace reset() decl
686 with resetRules() decl
687
688 2004-06-03 Steven Eker <[email protected]>
689
690 * builtIn.hh: added decls for class RandomOpSymbol and class
691 CounterSymbol
692
693 * numberOpSymbol.hh: #include "gmpxx.h"
694
695 * counterSymbol.hh: created
696
697 * counterSymbol.cc: created
698
699 2004-06-02 Steven Eker <[email protected]>
700
701 * randomOpSymbol.hh (setGlobalSeed): added
702
703 * randomOpSymbol.cc: created
704
705 * randomOpSymbol.hh: created
706
707 ===================================Maude84c===========================================
708
709 2004-05-06 Steven Eker <[email protected]>
710
711 * ACU_NumberOpSymbol.cc (getDataAttachments): fixed bug where we
712 were reporting our id hook as NumberOpSymbol
713
714 * CUI_NumberOpSymbol.cc (getDataAttachments): fixed bug where we
715 were reporting our id hook as NumberOpSymbol
716
717 * numberOpSymbol.cc (eqRewrite): added more detailed CantHappen()
718 message
719
720 ===================================Maude84a===========================================
721
722 2003-11-10 Steven Eker <[email protected]>
723
724 * stringOpSymbol.cc (getDataAttachments): fixed bug where we were
725 returning NumberOpSymbol rather than StringOpSymbol
726
727 2003-11-06 Steven Eker <[email protected]>
728
729 * branchSymbol.cc (getDataAttachments): added
730 (getTermAttachments): added
731
732 * branchSymbol.hh (class BranchSymbol): added decls for
733 getDataAttachments() and getTermAttachments()
734
735 * equalitySymbol.cc (getDataAttachments): added
736 (getTermAttachments): added
737
738 * equalitySymbol.hh (class EqualitySymbol): added decls for
739 getDataAttachments() and getTermAttachments()
740
741 2003-11-05 Steven Eker <[email protected]>
742
743 * floatOpSymbol.cc (getDataAttachments): added
744 (getSymbolAttachments): added
745 (getTermAttachments): added
746
747 * stringOpSymbol.cc (getDataAttachments): added
748 (getSymbolAttachments): added
749 (getTermAttachments): added
750
751 * stringOpSymbol.hh (class StringOpSymbol): added decls for
752 getDataAttachments(), getSymbolAttachments(), getTermAttachments()
753
754 * floatOpSymbol.hh (class FloatOpSymbol): added decls for
755 getDataAttachments(), getSymbolAttachments(), getTermAttachments()
756
757 * divisionSymbol.hh (class DivisionSymbol): added decls
758 for getDataAttachments() and getSymbolAttachments()
759
760 * divisionSymbol.cc (getDataAttachments): added
761 (getSymbolAttachments): added
762
763 * minusSymbol.cc (getDataAttachments): added
764
765 * minusSymbol.hh (class MinusSymbol): added decl for
766 getDataAttachments()
767
768 * ACU_NumberOpSymbol.cc (getDataAttachments): added
769 (getSymbolAttachments): added
770
771 * ACU_NumberOpSymbol.hh (class ACU_NumberOpSymbol): added decls
772 for getDataAttachments() and getSymbolAttachments()
773
774 * CUI_NumberOpSymbol.cc (getDataAttachments): added
775 (getSymbolAttachments): added
776
777 * CUI_NumberOpSymbol.hh (class CUI_NumberOpSymbol): added decls
778 for getDataAttachments() and getSymbolAttachments()
779
780 * numberOpSymbol.cc (getDataAttachments): added
781 (getSymbolAttachments): added
782 (getTermAttachments): added
783
784 * numberOpSymbol.hh (class NumberOpSymbol): added decls for
785 getDataAttachments(), getSymbolAttachments(), getTermAttachments()
786
787 * succSymbol.cc (getDataAttachments): added
788 (getTermAttachments): added
789
790 * bindingMacros.hh (APPEND_DATA): added
791
792 * succSymbol.hh (class SuccSymbol): added decls for
793 getDataAttachments() and getTermAttachments()
794
795 * bindingMacros.hh (APPEND_TERM): added
796
797 2003-11-03 Steven Eker <[email protected]>
798
799 * bindingMacros.hh (APPEND_SYMBOL): added
800
801 2003-10-23 Steven Eker <[email protected]>
802
803 * equalitySymbol.hh (class EqualitySymbol): updated decl for
804 EqualitySymbol()
805
806 * equalitySymbol.cc (EqualitySymbol): don't take term args
807
808 * branchSymbol.hh (class BranchSymbol): updated decl for
809 BranchSymbol()
810
811 * branchSymbol.cc (BranchSymbol): take nrArgs arg rather than term
812 arg
813
814 * equalitySymbol.hh (class EqualitySymbol): deleted decl for
815 ~EqualitySymbol()
816
817 * equalitySymbol.cc (~EqualitySymbol): deleted now we no longer
818 need to prevent deep self destruction of equalTerm and
819 notEqualTerm
820
821 * branchSymbol.cc (~BranchSymbol): deepSelfDestruct() test terms
822
823 2003-10-15 Steven Eker <[email protected]>
824
825 * equalitySymbol.cc (attachData): added
826 (copyAttachments): added
827 (attachTerm): added
828
829 * equalitySymbol.hh (class EqualitySymbol): added declarations for
830 attachData(), attachTerm(), copyAttachments()
831
832 2003-10-14 Steven Eker <[email protected]>
833
834 * branchSymbol.cc (attachData): added
835 (attachTerm): added
836 (copyAttachments): added
837
838 * branchSymbol.hh (class BranchSymbol): added declarations for
839 attachData(), attachTerm(), copyAttachments()
840
841 ===================================Maude83===========================================
842
843 2003-07-28 Steven Eker <[email protected]>
844
845 * floatSymbol.cc: need to include mathStuff.hh
846
847 2003-07-25 Steven Eker <[email protected]>
848
849 * floatSymbol.cc: removed #include <ieeefp.h> and #include <math.h>
850
851 * floatOpSymbol.cc: use mathStuff.hh
852
853 2003-07-16 Steven Eker <[email protected]>
854
855 * stringOpSymbol.hh: use ropeStuff.hh
856
857 * stringDagNode.hh: use ropeStuff.hh
858
859 * stringTerm.hh: use ropeStuff.hh
860
861 ===================================Maude81===========================================
862
863 2003-05-30 Steven Eker <[email protected]>
864
865 * equalitySymbol.cc (domainSortAlwaysLeqThan): added
866
867 * equalitySymbol.hh (class EqualitySymbol): added decl for
868 domainSortAlwaysLeqThan()
869
870 * branchSymbol.cc (rangeSortNeverLeqThan): added
871 (rangeSortAlwaysLeqThan): added
872 (domainSortAlwaysLeqThan): added
873
874 * branchSymbol.hh (class BranchSymbol): added decls for
875 rangeSortNeverLeqThan(), rangeSortAlwaysLeqThan(),
876 domainSortAlwaysLeqThan()
877
878 2003-05-15 Steven Eker <[email protected]>
879
880 * ACU_NumberOpSymbol.cc (eqRewrite2): fix bug in case that some
881 args aren't numbers
882
883 * ACU_NumberOpSymbol.hh (class ACU_NumberOpSymbol): added decl for
884 eqRewrite2()
885
886 * ACU_NumberOpSymbol.cc (eqRewrite2): added; do most of the work
887 here to avoid a large stack frame for eqRewrite()
888 (eqRewrite): use new reduceArgumentsAndNormalize() convention; use
889 eqRewrite2()
890 (eqRewrite2): use getACU_DagNode(), getArgument(),
891 getMultiplicity()
892
893 ===================================Maude80a===========================================
894
895 2003-05-01 Steven Eker <[email protected]>
896
897 * floatDagNode.cc (overwriteWithClone): rewritten
898 (makeClone): rewritten
899
900 * stringDagNode.cc (overwriteWithClone): rewritten
901 (makeClone): rewritten
902
903 ===================================Maude80===========================================
904
905 2003-02-25 Steven Eker <[email protected]>
906
907 * stringOpSymbol.cc (fwdFind): static_cast<int>(start) to avoid
908 NONE being converted to unsigned
909
910 * succSymbol.cc: removed #pragma
911 (makeNatTerm): updated Assert()
912 (makeNatDag): updated Assert()
913 (getNat): updated Assert()s (both versions)
914 (rewriteToNat): updated Assert()s
915
916 * succSymbol.hh: removed #pragma
917
918 * stringTerm.cc: removed #pragma
919
920 * stringTerm.hh: removed #pragma
921
922 * stringSymbol.cc: removed #pragma
923
924 * stringSymbol.hh: removed #pragma
925
926 * stringOpSymbol.cc: removed #pragma
927 (eqRewrite): updated Assert()s
928
929 * stringOpSymbol.hh: removed #pragma
930
931 * stringDagNode.cc: removed #pragma
932
933 * stringDagNode.hh: removed #pragma
934
935 * sortTestSymbol.cc: removed #pragma
936 (eqRewrite): updated Assert()
937
938 * sortTestSymbol.hh: removed #pragma
939
940 * numberOpSymbol.cc: removed #pragma
941 (eqRewrite): updated Assert()s
942
943 * numberOpSymbol.hh: removed #pragma
944
945 * minusSymbol.cc: removed #pragma
946 (makeNegDag): updated Assert()
947 (isNeg): updated Assert() (both versions)
948 (getNeg): updated Assert() (both versions)
949
950 * minusSymbol.hh: removed #pragma
951
952 * floatTerm.cc: removed #pragma
953
954 * floatTerm.hh: removed #pragma
955
956 * floatSymbol.cc: removed #pragma
957
958 * floatSymbol.hh: removed #pragma
959
960 * floatOpSymbol.cc: removed #pragma
961 (eqRewrite): updated Assert()s; Assert() -> CantHappen() (*2)
962
963 * floatOpSymbol.hh: removed #pragma
964
965 * floatDagNode.cc: removed #pragma
966
967 * floatDagNode.hh: removed #pragma
968
969 * equalitySymbol.cc: removed #pragma
970 (eqRewrite): updated Assert()
971
972 * equalitySymbol.hh: removed #pragma
973
974 * divisionSymbol.cc: removed #pragma
975 (eqRewrite): updated Assert()s
976 (makeRatDag): updated Assert()
977 (isRat): updated Assert() (both versions)
978 (getRat): updated Assert()s (both versions)
979 (makeRatTerm): updated Assert()
980
981 * divisionSymbol.hh: removed #pragma
982
983 * branchSymbol.cc: removed #pragma
984 (fillInSortInfo): updated Assert()s
985 (eqRewrite): updated Assert()
986 (computeBaseSort): updated Assert()
987
988 * branchSymbol.hh: removed #pragma
989
990 * CUI_NumberOpSymbol.cc: removed #pragma
991 (eqRewrite): updated Assert()
992
993 * CUI_NumberOpSymbol.hh: removed #pragma
994
995 * ACU_NumberOpSymbol.cc: removed #pragma
996 (eqRewrite): updated Assert()s
997
998 * ACU_NumberOpSymbol.hh: removed #pragma
999
1000 ===================================Maude79===========================================
1001
1002 2003-01-08 Steven Eker <[email protected]>
1003
1004 * ACU_NumberOpSymbol.cc (eqRewrite): rewritten to avoid making use
1005 of ACU_DagNode; less efficient - need to revisit this once
1006 red-black stuff is working
1007
1008 ===================================Maude76==================================================
1009
1010 2002-11-25 Steven Eker <[email protected]>
1011
1012 * stringDagNode.cc (StringDagNode): commented out Assert() to
1013 avoid accessing MemoryCell::Word
1014
1015 * stringTerm.hh: added using namespace __gnu_cxx to for g++3.2
1016
1017 * stringDagNode.hh: added using namespace __gnu_cxx to for g++3.2
1018
1019 2002-11-05 Steven Eker <[email protected]>
1020
1021 * stringOpSymbol.cc (fwdFind): changed semantics for empty pattern
1022 case
1023 (revFind): changed smenatics for empty pattern case
1024 (fwdFind): fixed wrap around bug introduced when we optimized the
1025 tests in previous change; added comment since this is a bug we
1026 fixed on 2001-01-17 and them optimized away the fix
1027
1028 2002-10-22 Steven Eker <[email protected]>
1029
1030 * stringOpSymbol.cc (eqRewrite): removed Assert(false,...) that
1031 could be reached if 1st arg was bad; converted other
1032 Assert(false,...)s to CantHappen()s
1033
1034 2002-10-09 Steven Eker <[email protected]>
1035
1036 * ACU_NumberOpSymbol.cc (eqRewrite): added check for abort after
1037 redcuing arguments and before doing expensive eager numerical
1038 calculations. This partly fixes the slow abort problem but
1039 cascading ACU normalizations during an abort can still be
1040 expensive
1041
1042 2002-10-04 Steven Eker <[email protected]>
1043
1044 * branchSymbol.cc (stackArguments): only stack args that aren't
1045 frozen or unstackable
1046
1047 ===================================Maude76==================================================
1048
1049 2002-09-04 Steven Eker <[email protected]>
1050
1051 * floatSymbol.hh (class FloatSymbol): added decl for
1052 isConstructor()
1053
1054 * floatSymbol.cc (isConstructor): added
1055
1056 * stringSymbol.hh (class StringSymbol): added decl for
1057 isConstructor()
1058
1059 * stringSymbol.cc (isConstructor): added
1060
1061 2002-08-26 Steven Eker <[email protected]>
1062
1063 * stringSymbol.cc (compileOpDeclarations): use new
1064 getOpDeclarations() semantics
1065
1066 * floatSymbol.cc (compileOpDeclarations): use new
1067 getOpDeclarations() semantics
1068
1069 * branchSymbol.cc (fillInSortInfo): use new getOpDeclarations()
1070 semantics
1071 (computeBaseSort): use new getOpDeclarations() semantics
1072
1073 ===================================Maude75==================================================
1074
1075 2002-07-25 Steven Eker <[email protected]>
1076
1077 * builtIn.hh: deleted forward decls for classes
1078 MachineIntegerSymbol, MachineIntegerTerm, MachineIntegerDagNode
1079 and MachineIntegerOpSymbol
1080
1081 * stringOpSymbol.cc (StringOpSymbol): don't clear
1082 machineIntegerSymbol
1083 (attachSymbol): don't bind machineIntegerSymbol
1084 (copyAttachments): don't copy machineIntegerSymbol
1085 (eqRewrite): deleted machineInt operation
1086 (eqRewrite): deleted string operation for machineInts
1087
1088 * stringOpSymbol.hh (class StringOpSymbol): deleted data member
1089 machineIntegerSymbol
1090
1091 * floatOpSymbol.cc (FloatOpSymbol): don't clear
1092 machineIntegerSymbol
1093 (attachSymbol): don't bind machineIntegerSymbol
1094 (copyAttachments): don't copy machineIntegerSymbol
1095 (eqRewrite): deleted machineInt operation
1096 (eqRewrite): deleted float operation for machineInts
1097
1098 * floatOpSymbol.hh (class FloatOpSymbol): deleted data member
1099 machineIntegerSymbol
1100
1101 ===================================Maude74==================================================
1102
1103 2002-06-12 Steven Eker <[email protected]>
1104
1105 * floatOpSymbol.cc (eqRewrite): support float(Rat) operation
1106
1107 2002-06-11 Steven Eker <[email protected]>
1108
1109 * floatOpSymbol.hh (class FloatOpSymbol): added data members
1110 succSymbol, minusSymbol and divisionSymbol
1111
1112 * floatOpSymbol.cc (attachSymbol): handle succSymbol, minusSymbol
1113 and divisionSymbol
1114 (copyAttachments): handle succSymbol, minusSymbol and
1115 divisionSymbol
1116 (FloatOpSymbol): clear succSymbol, minusSymbol and divisionSymbol
1117 (eqRewrite): support rat(Float) op
1118
1119 * stringOpSymbol.cc (eqRewrite): use Uint for substr index and
1120 length; use fits_uint_p(), get_ui() and UINT_MAX
1121 (substring): we no longer allow -ve index
1122 (fwdFind): we no longer allow -ve start
1123 (revFind): we no longer allow -ve start
1124
1125 * stringOpSymbol.hh (class StringOpSymbol): updated decls for
1126 substring(), fwdFind() and revFind()
1127 (class StringOpSymbol): make ropeToNumber() static
1128
1129 * stringOpSymbol.cc (substring): Int64 -> crope::size_type
1130 (fwdFind): Int64 -> crope::size_type
1131 (revFind): Int64 -> crope::size_type
1132
1133 * stringOpSymbol.hh (class StringOpSymbol): added decl for
1134 ropeToNumber()
1135
1136 * stringOpSymbol.cc (ropeToNumber): added
1137 (eqRewrite): support string(Rat, Nat) and rat(String, Nat) ops
1138
1139 2002-06-10 Steven Eker <[email protected]>
1140
1141 * stringOpSymbol.hh (class StringOpSymbol): added data member
1142 divisionSymbol
1143
1144 * stringOpSymbol.cc: MachineFloat -> Float
1145 (StringOpSymbol): clear divisionSymbol
1146 (attachSymbol): handle divisionSymbol
1147
1148 * stringOpSymbol.hh (class StringOpSymbol): data member
1149 machineFloatSymbol becomes floatSymbol
1150
1151 * machineFloatOpSymbol.cc: MachineFloat -> Float; becomes
1152 floatOpSymbol.cc
1153
1154 * machineFloatOpSymbol.hh: MachineFloat -> Float; becomes
1155 floatOpSymbol.hh
1156
1157 * machineFloatDagNode.cc: MachineFloat -> Float; becomes
1158 floatDagNode.cc
1159
1160 * machineFloatDagNode.hh: MachineFloat -> Float; becomes
1161 floatDagNode.hh
1162
1163 * machineFloatTerm.cc: MachineFloat -> Float; becomes floatTerm.cc
1164
1165 * machineFloatTerm.hh: MachineFloat -> Float; becomes floatTerm.hh
1166
1167 * machineFloatSymbol.cc: MachineFloat -> Float; becomes
1168 floatSymbol.cc
1169
1170 * machineFloatSymbol.hh: MachineFloat -> Float; becomes
1171 floatSymbol.hh
1172
1173 * stringOpSymbol.hh (class StringOpSymbol): added data member
1174 minusSymbol
1175
1176 * stringOpSymbol.cc (eqRewrite): machineFloat op becomes float
1177 (eqRewrite): converted decFloat to use Ints
1178 (StringOpSymbol): clear minusSymbol
1179 (attachSymbol): handle minusSymbol
1180 (copyAttachments): handle minusSymbol
1181
1182 2002-06-07 Steven Eker <[email protected]>
1183
1184 * succSymbol.hh (class SuccSymbol): added decl for
1185 getSignedInt64()
1186
1187 * succSymbol.cc (getSignedInt64): added
1188
1189 * succSymbol.hh (class SuccSymbol): added decl for getSignedInt()
1190
1191 * succSymbol.cc (getSignedInt): added
1192
1193 2002-06-06 Steven Eker <[email protected]>
1194
1195 * stringOpSymbol.cc (eqRewrite): use Nats for substr
1196 (eqRewrite): use Nats for find and rfind
1197 (eqRewrite): use Nats for char
1198
1199 2002-06-05 Steven Eker <[email protected]>
1200
1201 * stringOpSymbol.cc (StringOpSymbol): init succSymbol
1202 (attachSymbol): handle succSymbol
1203 (copyAttachments): copy succSymbol
1204 (eqRewrite): use Nats for length and ascii ops
1205
1206 * stringOpSymbol.hh (class StringOpSymbol): added data member
1207 succSymbol
1208
1209 ===================================Maude73==================================================
1210
1211 2002-06-03 Steven Eker <[email protected]>
1212
1213 * numberOpSymbol.cc (eqRewrite): handle -1^bignum, 0^bignum,
1214 1^bignum and 0 << bignum
1215
1216 2002-05-23 Steven Eker <[email protected]>
1217
1218 * divisionSymbol.cc (isRat): added Term* version
1219 (getRat): added Term* version
1220
1221 * divisionSymbol.hh (class DivisionSymbol): added decl for Term*
1222 versions of isRat() and getRat()
1223
1224 * minusSymbol.cc (isNeg): added Term* version
1225 (getNeg): added Term* version
1226
1227 * minusSymbol.hh (class MinusSymbol): added decls for Term*
1228 versions of isNeg() and getNeg()
1229
1230 * divisionSymbol.cc (getRat): added
1231 (makeRatTerm): added
1232
1233 2002-05-22 Steven Eker <[email protected]>
1234
1235 * divisionSymbol.cc (eqRewrite): use succSymbol->rewriteToNat()
1236
1237 * CUI_NumberOpSymbol.cc (eqRewrite): use succSymbol->rewriteToNat()
1238
1239 * ACU_NumberOpSymbol.cc (eqRewrite): use succSymbol->rewriteToNat()
1240
1241 * numberOpSymbol.cc (eqRewrite): use succSymbol->rewriteToNat()
1242
1243 * succSymbol.hh (class SuccSymbol): added decl for rewriteToNat()
1244
1245 * succSymbol.cc (rewriteToNat): added
1246
1247 * divisionSymbol.cc (eqRewrite): added optimization to avoid
1248 trying to simplify the same rational twice
1249
1250 2002-05-21 Steven Eker <[email protected]>
1251
1252 * divisionSymbol.cc: (isRat) don't treat 0 / NzNat as a Rat
1253 (eqRewrite): use isRat(); no longer try to simplify 0 / NzNat
1254 since it is not in ctor form.
1255 (eqRewrite): use makeRatDag()
1256
1257 * minusSymbol.cc (isNeg): don't treat - 0 as neg since some caller
1258 expect to find a SuccSymbol under the MinusSymbol in the true
1259 case.
1260
1261 * builtIn.hh: added fwd decl for class DivisionSymbol
1262
1263 * divisionSymbol.hh: created
1264
1265 * divisionSymbol.cc: created
1266
1267 2002-05-20 Steven Eker <[email protected]>
1268
1269 * minusSymbol.hh (class MinusSymbol): added decl for makeIntTerm()
1270
1271 * minusSymbol.cc (makeIntTerm): added
1272
1273 * succSymbol.cc (makeNatTerm): put more info in Assert()
1274
1275 2002-05-17 Steven Eker <[email protected]>
1276
1277 * numberOpSymbol.cc (eqRewrite): added abs operation
1278
1279 * minusSymbol.cc (attachData): convert MinusSymbol attachment into
1280 NumberOpSymbol attachment
1281
1282 * ACU_NumberOpSymbol.cc (attachSymbol): use MinusSymbol*
1283 (copyAttachments): use MinusSymbol*
1284
1285 * ACU_NumberOpSymbol.hh (class ACU_NumberOpSymbol): minusSymbol
1286 now has type MinusSymbol*
1287
1288 * numberOpSymbol.cc (copyAttachments): use MinusSymbol*
1289
1290 * minusSymbol.hh: created
1291
1292 * minusSymbol.cc: created
1293
1294 * builtIn.hh: added fwd decl for MinusSymbol
1295
1296 * numberOpSymbol.cc (makeNegDag): deleted
1297 (isNeg): deleted
1298 (getNeg): deleted
1299 (attachSymbol): use MinusSymbol*
1300
1301 * numberOpSymbol.hh (getSuccSymbol): added
1302 (class NumberOpSymbol): minusSymbol now has type MinusSymbol*
1303
1304 2002-05-16 Steven Eker <[email protected]>
1305
1306 * numberOpSymbol.cc (eqRewrite): rewritten to handle -ve Ints
1307
1308 * numberOpSymbol.hh (class NumberOpSymbol): updated decls
1309
1310 * numberOpSymbol.cc (makeIntDag): becomes makeNegDag(); simplified
1311 for -ve case
1312
1313 * ACU_NumberOpSymbol.cc (eqRewrite): use isNeg(), getNeg() and
1314 makeNegDag()
1315
1316 * numberOpSymbol.cc (getInt): becomes getNeg(); simplified for -ve
1317 case
1318 (isInt): becomes isNeg(); simplified for -ve case
1319
1320 * ACU_NumberOpSymbol.cc (eqRewrite): rewritten using isInt(),
1321 getInt() and makeIntDag()
1322
1323 * numberOpSymbol.cc (makeIntDag): added
1324 (isInt): added
1325 (getInt): added
1326
1327 * numberOpSymbol.hh (class NumberOpSymbol): added decls for
1328 makeIntDag(), isInt(), getInt()
1329
1330 2002-05-15 Steven Eker <[email protected]>
1331
1332 * numberOpSymbol.cc (eqRewrite): fix bad CODE for quo
1333
1334 * CUI_NumberSymbol.hh: created
1335
1336 * CUI_NumberSymbol.cc: created
1337
1338 2002-05-14 Steven Eker <[email protected]>
1339
1340 * numberOpSymbol.cc (eqRewrite): added div, mod, gcd, lcm, ^, <<
1341 and >> cases
1342 (eqRewrite): have >> case work correctly even for extreme values
1343 of 2nd arg
1344 (eqRewrite): added - and modular exponent cases
1345 (eqRewrite): div becomes quo
1346 (eqRewrite): added divides case
1347
1348 2002-05-13 Steven Eker <[email protected]>
1349
1350 * ACU_NumberOpSymbol.cc (eqRewrite): updated usedMultiplicity
1351 (attachData): fixed bug where we were looking for hook named
1352 NumberOpSymbol rather than ACU_NumberOpSymbol
1353 (eqRewrite): handle the high multiplicity case for *
1354 (eqRewrite): added gcd and lcm cases
1355 (eqRewrite): fixed bug in xor case
1356 (eqRewrite): handle the case where >= 2 but not all of the args
1357 are numbers
1358
1359 2002-05-10 Steven Eker <[email protected]>
1360
1361 * builtIn.hh: added fwd decl for ACU_NumberOpSymbol
1362
1363 * ACU_NumberOpSymbol.hh: created
1364
1365 * ACU_NumberOpSymbol.cc: created
1366
1367 2002-05-09 Steven Eker <[email protected]>
1368
1369 * succSymbol.hh (class SuccSymbol): added decl for attachData()
1370
1371 * succSymbol.cc (attachData): added in order to deal with null
1372 data attach
1373
1374 * bindingMacros.hh (NULL_DATA): added
1375
1376 * numberOpSymbol.hh: created
1377
1378 * numberOpSymbol.cc: created
1379
1380 * builtIn.hh: added forwards decls for SuccSymbol and
1381 NumberOpSymbol
1382
1383 * succSymbol.hh: created
1384
1385 * succSymbol.cc: created
1386
1387 ===================================Maude72==================================================
1388
1389 2002-02-05 Steven Eker <[email protected]>
1390
1391 * stringOpSymbol.hh (class StringOpSymbol): deleted static data
1392 member eagerStrategy
1393
1394 * stringOpSymbol.cc (StringOpSymbol): deleted strategy argument
1395 passed to FreeSymbol()
1396
1397 * sortTestSymbol.hh (class SortTestSymbol): deleted static data
1398 member eagerStrategy
1399
1400 * sortTestSymbol.cc (SortTestSymbol): use standard instead of
1401 eagerStrategy
1402
1403 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol):
1404 deleted static data member eagerStrategy
1405
1406 * machineIntegerOpSymbol.cc (MachineIntegerOpSymbol): deleted
1407 strategy argument passed to FreeSymbol()
1408
1409 * machineFloatOpSymbol.hh (class MachineFloatOpSymbol): deleted
1410 static data member eagerStrategy
1411
1412 * machineFloatOpSymbol.cc (MachineFloatOpSymbol): deleted strategy
1413 argument passed to FreeSymbol()
1414
1415 * branchSymbol.hh (class BranchSymbol): deleted static data
1416 member eagerStrategy
1417
1418 * branchSymbol.cc (BranchSymbol): deleted strategy argument passed
1419 to FreeSymbol()
1420
1421 2002-01-30 Steven Eker <[email protected]>
1422
1423 * stringTerm.hh: ifdef LIBv3 for libstdc++-v3
1424
1425 * stringDagNode.hh: ifdef LIBv3 for libstdc++-v3
1426
1427 * stringOpSymbol.hh: ifdef LIBv3 for libstdc++-v3
1428
1429 ===================================Maude70==================================================
1430
1431 2002-01-25 Steven Eker <[email protected]>
1432
1433 * stringOpSymbol.cc (eqRewrite): undid hack because it doesn't
1434 work - for unknown reasons; reverted to old library
1435 (eqRewrite): redid hack; fixed \0 termination bug in second copy
1436 of hack
1437
1438 2002-01-24 Steven Eker <[email protected]>
1439
1440 * stringOpSymbol.cc (eqRewrite): fixed bug where we weren't \0
1441 terminating our temporary C-string copy of left arg rope; bug was
1442 introduced by hack below
1443
1444 2001-12-10 Steven Eker <[email protected]>
1445
1446 * stringDagNode.hh: #include <rope> -> #include <ext/rope>
1447
1448 * stringOpSymbol.cc (eqRewrite): added hacks to get around the
1449 problem of Rope::c_str() not working in libstdc++-v3
1450
1451 * stringTerm.hh: #include <rope> -> #include <ext/rope>
1452
1453 ===================================Maude69==================================================
1454
1455 2001-03-16 Steven Eker <[email protected]>
1456
1457 * stringOpSymbol.cc (rewriteToString): incrementCount() -> incrementEqCount()
1458
1459 * sortTestSymbol.cc (eqRewrite): incrementCount() ->
1460 incrementEqCount()
1461
1462 * machineIntegerOpSymbol.cc (eqRewrite): simplified using
1463 rewriteToMachineInteger()
1464
1465 * machineIntegerSymbol.cc (rewriteToMachineInteger):
1466 incrementCount() -> incrementEqCount()
1467
1468 * machineFloatSymbol.cc (rewriteToMachineFloat): incrementCount()
1469 -> incrementEqCount()
1470
1471 2001-03-08 Steven Eker <[email protected]>
1472
1473 * branchSymbol.hh (class BranchSymbol): added decl for
1474 stackArguments()
1475
1476 * branchSymbol.cc (stackArguments): added
1477
1478 ===================================Engine65==================================================
1479
1480 2001-02-16 Steven Eker <[email protected]>
1481
1482 * stringOpSymbol.cc (eqRewrite): put result of left + right in a
1483 local variable for safety
1484 (eqRewrite): put result of int64ToString() into a local variable
1485 for safety
1486 (eqRewrite): use safeCast() for down casting in many places
1487
1488 2001-02-12 Steven Eker <[email protected]>
1489
1490 * bindingMacros.hh (BIND_OP): return true in op == t case
1491
1492 2001-01-19 Steven Eker <[email protected]>
1493
1494 * stringOpSymbol.cc (attachData): simplified using BIND_OP; call
1495 FreeSymbol::attachData()
1496 (attachSymbol): call FreeSymbol::copyAttachments()
1497 (attachTerm): don't self destruct term; call
1498 FreeSymbol::attachTerm()
1499 (copyAttachments): simplified using COPY_SYMBOL and COPY_TERM;
1500 call FreeSymbol::copyAttachments()
1501
1502 * machineFloatOpSymbol.cc (attachData): simplified using
1503 BIND_OP; call FreeSymbol::attachData()
1504 (attachSymbol): call FreeSymbol::copyAttachments()
1505 (attachTerm): don't self destruct term; call
1506 FreeSymbol::attachTerm()
1507 (copyAttachments): simplified using COPY_SYMBOL and COPY_TERM;
1508 call FreeSymbol::copyAttachments()
1509
1510 * machineIntegerOpSymbol.cc (attachData): simplified using
1511 BIND_OP; call FreeSymbol::attachData()
1512
1513 * bindingMacros.hh (BIND_OP): added
1514 (BIND_OP): added
1515
1516 * machineIntegerOpSymbol.cc (copyAttachments): simplified using
1517 COPY_SYMBOL and COPY_TERM
1518 (copyAttachments): call FreeSymbol::copyAttachments()
1519 (attachTerm): don't self destruct term; call
1520 FreeSymbol::attachTerm()
1521 (attachSymbol): call FreeSymbol::attachSymbol()
1522
1523 * bindingMacros.hh (COPY_SYMBOL): added
1524 (COPY_TERM): added
1525
1526 2001-01-17 Steven Eker <[email protected]>
1527
1528 * stringOpSymbol.cc (fwdFind): protect against wrap-around when
1529 start is close to the maximum 64 signed int
1530 (substring): protect against wrap-around when length or index are
1531 close to the minimum 64 signed int;protect against wrap-around
1532 when length is close to the maximum 64 signed int
1533
1534 * machineFloatOpSymbol.cc (postInterSymbolPass): simplified
1535 using PREPARE_TERM()
1536
1537 * machineIntegerOpSymbol.cc (postInterSymbolPass): simplified
1538 using PREPARE_TERM()
1539
1540 * stringOpSymbol.cc (postInterSymbolPass): simplified using
1541 PREPARE_TERM()
1542
1543 * bindingMacros.hh (PREPARE_TERM): added
1544
1545 2001-01-12 Steven Eker <[email protected]>
1546
1547 * machineFloatOpSymbol.hh (class MachineFloatOpSymbol): deleted
1548 decls for fixUp() and copyFixUp()
1549
1550 * machineFloatOpSymbol.cc (fixUp): deleted
1551 (copyFixUp): deleted
1552 (attachSymbol): simplified using BIND_SYMBOL()
1553 (attachTerm): simplified using BIND_TERM(); self-destruct term in
1554 the case we don't recognize purpose
1555
1556 * stringOpSymbol.hh (class StringOpSymbol): deleted decls for
1557 fixUp() and copyFixUp()
1558
1559 * machineIntegerOpSymbol.cc (attachTerm): self-destruct term in
1560 the case we don't recognize purpose
1561
1562 * stringOpSymbol.cc (attachSymbol): simplified using BIND_SYMBOL()
1563 (attachTerm): simplified using BIND_TERM(); self-destruct term in
1564 the case we don't recognize purpose so that when we return false
1565 caller knows they don't have to garbage collect term
1566 (fixUp): deleted
1567 (copyFixUp): deleted
1568
1569 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol):
1570 deleted decls for fixUp() and copyFixUp()
1571
1572 * bindingMacros.hh (BIND_SYMBOL): created
1573
1574 * machineIntegerOpSymbol.cc (fixUp): deleted
1575 (copyFixUp): deleted
1576 (attachSymbol): simplified using BIND_SYMBOL()
1577 (attachTerm): simplified using BIND_TERM()
1578
1579 2001-01-10 Steven Eker <[email protected]>
1580
1581 * stringOpSymbol.cc (StringOpSymbol): initialize op, stringSymbol,
1582 machineIntegerSymbol, machineFloatSymbol, decFloatSymbol
1583 (attachData): added
1584 (attachSymbol): added
1585 (attachTerm): added
1586 (copyAttachments): added
1587
1588 * machineFloatOpSymbol.cc (MachineFloatOpSymbol): initialize op,
1589 machineFloatSymbol, machineIntegerSymbol
1590 (attachData): added
1591 (attachSymbol): added
1592 (attachTerm): added
1593 (copyAttachments): added
1594
1595 * machineFloatOpSymbol.hh (class MachineFloatOpSymbol): added
1596 decls for attachData(), attachSymbol(), attachTerm(),
1597 copyAttachments()
1598
1599 * machineIntegerOpSymbol.cc (attachData): added purpose arg
1600
1601 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol): added
1602 purpose argument to attachData() decl
1603
1604 2001-01-09 Steven Eker <[email protected]>
1605
1606 * machineIntegerOpSymbol.cc (MachineIntegerOpSymbol): initialize
1607 op = NONE and machineIntegerSymbol = 0
1608 (attachTerm): handle the case where we are handed multiple terms
1609 with the same purpose - ok if they are equal, error otherwise
1610
1611 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol): added
1612 declarations for attachData(), attachSymbol(), attachTerm(),
1613 copyAttachments()
1614
1615 * machineIntegerOpSymbol.cc (attachData): added
1616 (attachTerm): added
1617 (attachSymbol): added
1618 (copyAttachments): added
1619
1620 ===================================Engine64==================================================
1621
1622 2000-06-21 Steven Eker <[email protected]>
1623
1624 * machineFloatOpSymbol.cc (eqRewrite): check for wrap around in
1625 float to int conversion (happens on alpha and linux with -O2)
1626
1627 * machineFloatOpSymbol.hh (class MachineFloatOpSymbol): added decl
1628 for use safePow()
1629
1630 * machineFloatOpSymbol.cc (safePow): added
1631 (eqRewrite): use safePow()
1632
1633 2000-06-20 Steven Eker <[email protected]>
1634
1635 * machineFloatOpSymbol.cc (eqRewrite): define +/-Infinity ^ X
1636 properly
1637 (eqRewrite): check arguments to asin and acos
1638 (eqRewrite): define atan2(+/-Infinity, +/-Infinity)
1639
1640 * machineFloatOpSymbol.hh (class MachineFloatOpSymbol): added decl
1641 for isOdd()
1642
1643 * machineFloatOpSymbol.cc (eqRewrite): fix pow() again (we had it
1644 wrong the first time)
1645 (isOdd): added
1646 (eqRewrite): define -Infinity ^ X properly
1647 (eqRewrite): use isOdd
1648
1649 2000-06-19 Steven Eker <[email protected]>
1650
1651 * stringOpSymbol.cc (fixUp): save decFloatSymbol
1652 (copyFixUp): copy decFloatSymbol
1653
1654 * stringOpSymbol.hh (class StringOpSymbol): added data member
1655 decFloatSymbol
1656 (class StringOpSymbol): upaded decl for fixUp()
1657
1658 * stringOpSymbol.cc (eqRewrite): implemented decFloat operation
1659
1660 2000-06-14 Steven Eker <[email protected]>
1661
1662 * machineFloatOpSymbol.cc (eqRewrite): check for errno != 0 and
1663 NaN in result
1664 (eqRewrite): don't check for errno != 0 after all: solaris sets
1665 this for log(0) and pow() overflows whereas linux does
1666 not. Instead we check the inputs to functions whose output in
1667 extreme cases varies between platforms
1668 (eqRewrite): fix pow() result in the case that first arg is -ve
1669 and pow() produces wrongly sign result; goto failure if sign
1670 cannot be reliably determined
1671
1672 2000-06-13 Steven Eker <[email protected]>
1673
1674 * machineFloatTerm.cc (MachineFloatTerm): don't allow -0.0
1675 to be stored
1676
1677 * machineFloatDagNode.cc (MachineFloatDagNode): don't allow -0.0
1678 to be stored
1679
1680 * stringOpSymbol.cc (fixUp): store machineFloatSymbol
1681 (copyFixUp): copy machineFloatSymbol
1682 (eqRewrite): added code for MachineFloat <-> String
1683
1684 * stringOpSymbol.hh (class StringOpSymbol): added data member
1685 machineFloatSymbol; updated decl for ctor
1686
1687 2000-06-12 Steven Eker <[email protected]>
1688
1689 * machineFloatOpSymbol.cc (eqRewrite): use rewriteToMachineFloat()
1690 (eqRewrite): handle machine integer to machine float conversion
1691
1692 * machineFloatSymbol.hh (class MachineFloatSymbol): added decl for
1693 rewriteToMachineFloat()
1694
1695 * machineFloatSymbol.cc (rewriteToMachineFloat): added
1696
1697 * stringOpSymbol.hh (class StringOpSymbol): deleted decl for
1698 rewriteToMachineInteger()
1699
1700 * stringOpSymbol.cc (eqRewrite): use
1701 MachineIntegerSymbol::rewriteToMachineInteger() (3 places)
1702 (rewriteToMachineInteger): deleted
1703
1704 * machineFloatOpSymbol.cc (eqRewrite): support machine float to
1705 machine integer conversion
1706
1707 * machineIntegerSymbol.hh (class MachineIntegerSymbol): added decl
1708 for rewriteToMachineInteger()
1709
1710 * machineIntegerSymbol.cc (rewriteToMachineInteger): added
1711
1712 * machineFloatOpSymbol.cc (fixUp): save machineIntegerSym
1713 (copyFixUp): copy machineIntegerSym
1714
1715 * machineFloatOpSymbol.hh (class MachineFloatOpSymbol): added data
1716 member machineIntegerSymbol; updated decl for fixUp()
1717
1718 2000-06-09 Steven Eker <[email protected]>
1719
1720 * machineIntegerSymbol.cc (fillInSortInfo): use getValue() rather
1721 than isZero()
1722
1723 * machineIntegerTerm.hh (isZero): deleted
1724
1725 * machineFloatOpSymbol.hh: created
1726
1727 * machineFloatOpSymbol.cc: created
1728
1729 * machineFloatTerm.cc: created
1730
1731 * machineFloatTerm.hh: created
1732
1733 * builtIn.hh: added forward decls for MachineFloat classes
1734
1735 * machineFloatDagNode.cc: created
1736
1737 * machineFloatSymbol.cc: created
1738
1739 * machineFloatDagNode.hh: created
1740
1741 * machineFloatSymbol.hh: created
1742
1743 2000-05-16 Steven Eker <[email protected]>
1744
1745 * stringOpSymbol.cc (eqRewrite): parse becomes machineInt, format
1746 becomes string
1747
1748 2000-05-09 Steven Eker <[email protected]>
1749
1750 * stringOpSymbol.cc (eqRewrite): add code for format and parse
1751 operations
1752
1753 2000-04-25 Steven Eker <[email protected]>
1754
1755 * stringOpSymbol.cc (eqRewrite): added functionality for char()
1756 and ascii() ops
1757
1758 * builtIn.hh: added forward decls for class StringSymbol, class
1759 StringTerm, class StringDagNode, class StringOpSymbol
1760
1761 * stringOpSymbol.cc (fixUp): take StringSymbol* arg
1762 (copyFixUp): cast to StringSymbol*
1763
1764 * stringOpSymbol.hh (class StringOpSymbol): updated fixUp() decl
1765 (class StringOpSymbol): stringSymbol becomes a StringSymbol*
1766
1767 * stringDagNode.cc (StringDagNode): take StringSymbol* arg
1768 (overwriteWithClone): cast to StringSymbol*
1769 (makeClone): cast to StringSymbol*
1770
1771 * stringDagNode.hh (class StringDagNode): updated decl for
1772 StringDagNode()
1773
1774 * stringTerm.cc (StringTerm): take StringSymbol* arg
1775 (deepCopy2): cast to StringSymbol*
1776 (overwriteWithDagNode): cast to StringSymbol*
1777 (makeDagNode): cast to StringSymbol*
1778
1779 * stringTerm.hh (class StringTerm): updated decl for StringTerm()
1780
1781 * stringSymbol.hh: created
1782
1783 * stringSymbol.cc: created
1784
1785 2000-04-24 Steven Eker <[email protected]>
1786
1787 * stringDagNode.cc (StringDagNode): call setCallDtor() so that
1788 crope can be destructed on garbage collection
1789
1790 2000-04-12 Steven Eker <[email protected]>
1791
1792 * stringOpSymbol.cc (substring): return crope rather than const
1793 crope&
1794
1795 * stringOpSymbol.hh (class StringOpSymbol): substring() must
1796 return crope rather than const crope&
1797
1798 2000-04-11 Steven Eker <[email protected]>
1799
1800 * stringOpSymbol.cc: created
1801
1802 * stringOpSymbol.hh: created
1803
1804 2000-04-10 Steven Eker <[email protected]>
1805
1806 * stringDagNode.cc: created
1807
1808 * stringDagNode.hh: created
1809
1810 2000-04-07 Steven Eker <[email protected]>
1811
1812 * stringTerm.cc: created
1813
1814 * stringTerm.hh: created
1815
1816 ===================================Maude 1.0.5 finished=======================================
1817
1818 2000-03-14 Steven Eker <[email protected]>
1819
1820 * branchSymbol.cc (computeBaseSort): code cleaning
1821
1822 ===================================Engine56==================================================
1823
1824 2000-01-28 Steven Eker <[email protected]>
1825
1826 * equalitySymbol.cc (generateCode): call generateIncrement()
1827 (generateCode): don't call generateIncrement() after all as
1828 generateRhs() does so
1829
1830 2000-01-27 Steven Eker <[email protected]>
1831
1832 * equalitySymbol.hh (class EqualitySymbol): added decl for generateCode()
1833
1834 * equalitySymbol.cc (generateCode): added
1835
1836 ===================================Engine54==================================================
1837
1838 1999-10-29 Steven Eker <[email protected]>
1839
1840 * machineIntegerDagNode.cc (getHashValue): cast to int before
1841 hashing
1842
1843 * machineIntegerTerm.cc (normalize): cast to int before hashing
1844
1845 * machineIntegerDagNode.cc (MachineIntegerDagNode): int -> Int64
1846
1847 * machineIntegerDagNode.hh (class MachineIntegerDagNode): int ->
1848 Int64
1849
1850 * machineIntegerOpSymbol.cc (eqRewrite): specialEval becomes a
1851 bool; int -> Int64
1852
1853 * machineIntegerTerm.cc (MachineIntegerTerm): int -> Int64
1854 (compareArguments): (both versions) int -> Int64
1855
1856 * machineIntegerTerm.hh (class MachineIntegerTerm): int -> Int64
1857 (getValue): int -> Int64
1858
1859 ===================================Engine53==================================================
1860
1861 1999-10-25 Steven Eker <[email protected]>
1862
1863 * sortTestSymbol.cc (eqRewrite): updated call to
1864 tracePreEqRewrite()
1865
1866 * machineIntegerOpSymbol.cc (eqRewrite): updated call to
1867 tracePreEqRewrite()
1868
1869 1999-10-19 Steven Eker <[email protected]>
1870
1871 * machineIntegerDagNode.cc (getHashValue): added
1872
1873 * machineIntegerDagNode.hh (class MachineIntegerDagNode): added
1874 decl for getHashValue()
1875
1876 1999-10-14 Steven Eker <[email protected]>
1877
1878 * sortTestSymbol.cc (eqRewrite): call constrainToExactSort(t,
1879 context);
1880
1881 ===================================Engine52==================================================
1882
1883 1999-04-26 Steven Eker <[email protected]>
1884
1885 * branchSymbol.cc (compileSortConstraints): deleted
1886 (compileEquations): deleted
1887 (fillInSortInfo): added extra assert for component of 2nd arg
1888
1889 * branchSymbol.hh (class BranchSymbol): deleted decls for
1890 compileEquations() and compileSortConstraints()
1891
1892 * branchSymbol.cc (eqRewrite): call FreeSymbol::eqRewrite(subject,
1893 context) if we can't match 1st arg
1894
1895 * sortTestSymbol.cc (makeLazyStrategy): made lazyStrategy a local
1896 static
1897 (fillInSortInfo): deleted
1898 (computeBaseSort): deleted
1899 (compileOpDeclarations): deleted
1900 (compileSortConstraints): deleted
1901 (acceptEquation): added
1902
1903 * sortTestSymbol.hh (class SortTestSymbol): added decl for
1904 acceptEquation(); deleted decls for fillInSortInfo(),
1905 computeBaseSort(), compileOpDeclarations(),
1906 compileSortConstraints()
1907 (makeLazyStrategy): moved to sortTestSymbol.cc
1908
1909 * equalitySymbol.cc (computeBaseSort): deleted
1910 (compileOpDeclarations): deleted
1911 (compileSortConstraints): deleted; fixes nasty bug where we dump
1912 core on uncompiled sort constraints
1913 (fillInSortInfo): deleted
1914 (acceptEquation): added
1915
1916 * equalitySymbol.hh (class EqualitySymbol): added decl for
1917 acceptEquation(); deleted decls for fillInSortInfo(),
1918 computeBaseSort(), compileOpDeclarations(),
1919 compileSortConstraints()
1920
1921 1999-04-22 Steven Eker <[email protected]>
1922
1923 * machineIntegerSymbol.cc (compileOpDeclarations): don't do
1924 default sort processing anymore since rangeComponent() and
1925 domainComponent() no longer require this
1926
1927 1999-04-20 Steven Eker <[email protected]>
1928
1929 * equalitySymbol.cc (fillInSortInfo): use correct arg of op decl
1930 (computeBaseSort): use correct arg of op decl
1931 (fillInSortInfo): use domainComponent() in asserts
1932
1933 * branchSymbol.cc (fillInSortInfo): use domainComponent()
1934
1935 * branchSymbol.hh (class BranchSymbol): deleted data members
1936 expectedSort and range
1937 (class BranchSymbol): updated decl for ctor
1938 (class BranchSymbol): deleted decls for rangeComponent() and
1939 domainComponent()
1940
1941 * branchSymbol.cc (rangeComponent): deleted; default will now work
1942 (domainComponent): deleted; default will now work
1943 (BranchSymbol): don't take range arg or initialize range
1944 (computeBaseSort): use (default) rangeComponent() rather than
1945 range data member
1946 (computeBaseSort): use getOpDeclarations() rather than
1947 expectedSort
1948 (fillInSortInfo): use getOpDeclarations() rather than
1949 expectedSort
1950 (BranchSymbol): don't take testSort arg or initialize expectedSort
1951
1952 * equalitySymbol.hh (class EqualitySymbol): delete rangeSort and
1953 argComponent data members
1954 (class EqualitySymbol): delete obsolete strategy stuff
1955 (class EqualitySymbol): update ctor decl
1956 (class EqualitySymbol): deleted decls for rangeComponent() and
1957 domainComponent()
1958
1959 * equalitySymbol.cc (domainComponent): deleted; default will now
1960 work
1961 (rangeComponent): deleted; default will now work
1962 (EqualitySymbol): don't take or initialize argComponent
1963 (fillInSortInfo): use getOpDeclarations() rather than rangeSort
1964 (fillInSortInfo): split Assert to check both args against op decl
1965 (computeBaseSort): use getOpDeclarations() rather than rangeSort
1966 (EqualitySymbol): don't initialize range sort or take resultSort
1967 arg
1968
1969 * sortTestSymbol.hh (class SortTestSymbol): deleted rangeSort data
1970 member
1971 (class SortTestSymbol): updated ctor decl
1972 (class SortTestSymbol): deleted decls for rangeComponent() and
1973 domainComponent()
1974
1975 * sortTestSymbol.cc (rangeComponent): (instance version) deleted
1976 (fillInSortInfo): use getOpDeclarations() rather than rangeSort
1977 (computeBaseSort): use getOpDeclarations() rather than rangeSort
1978 (rangeComponent): deleted; default will now work
1979 (domainComponent): deleted; default will now work
1980 (SortTestSymbol): don't initialize rangeSort; don't take
1981 resultSort arg
1982
1983 * sortTestSymbol.hh (class SortTestSymbol): deleted decl for
1984 rangeComponent() instance version
1985
1986 * branchSymbol.cc (rangeComponent): (instance version) deleted
1987 (computeBaseSort): don't use (instance version) rangeComponent()
1988
1989 * branchSymbol.hh (class BranchSymbol): deleted decl for
1990 rangeComponent() instance version
1991
1992 * equalitySymbol.cc (rangeComponent): (instance version) deleted
1993
1994 * equalitySymbol.hh (class EqualitySymbol): deleted decl for
1995 rangeComponent() instance version
1996
1997 * machineIntegerDagNode.cc (specialPrint): deleted
1998
1999 * machineIntegerDagNode.hh (class MachineIntegerDagNode): decl
2000 for specialPrint()
2001
2002 * machineIntegerTerm.cc (specialPrint): deleted
2003
2004 * machineIntegerTerm.hh (class MachineIntegerTerm): deleted decl
2005 for specialPrint()
2006
2007 1999-04-19 Steven Eker <[email protected]>
2008
2009 * branchSymbol.cc: use equal() rather than compare() for checking
2010 1st arg against test terms
2011
2012 * equalitySymbol.cc (eqRewrite): call computeTrueSort() on bith
2013 args inorder to force normalization; we don't actually use the
2014 sorts; this fixes a bug that we shared with OBJ3 === op
2015
2016 ===================================Engine48==================================================
2017 ===================================Maude 1.0.2 released=======================================
2018 ===================================Maude 1.0.1 released=======================================
2019
2020 1999-02-27 Steven Eker <[email protected]>
2021
2022 * branchSymbol.cc (fillInSortInfo): fixed bad Assert() test
2023
2024 ===================================VectorExperiment==========================================
2025
2026 1999-02-04 Steven Eker <[email protected]>
2027
2028 * sortTestSymbol.cc (parse): deleted
2029 (fillInSortInfo): added
2030
2031 * sortTestSymbol.hh (class SortTestSymbol): deleted decl for
2032 parse(); added decl for fillInSortInfo()
2033
2034 * equalitySymbol.cc (parse): deleted
2035 (fillInSortInfo): added
2036
2037 * equalitySymbol.hh (class EqualitySymbol): deleted decl for
2038 parse(); added decl for fillInSortInfo()
2039
2040 * machineIntegerSymbol.cc (parse): deleted
2041 (fillInSortInfo): added
2042
2043 * machineIntegerSymbol.hh (class MachineIntegerSymbol): deleted
2044 decl for parse(); added decl for fillInSortInfo()
2045
2046 * branchSymbol.cc (parse): deleted
2047 (fillInSortInfo): added
2048
2049 * branchSymbol.hh (class BranchSymbol): deleted decl for parse();
2050 added decl for fillInSortInfo()
2051
2052 ===================================Engine47==================================================
2053 ===================================Maude 1.00 released=======================================
2054
2055 1999-01-22 Steven Eker <[email protected]>
2056
2057 * branchSymbol.cc (BranchSymbol): don't delete TestTerms for the
2058 moment - another HACK
2059
2060 * equalitySymbol.hh (class EqualitySymbol): added decl for
2061 ~EqualitySymbol()
2062
2063 * equalitySymbol.cc (~EqualitySymbol): added so we can zero out
2064 terms in CachedDags to avoid them being deep self destructed; this
2065 is a hack - need to find a better solution after release.
2066
2067 * branchSymbol.cc (BranchSymbol): use deep copy rather than loop
2068
2069 =================================Engine46==================================================
2070
2071 Sun Dec 13 16:44:05 1998 Steven Eker <[email protected]>
2072
2073 * machineIntegerOpSymbol.cc (copyFixUp): fixed bug where we we
2074 setting trueTerm twice and not setting falseTerm
2075
2076 Thu Dec 10 14:33:33 1998 Steven Eker <[email protected]>
2077
2078 * sortTestSymbol.cc (rangeComponent): added (no args version)
2079 (domainComponent): added
2080
2081 * sortTestSymbol.hh (class SortTestSymbol): added decls for
2082 rangeComponent() (no args version) and domainComponent()
2083
2084 * branchSymbol.cc (domainComponent): added
2085 (rangeComponent): added (no args version)
2086 (BranchSymbol): handle range arg
2087
2088 * branchSymbol.hh (class BranchSymbol): added decls for
2089 rangeComponent() (no args version) and domainComponent()
2090 (class BranchSymbol): added range arg to ctor
2091 (class BranchSymbol): added range data member
2092
2093 * equalitySymbol.hh (class EqualitySymbol): added data member
2094 argComponent; deleted data member eagerFlag
2095
2096 * equalitySymbol.cc (EqualitySymbol): handle argComponent
2097 (rangeComponent): added (no args version)
2098 (domainComponent): added
2099
2100 * equalitySymbol.hh (class EqualitySymbol): added decls for
2101 rangeComponent() (no args version) and domainComponent()
2102 (class EqualitySymbol): added argComponent arg to ctor
2103
2104 Tue Dec 8 11:45:16 1998 Steven Eker <[email protected]>
2105
2106 * machineIntegerOpSymbol.hh (getFalseTerm): deleted
2107 (getTrueTerm): deleted
2108 (getMachineIntegerSymbol): deleted
2109 (getOp): deleted
2110 (class MachineIntegerOpSymbol): updated decls
2111
2112 * machineIntegerOpSymbol.cc (copyFixUp): replaces new version of
2113 fixUp()
2114
2115 Mon Dec 7 11:44:21 1998 Steven Eker <[email protected]>
2116
2117 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol): added
2118 decl for new version of fixUp()
2119
2120 * machineIntegerOpSymbol.cc (fixUp): added 2nd version that
2121 takes an op code rather than a name
2122
2123 * machineIntegerOpSymbol.hh (getOp): added
2124 (getMachineIntegerSymbol): added
2125 (getTrueTerm): added
2126 (getFalseTerm): added
2127
2128 =================================Engine44==================================================
2129
2130 Wed Nov 25 17:22:39 1998 Steven Eker <[email protected]>
2131
2132 * sortTestSymbol.cc (eqRewrite): call traceAbort()
2133
2134 * machineIntegerOpSymbol.cc (eqRewrite): return result of builtInReplace()
2135 since this may now be false in abort case
2136 (eqRewrite): call traceAbort() in the case that our result is a in
2137 place construction of a MachineIntegerDagNode
2138
2139 * branchSymbol.cc (eqRewrite): return result of builtInReplace()
2140 since this may now be false in abort case
2141
2142 * equalitySymbol.cc (eqRewrite): return result of builtInReplace()
2143 since this may now be false in abort case
2144
2145 Mon Nov 16 10:13:54 1998 Steven Eker <[email protected]>
2146
2147 * branchSymbol.cc (eqRewrite): simplified using
2148 RewritingContext::builtInReplace()
2149
2150 * machineIntegerOpSymbol.cc (eqRewrite): simplified using
2151 RewritingContext::builtInReplace()
2152
2153 * equalitySymbol.cc (eqRewrite): simplified using
2154 RewritingContext::builtInReplace()
2155
2156 * machineIntegerOpSymbol.cc (eqRewrite): use getTraceStatus()
2157 instead of traceStatus()
2158
2159 * sortTestSymbol.cc (eqRewrite): use getTraceStatus() instead of
2160 traceStatus()
2161
2162 * equalitySymbol.cc (eqRewrite): use getTraceStatus() instead of
2163 traceStatus()
2164
2165 * branchSymbol.cc (eqRewrite): use getTraceStatus() instead of
2166 traceStatus()
2167
2168 Fri Nov 6 16:30:22 1998 Steven Eker <[email protected]>
2169
2170 * machineIntegerTerm.cc (deepCopy): -> deepCopy2()
2171
2172 * machineIntegerTerm.hh (class MachineIntegerTerm): deepCopy() ->
2173 deepCopy2()
2174
2175 =================================Engine43==================================================
2176
2177 Thu Oct 15 14:58:33 1998 Steven Eker <[email protected]>
2178
2179 * machineIntegerOpSymbol.cc: becomes postInterSymbolPass()
2180 (postInterSymbolPass): use CachedDag::normalize() and prepare()
2181
2182 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol):
2183 interSymbolPass() decl becomes postInterSymbolPass() decl
2184
2185 * equalitySymbol.hh (class EqualitySymbol): interSymbolPass() decl
2186 becomes postInterSymbolPass() decl
2187
2188 * equalitySymbol.cc (interSymbolPass): becomes postInterSymbolPass()
2189 (postInterSymbolPass): use CachedDag::normalize() and prepare()
2190
2191 Wed Oct 14 11:23:44 1998 Steven Eker <[email protected]>
2192
2193 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol):
2194 deleted decl for dtor
2195
2196 * machineIntegerOpSymbol.cc (MachineIntegerOpSymbol): simplified
2197 (~MachineIntegerOpSymbol): deleted
2198 (interSymbolPass): use CachedDag::getTerm() and setTerm()
2199 (reset): use CachedDag::reset()
2200 (fixUp): use CachedDag::setTerm()
2201 (eqRewrite): simplified using CachedDag::getDag()
2202
2203 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol): use
2204 CachedDag rather than DagRoot and Term*
2205
2206 * equalitySymbol.hh (class EqualitySymbol): deleted decl for dtor
2207
2208 * equalitySymbol.cc (EqualitySymbol): use CachedDag ctor
2209 (~EqualitySymbol): deleted (default will do)
2210 (reset): use CachedDag::reset()
2211 (eqRewrite): simplified using CachedDag::getDag()
2212 (interSymbolPass): use CachedDag::getTerm() and setTerm()
2213
2214 * equalitySymbol.hh (class EqualitySymbol): use CachedDag rather
2215 than DagRoot and Term*
2216
2217 =================================Engine42==================================================
2218
2219 Thu Oct 8 14:35:23 1998 Steven Eker <[email protected]>
2220
2221 * machineIntegerDagNode.cc (compareArguments): added const
2222
2223 * machineIntegerTerm.cc (compareArguments): (DagNode* version)
2224 inserted const
2225 (compareArguments): (Term* version) inserted const
2226
2227 =================================Engine41==================================================
2228
2229 Fri Sep 18 17:07:45 1998 Steven Eker <[email protected]>
2230
2231 * branchSymbol.cc (parse): use new setSortInfo() conventions,
2232 ConnectedComponent::getLeqSorts(), findIndex()
2233 (computeBaseSort): use setSortIndex(),
2234 ConnectedComponent::getLeqSorts(), findIndex()
2235
2236 * equalitySymbol.cc (parse): use new setSortInfo() convention
2237 (computeBaseSort): se setSortIndex()
2238
2239 * sortTestSymbol.cc (parse): use new setSortInfo() convention
2240 (eqRewrite): use DagNode::leq()
2241 (computeBaseSort): use setSortIndex()
2242
2243 * machineIntegerSymbol.cc (parse): use new setSortInfo() convention
2244 (computeBaseSort): use setSortIndex()
2245
2246 Fri Sep 11 18:31:56 1998 Steven Eker <[email protected]>
2247
2248 * sortTestSymbol.cc (eqRewrite): use <=(DagNode*,Sort&)
2249
2250 Fri Jul 31 15:34:46 1998 Steven Eker <[email protected]>
2251
2252 * machineIntegerTerm.hh (class MachineIntegerTerm): added decl for
2253 getValue()
2254 (getValue): added
2255
2256 Wed Jul 29 14:33:30 1998 Steven Eker <[email protected]>
2257
2258 * machineIntegerSymbol.cc (compileOpDeclarations): need to do
2259 default processing in order for rangeComponent() to work
2260
2261 * machineIntegerSymbol.hh (class MachineIntegerSymbol): deletede
2262 decl for fixUp()
2263
2264 * machineIntegerSymbol.cc (compileOpDeclarations): added
2265 (fixUp): deleted
2266
2267 * machineIntegerSymbol.hh (class MachineIntegerSymbol): added decl
2268 for compileOpDeclarations();
2269
2270 Tue Jul 21 10:51:19 1998 Steven Eker <[email protected]>
2271
2272 * machineIntegerOpSymbol.cc (eqRewrite): use Terms and DagRoots
2273 rather than symbols for true/false results
2274
2275 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol): added
2276 data members trueDag and falseDag
2277
2278 * machineIntegerOpSymbol.cc (~MachineIntegerOpSymbol): added
2279 (interSymbolPass): added
2280 (reset): added
2281
2282 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol):
2283 deleted decl for setSymbols(); added decl for fixUp(); updated
2284 decl for ctor
2285 (class MachineIntegerOpSymbol): trueSymbol -> trueTerm;
2286 falseSymbol -> falseTerm
2287 (class MachineIntegerOpSymbol): added decl for dtor;
2288 interSymbolPass() and reset()
2289
2290 * machineIntegerOpSymbol.cc (fixUp): added
2291 (setSymbols): deleted
2292 (MachineIntegerOpSymbol): now just take name and arity
2293
2294 * machineIntegerSymbol.hh (class MachineIntegerSymbol): updated
2295 ctor decl; added decl for fixUp();
2296
2297 * machineIntegerSymbol.cc (fixUp): added
2298 (MachineIntegerSymbol): so longer set sort info or pass it to NA_Symbol()
2299
2300 * machineIntegerTerm.hh (class MachineIntegerTerm): added
2301
2302 * machineIntegerTerm.cc (deepCopy): added
2303
2304 Fri Jul 17 10:16:13 1998 Steven Eker <[email protected]>
2305
2306 * equalitySymbol.cc (EqualitySymbol): rewritten
2307 (~EqualitySymbol): added
2308 (interSymbolPass): added
2309 (reset): added
2310 (eqRewrite): obey general FreeSymbol strategy
2311 (eqRewrite): generate result DagNode and use overwriteWithClone()
2312 (eqRewrite): don't copy sort info when making dag
2313
2314 * equalitySymbol.hh (class EqualitySymbol): deleted data members
2315 equalResult, notEqualResult and eager flag; added data members
2316 equalTerm, notEqualTerm, equalDag, notEqualDag
2317 (class EqualitySymbol): added decls for interSymbolPass() and reset()
2318 (class EqualitySymbol): take strategy arg rather than eager arg;
2319 args eq and neq become Term*
2320 (makeLazyStrategy): deleted
2321 (class EqualitySymbol): deleted decl for makeLazyStrategy() and
2322 static members eagerStrategy and lazyStrategy
2323
2324 =================================Engine39==================================================
2325
2326 Tue Jul 7 17:41:16 1998 Steven Eker <[email protected]>
2327
2328 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol): added
2329 decl for setSymbols()
2330
2331 * machineIntegerOpSymbol.cc (MachineIntegerOpSymbol): no longer
2332 initialize symbol pointers like constants
2333 (setSymbols): added
2334
2335 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol):
2336 removed const from symbol pointers to allow them to be initialized
2337 later; added defualt value of 0 for machineIntegerSymbol so we can
2338 call ctor without supplying necessary symbols
2339
2340 Wed Jun 10 18:23:46 1998 Steven Eker <[email protected]>
2341
2342 * machineIntegerTerm.hh (class MachineIntegerTerm): updated
2343 normalize() decl
2344
2345 * machineIntegerTerm.cc (normalize): clear changed flag
2346
2347 =================================Engine38==================================================
2348
2349 Fri Feb 13 14:42:16 1998 Steven Eker <[email protected]>
2350
2351 * branchSymbol.cc (~BranchSymbol): added to self destruct test terms
2352
2353 * branchSymbol.hh (class BranchSymbol): added decl for ~BranchSymbol();
2354
2355 Thu Feb 12 14:51:37 1998 Steven Eker <[email protected]>
2356
2357 * equalitySymbol.cc (eqRewrite): compare() == 0 changed to equal()
2358
2359 =================================Engine35==================================================
2360
2361 Thu Dec 4 14:30:33 1997 Steven Eker <[email protected]>
2362
2363 * machineIntegerOpSymbol.cc (MachineIntegerOpSymbol): don't pass
2364 inert arg to FreeSymbol()
2365
2366 * sortTestSymbol.cc (SortTestSymbol): don't pass inert arg to FreeSymbol()
2367
2368 * equalitySymbol.cc (EqualitySymbol): don't pass inert arg to FreeSymbol()
2369
2370 * branchSymbol.cc (BranchSymbol): don't pass inert arg to FreeSymbol()
2371
2372 Wed Oct 15 16:40:07 1997 Steven Eker <[email protected]>
2373
2374 * machineIntegerOpSymbol.cc (MachineIntegerOpSymbol): remove constructor arg from
2375 call to FreeSymbol()
2376
2377 * branchSymbol.cc (BranchSymbol): remove constructor arg from
2378 call to FreeSymbol()
2379
2380 * sortTestSymbol.cc (SortTestSymbol): remove constructor arg from
2381 call to FreeSymbol()
2382
2383 * equalitySymbol.cc (EqualitySymbol): remove constructor arg from
2384 call to FreeSymbol()
2385
2386 =================================Engine30==================================================
2387
2388 Wed Oct 1 16:38:08 1997 Steven Eker <[email protected]>
2389
2390 * sortTestSymbol.hh (eager): added
2391 (sort): added
2392
2393 Tue Sep 30 14:30:53 1997 Steven Eker <[email protected]>
2394
2395 * machineIntegerTerm.hh (class MachineIntegerTerm): added decl for
2396 normalize()
2397
2398 * machineIntegerTerm.cc (normalize): added in order to compute
2399 distict hash value
2400
2401 =================================Engine28==================================================
2402
2403 Fri Aug 29 16:31:24 1997 Steven Eker <[email protected]>
2404
2405 * sortTestSymbol.cc (eqRewrite): rewritten using FreeDagNode::getArgument()
2406
2407 * equalitySymbol.cc (eqRewrite): rewritten using FreeDagNode::getArgument()
2408 (computeBaseSort): simplified
2409
2410 * branchSymbol.cc (eqRewrite): rewritten using FreeDagNode::getArgument()
2411 (computeBaseSort): rewritten using FreeDagNode::getArgument()
2412 (rangeComponent): rewritten using FreeDagNode::getArgument()
2413
2414 Thu Aug 28 11:07:50 1997 Steven Eker <[email protected]>
2415
2416 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol): update
2417 MachineIntegerOpSymbol() decl
2418
2419 * machineIntegerOpSymbol.cc (MachineIntegerOpSymbol): now take
2420 arity argument;
2421 (eqRewrite): rewritten to use CODE() macro, remove u- and add >>
2422 and <<
2423
2424 =================================Engine27==================================================
2425
2426 Tue Aug 12 17:19:15 1997 Steven Eker <[email protected]>
2427
2428 * machineIntegerSymbol.cc (computeBaseSort): use getValue() rather
2429 than isZero()
2430
2431 * machineIntegerOpSymbol.cc (eqRewrite): use getValue() rather
2432 than acessing MachineIntegerDagNode private part
2433
2434 * machineIntegerDagNode.hh (class MachineIntegerDagNode): removed
2435 friend class MachineIntegerOpSymbol
2436
2437 * machineIntegerDagNode.cc: delete #include "intSet.hh"
2438
2439 * machineIntegerDagNode.hh (isZero): replaced with getValue();
2440 typically most applications of machine int (eg meta level) will
2441 need at least this.
2442 (class MachineIntegerDagNode): delete decl for isZero(), added
2443 decl for getValue()
2444
2445 * builtIn.hh: added decls for MachineIntegerSymbol,
2446 MachineIntegerTerm, MachineIntegerDagNode and
2447 MachineIntegerOpSymbol
2448
2449 Tue Aug 5 16:12:57 1997 Steven Eker <[email protected]>
2450
2451 * machineIntegerOpSymbol.cc (eqRewrite): use getArgument() rather
2452 than argArray()
2453
2454 Mon Aug 4 11:10:25 1997 Steven Eker <[email protected]>
2455
2456 * machineIntegerOpSymbol.cc (eqRewrite): split call to
2457 context.tracePreEqRewrite() so that we don't call it in a div by
2458 zero situation
2459
2460 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol):
2461 NA_Symbol -> MachineIntegerSymbol in ctor decl
2462 (class MachineIntegerOpSymbol): NA_Symbol ->
2463 MachineIntegerSymbol for data member
2464
2465 * machineIntegerOpSymbol.cc (MachineIntegerOpSymbol): NA_Symbol ->
2466 MachineIntegerSymbol
2467
2468 * machineIntegerTerm.hh (class MachineIntegerTerm):
2469 NA_Symbol -> MachineIntegerSymbol in ctor decl
2470
2471 * machineIntegerTerm.cc (overwriteWithDagNode): NA_Symbol ->
2472 MachineIntegerSymbol
2473 (makeDagNode): NA_Symbol -> MachineIntegerSymbol
2474 (MachineIntegerTerm): NA_Symbol -> MachineIntegerSymbol
2475
2476 * machineIntegerDagNode.hh (class MachineIntegerDagNode):
2477 NA_Symbol -> MachineIntegerSymbol in ctor decl
2478
2479 * machineIntegerDagNode.cc (makeClone): NA_Symbol -> MachineIntegerSymbol
2480 (overwriteWithClone): NA_Symbol -> MachineIntegerSymbol
2481 (MachineIntegerDagNode): NA_Symbol -> MachineIntegerSymbol
2482
2483 * machineIntegerDagNode.hh (isZero): added
2484
2485 * machineIntegerTerm.hh (isZero): added
2486
2487 * machineIntegerSymbol.cc: created
2488
2489 * machineIntegerSymbol.hh (class MachineIntegerSymbol): created
2490
2491 Thu Jul 31 10:33:28 1997 Steven Eker <[email protected]>
2492
2493 * machineIntegerOpSymbol.cc: created
2494
2495 * machineIntegerOpSymbol.hh (class MachineIntegerOpSymbol): created
2496
2497 * machineIntegerDagNode.cc: created
2498
2499 * machineIntegerDagNode.hh (class MachineIntegerDagNode): created
2500
2501 Wed Jul 30 19:27:49 1997 Steven Eker <[email protected]>
2502
2503 * machineIntegerTerm.hh (class MachineIntegerTerm): created
2504
2505 * machineIntegerTerm.cc: created
2506
2507 Wed Jul 23 11:59:39 1997 Steven Eker <[email protected]>
2508
2509 * metaRewriteSymbol.cc (pullDown2): pass full = false to
2510 normalize()
2511
2512 =================================Engine26b==================================================
2513
2514 Tue Jul 15 15:47:24 1997 Steven Eker <[email protected]>
2515
2516 * sortTestSymbol.cc (SortTestSymbol): pass inert = false
2517
2518 * branchSymbol.cc (BranchSymbol): pass inert = false
2519
2520 * metaRewriteSymbol.cc (MetaRewriteSymbol): pass inert = false
2521
2522 * equalitySymbol.cc (EqualitySymbol): pass inert = false
2523
2524 ================================Engine26=====================================================
2525
2526 Mon Jun 30 10:59:50 1997 Steven Eker <[email protected]>
2527
2528 * metaRewriteSymbol.cc (pullDown): if symbol pulled down is a
2529 variable, set index to 0 to avoid uninitialized read in
2530 Variable::markEagerArguments(). This is a horrible hack the will
2531 disappear when this code is replaced by the new meta-level
2532 (pullDown): horrible hack removed in favour of change to
2533 Variable::markEagerArguments() whcih also works for top level
2534 reduction terms.
2535
2536 Wed Jun 25 12:04:00 1997 Steven Eker <[email protected]>
2537
2538 * metaRewriteSymbol.cc (eqRewrite): pass purpose arg to makeSubcontext()
2539
2540 Tue Jun 24 16:35:39 1997 Steven Eker <[email protected]>
2541
2542 * metaRewriteSymbol.cc: added #include "variable.hh"
2543
2544 Thu Apr 10 18:34:40 1997 Steven Eker <[email protected]>
2545
2546 * metaRewriteSymbol.cc (errorRewrite): deepSelfDestruct t rather than
2547 relying on pushdUp2() to do it
2548 (eqRewrite): deepSelfDestruct t rather than relying on pushdUp2()
2549 to do it
2550 (pushUp2): don't deepSelfDestruct t
2551 (errorRewrite): increment rewrite count; handle tracing for the
2552 meta-*() ---> error* step.
2553 (eqRewrite): no longer start by incrementing rewrite count
2554 (eqRewrite): major rehack to handle tracing
2555
2556 Tue Apr 8 14:38:01 1997 Steven Eker <[email protected]>
2557
2558 * branchSymbol.cc (eqRewrite): added tracing
2559
2560 * sortTestSymbol.cc (eqRewrite): added tracing
2561
2562 * equalitySymbol.cc (eqRewrite): added tracing
2563
2564 Fri Apr 4 17:58:06 1997 Steven Eker <[email protected]>
2565
2566 * metaRewriteSymbol.cc (eqRewrite): removed trace flag from
2567 RewritingContext constructor calls
2568
2569 Tue Apr 1 15:19:16 1997 Steven Eker <[email protected]>
2570
2571 * metaRewriteSymbol.cc (eqRewrite): heavily rewritten to use
2572 pushUpSubstitution()
2573
2574 * metaRewriteSymbol.hh (class MetaRewriteSymbol): added decl for
2575 pushUpSubstitution()
2576
2577 * metaRewriteSymbol.cc (pushUpSubstitution): added
2578
2579 Mon Mar 31 10:28:16 1997 Steven Eker <[email protected]>
2580
2581 * metaRewriteSymbol.cc (errorRewrite): context arg removed
2582 (eqRewrite): removed context arg from errorRewrite() call
2583
2584 * metaRewriteSymbol.hh (class MetaRewriteSymbol): added
2585 errorRewrite() decl
2586
2587 * metaRewriteSymbol.cc (errorRewrite): added
2588 (eqRewrite): use errorRewrite()
2589
2590 Fri Mar 28 16:08:10 1997 Steven Eker <[email protected]>
2591
2592 * metaRewriteSymbol.cc (pushUp2): added
2593 (pullDown2): added
2594 (eqRewrite): rewritten to use Rule::apply()
2595 (eqRewrite): in meta-apply() case use result of apply in final reduce!
2596 (pullDownSubstitution): added
2597 (pullDownAssignment): added
2598 (pushUp2): now take Term* rather than DagNode*
2599 (eqRewrite): meta-rewrite2 partly implemented
2600 (pullDownSubstitution): remember to move to next assignment within
2601 loop
2602
2603 Thu Mar 27 16:23:48 1997 Steven Eker <[email protected]>
2604
2605 * metaRewriteSymbol.cc (MetaRewriteSymbol): added params for
2606 symbols needed to implement meta-apply2
2607 (eqRewrite): use arity rather than applyFlag to determine which
2608 operator we are
2609
2610 * metaRewriteSymbol.hh (class MetaRewriteSymbol): added data members for
2611 symbols needed to implement meta-apply2
2612
2613 Fri Jan 3 15:28:16 1997 Steven Eker <[email protected]>
2614
2615 * metaRewriteSymbol.cc (eqRewrite): fixed bug where we were
2616 failing to evaluate 3rd arg of meta-apply
2617
2618 Tue Dec 24 18:33:42 1996 Steven Eker <[email protected]>
2619
2620 * sortTestSymbol.cc (eqRewrite): call to computeSort() replaced by
2621 computeTrueSort()
2622
2623 * metaRewriteSymbol.cc (eqRewrite): name change from rewrite()
2624
2625 * metaRewriteSymbol.hh (class MetaRewriteSymbol): rewrite() -> eqRewrite()
2626
2627 * sortTestSymbol.cc (computeBaseSort): adapted from computeSort();
2628 now we assume that subterms are correctly sorted
2629
2630 * sortTestSymbol.hh (class SortTestSymbol): computeSort() ->
2631 computeBaseSort(); rewrite() -> eqRewrite()
2632
2633 * equalitySymbol.cc (computeBaseSort): adapted from computeSort();
2634 now we assume that subterms are correctly sorted; how should
2635 sorting work on ERROR_SORT?
2636
2637 * equalitySymbol.hh (class EqualitySymbol): computeSort() ->
2638 computeBaseSort(); rewrite() -> eqRewrite()
2639
2640 * branchSymbol.cc (computeBaseSort): adapted from computeSort();
2641 now we assume that subterms are correctly sorted
2642
2643 * branchSymbol.hh (class BranchSymbol): computeSort() ->
2644 computeBaseSort(); rewrite() -> eqRewrite()
2645
2646 Mon Nov 25 19:08:24 1996 Steven Eker <[email protected]>
2647
2648 * sortTestSymbol.cc (SortTestSymbol): added constructor arg
2649
2650 * metaRewriteSymbol.cc (MetaRewriteSymbol): added constructor arg
2651
2652 * equalitySymbol.cc (EqualitySymbol): added constructor arg
2653
2654 * branchSymbol.cc (BranchSymbol): added constructor arg
2655
2656 Sun Aug 25 11:24:07 1996 Steven Eker <[email protected]>
2657
2658 * metaRewriteSymbol.cc (rewrite): added code to re-reduce result
2659 after a sucessful rewrite
2660
2661 Thu Aug 15 11:35:27 1996 Steven Eker <[email protected]>
2662
2663 * metaRewriteSymbol.cc (pullDown): fixed infinite loop bug
2664 (MetaRewriteSymbol): apply flag added
2665 (rewrite): extended to handle apply case
2666
2667 * builtIn.hh: added fwd decl of MetaRewriteSymbol
2668
2669 * metaRewriteSymbol.cc: created
2670
2671 * metaRewriteSymbol.hh (class MetaRewriteSymbol): created
2672
2673 Fri Aug 2 16:02:34 1996 Steven Eker <[email protected]>
2674
2675 * sortTestSymbol.cc (SortTestSymbol): new strategy passing code
2676
2677 * branchSymbol.cc (BranchSymbol): new strategy passing code
2678
2679 * sortTestSymbol.hh (makeLazyStrategy): added
2680
2681 * equalitySymbol.cc (EqualitySymbol): new strategy passing code
2682
2683 * equalitySymbol.hh (makeLazyStrategy): added
2684
2685 * sortTestSymbol.cc (compileSortConstraints): added
2686 (compileEquations): added
2687 (compileOpDeclarations): added
2688
2689 * equalitySymbol.cc (compileSortConstraints): added
2690 (compileEquations): added
2691 (compileOpDeclarations): added
2692
2693 * branchSymbol.cc (compileSortConstraints): added
2694 (compileEquations): added
2695 (compileOpDeclarations): added
2696
2697 Thu Feb 8 11:11:19 1996 Steven Eker <[email protected]>
2698
2699 * branchSymbol.cc (computeSort): use dagNode::computeSort()
2700
2701 * sortTestSymbol.cc (computeSort): use new dagNode::computeSort()
2702 (rewrite): now call dagNode::computeSort() on subterm in the
2703 lazy case
2704
2705 * equalitySymbol.cc (computeSort): use new dagNode::computeSort()
2706 on arguments.
2707
2708 * sortTestSymbol.hh: added lazyStrategy, eager parameter
2709
2710 * equalitySymbol.cc: added lazyStrategy, eager parameter and
2711 code to store and handle it
2712
2713 * equalitySymbol.hh: added lazyStrategy, eager parameter
2714
2715 * sortTestSymbol.cc: added lazyStrategy, eager parameter and
2716 code to store and handle it
2717
2718 Wed Feb 7 14:38:50 1996 Steven Eker <[email protected]>
2719
2720 * builtIn.hh: created
2721
2722 * sortTestSymbol.cc: created
2723
2724 * sortTestSymbol.hh: created
2725
2726 Fri Feb 2 15:36:04 1996 Steven Eker <[email protected]>
2727
2728 * branchSymbol.hh: changed parse() parameters
2729
2730 * branchSymbol.cc (parse): rewritten
2731
2732 * equalitySymbol.cc (parse): rewritten
2733
2734 * equalitySymbol.hh: changed parse() parameters
2735
2736 Thu Feb 1 15:08:27 1996 Steven Eker <[email protected]>
2737
2738 * branchSymbol.cc (parse): added
2739
2740 * branchSymbol.hh: parse() added
2741
2742 * equalitySymbol.cc (parse): added
2743
2744 * equalitySymbol.hh: parse() added
2745
2746 Thu Jan 11 18:11:32 1996 Steven Eker <[email protected]>
2747
2748 * equalitySymbol.cc (computeSort): DagNode::SORT_UNKNOWN ->
2749 Sort::SORT_UNKNOWN
2750
2751 * branchSymbol.cc (computeSort): DagNode::SORT_UNKNOWN ->
2752 Sort::SORT_UNKNOWN
2753
2754 Wed Jan 10 17:21:28 1996 Steven Eker <[email protected]>
2755
2756 * branchSymbol.cc (BranchSymbol): don't pass sharable argument
2757
2758 * equalitySymbol.cc (EqualitySymbol): don't pass sharable argument
2759
2760 Thu Dec 14 12:17:30 1995 Steven Eker <[email protected]>
2761
2762 * equalitySymbol.cc (EqualitySymbol): store resultSort
2763 (rangeComponent): added
2764 (computeSort): implemented
2765
2766 * equalitySymbol.hh (EqualitySymbol) added resultSort argument
2767 plus storage. Also rangeComponent() added.
2768
2769 * branchSymbol.cc (computeSort): now use rangeComponent()
2770 (rangeComponent): added
2771
2772 * branchSymbol.hh (BranchSymbol): we now take and store the sort
2773 of the test expression
2774 added rangeComponent()
2775
2776 * branchSymbol.cc (computeSort): implemented
2777
2778 Tue Dec 12 14:49:28 1995 Steven Eker <[email protected]>
2779
2780 * equalitySymbol.cc (computeSort): added
2781
2782 * branchSymbol.cc (computeSort): added
2783
2784 Fri Dec 8 15:07:58 1995 Steven Eker <[email protected]>
2785
2786 * branchSymbol.cc: created
2787
2788 * branchSymbol.hh: created
2789
2790 * equalitySymbol.hh: created
2791
2792 * equalitySymbol.cc: created
2793