| 1 |
2024-06-07 Steven M. Eker <eker@eker10> |
| 2 |
|
| 3 |
* preEquation.hh (enum Flags): added EXTENSION |
| 4 |
(PreEquation::isExtension): added |
| 5 |
(PreEquation::setExtension): added |
| 6 |
|
| 7 |
===================================Maude163=========================================== |
| 8 |
|
| 9 |
2024-04-26 Steven Eker <eker@pup> |
| 10 |
|
| 11 |
* narrowingVariableInfo.hh (class NarrowingVariableInfo): make copyable |
| 12 |
|
| 13 |
===================================Maude160=========================================== |
| 14 |
|
| 15 |
2024-03-05 Steven Eker <eker@pup> |
| 16 |
|
| 17 |
* argumentIterator.hh (ArgumentIterator::ArgumentIterator): take |
| 18 |
const arg |
| 19 |
|
| 20 |
===================================Maude158=========================================== |
| 21 |
|
| 22 |
2024-01-19 Steven Eker <eker@pup> |
| 23 |
|
| 24 |
* module.cc (Module::checkEquation): added AdvisoryCheck() for |
| 25 |
equations having both the variant and nonexec attributes |
| 26 |
|
| 27 |
2024-01-16 Steven Eker <eker@pup> |
| 28 |
|
| 29 |
* run.cc (RewritingContext::ruleRewrite): pass all arguments to |
| 30 |
stackPhysicalArguments() |
| 31 |
(RewritingContext::descend): pass all arguments to stackArguments() |
| 32 |
|
| 33 |
2023-12-15 Steven Eker <eker@pup> |
| 34 |
|
| 35 |
* memoryCell.hh (MemoryCell::maybeShowResources): take streams |
| 36 |
(class MemoryCell): updated decls for maybeShowResources(), |
| 37 |
showResources() |
| 38 |
|
| 39 |
* memoryCell.cc (MemoryCell::showResources): added latex support |
| 40 |
|
| 41 |
===================================Maude156=========================================== |
| 42 |
|
| 43 |
2023-10-23 Steven Eker <eker@pup> |
| 44 |
|
| 45 |
* module.cc (Module::closeTheory): added DebugInfo |
| 46 |
|
| 47 |
2023-06-05 Steven Eker <eker@pup> |
| 48 |
|
| 49 |
* ruleTable.hh (class RuleTable): deleted commented out declarations |
| 50 |
for saveHiddenState(), restoreHiddenState(), typedef IntStack and data |
| 51 |
member nextRuleStack |
| 52 |
|
| 53 |
* ruleTable.cc (RuleTable::saveHiddenState) |
| 54 |
(RuleTable::restoreHiddenState): deleted commented out code |
| 55 |
|
| 56 |
* module.hh (class Module): deleted commented out declarations for |
| 57 |
saveHiddenState(), restoreHiddenState() |
| 58 |
|
| 59 |
* module.cc (Module::saveHiddenState) |
| 60 |
(Module::restoreHiddenState): delete commented out code. We don't need to |
| 61 |
save hidden state in the functional metalevel because it only accesses modules |
| 62 |
it owns |
| 63 |
|
| 64 |
2023-05-19 Steven Eker <eker@pup> |
| 65 |
|
| 66 |
* memoryCell.hh (MemoryCell::setEarlyQuit): take int_fast64_t rather than int64_t |
| 67 |
|
| 68 |
* memoryInfo.cc: created |
| 69 |
|
| 70 |
* memoryInfo.hh (class MemoryInfo): added static data member nrNodesInUse; make |
| 71 |
it protected and size_t |
| 72 |
(MemoryInfo::setMarked): don't use extern nrNodesInUse |
| 73 |
|
| 74 |
* memoryCell.hh (class MemoryCell): int64_t -> int_fast64_t for earlyQuit; deleted |
| 75 |
commented out nrNodesInUse declaration |
| 76 |
|
| 77 |
* memoryCell.cc: deleted commented out NODE_MULTIPLIER; deleted nrNodesInUse |
| 78 |
definition; int64_t -> size_t for LOWER_BOUND, UPPER_BOUND, int64_t -> int_fast64_t |
| 79 |
for MemoryCell::earlyQuit |
| 80 |
(MemoryCell::collectGarbage): int64_t -> int_fast64_t for gcCount |
| 81 |
(struct MemoryCell::Arena): use int_fast64_t to force alignment |
| 82 |
|
| 83 |
2023-05-18 Steven Eker <eker@pup> |
| 84 |
|
| 85 |
* memoryCell.cc (MemoryCell::collectGarbage): use memConvert() |
| 86 |
|
| 87 |
* memoryCell.hh (class MemoryCell): added decl for memConvert() |
| 88 |
|
| 89 |
* memoryCell.cc (MemoryCell::memConvert): added |
| 90 |
(MemoryCell::showResources): use memConvert() |
| 91 |
|
| 92 |
2023-05-17 Steven Eker <eker@pup> |
| 93 |
|
| 94 |
* memoryCell.cc: added definition of showResourcesFlag |
| 95 |
(MemoryCell::collectGarbage): call maybeShowResources() |
| 96 |
|
| 97 |
* memoryCell.hh (MemoryCell::setShowResources): added |
| 98 |
(MemoryCell::maybeShowResources): added |
| 99 |
(class MemoryCell): added decl for showResouces(); added static data |
| 100 |
member showResourcesFlag |
| 101 |
|
| 102 |
* memoryCell.cc (MemoryCell::showResources): added |
| 103 |
|
| 104 |
===================================Maude150=========================================== |
| 105 |
|
| 106 |
2023-05-12 Steven Eker <eker@pup> |
| 107 |
|
| 108 |
* memoryCell.cc (struct MemoryCell): Int64 -> int64_t |
| 109 |
|
| 110 |
===================================Maude149=========================================== |
| 111 |
|
| 112 |
2023-05-04 Steven Eker <eker@pup> |
| 113 |
|
| 114 |
* memoryCell.cc: added constants SMALL_MODEL_SLOP, BIG_MODEL_SLOP, |
| 115 |
LOWER_BOUND, UPPER_BOUND; deleted constant NODE_MULTIPLIER |
| 116 |
(MemoryCell::collectGarbage): try dynamic scaling of slopFactor |
| 117 |
|
| 118 |
2023-05-03 Steven Eker <eker@pup> |
| 119 |
|
| 120 |
* memoryCell.cc: moved NODE_MULTIPLIER here |
| 121 |
|
| 122 |
* memoryCell.hh (MemoryCell::setEarlyQuit): added |
| 123 |
|
| 124 |
* memoryCell.cc (MemoryCell::collectGarbage): support earlyQuit |
| 125 |
|
| 126 |
* memoryCell.hh (class MemoryCell): added static data member earlyQuit |
| 127 |
|
| 128 |
* memoryCell.cc (MemoryCell::collectGarbage): keep track of number of |
| 129 |
garbage collects |
| 130 |
(MemoryCell::collectGarbage): translate numbers to MBs |
| 131 |
|
| 132 |
* memoryCell.hh (class MemoryCell): added NODE_MULTIPLIER |
| 133 |
|
| 134 |
* memoryCell.cc (MemoryCell::collectGarbage): use NODE_MULTIPLIER |
| 135 |
|
| 136 |
===================================Maude148=========================================== |
| 137 |
|
| 138 |
2023-04-13 Steven Eker <eker@pup> |
| 139 |
|
| 140 |
* preEquation.cc (PreEquation::checkCondition): use empty() |
| 141 |
|
| 142 |
2023-04-12 Steven Eker <eker@pup> |
| 143 |
|
| 144 |
* connectedComponent.hh (class ConnectedComponent): Bool -> bool |
| 145 |
|
| 146 |
* strategy.hh (class Strategy): Bool -> bool |
| 147 |
|
| 148 |
* rewriteStrategy.cc (RewriteStrategy::RewriteStrategy): use empty() |
| 149 |
|
| 150 |
===================================Maude145=========================================== |
| 151 |
|
| 152 |
2023-03-28 Steven Eker <eker@pup> |
| 153 |
|
| 154 |
* sortTable.cc (SortTable::buildSortDiagram): contractTo(0) -> clear() |
| 155 |
|
| 156 |
* ctorDiagram.cc (SortTable::buildCtorDiagram): contractTo(0) -> clear() |
| 157 |
|
| 158 |
* run.cc (RewritingContext::ruleRewrite): contractTo(0) -> clear() |
| 159 |
|
| 160 |
2023-03-27 Steven Eker <eker@pup> |
| 161 |
|
| 162 |
* localBinding.cc (LocalBinding::LocalBinding): use reserve() rather |
| 163 |
than preallocate ctor |
| 164 |
|
| 165 |
* sortTable.cc (SortTable::generateSortDiagram): use reserve() rather |
| 166 |
than preallocate ctor (2 places) |
| 167 |
|
| 168 |
===================================Maude144=========================================== |
| 169 |
|
| 170 |
2023-03-14 Steven Eker <eker@pup> |
| 171 |
|
| 172 |
* label.hh: updated comment because labels can be put on all statements |
| 173 |
|
| 174 |
===================================Maude143=========================================== |
| 175 |
|
| 176 |
2023-03-10 Steven Eker <eker@pup> |
| 177 |
|
| 178 |
* memoryBlock.hh (class MemoryBlock): make data member filler protected |
| 179 |
rather than private to avoid compiler warnings |
| 180 |
(class MemoryBlock): union MachineWord moved here from /Utility/macros.hh |
| 181 |
(class MemoryBlock): make union MachineWord so classes that use MemoryCell |
| 182 |
can get its size |
| 183 |
|
| 184 |
===================================Maude141=========================================== |
| 185 |
|
| 186 |
2023-02-20 Steven Eker <eker@pup> |
| 187 |
|
| 188 |
* symbolMap.hh (class SymbolMap): added pure virtual member function |
| 189 |
preserveVariableIndices() |
| 190 |
|
| 191 |
2023-02-16 Steven Eker <eker@pup> |
| 192 |
|
| 193 |
* memoTable.hh: updated comment to explain why we need to derive from |
| 194 |
ModuleItem |
| 195 |
|
| 196 |
===================================Maude141=========================================== |
| 197 |
|
| 198 |
2023-01-31 Steven Eker <eker@pup> |
| 199 |
|
| 200 |
* module.hh (class Module): added decls for checkSortConstraint(), |
| 201 |
checkEquation(), checkRule() |
| 202 |
|
| 203 |
* module.cc (Module::checkSortConstraint): added to split off check() |
| 204 |
(Module::checkEquation): added to split off check() |
| 205 |
(Module::checkRule): added to split off check() |
| 206 |
|
| 207 |
===================================Maude139=========================================== |
| 208 |
|
| 209 |
2023-01-19 Steven Eker <eker@pup> |
| 210 |
|
| 211 |
* termBag.hh (class TermBag): use Term::LessThan to define TermSet |
| 212 |
(class TermBag): deleted struct LtTerm |
| 213 |
|
| 214 |
2021-03-24 Steven Eker <eker2@eker10> |
| 215 |
|
| 216 |
* rewritingContext.cc (RewritingContext::interruptSeen): added |
| 217 |
|
| 218 |
* rewritingContext.hh (class RewritingContext): added decl for |
| 219 |
interruptSeen() |
| 220 |
|
| 221 |
2020-12-11 Steven Eker <eker2@eker10> |
| 222 |
|
| 223 |
* pendingUnificationStack.cc |
| 224 |
(PendingUnificationStack::makeNewSubproblem): pass |
| 225 |
maintainInvariants = true to instantiate() |
| 226 |
|
| 227 |
===================================Maude132=========================================== |
| 228 |
|
| 229 |
2020-09-22 Steven Eker <eker2@eker10> |
| 230 |
|
| 231 |
* unificationContext.cc (UnificationContext::dump): added |
| 232 |
|
| 233 |
* unificationContext.hh (class UnificationContext): added decl for |
| 234 |
dump() |
| 235 |
|
| 236 |
2020-09-21 Steven Eker <eker2@eker10> |
| 237 |
|
| 238 |
* compoundCycleSubproblem.cc (CompoundCycleSubproblem::solve): |
| 239 |
added a comment to explain why resolving a single arc can be |
| 240 |
sufficient |
| 241 |
(CompoundCycleSubproblem::solve): added explanation and examples |
| 242 |
to show why cyclic identities must be considered |
| 243 |
|
| 244 |
* compoundCycleSubproblem.hh (class CompoundCycleSubproblem): |
| 245 |
deleted decl for addUnification() |
| 246 |
|
| 247 |
* compoundCycleSubproblem.cc |
| 248 |
(CompoundCycleSubproblem::addUnification): deleted |
| 249 |
|
| 250 |
===================================Maude130=========================================== |
| 251 |
|
| 252 |
2020-08-28 Steven Eker <eker2@eker10> |
| 253 |
|
| 254 |
* freshVariableGenerator.hh (class FreshVariableGenerator): added |
| 255 |
decl for isFreshVariableName() |
| 256 |
|
| 257 |
2020-07-29 Steven Eker <eker2@eker10> |
| 258 |
|
| 259 |
* rewritingContext.cc (RewritingContext::markReachableNodes): |
| 260 |
limited contexts exist across garbage collects after all because |
| 261 |
UnifierFilter periodically needs to allow garbage collection to |
| 262 |
avoid a huge accumulation of matching garbage |
| 263 |
(RewritingContext::markReachableNodes): use range-based for loop |
| 264 |
to traverse redexStack |
| 265 |
|
| 266 |
2020-07-15 Steven Eker <eker2@eker10> |
| 267 |
|
| 268 |
* rewritingContext.hh (class RewritingContext): set a default |
| 269 |
substitutionSize of 0 for the limited context ctor |
| 270 |
|
| 271 |
* rewritingContext.cc (RewritingContext::markReachableNodes): use |
| 272 |
isLimited() |
| 273 |
(RewritingContext::markReachableNodes): added CantHappen() for |
| 274 |
limited contexts |
| 275 |
|
| 276 |
* sortConstraintTable.cc |
| 277 |
(SortConstraintTable::constrainToSmallerSort2): check isLimited() |
| 278 |
before proceeding |
| 279 |
|
| 280 |
* rewritingContext.hh (class RewritingContext): added a more |
| 281 |
detail comment to explain the need for limited use rewriting |
| 282 |
contexts |
| 283 |
(RewritingContext::RewritingContext): updated comment |
| 284 |
(RewritingContext::isLimited): added |
| 285 |
|
| 286 |
===================================Maude129=========================================== |
| 287 |
|
| 288 |
2020-06-23 Steven Eker <eker2@eker10> |
| 289 |
|
| 290 |
* pendingUnificationStack.cc |
| 291 |
(PendingUnificationStack::resolveTheoryClash): added DebugEnter() |
| 292 |
|
| 293 |
2020-04-14 Steven Eker <eker2@eker9> |
| 294 |
|
| 295 |
* rewritingContext.cc |
| 296 |
(RewritingContext::blockAndHandleInterrupts): added |
| 297 |
|
| 298 |
* rewritingContext.hh (class RewritingContext): added decl |
| 299 |
for blockAndHandleInterrupts() |
| 300 |
|
| 301 |
2020-03-17 Steven Eker <eker2@eker9> |
| 302 |
|
| 303 |
* module.cc (Module): clean for loop |
| 304 |
(Module::closeSortSet): clean for loop |
| 305 |
|
| 306 |
* variableInfo.cc (VariableInfo::variable2Index): clean up |
| 307 |
for loop (both versions) |
| 308 |
(VariableInfo::computeIndexRemapping): clean up for loops; |
| 309 |
use range-based for loop |
| 310 |
(VariableInfo::variableNameConflict): use range-based for loop |
| 311 |
|
| 312 |
* stackMachineRhsCompiler.cc |
| 313 |
(StackMachineRhsCompiler::compileInstructionSequence): |
| 314 |
use range based for loop |
| 315 |
(StackMachineRhsCompiler::dump): use range based for loops |
| 316 |
|
| 317 |
* sortTable.cc: (SortTable::kindLevelDeclarationsOnly): |
| 318 |
use range based for loop |
| 319 |
(SortTable::findMinSortIndex): use range based for loop |
| 320 |
(SortTable::dumpSortDiagram): clean loops |
| 321 |
(SortTable::compileOpDeclarations): tidy loop |
| 322 |
(SortTable::computeBddVector): use range based for loop |
| 323 |
|
| 324 |
* sortErrorAnalysis.cc (SortTable::sortErrorAnalysis): |
| 325 |
clean up for loops |
| 326 |
|
| 327 |
* sortBdds.cc (SortBdds::SortBdds): use range based |
| 328 |
for loop |
| 329 |
(SortBdds::operatorCompose): use range based for loop |
| 330 |
* ruleTable.cc (RuleTable::resetEachRule): use range |
| 331 |
based for loop |
| 332 |
|
| 333 |
* rhsBuilder.cc (RhsBuilder::recordInfo): use range |
| 334 |
based for loop |
| 335 |
|
| 336 |
2020-03-16 Steven Eker <eker2@eker9> |
| 337 |
|
| 338 |
* pendingUnificationStack.cc (PendingUnificationStack): |
| 339 |
use range based for loop |
| 340 |
(PendingUnificationStack::markReachableNodes): use |
| 341 |
range based for loop |
| 342 |
(PendingUnificationStack::makeNewSubproblem): use |
| 343 |
range based for loop |
| 344 |
(PendingUnificationStack::findCycleFrom): use range based |
| 345 |
for loop |
| 346 |
|
| 347 |
* memoTable.cc (MemoTable::memoEnter): use range based |
| 348 |
for loop |
| 349 |
|
| 350 |
* equationTable.cc (EquationTable::applyReplace): use |
| 351 |
range based for loop |
| 352 |
(EquationTable::applyReplaceNoOwise): use range based |
| 353 |
for loop |
| 354 |
(EquationTable::resetEachEquation): use range based |
| 355 |
for loop |
| 356 |
(EquationTable::dumpEquationTable): use range based |
| 357 |
for loop |
| 358 |
|
| 359 |
2020-03-10 Rubén Rubio <[email protected]> |
| 360 |
|
| 361 |
* module.cc (closeTheory): do strategy definitions indexing here |
| 362 |
|
| 363 |
* strategyDefinition (StrategyDefinition): strategy definition |
| 364 |
indexing has been moved to Module::closeTheory not to index bad |
| 365 |
definitions, since they are checked later |
| 366 |
(check): ignore nonexec definitions and fixed typo |
| 367 |
|
| 368 |
===================================Maude128a=========================================== |
| 369 |
|
| 370 |
2020-02-10 Steven Eker <eker@mu> |
| 371 |
|
| 372 |
* module.cc (indexEquations): use range-based for loops |
| 373 |
(indexEquation): use range-based for loop |
| 374 |
(indexSortConstraints): use use range-based for loops |
| 375 |
(stackMachineCompile): use range-based for loop |
| 376 |
(insertLateSymbol): use use range-based for loops |
| 377 |
(closeFixUps): use use range-based for loops |
| 378 |
(closeSortSet): added comment as to why using a range-based |
| 379 |
for loop will fail |
| 380 |
(resetRules): use range-based for loop |
| 381 |
(reset): use range-based for loop |
| 382 |
(Module): use range-based for loops |
| 383 |
|
| 384 |
* preEquation.cc (preprocess): remove commented out AdvisoryCheck() |
| 385 |
warning about change of operational semantics between Maude 1.0 and |
| 386 |
Maude 2.0 (Maude 1.0 did not allow rewriting of terms at the error sort) |
| 387 |
(PreEquation): code cleaning and more detailed comment |
| 388 |
|
| 389 |
* sortConstraint.cc (check): added comment to exlain why we use markAsBad() |
| 390 |
here |
| 391 |
|
| 392 |
* equation.cc (compile): deleted commented out old stackMachine code |
| 393 |
(check): added comment to exlain why we use markAsBad() here |
| 394 |
|
| 395 |
* rule.cc (check): deleted commented out markAsBad() call; added |
| 396 |
comment to explain why we don't call markAsBad() anymore |
| 397 |
|
| 398 |
===================================Maude128=========================================== |
| 399 |
|
| 400 |
2019-12-06 Steven Eker <eker@mu> |
| 401 |
|
| 402 |
* ruleTable.cc (saveHiddenState, restoreHiddenState): commented out |
| 403 |
|
| 404 |
* ruleTable.hh (R): commented out decls for saveHiddenState(), |
| 405 |
restoreHiddenState() |
| 406 |
(R): commented out typedef IntStack and nextRuleStack data member |
| 407 |
|
| 408 |
* module.hh (BadFlag): commented out decls for |
| 409 |
saveHiddenState()/restoreHiddenState() |
| 410 |
|
| 411 |
* module.cc (saveHiddenState): commented out |
| 412 |
(restoreHiddenState): commented out |
| 413 |
|
| 414 |
===================================Maude127a=========================================== |
| 415 |
|
| 416 |
2019-12-04 Steven Eker <eker@mu> |
| 417 |
|
| 418 |
* termBag.cc (insertBuiltTerm): use DebugSave() to avoid warning |
| 419 |
about unused variable (2 places) |
| 420 |
|
| 421 |
2019-12-03 Steven Eker <eker@mu> |
| 422 |
|
| 423 |
* variableInfo.cc (variableNameConflict): use safeCastNonNull<>() |
| 424 |
|
| 425 |
* unificationContext.cc (makeFreshVariable): use safeCastNonNull<>() |
| 426 |
(unificationBind): use safeCastNonNull<>() (3 places) |
| 427 |
|
| 428 |
* sortTable.cc (buildSortDiagram): use safeCastNonNull<>() |
| 429 |
|
| 430 |
* ctorDiagram.cc (buildCtorDiagram): use safeCastNonNull<>() |
| 431 |
|
| 432 |
* sortErrorAnalysis.cc (sortErrorAnalysis): use safeCastNonNull<>() |
| 433 |
|
| 434 |
===================================Maude127=========================================== |
| 435 |
|
| 436 |
2019-11-11 Steven Eker <eker@mu> |
| 437 |
|
| 438 |
* compoundCycleSubproblem.cc (solve): pass false to |
| 439 |
warnAboutUnimplemented arg |
| 440 |
|
| 441 |
* preEquation.cc (getLhsDag): pass true to warnAboutUnimplemented arg |
| 442 |
|
| 443 |
===================================Maude125=========================================== |
| 444 |
|
| 445 |
2019-10-10 Rubén Rubio <[email protected]> |
| 446 |
|
| 447 |
* strategyDefinition.cc (check): removed argument to TermSet constructor |
| 448 |
|
| 449 |
* termSet.cc: reverted the changes on 2018-03-23 |
| 450 |
|
| 451 |
* termSet.hh: reverted the changes on 2018-03-23 |
| 452 |
|
| 453 |
2019-07-02 Steven Eker <eker@mu> |
| 454 |
|
| 455 |
* memoryCell.hh (allocateMemoryCell): rewritten |
| 456 |
(MemoryBlock): slowNew() now returns MemoryCell* |
| 457 |
|
| 458 |
* memoryCell.cc (slowNew): return MemoryCell* rather than void* |
| 459 |
(slowNew): don't set nextNode before we return since caller will |
| 460 |
do this |
| 461 |
|
| 462 |
* memoryInfo.hh (clearAllExceptMarked): fix bug where we were setting |
| 463 |
to MARKED rather than ANDing with MARKED |
| 464 |
|
| 465 |
2019-07-01 Steven Eker <eker@mu> |
| 466 |
|
| 467 |
* core.hh: added classes MemoryInfo and MemoryBlock |
| 468 |
|
| 469 |
* memoryCell.hh: rewritten to use MemoryInfo and MemoryBlock |
| 470 |
|
| 471 |
* memoryInfo.hh: created |
| 472 |
|
| 473 |
* memoryBlock.hh: created |
| 474 |
|
| 475 |
===================================Maude123=========================================== |
| 476 |
|
| 477 |
2019-01-30 Steven Eker <[email protected]> |
| 478 |
|
| 479 |
* module.hh (insertSymbol): fix bad Assert() caught by |
| 480 |
new compiler |
| 481 |
|
| 482 |
===================================Maude121=========================================== |
| 483 |
|
| 484 |
2018-10-23 Steven Eker <[email protected]> |
| 485 |
|
| 486 |
* run.cc (ruleRewrite): use stackPhysicalArguments() |
| 487 |
|
| 488 |
2018-09-28 Steven Eker <[email protected]> |
| 489 |
|
| 490 |
* rewritingContext.hh (transferCount): becomes |
| 491 |
transferCountFrom() |
| 492 |
|
| 493 |
2018-09-21 Steven Eker <[email protected]> |
| 494 |
|
| 495 |
* freshVariableGenerator.hh (F): don't have a default family for |
| 496 |
getFreshVariableName() |
| 497 |
|
| 498 |
* unificationContext.hh (SimpleRootContainer): remove default |
| 499 |
value for variableFamily |
| 500 |
|
| 501 |
2018-09-19 Steven Eker <[email protected]> |
| 502 |
|
| 503 |
* freshVariableGenerator.hh (F): updated decl for |
| 504 |
variableNameConflict() |
| 505 |
|
| 506 |
===================================Maude119=========================================== |
| 507 |
|
| 508 |
2018-09-17 Rubén Rubio <[email protected]> |
| 509 |
|
| 510 |
* strategyDefinition.cc (check): build context specification |
| 511 |
|
| 512 |
* strategyDefinition.hh: added contextSpec |
| 513 |
(getContextSpec): added |
| 514 |
|
| 515 |
2018-06-22 Rubén Rubio <[email protected]> |
| 516 |
|
| 517 |
* rewritingContext.cc (traceStrategyCall): added |
| 518 |
|
| 519 |
* rewritingContext.hh (traceStrategyCall, traceBeginSdTrial): added |
| 520 |
|
| 521 |
* strategyDefinition.cc (check): fixed a bug, unbound variables in the |
| 522 |
condition were ignored |
| 523 |
(traceBeginTrial): call traceBeginSdTrial |
| 524 |
|
| 525 |
2018-06-11 Steven Eker <[email protected]> |
| 526 |
|
| 527 |
* module.cc (closeTheory): converted commented out print into |
| 528 |
DebugAdvisory() |
| 529 |
(insertLateSymbol, closeTheory): deleted commented out calls |
| 530 |
to finalizeSymbol() |
| 531 |
|
| 532 |
2018-05-29 Steven Eker <[email protected]> |
| 533 |
|
| 534 |
* rewritingContext.cc (handleInterrupt): added |
| 535 |
|
| 536 |
* rewritingContext.hh (SimpleRootContainer): added decl for |
| 537 |
handleInterrupt(); |
| 538 |
|
| 539 |
2018-05-25 Steven Eker <[email protected]> |
| 540 |
|
| 541 |
* rewritingContext.hh (SimpleRootContainer): deleted decl for limit |
| 542 |
version of fairTraversal(); make other version public |
| 543 |
(SimpleRootContainer): updated decl for fairStart() |
| 544 |
|
| 545 |
* run.cc (fairTraversal): delete limit version |
| 546 |
|
| 547 |
* rewritingContext.hh (fairRestart): added |
| 548 |
|
| 549 |
* run.cc (fairStart): take limit argument |
| 550 |
|
| 551 |
* rewritingContext.hh (getProgress): added |
| 552 |
|
| 553 |
* run.cc (fairTraversal): rewritten |
| 554 |
|
| 555 |
* rewritingContext.hh (SimpleRootContainer): update decl for public |
| 556 |
fairTraversal() |
| 557 |
|
| 558 |
===================================Maude117=========================================== |
| 559 |
|
| 560 |
2018-03-23 Rubén Rubio <[email protected]> |
| 561 |
|
| 562 |
* core.hh: added classes StrategyDefinition and RewriteStrategy |
| 563 |
|
| 564 |
* Makefile.am: added inclusion for StrategyLanguage |
| 565 |
|
| 566 |
* module.cc (insertStrategy, insertStrategyDefinition): added |
| 567 |
(~Module): delete strategies and its definitions |
| 568 |
(closeTheory): compile strategy definitions |
| 569 |
|
| 570 |
* module.hh (insertStrategy, insertStrategyDefinition, getStrategy, getStrategyDefinitions): added |
| 571 |
|
| 572 |
* rewriteStrategy.cc: added |
| 573 |
|
| 574 |
* rewriteStrategy.hh: added |
| 575 |
|
| 576 |
* strategyDefinition.cc: added |
| 577 |
|
| 578 |
* strategyDefinition.hh: added |
| 579 |
|
| 580 |
* termSet.cc (TermSet): added. A boolean parameter to avoid comparing |
| 581 |
the eager context flag when checking term equality. This is needed (at |
| 582 |
least until a better solution is found) because how TermSet is used in |
| 583 |
StrategyExpression::check. |
| 584 |
(isEqual): the boolean parameter above is included. |
| 585 |
|
| 586 |
* termSet.hh (TermSet): added. |
| 587 |
|
| 588 |
2017-06-12 Steven Eker <[email protected]> |
| 589 |
|
| 590 |
* equation.hh (clearVariant): added |
| 591 |
|
| 592 |
* rule.hh (clearNarrowing): added |
| 593 |
|
| 594 |
* variableInfo.hh (V): added decl for variableNameConflict() |
| 595 |
|
| 596 |
* variableInfo.cc (variableNameConflict): added |
| 597 |
|
| 598 |
===================================Maude114=========================================== |
| 599 |
|
| 600 |
2017-05-24 Steven Eker <[email protected]> |
| 601 |
|
| 602 |
* narrowingVariableInfo.hh (copy): added |
| 603 |
|
| 604 |
2017-04-26 Steven Eker <[email protected]> |
| 605 |
|
| 606 |
* rule.hh (isNarrowing, setNarrowing): added |
| 607 |
(PreEquation): added enum Flags |
| 608 |
|
| 609 |
===================================Maude113=========================================== |
| 610 |
|
| 611 |
2017-02-17 Steven Eker <[email protected]> |
| 612 |
|
| 613 |
* run.cc (ruleRewrite): pass eager flag to RedexPosition() |
| 614 |
(ruleRewrite): use Symbol::stackArguments() in place of |
| 615 |
DagNode::stackArguments() |
| 616 |
|
| 617 |
2017-02-14 Steven Eker <[email protected]> |
| 618 |
|
| 619 |
* rule.hh (setNarrowing, isNarrowing): deleted |
| 620 |
(PreEquation): deleted enum Flags |
| 621 |
|
| 622 |
2017-01-13 Steven Eker <[email protected]> |
| 623 |
|
| 624 |
* rewritingContext.hh (reduce): moved here and made inline |
| 625 |
|
| 626 |
2017-01-11 Steven Eker <[email protected]> |
| 627 |
|
| 628 |
* conditionFragment.hh: stack<> -> Stack<> |
| 629 |
|
| 630 |
* preEquation.cc: stack<> -> Stack<> |
| 631 |
|
| 632 |
* preEquation.hh: stack<> -> Stack<> |
| 633 |
|
| 634 |
===================================Maude111b=========================================== |
| 635 |
|
| 636 |
2017-01-06 Steven Eker <[email protected]> |
| 637 |
|
| 638 |
* narrowingVariableInfo.hh (forgetAllBut): added |
| 639 |
|
| 640 |
===================================Maude111a=========================================== |
| 641 |
|
| 642 |
2016-12-19 Steven Eker <[email protected]> |
| 643 |
|
| 644 |
* rewritingContext.hh (clearCount): clear narrowingCount and |
| 645 |
variantNarrowingCount |
| 646 |
|
| 647 |
2016-12-15 Steven Eker <[email protected]> |
| 648 |
|
| 649 |
* narrowingVariableInfo.hh (N): use NO_COPYING macro |
| 650 |
(N): added ctor |
| 651 |
|
| 652 |
* freshVariableGenerator.hh (F): added decl for belongsToFamily() |
| 653 |
|
| 654 |
2016-11-15 Steven Eker <[email protected]> |
| 655 |
|
| 656 |
* variableInfo.hh (V): added decl for new variable2Index() |
| 657 |
|
| 658 |
* variableInfo.cc (variable2Index): added VariableDagNode* version |
| 659 |
|
| 660 |
2016-11-08 Steven Eker <[email protected]> |
| 661 |
|
| 662 |
* narrowingVariableInfo.hh (N): added decl for variable2IndexNoAdd() |
| 663 |
|
| 664 |
* narrowingVariableInfo.cc (variable2IndexNoAdd): added |
| 665 |
|
| 666 |
2016-10-26 Steven Eker <[email protected]> |
| 667 |
|
| 668 |
* unificationContext.cc (UnificationContext, makeFreshVariable): odd -> |
| 669 |
variableFamily |
| 670 |
|
| 671 |
* unificationContext.hh (SimpleRootContainer): updated decl for ctor |
| 672 |
(SimpleRootContainer): data member odd becomes int variableFamily |
| 673 |
|
| 674 |
* freshVariableGenerator.hh (F): updated decl for getFreshVariableName() |
| 675 |
|
| 676 |
2016-10-13 Steven Eker <[email protected]> |
| 677 |
|
| 678 |
* rule.hh (PreEquation): added enum Flags for NARROWING |
| 679 |
(isNarrowing, setNarrowing): added |
| 680 |
|
| 681 |
===================================Maude111=========================================== |
| 682 |
|
| 683 |
2016-06-27 Steven Eker <[email protected]> |
| 684 |
|
| 685 |
* pendingUnificationStack.hh (flagAsIncomplete): fixed typo |
| 686 |
|
| 687 |
2016-04-07 Steven Eker <[email protected]> |
| 688 |
|
| 689 |
* pendingUnificationStack.cc (findCycle): added comment |
| 690 |
|
| 691 |
2016-03-25 Steven Eker <[email protected]> |
| 692 |
|
| 693 |
* sortBdds.cc (getRemappedLeqRelation, applyLeqRelation): use |
| 694 |
getCachedPairing() |
| 695 |
|
| 696 |
2016-03-24 Steven Eker <[email protected]> |
| 697 |
|
| 698 |
* sortBdds.hh (BddUser): added decl for appendVariableVector() |
| 699 |
|
| 700 |
* sortBdds.cc (appendVariableVector): added |
| 701 |
|
| 702 |
2016-03-17 Steven Eker <[email protected]> |
| 703 |
|
| 704 |
* sortBdds.cc (appendIndexVector): added |
| 705 |
|
| 706 |
* sortTable.hh (S): added dec for computeGeneralizedSort2() |
| 707 |
|
| 708 |
* sortBdds.hh (BddUser): updated decl for operatorCompose() |
| 709 |
|
| 710 |
* sortBdds.cc (operatorCompose): rewritten to use a |
| 711 |
Vector of output BDDs |
| 712 |
|
| 713 |
2016-03-16 Steven Eker <[email protected]> |
| 714 |
|
| 715 |
* sortBdds.hh (BddUser): updated decl for operatorCompose() |
| 716 |
|
| 717 |
* sortBdds.cc (operatorCompose): made const |
| 718 |
|
| 719 |
2016-03-11 Steven Eker <[email protected]> |
| 720 |
|
| 721 |
* sortBdds.hh (BddUser): added decl for operatorCompose() |
| 722 |
|
| 723 |
* sortBdds.cc (operatorCompose): added |
| 724 |
|
| 725 |
===================================Maude110=========================================== |
| 726 |
|
| 727 |
2015-12-23 Steven Eker <[email protected]> |
| 728 |
|
| 729 |
* equation.hh (PreEquation): commented out nrSlots member since we |
| 730 |
don't appear to use it |
| 731 |
|
| 732 |
===================================Maude108a=========================================== |
| 733 |
|
| 734 |
2015-09-18 Steven Eker <[email protected]> |
| 735 |
|
| 736 |
* compoundCycleSubproblem.hh (SimpleRootContainer): declare but |
| 737 |
don't define addUnification() |
| 738 |
|
| 739 |
* compoundCycleSubproblem.cc (addUnification): moved here to try |
| 740 |
and avoid clang warning |
| 741 |
|
| 742 |
* trivialRhsAutomaton.hh (_trivialRhsAutomaton_hh_): fixed define |
| 743 |
|
| 744 |
2015-09-17 Steven Eker <[email protected]> |
| 745 |
|
| 746 |
* sortBdds.cc (applyLeqRelation): make Assert() message more |
| 747 |
detailed |
| 748 |
|
| 749 |
2015-08-07 Steven Eker <[email protected]> |
| 750 |
|
| 751 |
* pendingUnificationStack.hh (flagAsIncomplete): changed advisory |
| 752 |
to warning |
| 753 |
|
| 754 |
2015-08-06 Steven Eker <[email protected]> |
| 755 |
|
| 756 |
* pendingUnificationStack.hh (SimpleRootContainer): added data |
| 757 |
member unimplementedSymbols |
| 758 |
(flagAsUnimplemented): added |
| 759 |
(isIncomplete): check unimplementedSymbols |
| 760 |
(flagAsUnimplemented): deleted |
| 761 |
(isIncomplete): don't check unimplementedSymbols after all |
| 762 |
(SimpleRootContainer): deleted data member unimplementedSymbols |
| 763 |
|
| 764 |
* pendingUnificationStack.cc (PendingUnificationStack): don't |
| 765 |
initialize incompleteFlag anymore |
| 766 |
|
| 767 |
* pendingUnificationStack.hh (SimpleRootContainer): replace |
| 768 |
incompleteFlag with incompleteSymbols |
| 769 |
(flagAsIncomplete): take argument; use incompleteSymbols |
| 770 |
(isIncomplete): use incompleteSymbols |
| 771 |
|
| 772 |
2015-08-05 Steven Eker <[email protected]> |
| 773 |
|
| 774 |
* pendingUnificationStack.cc (chooseTheoryToSolve): make use of |
| 775 |
unficationPriority() in decided which theory to return |
| 776 |
|
| 777 |
2015-07-31 Steven Eker <[email protected]> |
| 778 |
|
| 779 |
* pendingUnificationStack.cc (makeNewSubproblem): use |
| 780 |
chooseTheoryToSolve() |
| 781 |
|
| 782 |
* pendingUnificationStack.hh (SimpleRootContainer): added decl for |
| 783 |
chooseTheoryToSolve() |
| 784 |
|
| 785 |
* pendingUnificationStack.cc (solve2): deleted commented out code |
| 786 |
(chooseTheoryToSolve): added |
| 787 |
|
| 788 |
2015-07-23 Steven Eker <[email protected]> |
| 789 |
|
| 790 |
* pendingUnificationStack.cc (PendingUnificationStack): initialize |
| 791 |
incompleteFlag |
| 792 |
|
| 793 |
2015-07-22 Steven Eker <[email protected]> |
| 794 |
|
| 795 |
* pendingUnificationStack.hh (SimpleRootContainer): added data |
| 796 |
member incompletenessFlag |
| 797 |
(flagAsIncomplete, isIncomplete): added |
| 798 |
|
| 799 |
===================================Maude108=========================================== |
| 800 |
|
| 801 |
2014-06-03 Steven Eker <[email protected]> |
| 802 |
|
| 803 |
* sortTable.hh (getRangeSort): added |
| 804 |
|
| 805 |
2014-05-16 Steven Eker <[email protected]> |
| 806 |
|
| 807 |
* connectedComponent.hh: added decl for operator<< |
| 808 |
|
| 809 |
===================================Maude103=========================================== |
| 810 |
|
| 811 |
2014-02-27 Steven Eker <[email protected]> |
| 812 |
|
| 813 |
* run.cc (ruleRewrite): removed debugging code that was producing |
| 814 |
spurious messages |
| 815 |
|
| 816 |
2014-02-18 Steven Eker <[email protected]> |
| 817 |
|
| 818 |
* module.cc (stackMachineCompile): reformatted |
| 819 |
|
| 820 |
* cachedDag.hh (C): added data member instructionSequence |
| 821 |
(CachedDag): init instructionSequence |
| 822 |
(~CachedDag): delete instructionSequence |
| 823 |
(generateInstructionSequence): added |
| 824 |
(getInstructionSequence): added |
| 825 |
|
| 826 |
2014-02-14 Steven Eker <[email protected]> |
| 827 |
|
| 828 |
* termSet.cc (insert): return index where we inserted term |
| 829 |
|
| 830 |
* termSet.hh (PointerSet): updated decl for insert() |
| 831 |
|
| 832 |
* stackMachineRhsCompiler.hh (S): delete decl for addCopy() from |
| 833 |
struct FunctionEval |
| 834 |
|
| 835 |
2014-02-13 Steven Eker <[email protected]> |
| 836 |
|
| 837 |
* copyRhsAutomaton.cc (recordInfo): don't pass needContiguous |
| 838 |
argument to recordFunctionEval() |
| 839 |
|
| 840 |
* trivialRhsAutomaton.cc (recordInfo): don't pass needContiguous |
| 841 |
argument to recordFunctionEval() |
| 842 |
|
| 843 |
* stackMachineRhsCompiler.cc (recordFunctionEval): deleted |
| 844 |
needContiguous argument |
| 845 |
|
| 846 |
* stackMachineRhsCompiler.hh (S): updated decl for |
| 847 |
recordFunctionEval() |
| 848 |
|
| 849 |
* stackMachineRhsCompiler.cc (compileInstructionSequence): handle |
| 850 |
failure to generate an instruction gracefully |
| 851 |
|
| 852 |
===================================Maude101=========================================== |
| 853 |
|
| 854 |
2014-02-06 Steven Eker <[email protected]> |
| 855 |
|
| 856 |
* stackMachineRhsCompiler.cc (dump): drastically simplified |
| 857 |
(recordFunctionEval): don't initialize deleted data members |
| 858 |
|
| 859 |
* stackMachineRhsCompiler.hh (S): deleted data members |
| 860 |
needContiguous, contiguousSlot and copies from struct |
| 861 |
FunctionEval; removed structs Copy, VirtualSlot |
| 862 |
(addCopy): deleted |
| 863 |
(S): deleted typedefs VirtualSlotMap, IntMap, SlotSet |
| 864 |
(S): removed data members virtualSlots and lastUsed |
| 865 |
(S): deleted decls for internal functions |
| 866 |
|
| 867 |
* stackMachineRhsCompiler.cc (compileInstructionSequence): deleted |
| 868 |
unused variable nrArgs |
| 869 |
(recordFunctionEval): delete commented out code |
| 870 |
|
| 871 |
2014-02-04 Steven Eker <[email protected]> |
| 872 |
|
| 873 |
* dagNodeSet.hh (PointerSet): use using syntax for member |
| 874 |
functions exported from base class |
| 875 |
|
| 876 |
* termSet.hh (PointerSet): use using syntax for member functions |
| 877 |
exported from base class |
| 878 |
|
| 879 |
2014-01-31 Steven Eker <[email protected]> |
| 880 |
|
| 881 |
* module.hh (BadFlag): added decl for stackMachineCompile() |
| 882 |
|
| 883 |
* module.cc (stackMachineCompile): added |
| 884 |
|
| 885 |
* module.hh (BadFlag): added STACK_MACHINE_COMPILED to enum Status |
| 886 |
|
| 887 |
* equation.cc (compile): don't do stack machine compilation here |
| 888 |
any more |
| 889 |
(stackMachineCompile): added |
| 890 |
|
| 891 |
* stackMachineRhsCompiler.hh (S): updated decl for |
| 892 |
compileInstructionSequence() |
| 893 |
|
| 894 |
* stackMachineRhsCompiler.cc (compileInstructionSequence): don't |
| 895 |
take argument |
| 896 |
|
| 897 |
2013-12-20 Steven Eker <[email protected]> |
| 898 |
|
| 899 |
* equation.cc (compile): remap indices before doing stack machine |
| 900 |
compilation |
| 901 |
|
| 902 |
* stackMachineRhsCompiler.cc (recordFunctionEval): rewritten |
| 903 |
(compileInstructionSequence): rewritten; rely on slots generated |
| 904 |
by remap indices |
| 905 |
|
| 906 |
2013-11-21 Steven Eker <[email protected]> |
| 907 |
|
| 908 |
* sort.hh (fastGeqSufficient, fastGeq): added |
| 909 |
|
| 910 |
===================================Maude100a=========================================== |
| 911 |
|
| 912 |
2013-10-27 Steven Eker <[email protected]> |
| 913 |
|
| 914 |
* equation.cc (Equation): init instructionSequence to 0 |
| 915 |
(Equation): delete instructionSequence |
| 916 |
|
| 917 |
* stackMachine.hh (getRawScratchpad): commented out |
| 918 |
(SimpleRootContainer): commnet out data member rawScratchPad |
| 919 |
|
| 920 |
* stackMachine.cc (~StackMachine): delete protectedScratchPad |
| 921 |
(StackMachine): comment out rawScratchPad init; make |
| 922 |
protectedScratchPad bigger |
| 923 |
|
| 924 |
2013-10-26 Steven Eker <[email protected]> |
| 925 |
|
| 926 |
* stackMachine.hh (getProtectedScratchpad): added |
| 927 |
(getRawScratchpad): added |
| 928 |
|
| 929 |
* stackMachine.cc (StackMachine): initialize protected and raw |
| 930 |
scratchpads |
| 931 |
|
| 932 |
2013-10-17 Steven Eker <[email protected]> |
| 933 |
|
| 934 |
* stackMachine.hh (incrementEqCount): allow rewriteCount to be |
| 935 |
incremented by an amount rather than just by 1 |
| 936 |
|
| 937 |
* frame.hh (fastPop): added |
| 938 |
|
| 939 |
* stackMachine.hh (fastPushFrame): added |
| 940 |
(setTopFrame): added |
| 941 |
|
| 942 |
2013-10-16 Steven Eker <[email protected]> |
| 943 |
|
| 944 |
* returnInstruction.hh (getReturnSlot): added |
| 945 |
|
| 946 |
* memoryCell.hh (wantToCollectGarbage): added |
| 947 |
(M): made collectGarbage() public; added comment |
| 948 |
|
| 949 |
2013-10-08 Steven Eker <[email protected]> |
| 950 |
|
| 951 |
* equation.cc (compile): hack to avoid stack machine compilation |
| 952 |
of equations with conditions, because we may share subterms with |
| 953 |
the condition |
| 954 |
|
| 955 |
2013-10-03 Steven Eker <[email protected]> |
| 956 |
|
| 957 |
* connectedComponent.cc (ConnectedComponent): init |
| 958 |
lastAllocatedMatchIndex |
| 959 |
|
| 960 |
* module.cc (indexEquation): call computeMatchIndices() |
| 961 |
|
| 962 |
* connectedComponent.hh (ModuleItem): added data member |
| 963 |
lastAllocatedMatchIndex |
| 964 |
(getNewMatchIndex): added |
| 965 |
(getLastAllocatedMatchIndex): added |
| 966 |
|
| 967 |
2013-10-02 Steven Eker <[email protected]> |
| 968 |
|
| 969 |
* memoryCell.hh (initFlags): added |
| 970 |
|
| 971 |
2013-09-26 Steven Eker <[email protected]> |
| 972 |
|
| 973 |
* memoryCell.hh (initialize): deleted |
| 974 |
|
| 975 |
* memoryCell.cc (slowNew): removed 4 calls to initialize() |
| 976 |
|
| 977 |
* memoryCell.hh (initialize): comment out the setting of the |
| 978 |
halfWord to Sort::SORT_UNKNOWN |
| 979 |
(allocateMemoryCell): try calling initialize() in the slowNew() path |
| 980 |
(initFlags): added |
| 981 |
(clearAllFlags): was initFlags |
| 982 |
(allocateMemoryCell): clean up; removed calls to initialize() |
| 983 |
|
| 984 |
2013-09-25 Steven Eker <[email protected]> |
| 985 |
|
| 986 |
* returnInstruction.cc (execute): rewritten using |
| 987 |
returnResultAndContinue() |
| 988 |
|
| 989 |
2013-09-24 Steven Eker <[email protected]> |
| 990 |
|
| 991 |
* core.hh: deleted class class CopyInstruction |
| 992 |
|
| 993 |
* copyInstruction.cc: deleted |
| 994 |
|
| 995 |
* copyInstruction.hh: deleted |
| 996 |
|
| 997 |
===================================Maude98=========================================== |
| 998 |
|
| 999 |
2013-09-04 Steven Eker <[email protected]> |
| 1000 |
|
| 1001 |
* stackMachine.hh (popFrame): added |
| 1002 |
|
| 1003 |
2013-08-22 Steven Eker <[email protected]> |
| 1004 |
|
| 1005 |
* returnInstruction.cc (execute): use finishUp() |
| 1006 |
|
| 1007 |
2013-08-20 Steven Eker <[email protected]> |
| 1008 |
|
| 1009 |
* stackMachineRhsCompiler.cc (compileInstructionSequence): fix |
| 1010 |
nasty bug where we were not filling out activeSlots for bare |
| 1011 |
variable ReturnInstruction |
| 1012 |
|
| 1013 |
* stackMachine.hh (incrementEqCount): comment out |
| 1014 |
MemoryCell::okToCollectGarbage() |
| 1015 |
|
| 1016 |
* stackMachine.cc (execute): try lcm unrolling trick |
| 1017 |
|
| 1018 |
* copyInstruction.cc (execute): removed hack |
| 1019 |
|
| 1020 |
2013-08-16 Steven Eker <[email protected]> |
| 1021 |
|
| 1022 |
* copyInstruction.cc (execute): tried execute() hack |
| 1023 |
|
| 1024 |
2013-08-15 Steven Eker <[email protected]> |
| 1025 |
|
| 1026 |
* stackMachine.cc (execute): commented out check for GC |
| 1027 |
|
| 1028 |
* stackMachine.hh (incrementEqCount): check for GC here |
| 1029 |
|
| 1030 |
* stackMachine.cc (execute): new attempt |
| 1031 |
|
| 1032 |
* stackMachine.hh (SimpleRootContainer): added data member |
| 1033 |
realResult |
| 1034 |
(newUnderFrame, newFrame): deleted |
| 1035 |
|
| 1036 |
* stackMachine.cc (markReachableNodes): mark realResult |
| 1037 |
|
| 1038 |
* stackMachine.hh (SimpleRootContainer): adde decl for new |
| 1039 |
execute() |
| 1040 |
|
| 1041 |
* stackMachine.cc (execute): added dummy frame version |
| 1042 |
|
| 1043 |
* core.hh: added class NullInstruction |
| 1044 |
|
| 1045 |
* nullInstruction.hh: created |
| 1046 |
|
| 1047 |
* nullInstruction.cc: created |
| 1048 |
|
| 1049 |
* stackMachine.hh (makeFrameLift): added |
| 1050 |
(pushFrame): added |
| 1051 |
|
| 1052 |
2013-08-14 Steven Eker <[email protected]> |
| 1053 |
|
| 1054 |
* frame.hh: use Instruction::SlotIndex throughout |
| 1055 |
|
| 1056 |
* copyInstruction.hh (NonFinalInstruction): deleted data member |
| 1057 |
nextInstruction |
| 1058 |
|
| 1059 |
* returnInstruction.hh (FinalInstruction): derive from |
| 1060 |
FinalInstruction; use SlotIndex type |
| 1061 |
|
| 1062 |
* copyInstruction.cc (CopyInstruction): call NonFinalInstruction |
| 1063 |
ctor |
| 1064 |
(execute): use getNextInstruction() |
| 1065 |
(dump): use getNextInstruction() |
| 1066 |
|
| 1067 |
* copyInstruction.hh (NonFinalInstruction): derive from |
| 1068 |
NonFinalInstruction; use SlotIndex type |
| 1069 |
|
| 1070 |
2013-08-13 Steven Eker <[email protected]> |
| 1071 |
|
| 1072 |
* frame.hh (getArgumentListPtr): adde const version |
| 1073 |
|
| 1074 |
2013-08-10 Steven Eker <[email protected]> |
| 1075 |
|
| 1076 |
* stackMachine.cc (markReachableNodes): clear return value slots |
| 1077 |
for values that haven't been returned yet |
| 1078 |
|
| 1079 |
2013-08-08 Steven Eker <[email protected]> |
| 1080 |
|
| 1081 |
* stackMachine.cc (execute): call MemoryCell::okToCollectGarbage() |
| 1082 |
|
| 1083 |
* frame.hh (markActiveSlots): added |
| 1084 |
|
| 1085 |
* stackMachine.cc (markReachableNodes): added |
| 1086 |
|
| 1087 |
* stackMachine.hh (SimpleRootContainer): derive from |
| 1088 |
SimpleRootContainer |
| 1089 |
(SimpleRootContainer): added decl for markReachableNodes(); |
| 1090 |
|
| 1091 |
* stackMachineRhsCompiler.cc (compileInstructionSequence): set |
| 1092 |
active slots |
| 1093 |
|
| 1094 |
2013-08-02 Steven Eker <[email protected]> |
| 1095 |
|
| 1096 |
* stackMachineRhsCompiler.cc (compileInstructionSequence): update |
| 1097 |
nrSlots if we have a destination slot that exceeds known slots |
| 1098 |
|
| 1099 |
* stackMachineRhsCompiler.hh (S): updated decl for compileInstructionSequence() |
| 1100 |
|
| 1101 |
* equation.cc (compile): pass nrSlots reference to compileInstructionSequence() |
| 1102 |
|
| 1103 |
* equation.hh (PreEquation): added nrSlots data member |
| 1104 |
|
| 1105 |
2013-08-01 Steven Eker <[email protected]> |
| 1106 |
|
| 1107 |
* stackMachine.hh (newUnderFrame): added |
| 1108 |
|
| 1109 |
2013-07-30 Steven Eker <[email protected]> |
| 1110 |
|
| 1111 |
* frame.hh (setReturnAddress): added absolute address version |
| 1112 |
|
| 1113 |
* stackMachine.cc (execute): use topFrame == 0 as stopping condition |
| 1114 |
|
| 1115 |
* stackMachine.hh (getEqCount): added |
| 1116 |
|
| 1117 |
* equation.hh (PreEquation): added data member instructionSequence |
| 1118 |
(getInstructionSequence): added |
| 1119 |
|
| 1120 |
* copyInstruction.cc (dump): fix (has source and destination the |
| 1121 |
wrong way around) |
| 1122 |
|
| 1123 |
2013-07-11 Steven Eker <[email protected]> |
| 1124 |
|
| 1125 |
* frame.hh: moved FRAME_SIZE_HACK here for the moment |
| 1126 |
|
| 1127 |
2013-07-10 Steven Eker <[email protected]> |
| 1128 |
|
| 1129 |
* returnInstruction.cc (dump): added |
| 1130 |
|
| 1131 |
* returnInstruction.hh (Instruction): added decl for dump() |
| 1132 |
|
| 1133 |
* copyInstruction.cc (dump): added |
| 1134 |
|
| 1135 |
* copyInstruction.hh (Instruction): added decl for dump() |
| 1136 |
|
| 1137 |
* core.hh: added class ReturnInstruction and class CopyInstruction |
| 1138 |
|
| 1139 |
* copyInstruction.hh: created |
| 1140 |
|
| 1141 |
* copyInstruction.cc: created |
| 1142 |
|
| 1143 |
* stackMachineRhsCompiler.cc (compileInstructionSequence): |
| 1144 |
generate instruction sequence |
| 1145 |
|
| 1146 |
* returnInstruction.cc (ReturnInstruction): added |
| 1147 |
|
| 1148 |
* returnInstruction.hh (Instruction): added decl for ctor; made |
| 1149 |
returnSlot const |
| 1150 |
|
| 1151 |
2013-07-09 Steven Eker <[email protected]> |
| 1152 |
|
| 1153 |
* stackMachineRhsCompiler.hh (S): added decl for findRealSlot() |
| 1154 |
|
| 1155 |
* stackMachineRhsCompiler.cc (feasibleAssignment): IntSet -> |
| 1156 |
SlotSet |
| 1157 |
(isOK): keep track of slots that we've hypothetically mapped |
| 1158 |
(findRealSlot): added |
| 1159 |
(compileInstructionSequence): assign real slots to remaining |
| 1160 |
virtual slots |
| 1161 |
|
| 1162 |
* stackMachineRhsCompiler.hh (S): IntSet ->SlotSet |
| 1163 |
|
| 1164 |
2013-07-05 Steven Eker <[email protected]> |
| 1165 |
|
| 1166 |
* stackMachineRhsCompiler.cc (computeUnforcedAssignment): |
| 1167 |
implemented |
| 1168 |
(isOK): added |
| 1169 |
|
| 1170 |
* stackMachineRhsCompiler.hh (S): added copies field to |
| 1171 |
FunctionEval; added declarations for computeUnforcedAssignment() |
| 1172 |
and computeForcedAssignment() |
| 1173 |
(addCopy): added |
| 1174 |
|
| 1175 |
* stackMachineRhsCompiler.cc (feasibleAssignment): fix bug |
| 1176 |
where we shadowing lastUserOfNeededSlot |
| 1177 |
(computeForcedAssignment): added |
| 1178 |
(computeUnforcedAssignment): added stub |
| 1179 |
(compileInstructionSequence): use computeForcedAssignment() and |
| 1180 |
computeUnforcedAssignment() |
| 1181 |
(dump): dump copy information |
| 1182 |
|
| 1183 |
2013-07-02 Steven Eker <[email protected]> |
| 1184 |
|
| 1185 |
* variableInfo.hh (isReal): added |
| 1186 |
|
| 1187 |
* stackMachineRhsCompiler.cc (recordFunctionEval, dump): updated |
| 1188 |
(compileInstructionSequence): added stub |
| 1189 |
|
| 1190 |
* stackMachineRhsCompiler.hh (S): redesigned internal data |
| 1191 |
structures; added decl for compileInstructionSequence() |
| 1192 |
|
| 1193 |
2013-07-01 Steven Eker <[email protected]> |
| 1194 |
|
| 1195 |
* returnInstruction.cc: created |
| 1196 |
|
| 1197 |
* returnInstruction.hh: created |
| 1198 |
|
| 1199 |
* trivialRhsAutomaton.cc (recordInfo): added |
| 1200 |
|
| 1201 |
* trivialRhsAutomaton.hh (RhsAutomaton): added decl for recordInfo() |
| 1202 |
|
| 1203 |
* copyRhsAutomaton.hh (RhsAutomaton): added decl for recordInfo() |
| 1204 |
|
| 1205 |
* copyRhsAutomaton.cc (recordInfo): added |
| 1206 |
|
| 1207 |
* equation.cc (compile): use class StackMachineRhsCompiler |
| 1208 |
|
| 1209 |
* stackMachineRhsCompiler.hh: added decl for dump() |
| 1210 |
|
| 1211 |
* stackMachineRhsCompiler.cc: added |
| 1212 |
|
| 1213 |
* rhsBuilder.hh (R): added decl for recordInfo() |
| 1214 |
|
| 1215 |
* rhsBuilder.cc (recordInfo): added |
| 1216 |
|
| 1217 |
2013-06-28 Steven Eker <[email protected]> |
| 1218 |
|
| 1219 |
* stackMachineRhsCompiler.hh: created |
| 1220 |
|
| 1221 |
* stackMachineRhsCompiler.cc: created |
| 1222 |
|
| 1223 |
* core.hh: added class StackMachineRhsCompiler |
| 1224 |
|
| 1225 |
2013-06-07 Steven Eker <[email protected]> |
| 1226 |
|
| 1227 |
* frame.hh (copyReturnInfo): added |
| 1228 |
|
| 1229 |
===================================Maude97=========================================== |
| 1230 |
|
| 1231 |
2013-03-08 Steven Eker <[email protected]> |
| 1232 |
|
| 1233 |
* unificationContext.cc (unificationBind): use Assert() rather |
| 1234 |
than abort() |
| 1235 |
|
| 1236 |
* module.hh (insertSort, insertSymbol): Assert() doesn't need cerr |
| 1237 |
|
| 1238 |
* argVec.hh (ArgVec): Assert() doesn't need cerr |
| 1239 |
|
| 1240 |
2013-01-18 Steven Eker <[email protected]> |
| 1241 |
|
| 1242 |
* stackMachine.hh (popToFrame): added |
| 1243 |
(incrementEqCount): added |
| 1244 |
|
| 1245 |
* frame.hh: NO_COPYING |
| 1246 |
(getArgumentListPtr): added |
| 1247 |
|
| 1248 |
* stackMachine.hh: NO_COPYING |
| 1249 |
|
| 1250 |
2013-01-09 Steven Eker <[email protected]> |
| 1251 |
|
| 1252 |
* stackMachine.hh (S): added decls for StackMachine() and |
| 1253 |
~StackMachine() |
| 1254 |
|
| 1255 |
* stackMachine.cc: created |
| 1256 |
|
| 1257 |
* stackMachine.hh (newFrame, popDeadFrames): added |
| 1258 |
(S): added data member memoryBase |
| 1259 |
|
| 1260 |
* frame.hh (setAncestorWithValidNextInstruction) |
| 1261 |
(getAncestorWithValidNextInstruction): added |
| 1262 |
|
| 1263 |
2013-01-07 Steven Eker <[email protected]> |
| 1264 |
|
| 1265 |
* core.hh: added forward decls for Frame and StackMachine |
| 1266 |
|
| 1267 |
* stackMachine.hh: created |
| 1268 |
|
| 1269 |
* frame.hh: created |
| 1270 |
|
| 1271 |
2012-12-14 Steven Eker <[email protected]> |
| 1272 |
|
| 1273 |
* pendingUnificationStack.cc (resolveTheoryClash): pass marked = |
| 1274 |
true to push() for safety though eventually we would like the make |
| 1275 |
the marked flag implicit |
| 1276 |
|
| 1277 |
2012-12-13 Steven Eker <[email protected]> |
| 1278 |
|
| 1279 |
* unificationContext.hh (SimpleRootContainer): added more comments |
| 1280 |
to explain what data members are used for |
| 1281 |
|
| 1282 |
2012-12-12 Steven Eker <[email protected]> |
| 1283 |
|
| 1284 |
* pendingUnificationStack.hh (SimpleRootContainer): added comments |
| 1285 |
to explain variableStatus and variableOrder |
| 1286 |
|
| 1287 |
* pendingUnificationStack.cc (solve2): commented out - it was |
| 1288 |
purely debugging code |
| 1289 |
|
| 1290 |
* pendingUnificationStack.hh (SimpleRootContainer): commented out |
| 1291 |
declaration for solve2() |
| 1292 |
|
| 1293 |
===================================Maude96c=========================================== |
| 1294 |
|
| 1295 |
2012-07-09 Steven Eker <[email protected]> |
| 1296 |
|
| 1297 |
* unificationContext.cc (UnificationContext): take odd argument |
| 1298 |
(makeFreshVariable): go back to passing freshVariableNumber rather |
| 1299 |
than index to getFreshVariableName(), but now clashing variable |
| 1300 |
names is avoided by also passing odd |
| 1301 |
|
| 1302 |
* unificationContext.hh (SimpleRootContainer): added data member |
| 1303 |
odd; updated decl for ctore |
| 1304 |
|
| 1305 |
===================================Maude96a=========================================== |
| 1306 |
|
| 1307 |
2012-05-23 Steven Eker <[email protected]> |
| 1308 |
|
| 1309 |
* unificationContext.cc (makeFreshVariable): pass index rather |
| 1310 |
than freshVariableNumber to getFreshVariableName() to avoid clashing |
| 1311 |
names with existing variables during narrowing steps |
| 1312 |
|
| 1313 |
2012-05-21 Steven Eker <[email protected]> |
| 1314 |
|
| 1315 |
* rewritingContext.hh (SimpleRootContainer): new decl for traceVariantNarrowingStep() |
| 1316 |
(addInCount, transferCount): update narrowingCount and variantNarrowingCount |
| 1317 |
(getTotalCount): include narrowingCount and variantNarrowingCount |
| 1318 |
(SimpleRootContainer): added data members narrowingCount and variantNarrowingCount |
| 1319 |
(RewritingContext): clear narrowingCount and variantNarrowingCount |
| 1320 |
(getNarrowingCount): added |
| 1321 |
(getVariantNarrowingCount): added |
| 1322 |
(incrementNarrowingCount, incrementVariantNarrowingCount): added |
| 1323 |
|
| 1324 |
2012-05-18 Steven Eker <[email protected]> |
| 1325 |
|
| 1326 |
* rewritingContext.cc (traceVariantNarrowingStep): added stub |
| 1327 |
|
| 1328 |
* rewritingContext.hh (SimpleRootContainer): added decl for traceVariantNarrowingStep() |
| 1329 |
|
| 1330 |
2012-05-11 Steven Eker <[email protected]> |
| 1331 |
|
| 1332 |
* freshVariableGenerator.hh (F): added odd field |
| 1333 |
|
| 1334 |
2012-05-04 Steven Eker <[email protected]> |
| 1335 |
|
| 1336 |
* equation.cc (compile): always compile lhs for equations with the |
| 1337 |
variant attribute |
| 1338 |
|
| 1339 |
2012-05-03 Steven Eker <[email protected]> |
| 1340 |
|
| 1341 |
* equation.cc (compile): pessimize the variant case |
| 1342 |
|
| 1343 |
* equation.hh (PreEquation): added VARIANT to flags |
| 1344 |
(isVariant): added |
| 1345 |
(setVariant): added |
| 1346 |
|
| 1347 |
2012-04-05 Steven Eker <[email protected]> |
| 1348 |
|
| 1349 |
* rewritingContext.cc (markReachableNodes): check for limited use |
| 1350 |
RewritingContext |
| 1351 |
|
| 1352 |
* rewritingContext.hh (RewritingContext): added ctor for limited |
| 1353 |
use RewritingContexts |
| 1354 |
|
| 1355 |
2012-03-28 Steven Eker <[email protected]> |
| 1356 |
|
| 1357 |
* equation.hh (PreEquation): added decl for print() |
| 1358 |
|
| 1359 |
* sortConstraint.hh (PreEquation): added decl for print() |
| 1360 |
|
| 1361 |
* equation.cc (print): added |
| 1362 |
|
| 1363 |
* rule.cc (getLhsDag, reset): deleted |
| 1364 |
(print): added |
| 1365 |
|
| 1366 |
* rule.hh (PreEquation): added decl for print(); deleted |
| 1367 |
declarations for getLhsDag(), reset() |
| 1368 |
|
| 1369 |
* preEquation.hh (BadFlag): added decls for getLhsDag(), reset(), |
| 1370 |
print(), operator<<() |
| 1371 |
|
| 1372 |
* preEquation.cc (getLhsDag): added |
| 1373 |
(getLhsDag): added |
| 1374 |
(reset): added |
| 1375 |
|
| 1376 |
* preEquation.hh (BadFlag): added data member lhsDag |
| 1377 |
|
| 1378 |
* equationTable.hh (E): added decl for resetEachEquation() |
| 1379 |
|
| 1380 |
* equationTable.cc (resetEachEquation): added |
| 1381 |
|
| 1382 |
===================================Maude96=========================================== |
| 1383 |
|
| 1384 |
2011-11-22 Steven Eker <eker@rho> |
| 1385 |
|
| 1386 |
* unificationContext.cc (UnificationContext::restoreFromClone): added |
| 1387 |
|
| 1388 |
* unificationContext.hh (class UnificationContext): added decl for restoreFromClone() |
| 1389 |
(class UnificationContext): added decl for restoreFromClone() |
| 1390 |
|
| 1391 |
* substitution.cc (Substitution::clone): moved here from .hh file |
| 1392 |
|
| 1393 |
2011-01-06 Steven Eker <eker@rho> |
| 1394 |
|
| 1395 |
* sortTable.cc (SortTable::linearComputeSortFunctionBdds): use |
| 1396 |
applyLeqRelation() |
| 1397 |
(SortTable::computeSortFunctionBdds): call both |
| 1398 |
recursiveComputeSortFunctionBdds() and |
| 1399 |
linearComputeSortFunctionBdds() and do a consistancy check |
| 1400 |
|
| 1401 |
* sortTable.hh (class SortTable): added dec for |
| 1402 |
recursiveComputeSortFunctionBdds() |
| 1403 |
|
| 1404 |
* sortTable.cc (SortTable::recursiveComputeSortFunctionBdds): added |
| 1405 |
|
| 1406 |
* sortBdds.hh (class SortBdds): added decl for applyLeqRelation() |
| 1407 |
|
| 1408 |
* sortBdds.cc (SortBdds::applyLeqRelation): added |
| 1409 |
|
| 1410 |
* sortTable.cc (SortTable::linearComputeSortFunctionBdds): use |
| 1411 |
getRemappedLeqRelation() |
| 1412 |
|
| 1413 |
* sortBdds.cc (getRemappedLeqRelation): added |
| 1414 |
|
| 1415 |
2011-01-05 Steven Eker <eker@rho> |
| 1416 |
|
| 1417 |
* sortTable.cc (SortTable::linearComputeSortFunctionBdds): added |
| 1418 |
|
| 1419 |
* sortTable.hh (class SortTable): added decl for |
| 1420 |
linearComputeSortFunctionBdds() |
| 1421 |
|
| 1422 |
* sortTable.cc (SortTable::computeMaximalOpDeclSetTable) |
| 1423 |
(SortTable::minimize, SortTable::buildSortDiagram): add comments |
| 1424 |
(SortTable::findMinSortIndex): rewritten using FOR_EACH_CONST |
| 1425 |
|
| 1426 |
===================================Maude95c=========================================== |
| 1427 |
|
| 1428 |
2010-10-20 Steven Eker <eker@rho> |
| 1429 |
|
| 1430 |
* hashConsSet.cc (HashConsSet::insert): use upgradeSortIndex() to |
| 1431 |
make sure any sort information in our argument is copied into an |
| 1432 |
existing canonical version |
| 1433 |
|
| 1434 |
2010-10-19 Steven Eker <eker@rho> |
| 1435 |
|
| 1436 |
* memoMap.cc (MemoMap::getFromIndex): use insertCopy() instead of |
| 1437 |
insertCopyEagerUptoReduced() |
| 1438 |
|
| 1439 |
* hashConsSet.hh (class HashConsSet): insertCopyEagerUptoReduced() |
| 1440 |
becomes insertCopy(); decl for getCanonicalCopyEagerUptoReduced() |
| 1441 |
deleted |
| 1442 |
(HashConsSet::getCanonicalCopyEagerUptoReduced): deleted |
| 1443 |
|
| 1444 |
* hashConsSet.cc (HashConsSet::insertCopyEagerUptoReduced): |
| 1445 |
becomes insertCopy() with change of semantics |
| 1446 |
|
| 1447 |
* memoMap.hh (class MemoMap): reverted previous change - it |
| 1448 |
doesn't solve the problem since lazy symbols can still occur in |
| 1449 |
toDags |
| 1450 |
|
| 1451 |
* memoMap.cc (MemoMap::getFromIndex): use fromDags |
| 1452 |
|
| 1453 |
* memoMap.hh (class MemoMap): split dags in to fromDags and |
| 1454 |
toDags; this is to solve a nasty issue with reduced flags being |
| 1455 |
unset arbitarily deep in fromDags with lazy function symbols |
| 1456 |
(MemoMap::getToDag, MemoMap::assignToDag): use toDags |
| 1457 |
|
| 1458 |
===================================Maude95a=========================================== |
| 1459 |
|
| 1460 |
2010-09-30 Steven Eker <eker@rho> |
| 1461 |
|
| 1462 |
* memoMap.cc: created |
| 1463 |
|
| 1464 |
* memoTable.hh: complete rewrite using MemoMap |
| 1465 |
|
| 1466 |
* memoTable.cc: complete rewrite using MemoMap |
| 1467 |
|
| 1468 |
* module.cc (Module::clearMemo): now delete memoMap rather that |
| 1469 |
calling clearMemo() on each symbol |
| 1470 |
(Module::getMemoMap): added |
| 1471 |
(Module::Module): initialize memoMap |
| 1472 |
|
| 1473 |
* module.hh (class Module): added data member memoMap and decl for |
| 1474 |
getMemoMap() |
| 1475 |
|
| 1476 |
* core.hh: added class MemoMap |
| 1477 |
|
| 1478 |
* memoMap.hh: created |
| 1479 |
|
| 1480 |
* memoTable.hh (class MemoTable): derive from ModuleItem |
| 1481 |
|
| 1482 |
2010-09-29 Steven Eker <eker@rho> |
| 1483 |
|
| 1484 |
* hashConsSet.hh (HashConsSet::getCanonicalCopyEagerUptoReduced): |
| 1485 |
added |
| 1486 |
|
| 1487 |
* hashConsSet.cc (HashConsSet::insertCopyEagerUptoReduced): |
| 1488 |
rewritten so that makeCanonicalCopyEagerUptoReduced() is only |
| 1489 |
called on unreduced nodes |
| 1490 |
|
| 1491 |
2010-09-28 Steven Eker <eker@rho> |
| 1492 |
|
| 1493 |
* hashConsSet.hh (class HashConsSet): added decl for |
| 1494 |
insertCopyEagerUptoReduced() |
| 1495 |
|
| 1496 |
2010-09-16 Steven Eker <eker@rho> |
| 1497 |
|
| 1498 |
* core.hh: deleted class DagNodeCache |
| 1499 |
|
| 1500 |
* dagNodeCache.cc: deleted |
| 1501 |
|
| 1502 |
* dagNodeCache.hh: deleted |
| 1503 |
|
| 1504 |
* hashConsSet.cc (HashConsSet::markReachableNodes): added |
| 1505 |
|
| 1506 |
* hashConsSet.hh (class HashConsSet): derive from |
| 1507 |
SimpleRootContainer; added decl for markReachableNodes() |
| 1508 |
|
| 1509 |
===================================Maude95=========================================== |
| 1510 |
|
| 1511 |
2010-08-11 Steven Eker <eker@rho> |
| 1512 |
|
| 1513 |
* unificationSubproblemDisjunction.cc |
| 1514 |
(UnificationSubproblemDisjunction::addUnification): take mark argument |
| 1515 |
|
| 1516 |
* compoundCycleSubproblem.cc (CompoundCycleSubproblem::solve): |
| 1517 |
implement cyclic identity base cycle breaking |
| 1518 |
|
| 1519 |
2010-08-03 Steven Eker <eker@rho> |
| 1520 |
|
| 1521 |
* pendingUnificationStack.cc |
| 1522 |
(PendingUnificationStack::makeNewSubproblem): pass marked to |
| 1523 |
addUnification() |
| 1524 |
|
| 1525 |
* compoundCycleSubproblem.cc (CompoundCycleSubproblem::solve): |
| 1526 |
pass marked = true to push() |
| 1527 |
|
| 1528 |
* unificationSubproblemDisjunction.cc |
| 1529 |
(UnificationSubproblemDisjunction::solve): pass marked = true to |
| 1530 |
push() |
| 1531 |
|
| 1532 |
* pendingUnificationStack.cc (PendingUnificationStack::push): take |
| 1533 |
marked arg |
| 1534 |
|
| 1535 |
* pendingUnificationStack.hh (class PendingUnificationStack): |
| 1536 |
added marked field to struct PendingUnification |
| 1537 |
(class PendingUnificationStack): updated decl for push() |
| 1538 |
|
| 1539 |
* unificationContext.hh (class UnificationContext): updated decl |
| 1540 |
for makeFreshVariable() again |
| 1541 |
|
| 1542 |
* unificationContext.cc (UnificationContext::makeFreshVariable): |
| 1543 |
return VariableDagNode* |
| 1544 |
|
| 1545 |
* unificationContext.hh (class UnificationContext): updated decl |
| 1546 |
for makeFreshVariable() |
| 1547 |
|
| 1548 |
* unificationContext.cc (UnificationContext::makeFreshVariable): |
| 1549 |
make arg const |
| 1550 |
|
| 1551 |
2010-07-29 Steven Eker <eker@rho> |
| 1552 |
|
| 1553 |
* unificationSubproblemDisjunction.hh (class |
| 1554 |
UnificationSubproblemDisjunction): updated decl for addUnification() |
| 1555 |
|
| 1556 |
* unificationSubproblemDisjunction.cc |
| 1557 |
(UnificationSubproblemDisjunction::addUnification): take solution arg |
| 1558 |
|
| 1559 |
* pendingUnificationStack.cc |
| 1560 |
(PendingUnificationStack::makeNewSubproblem): pass solution to |
| 1561 |
addUnification() |
| 1562 |
|
| 1563 |
2010-07-20 Steven Eker <eker@rho> |
| 1564 |
|
| 1565 |
* compoundCycleSubproblem.cc (CompoundCycleSubproblem::solve): fix |
| 1566 |
nasty bug where we were looking at cycle; optimization: remove |
| 1567 |
binding that we have reposed as pending unifications |
| 1568 |
|
| 1569 |
* pendingUnificationStack.cc |
| 1570 |
(PendingUnificationStack::makeNewSubproblem): ignore variable to |
| 1571 |
variable bindings when compiling cycle |
| 1572 |
|
| 1573 |
* pendingUnificationStack.hh (class PendingUnificationStack): |
| 1574 |
updated decl for makeNewSubproblem() |
| 1575 |
|
| 1576 |
* pendingUnificationStack.cc |
| 1577 |
(PendingUnificationStack::makeNewSubproblem): take |
| 1578 |
UnificationContext argument |
| 1579 |
|
| 1580 |
* pendingUnificationStack.hh (class PendingUnificationStack): |
| 1581 |
added enum SpecialTheory |
| 1582 |
|
| 1583 |
* pendingUnificationStack.cc |
| 1584 |
(PendingUnificationStack::makeNewSubproblem): look for cycles here |
| 1585 |
and create a new CompoundCycleSubproblem if one found |
| 1586 |
(PendingUnificationStack::killTopSubproblem): be |
| 1587 |
CompoundCycleSubproblem aware |
| 1588 |
|
| 1589 |
* core.hh: added class CompoundCycleSubproblem |
| 1590 |
|
| 1591 |
2010-07-19 Steven Eker <eker@rho> |
| 1592 |
|
| 1593 |
* compoundCycleSubproblem.cc: created |
| 1594 |
|
| 1595 |
* compoundCycleSubproblem.hh: created |
| 1596 |
|
| 1597 |
2010-07-16 Steven Eker <eker@rho> |
| 1598 |
|
| 1599 |
* pendingUnificationStack.hh (class PendingUnificationStack): |
| 1600 |
added decl for solve2() |
| 1601 |
|
| 1602 |
* pendingUnificationStack.cc (PendingUnificationStack::findCycle) |
| 1603 |
(PendingUnificationStack::findCycleFrom) |
| 1604 |
(PendingUnificationStack::solve2): added |
| 1605 |
|
| 1606 |
* pendingUnificationStack.hh (class PendingUnificationStack): |
| 1607 |
added enum Status, data members variableStatus, variabeOrder; |
| 1608 |
added decls for findCycle() and findCycleFrom() |
| 1609 |
|
| 1610 |
* unificationContext.hh |
| 1611 |
(UnificationContext::getNrOriginalVariables): added |
| 1612 |
|
| 1613 |
===================================Maude94a=========================================== |
| 1614 |
|
| 1615 |
2010-06-30 Steven Eker <eker@rho> |
| 1616 |
|
| 1617 |
* pendingUnificationStack.cc |
| 1618 |
(PendingUnificationStack::markReachableNodes): added |
| 1619 |
|
| 1620 |
* pendingUnificationStack.hh (class PendingUnificationStack): |
| 1621 |
privately inherit from SimpleRootContainer |
| 1622 |
(class PendingUnificationStack): added decl for |
| 1623 |
markReachableNodes() |
| 1624 |
|
| 1625 |
2010-06-29 Steven Eker <eker@rho> |
| 1626 |
|
| 1627 |
* pendingUnificationStack.cc |
| 1628 |
(PendingUnificationStack::resolveTheoryClash): added |
| 1629 |
(PendingUnificationStack::PendingUnificationStack): create special |
| 1630 |
theory table entry to track theory clashes |
| 1631 |
(PendingUnificationStack::makeNewSubproblem): handle theory clash |
| 1632 |
entries and use UnificationSubproblemDisjunction() |
| 1633 |
|
| 1634 |
* pendingUnificationStack.hh (class PendingUnificationStack): |
| 1635 |
added decl for resolveTheoryClash() |
| 1636 |
|
| 1637 |
* core.hh: added class UnificationSubproblemDisjunction |
| 1638 |
|
| 1639 |
* unificationSubproblemDisjunction.cc: created |
| 1640 |
|
| 1641 |
* unificationSubproblemDisjunction.hh: created |
| 1642 |
|
| 1643 |
* pendingUnificationStack.cc |
| 1644 |
(PendingUnificationStack::makeNewSubproblem): deleted commented |
| 1645 |
out code that look for theory with greatest number of pending |
| 1646 |
unifications |
| 1647 |
|
| 1648 |
===================================Maude94=========================================== |
| 1649 |
|
| 1650 |
2010-03-19 Steven Eker <eker@rho> |
| 1651 |
|
| 1652 |
* substitution.hh (Substitution::addNewVariable): don't do a |
| 1653 |
values.resize(copySize) as this appears to be a bug |
| 1654 |
|
| 1655 |
* substitution.cc (Substitution::makeLocalBinding) |
| 1656 |
(Substitution::merge, Substitution::merge): deleted commented out |
| 1657 |
code |
| 1658 |
|
| 1659 |
* substitution.hh (class Substitution): deleted commented out |
| 1660 |
decls for makeLocalBinding(), merge() (2 versions) |
| 1661 |
|
| 1662 |
* sortBdds.cc (SortBdds::SortBdds): delete commented out sort |
| 1663 |
function computation code |
| 1664 |
|
| 1665 |
* localBinding.cc (LocalBinding::solvedFormAssert): deleted (was |
| 1666 |
commented out) |
| 1667 |
|
| 1668 |
* localBinding.hh (class LocalBinding): deleted commented out decl |
| 1669 |
for solvedFormAssert() |
| 1670 |
|
| 1671 |
* subproblemSequence.cc (SubproblemSequence::unificationSolve): deleted |
| 1672 |
|
| 1673 |
* subproblemSequence.hh (class SubproblemSequence): delete decl |
| 1674 |
for unificationSolve() |
| 1675 |
|
| 1676 |
2010-03-11 Steven Eker <eker@rho> |
| 1677 |
|
| 1678 |
* variableInfo.cc (VariableInfo::computeIndexRemapping): get test |
| 1679 |
in DebugAdvisoryCheck() the right way around |
| 1680 |
|
| 1681 |
* argVec.hh (expandBy): use != rather than > |
| 1682 |
(evacuate): use != rather than > |
| 1683 |
|
| 1684 |
2010-03-09 Steven Eker <eker@rho> |
| 1685 |
|
| 1686 |
* variableInfo.cc (VariableInfo::computeIndexRemapping): replace |
| 1687 |
ad hoc print statement that was being left in shipped code with |
| 1688 |
DebugAdvisoryCheck() |
| 1689 |
|
| 1690 |
===================================Maude93=========================================== |
| 1691 |
|
| 1692 |
2010-03-05 Steven Eker <eker@rho> |
| 1693 |
|
| 1694 |
* memoryCell.hh (MemoryCell::allocateStorage): check if |
| 1695 |
storageInUse > target and set needToCollectGarbage if so |
| 1696 |
(MemoryCell::okToCollectGarbage): don't check storageInUse > |
| 1697 |
target |
| 1698 |
|
| 1699 |
2010-03-03 Steven Eker <eker@rho> |
| 1700 |
|
| 1701 |
* substitution.hh (Substitution::clear): revert counter hack since |
| 1702 |
it appears to be a lose |
| 1703 |
|
| 1704 |
2010-03-02 Steven Eker <eker@rho> |
| 1705 |
|
| 1706 |
* substitution.hh (Substitution::clear): try keeping a counter on |
| 1707 |
the assumption that modern processors know how to do count down |
| 1708 |
loops without branch mispredicts |
| 1709 |
|
| 1710 |
2010-02-26 Steven Eker <eker@rho> |
| 1711 |
|
| 1712 |
* substitution.hh: reverted unroll changes since their effect was |
| 1713 |
questionable |
| 1714 |
|
| 1715 |
2010-02-25 Steven Eker <eker@rho> |
| 1716 |
|
| 1717 |
* substitution.hh (Substitution::Substitution): round up values |
| 1718 |
length up to even (both versions) |
| 1719 |
(Substitution::clone, Substitution::addNewVariable): round up |
| 1720 |
values length to even |
| 1721 |
(Substitution::clear): manually unroll loop |
| 1722 |
|
| 1723 |
* equationTable.cc (EquationTable::applyReplace): make nrVariables |
| 1724 |
a long |
| 1725 |
(EquationTable::applyReplaceNoOwise): make nrVariable a long |
| 1726 |
|
| 1727 |
* substitution.hh (Substitution::clear): try making size into a |
| 1728 |
unsigned int to allow zero extension when it is combined with a |
| 1729 |
pointer |
| 1730 |
(Substitution::clear): gcc isn't smart enough and forgets about |
| 1731 |
our "free" zero extension and does another explicit one - make |
| 1732 |
size a long instead |
| 1733 |
|
| 1734 |
2010-02-24 Steven Eker <eker@rho> |
| 1735 |
|
| 1736 |
* equation.hh (Equation::fastNrVariables): return long in the hope |
| 1737 |
having sign extension for free as part of a register load on x86-64 |
| 1738 |
(class Equation): turn fast into a long since we still seem to be |
| 1739 |
getting a discrete cltq instruction |
| 1740 |
|
| 1741 |
===================================Maude92c=========================================== |
| 1742 |
|
| 1743 |
2009-12-02 Steven Eker <[email protected]> |
| 1744 |
|
| 1745 |
* hashConsSet.hh (class HashConsSet): added ifdef'd |
| 1746 |
collisionCounter |
| 1747 |
|
| 1748 |
* hashConsSet.cc (collision): increment collisionCounter |
| 1749 |
|
| 1750 |
2009-11-30 Steven Eker <[email protected]> |
| 1751 |
|
| 1752 |
* hashConsSet.hh (class HashConsSet): added decl for collision() |
| 1753 |
|
| 1754 |
* hashConsSet.cc (collision): added |
| 1755 |
|
| 1756 |
2009-11-24 Steven Eker <[email protected]> |
| 1757 |
|
| 1758 |
* hashConsSet.cc: created |
| 1759 |
|
| 1760 |
* hashConsSet.hh: created |
| 1761 |
|
| 1762 |
* core.hh: added class HashConsSet |
| 1763 |
|
| 1764 |
2009-11-16 Steven Eker <[email protected]> |
| 1765 |
|
| 1766 |
* sortBdds.cc (makeIndexBdd): use bdd_ithvar() in place of |
| 1767 |
ithvar() and bdd_nithvar() in place of nithvar() |
| 1768 |
|
| 1769 |
* sortTable.cc (computeSortFunctionBdds): calculate and allocate |
| 1770 |
the number of BDD variables we will need up front |
| 1771 |
|
| 1772 |
* sortBdds.cc (makeVariableVector): use bdd_ithvar() in place of |
| 1773 |
ithvar() |
| 1774 |
(makeVariableBdd): bdd_ithvar() in place of ithvar() |
| 1775 |
|
| 1776 |
===================================Maude92b=========================================== |
| 1777 |
|
| 1778 |
2009-10-28 Steven Eker <[email protected]> |
| 1779 |
|
| 1780 |
* sortBdds.cc (SortBdds): fix incorrect comment; add |
| 1781 |
DebugAdvisory() |
| 1782 |
|
| 1783 |
===================================Maude92a=========================================== |
| 1784 |
|
| 1785 |
2009-08-06 Steven Eker <[email protected]> |
| 1786 |
|
| 1787 |
* substitution.hh (bind, value): added static_cast<>s to keep g++ |
| 1788 |
-Wall quiet |
| 1789 |
|
| 1790 |
2009-07-24 Steven Eker <[email protected]> |
| 1791 |
|
| 1792 |
* pendingUnificationStack.cc (~PendingUnificationStack): delete |
| 1793 |
subproblems belonging to stack; this might fix a nasty bug where |
| 1794 |
we have old LocalBinding objects with pointers to dag nodes with |
| 1795 |
stale symbol pointers |
| 1796 |
|
| 1797 |
2008-12-22 Steven Eker <[email protected]> |
| 1798 |
|
| 1799 |
* sortBdds.hh (class SortBdds): updated decl for getSortFunctiion() |
| 1800 |
(class SortBdds): made sortFunctions mutable |
| 1801 |
|
| 1802 |
* sortBdds.cc (getSortFunction): moved here; make sort function on demand |
| 1803 |
|
| 1804 |
2008-12-12 Steven Eker <[email protected]> |
| 1805 |
|
| 1806 |
* module.hh (class Module): added data member environment |
| 1807 |
(getEnvironment): added |
| 1808 |
|
| 1809 |
* environment.hh: created |
| 1810 |
|
| 1811 |
===================================Maude92=========================================== |
| 1812 |
|
| 1813 |
2008-09-18 Steven Eker <[email protected]> |
| 1814 |
|
| 1815 |
* equationTable.cc (applyReplace): removed extraneous debugging |
| 1816 |
print statement |
| 1817 |
|
| 1818 |
===================================Maude91b=========================================== |
| 1819 |
|
| 1820 |
2008-09-16 Steven Eker <[email protected]> |
| 1821 |
|
| 1822 |
* rootContainer.hh (class RootContainer): added empty virtual dtor |
| 1823 |
for future safety |
| 1824 |
|
| 1825 |
* symbolMap.hh (class SymbolMap): added empty virtual dtor for |
| 1826 |
future safety |
| 1827 |
|
| 1828 |
2008-09-11 Steven Eker <[email protected]> |
| 1829 |
|
| 1830 |
* disjunctiveSubproblemAccumulator.cc (extract): added #ifdef |
| 1831 |
NO_ASSERT to avoid unused variable warning |
| 1832 |
|
| 1833 |
* sortTable.cc (compileOpDeclarations): added #ifndef NO_ASSERT to |
| 1834 |
avoid unused variable warning |
| 1835 |
|
| 1836 |
2008-06-11 Steven Eker <[email protected]> |
| 1837 |
|
| 1838 |
* equationTable.cc (applyReplace): added DebugAdvisory() for slow |
| 1839 |
case |
| 1840 |
|
| 1841 |
===================================Maude91a=========================================== |
| 1842 |
|
| 1843 |
2008-04-27 Steven Eker <[email protected]> |
| 1844 |
|
| 1845 |
* pendingUnificationStack.cc (makeNewSubproblem): ifdef out new |
| 1846 |
code and restore old code since new code has overhead for no |
| 1847 |
benefit |
| 1848 |
|
| 1849 |
2008-04-18 Steven Eker <[email protected]> |
| 1850 |
|
| 1851 |
* pendingUnificationStack.cc (makeNewSubproblem): use |
| 1852 |
unificationPriority() |
| 1853 |
|
| 1854 |
2008-04-09 Steven Eker <[email protected]> |
| 1855 |
|
| 1856 |
* pendingUnificationStack.cc (makeNewSubproblem): try ordering |
| 1857 |
theories base on number of unsolved unifications |
| 1858 |
|
| 1859 |
===================================Maude91=========================================== |
| 1860 |
|
| 1861 |
2008-03-23 Steven Eker <[email protected]> |
| 1862 |
|
| 1863 |
* solvedFormSubproblemDisjunction.cc: deleted |
| 1864 |
|
| 1865 |
* solvedFormSubproblemDisjunction.hh: deleted |
| 1866 |
|
| 1867 |
* core.hh: removed class SolvedFormSubproblemDisjunction |
| 1868 |
|
| 1869 |
2008-03-13 Steven Eker <[email protected]> |
| 1870 |
|
| 1871 |
* variableInfo.cc (computeIndexRemapping): keep a vector of |
| 1872 |
conflict candidates to avoid quadratic behavior for large examples |
| 1873 |
with trival structure |
| 1874 |
|
| 1875 |
===================================Maude90a=========================================== |
| 1876 |
|
| 1877 |
2008-02-12 Steven Eker <[email protected]> |
| 1878 |
|
| 1879 |
* unificationContext.cc (markReachableNodes): added to fix bug |
| 1880 |
that our variable dags were being collected |
| 1881 |
|
| 1882 |
* unificationContext.hh (class UnificationContext): derive from |
| 1883 |
SimpleRootContainer; added decl for markReachableNodes() |
| 1884 |
|
| 1885 |
* pendingUnificationStack.cc (solve): check for empty case |
| 1886 |
|
| 1887 |
2008-02-08 Steven Eker <[email protected]> |
| 1888 |
|
| 1889 |
* unificationContext.cc (unificationBind): added |
| 1890 |
|
| 1891 |
* unificationContext.hh (class UnificationContext): added decls |
| 1892 |
for unificationBind() and getVariableDagNode(); added data member |
| 1893 |
variableDagNodes |
| 1894 |
(getVariableDagNode): added |
| 1895 |
|
| 1896 |
2008-02-05 Steven Eker <[email protected]> |
| 1897 |
|
| 1898 |
* pendingUnificationStack.cc (push): fix == instead of = bug |
| 1899 |
|
| 1900 |
* localBinding.hh (class LocalBinding): commented out |
| 1901 |
solvedFormAssert() |
| 1902 |
|
| 1903 |
* localBinding.cc (solvedFormAssert): commented out |
| 1904 |
|
| 1905 |
* substitution.cc: commented out makeLocalBinding(), merge() (both |
| 1906 |
versions) |
| 1907 |
|
| 1908 |
* substitution.hh (class Substitution): commented out decls for |
| 1909 |
makeLocalBinding(), merge() (both versions) |
| 1910 |
|
| 1911 |
2008-01-31 Steven Eker <[email protected]> |
| 1912 |
|
| 1913 |
* dagNodeSet.cc (insert): return index |
| 1914 |
|
| 1915 |
* dagNodeSet.hh (class DagNodeSet): have insert() return index |
| 1916 |
|
| 1917 |
* core.hh: added class PendingUnificationStack |
| 1918 |
|
| 1919 |
2008-01-29 Steven Eker <[email protected]> |
| 1920 |
|
| 1921 |
* pendingUnificationStack.hh: created |
| 1922 |
|
| 1923 |
2008-01-21 Steven Eker <[email protected]> |
| 1924 |
|
| 1925 |
* rewritingContext.cc (traceNarrowingStep): take new args |
| 1926 |
|
| 1927 |
* rewritingContext.hh (class RewritingContext): updated decl for |
| 1928 |
traceNarrowingStep() |
| 1929 |
|
| 1930 |
2008-01-17 Steven Eker <[email protected]> |
| 1931 |
|
| 1932 |
* rewritingContext.hh (class RewritingContext): added decl for |
| 1933 |
traceNarrowingStep() |
| 1934 |
|
| 1935 |
* substitution.cc: deleted commented out allocateSize |
| 1936 |
initialization |
| 1937 |
|
| 1938 |
* solvedFormSubproblemDisjunction.hh (class |
| 1939 |
SolvedFormSubproblemDisjunction): updated decl for ctor |
| 1940 |
|
| 1941 |
* solvedFormSubproblemDisjunction.cc |
| 1942 |
(SolvedFormSubproblemDisjunction): don't take |
| 1943 |
argument; initialize savedSubstitution with 0 length to avoid |
| 1944 |
marking uninitialized entries - this was a worry because the |
| 1945 |
uninitialized entries could stay uninitialized across rewriting if |
| 1946 |
the subproblem was itself on currently unvisited path in a another |
| 1947 |
subproblem disjunction |
| 1948 |
|
| 1949 |
* substitution.hh (clear): added Assert() to prevent clearing of |
| 1950 |
substitutions with zero length vectors |
| 1951 |
(Substitution): allow zero length substitutions (both versions) |
| 1952 |
(value): have Assert() print out values size |
| 1953 |
|
| 1954 |
2008-01-15 Steven Eker <[email protected]> |
| 1955 |
|
| 1956 |
* variableInfo.cc (computeIndexRemapping): delete commented out |
| 1957 |
call to Substitution::notify() |
| 1958 |
|
| 1959 |
===================================Maude90=========================================== |
| 1960 |
|
| 1961 |
2008-01-11 Steven Eker <[email protected]> |
| 1962 |
|
| 1963 |
* solvedFormSubproblemDisjunction.cc (unificationSolve): replaced |
| 1964 |
copy() with clone() as a quick hack to see what is going wrong |
| 1965 |
with C unification |
| 1966 |
|
| 1967 |
===================================Maude89j=========================================== |
| 1968 |
|
| 1969 |
2007-11-21 Steven Eker <[email protected]> |
| 1970 |
|
| 1971 |
* rule.cc (compile): pessimize the compilation of unconditional |
| 1972 |
rules to avoid left->right subterm sharing that would break |
| 1973 |
narrowing |
| 1974 |
|
| 1975 |
2007-11-14 Steven Eker <[email protected]> |
| 1976 |
|
| 1977 |
* core.hh: added class ProtectedDagNodeSet |
| 1978 |
|
| 1979 |
* protectedDagNodeSet.cc: created |
| 1980 |
|
| 1981 |
* protectedDagNodeSet.hh: created |
| 1982 |
|
| 1983 |
2007-10-26 Steven Eker <[email protected]> |
| 1984 |
|
| 1985 |
* rule.cc (getLhsDag): call computeBaseSortForGroundSubterms() and |
| 1986 |
issue warning for function symbols without unification algorithms |
| 1987 |
|
| 1988 |
2007-10-15 Steven Eker <[email protected]> |
| 1989 |
|
| 1990 |
* core.hh: added class NarrowingVariableInfo |
| 1991 |
|
| 1992 |
* narrowingVariableInfo.hh: created |
| 1993 |
|
| 1994 |
* narrowingVariableInfo.cc: created |
| 1995 |
|
| 1996 |
2007-09-28 Steven Eker <[email protected]> |
| 1997 |
|
| 1998 |
* substitution.hh (clone): rewritten so that we never make the |
| 1999 |
underlying vector smaller - this used to cause a problem with the |
| 2000 |
strategy language |
| 2001 |
(addNewVariable): symmetric change - this didn't cause a problem |
| 2002 |
at the moment but might have done in the future with narrowing |
| 2003 |
|
| 2004 |
2007-09-24 Steven Eker <[email protected]> |
| 2005 |
|
| 2006 |
* rule.hh (class Rule): added decl for getLhsDag() |
| 2007 |
|
| 2008 |
* rule.cc (getLhsDag): added |
| 2009 |
|
| 2010 |
* rule.hh (class Rule): added data member lhsDag |
| 2011 |
|
| 2012 |
* rule.cc (reset): added |
| 2013 |
|
| 2014 |
* rule.hh (class Rule): added decl for reset() |
| 2015 |
|
| 2016 |
* ruleTable.cc (resetEachRule): added |
| 2017 |
|
| 2018 |
* ruleTable.hh (class RuleTable): added decl for resetEachRule() |
| 2019 |
|
| 2020 |
2007-09-21 Steven Eker <[email protected]> |
| 2021 |
|
| 2022 |
* substitution.hh (notify): deleted |
| 2023 |
(Substitution): deleted no arg version |
| 2024 |
(clear): don't check against allocateSize |
| 2025 |
(class Substitution): deleted static data member allocateSize |
| 2026 |
(Substitution): adde 2 arg version |
| 2027 |
|
| 2028 |
* module.cc (Module): initialize minimumSubstitutionSize |
| 2029 |
|
| 2030 |
* preEquation.cc (compileMatch): look at the module of the lhs top |
| 2031 |
symbol instead |
| 2032 |
|
| 2033 |
* rewritingContext.hh (RewritingContext): use getMinimumSubstitutionSize() |
| 2034 |
|
| 2035 |
* module.hh (getMinimumSubstitutionSize): added |
| 2036 |
(notifySubstitutionSize): added |
| 2037 |
(class Module): added data member minimumSubstitutionSize |
| 2038 |
|
| 2039 |
* preEquation.cc (compileMatch): call notifySubstitutionSize() |
| 2040 |
|
| 2041 |
* variableInfo.hh (class VariableInfo): updated decl for |
| 2042 |
computeIndexRemapping() |
| 2043 |
|
| 2044 |
* variableInfo.cc (computeIndexRemapping): don't call |
| 2045 |
Substitution::notify(); return minmum number of variables needed |
| 2046 |
|
| 2047 |
2007-09-06 Steven Eker <[email protected]> |
| 2048 |
|
| 2049 |
* disjunctiveSubproblemAccumulator.cc (extract): added Assert() |
| 2050 |
following coverity inspection |
| 2051 |
|
| 2052 |
===================================Maude89h=========================================== |
| 2053 |
|
| 2054 |
2007-06-11 Steven Eker <[email protected]> |
| 2055 |
|
| 2056 |
* freshVariableGenerator.hh (class FreshVariableGenerator): added |
| 2057 |
pure virtual member variableNameConflict() |
| 2058 |
|
| 2059 |
2007-03-16 Steven Eker <[email protected]> |
| 2060 |
|
| 2061 |
* substitution.cc (unificationBind, unificationDifference): |
| 2062 |
deleted |
| 2063 |
|
| 2064 |
* substitution.hh (class Substitution): deleted decls for |
| 2065 |
unificationBind() and unificationDifference() |
| 2066 |
|
| 2067 |
* localBinding.cc (unificationAssert): deleted |
| 2068 |
|
| 2069 |
* localBinding.hh (class LocalBinding): deleted decl for |
| 2070 |
unificationAssert() |
| 2071 |
|
| 2072 |
* core.hh: added class SolvedFormSubproblemDisjunction |
| 2073 |
|
| 2074 |
* unificationSubproblemDisjunction.cc: deleted |
| 2075 |
|
| 2076 |
* unificationSubproblemDisjunction.hh: deleted |
| 2077 |
|
| 2078 |
2007-03-15 Steven Eker <[email protected]> |
| 2079 |
|
| 2080 |
* sortTable.hh (class SortTable): fix bug where we were passing |
| 2081 |
realToBdd by value rather than by reference |
| 2082 |
|
| 2083 |
===================================Maude89a=========================================== |
| 2084 |
|
| 2085 |
2007-03-14 Steven Eker <[email protected]> |
| 2086 |
|
| 2087 |
* solvedFormSubproblemDisjunction.cc (markReachableNodes): added |
| 2088 |
|
| 2089 |
* solvedFormSubproblemDisjunction.hh (class |
| 2090 |
SolvedFormSubproblemDisjunction): derive from SimpleRootContainer |
| 2091 |
(class SolvedFormSubproblemDisjunction): added decl for |
| 2092 |
markReachableNodes() |
| 2093 |
|
| 2094 |
* unificationContext.cc (makeFreshVariable): record sort of fresh |
| 2095 |
variable |
| 2096 |
|
| 2097 |
* unificationContext.hh (getFreshVariableSort): added |
| 2098 |
|
| 2099 |
* unificationContext.cc (makeFreshVariable): fix off by one error |
| 2100 |
in value passed to getFreshVariableName() |
| 2101 |
|
| 2102 |
* substitution.hh (clone): resize values |
| 2103 |
(bind): make Assert()s more verbose |
| 2104 |
(value): make Assert()s more verbose |
| 2105 |
(addNewVariable): added |
| 2106 |
|
| 2107 |
* unificationContext.cc (UnificationContext): firstFreeIndex -> |
| 2108 |
nrOriginalVariables; initialize base class; don't initialize |
| 2109 |
nextName |
| 2110 |
(deallocateFreshVariables): deleted |
| 2111 |
(makeFreshVariable): rewritten |
| 2112 |
|
| 2113 |
* unificationContext.hh (class UnificationContext): firstFreeIndex |
| 2114 |
becomes nrOriginalVariables; decl for deallocateFreshVariables() |
| 2115 |
deleted; data member nextName deleted |
| 2116 |
|
| 2117 |
2007-03-13 Steven Eker <[email protected]> |
| 2118 |
|
| 2119 |
* unificationContext.cc: created |
| 2120 |
(UnificationContext): fixed bug where we were zeroing local |
| 2121 |
nextName variable |
| 2122 |
(makeFreshVariable): clear fresh variable to support reuse |
| 2123 |
|
| 2124 |
* unificationContext.hh (class UnificationContext): rewritten |
| 2125 |
|
| 2126 |
2007-03-09 Steven Eker <[email protected]> |
| 2127 |
|
| 2128 |
* solvedFormSubproblemDisjunction.cc (solve): become unificationSolve() |
| 2129 |
|
| 2130 |
* solvedFormSubproblemDisjunction.hh (class |
| 2131 |
SolvedFormSubproblemDisjunction): define unificationSolve() rather |
| 2132 |
than solve() |
| 2133 |
|
| 2134 |
* subproblemSequence.hh (class SubproblemSequence): added decl for |
| 2135 |
unificationSolve() |
| 2136 |
|
| 2137 |
* subproblemSequence.cc (unificationSolve): added |
| 2138 |
|
| 2139 |
* unificationContext.hh (class UnificationContext): created |
| 2140 |
|
| 2141 |
2007-03-02 Steven Eker <[email protected]> |
| 2142 |
|
| 2143 |
* solvedFormSubproblemDisjunction.hh: created |
| 2144 |
|
| 2145 |
* solvedFormSubproblemDisjunction.cc: created |
| 2146 |
|
| 2147 |
* localBinding.hh (class LocalBinding): added decl for |
| 2148 |
solvedFormAssert() |
| 2149 |
|
| 2150 |
* localBinding.cc (unificationAssert): fix bug where we were |
| 2151 |
extracting subproblem too soon |
| 2152 |
(solvedFormAssert): added |
| 2153 |
|
| 2154 |
* substitution.cc (merge): added Substitution& version |
| 2155 |
|
| 2156 |
* substitution.hh (class Substitution): added dec for merge() |
| 2157 |
|
| 2158 |
* substitution.cc (merge): added |
| 2159 |
|
| 2160 |
* substitution.hh (class Substitution): added decl for |
| 2161 |
makeLocalBinding() |
| 2162 |
|
| 2163 |
* substitution.cc (makeLocalBinding): added |
| 2164 |
|
| 2165 |
===================================Maude89=========================================== |
| 2166 |
|
| 2167 |
2007-02-13 Steven Eker <[email protected]> |
| 2168 |
|
| 2169 |
* substitution.hh (value): check against valued.size() rather than |
| 2170 |
allocateSize so that we can use substitutions that are larger than |
| 2171 |
allocateSize |
| 2172 |
(bind): ditto |
| 2173 |
|
| 2174 |
2007-02-07 Steven Eker <[email protected]> |
| 2175 |
|
| 2176 |
* unificationSubproblemDisjunction.cc (solve): simplify |
| 2177 |
(~UnificationSubproblemDisjunction): don't delete |
| 2178 |
savedSubstitution |
| 2179 |
|
| 2180 |
* unificationSubproblemDisjunction.hh (class |
| 2181 |
UnificationSubproblemDisjunction): updated decl for |
| 2182 |
UnificationSubproblemDisjunction() |
| 2183 |
|
| 2184 |
* unificationSubproblemDisjunction.cc |
| 2185 |
(UnificationSubproblemDisjunction): take nrBinding arg |
| 2186 |
|
| 2187 |
2007-02-06 Steven Eker <[email protected]> |
| 2188 |
|
| 2189 |
* unificationSubproblemDisjunction.hh (class |
| 2190 |
UnificationSubproblemDisjunction): added data members |
| 2191 |
savedSubstitution and assertionSubproblem |
| 2192 |
|
| 2193 |
* substitution.cc (unificationDifference): added |
| 2194 |
|
| 2195 |
* substitution.hh (class Substitution): added decl for |
| 2196 |
unificationDifference() |
| 2197 |
|
| 2198 |
* localBinding.cc (unificationAssert): added |
| 2199 |
|
| 2200 |
* localBinding.hh (class LocalBinding): added decl for |
| 2201 |
unificationAssert() |
| 2202 |
|
| 2203 |
* unificationSubproblemDisjunction.cc: created |
| 2204 |
|
| 2205 |
* unificationSubproblemDisjunction.hh: created |
| 2206 |
|
| 2207 |
2007-02-05 Steven Eker <[email protected]> |
| 2208 |
|
| 2209 |
* substitution.cc (unificationBind): allow varSort to be 0 in the |
| 2210 |
case that we don't know the sort of the variable we are binding to |
| 2211 |
- this needs to be fixed one the overall design of unification |
| 2212 |
with branching is clearer |
| 2213 |
|
| 2214 |
===================================Maude88f=========================================== |
| 2215 |
|
| 2216 |
2007-02-02 Steven Eker <[email protected]> |
| 2217 |
|
| 2218 |
* substitution.hh (class Substitution): decl for unificationBind() |
| 2219 |
replaces decl for update() |
| 2220 |
|
| 2221 |
* substitution.cc (update): becomes unificationBind() |
| 2222 |
|
| 2223 |
===================================Maude88e=========================================== |
| 2224 |
|
| 2225 |
2007-01-19 Steven Eker <[email protected]> |
| 2226 |
|
| 2227 |
* sortBdds.cc (SortBdds): reorganized |
| 2228 |
|
| 2229 |
* sortBdds.hh (class SortBdds): delete decl for getSortBdd();*i != 0 |
| 2230 |
delete data member sortIndexBdds |
| 2231 |
(getSortBdd): deleted |
| 2232 |
|
| 2233 |
2007-01-18 Steven Eker <[email protected]> |
| 2234 |
|
| 2235 |
* sortBdds.cc (SortBdds): compute gt only using active BDD |
| 2236 |
variables; use makeIndexBdd() |
| 2237 |
|
| 2238 |
2007-01-16 Steven Eker <[email protected]> |
| 2239 |
|
| 2240 |
* unificationProblem.cc (markReachableNodes): mark lhsDag and rhsDag |
| 2241 |
(findOrderSortedUnifiers): handle the convention that instantiate |
| 2242 |
can return 0 if nothing changed |
| 2243 |
(UnificationProblem): new viable convention |
| 2244 |
(findNextUnifier): new viable convention |
| 2245 |
(findOrderSortedUnifiers): return early if unifier goes to false |
| 2246 |
|
| 2247 |
* unificationProblem.hh (class UnificationProblem): updated decl |
| 2248 |
for ctor |
| 2249 |
(class UnificationProblem): deleted data member module; added data |
| 2250 |
members lhsDag and rhsDag |
| 2251 |
(class UnificationProblem): deleted data member mgu |
| 2252 |
|
| 2253 |
* unificationProblem.cc (UnificationProblem): no need for module argument |
| 2254 |
|
| 2255 |
2007-01-15 Steven Eker <[email protected]> |
| 2256 |
|
| 2257 |
* unificationProblem.hh (class UnificationProblem): added decl for |
| 2258 |
findOrderSortedUnifiers() |
| 2259 |
(class UnificationProblem): deleted struct FreeVariable |
| 2260 |
|
| 2261 |
* unificationProblem.cc (findOrderSortedUnifiers): added |
| 2262 |
|
| 2263 |
2007-01-10 Steven Eker <[email protected]> |
| 2264 |
|
| 2265 |
* sortBdds.cc (makeVariableBdd): added |
| 2266 |
|
| 2267 |
* sortBdds.hh (class SortBdds): added decl for makeVariableBdd() |
| 2268 |
|
| 2269 |
2007-01-09 Steven Eker <[email protected]> |
| 2270 |
|
| 2271 |
* sortBdds.cc (SortBdds): fill out leqRelations |
| 2272 |
|
| 2273 |
2007-01-05 Steven Eker <[email protected]> |
| 2274 |
|
| 2275 |
* sortBdds.cc (makeIndexVector): use bddtrue constant |
| 2276 |
(SortBdds): fill out sortFunctions |
| 2277 |
|
| 2278 |
2007-01-04 Steven Eker <[email protected]> |
| 2279 |
|
| 2280 |
* sortBdds.cc (makeVariableVector): added |
| 2281 |
|
| 2282 |
* sortBdds.hh (class SortBdds): added decl for makeVariableVector() |
| 2283 |
|
| 2284 |
* sortTable.hh (class SortTable): added decl for virtual function |
| 2285 |
computeGeneralizedSort() |
| 2286 |
|
| 2287 |
* sortTable.cc (computeBddVector): fix the bug that nodes |
| 2288 |
corresponding to last argument in sort diagrams contain sort |
| 2289 |
indices rather than node indices and must be handled as such |
| 2290 |
(computeSortFunctionBdds): fix bug that we were falling into |
| 2291 |
non-constant case from constant case |
| 2292 |
|
| 2293 |
2007-01-03 Steven Eker <[email protected]> |
| 2294 |
|
| 2295 |
* sortBdds.cc (makeIndexVector): added |
| 2296 |
(makeIndexBdd): added |
| 2297 |
|
| 2298 |
* sortBdds.hh (class SortBdds): added decls for makeIndexVector() |
| 2299 |
and makeIndexBdd() |
| 2300 |
|
| 2301 |
* sortTable.hh (class SortTable): adde decl for |
| 2302 |
computeBddVector(); added typedefs BddVector and BddTable |
| 2303 |
|
| 2304 |
* sortTable.cc (computeSortFunctionBdds): implemented |
| 2305 |
(computeBddVector): added |
| 2306 |
|
| 2307 |
2007-01-02 Steven Eker <[email protected]> |
| 2308 |
|
| 2309 |
* sortTable.cc (computeSortFunctionBdds): added as stub |
| 2310 |
|
| 2311 |
* sortTable.hh (class SortTable): added decl for |
| 2312 |
computeSortFunctionBdds() |
| 2313 |
|
| 2314 |
* unificationProblem.cc (markReachableNodes): added |
| 2315 |
|
| 2316 |
* unificationProblem.hh (class UnificationProblem): derive from |
| 2317 |
SimpleRootContainer; added decl for markReachableNodes() |
| 2318 |
|
| 2319 |
2006-12-22 Steven Eker <[email protected]> |
| 2320 |
|
| 2321 |
* unificationProblem.hh: created |
| 2322 |
|
| 2323 |
* unificationProblem.cc: created |
| 2324 |
|
| 2325 |
* sortBdds.hh (getSortFunction): added |
| 2326 |
(class SortBdds): added data member sortFunctions |
| 2327 |
(getLeqRelation): added |
| 2328 |
(class SortBdds): added data member leqRelations |
| 2329 |
|
| 2330 |
2006-12-20 Steven Eker <[email protected]> |
| 2331 |
|
| 2332 |
* sortBdds.cc (SortBdds): calculate gtRelation |
| 2333 |
|
| 2334 |
* module.cc (Module): initialize sortBdds to 0 |
| 2335 |
(~Module): delete sortBdds |
| 2336 |
(getSortBdds): added |
| 2337 |
|
| 2338 |
* module.hh (class Module): added data member sortBdds |
| 2339 |
(class Module): added decl for getSortBdds() |
| 2340 |
|
| 2341 |
* core.hh: added class SortBdds |
| 2342 |
|
| 2343 |
2006-12-19 Steven Eker <[email protected]> |
| 2344 |
|
| 2345 |
* sortBdds.cc: created |
| 2346 |
|
| 2347 |
* sortBdds.hh: created |
| 2348 |
|
| 2349 |
2006-12-11 Steven Eker <[email protected]> |
| 2350 |
|
| 2351 |
* substitution.hh (class Substitution): added decl for update() |
| 2352 |
|
| 2353 |
* substitution.cc (update): added |
| 2354 |
|
| 2355 |
===================================Maude88d=========================================== |
| 2356 |
|
| 2357 |
2006-11-17 Steven Eker <[email protected]> |
| 2358 |
|
| 2359 |
* rewritingContext.hh (class RewritingContext): update decl for |
| 2360 |
new fairTraversal() |
| 2361 |
|
| 2362 |
* run.cc (fairTraversal): change convention for new version |
| 2363 |
|
| 2364 |
* rewritingContext.hh (class RewritingContext): updated decls for |
| 2365 |
fairRewrite(), fairContinue(); added decls for fairStart(), |
| 2366 |
fairTraversal() |
| 2367 |
|
| 2368 |
* run.cc (fairRewrite, fairContinue): go back to returning void |
| 2369 |
(fairStart, fairTraversal): added |
| 2370 |
|
| 2371 |
* rewritingContext.hh (class RewritingContext): update decl for |
| 2372 |
fairTraversal() |
| 2373 |
|
| 2374 |
* run.cc (fairTraversal): don't take new traversal flag since we |
| 2375 |
can figure this out from the currentIndex |
| 2376 |
(fairRewrite, fairContinue): new fairTraversal() convention |
| 2377 |
|
| 2378 |
2006-11-15 Steven Eker <[email protected]> |
| 2379 |
|
| 2380 |
* rewritingContext.hh (class RewritingContext): updated decls for |
| 2381 |
fairRewrite() and fairContinue() |
| 2382 |
|
| 2383 |
* run.cc (fairRewrite): return unused rewriteLimit |
| 2384 |
(fairContinue): return unused rewriteLimit |
| 2385 |
|
| 2386 |
===================================Maude88c=========================================== |
| 2387 |
|
| 2388 |
2006-11-09 Steven Eker <[email protected]> |
| 2389 |
|
| 2390 |
* rewritingContext.hh (transferCount): added |
| 2391 |
(addInCount): made arg const |
| 2392 |
|
| 2393 |
2006-10-20 Steven Eker <[email protected]> |
| 2394 |
|
| 2395 |
* substitution.hh (clone): added |
| 2396 |
|
| 2397 |
2006-10-17 Steven Eker <[email protected]> |
| 2398 |
|
| 2399 |
* conditionFragment.hh (class ConditionFragment): added decl for dump() |
| 2400 |
|
| 2401 |
* preEquation.hh (class PreEquation): added decl for dump() |
| 2402 |
|
| 2403 |
* preEquation.cc (dump): added |
| 2404 |
|
| 2405 |
2006-10-10 Steven Eker <[email protected]> |
| 2406 |
|
| 2407 |
* sort.hh (class Sort): removed extraneous qualifier that is |
| 2408 |
reported to cause problems under gcc 4.1 |
| 2409 |
|
| 2410 |
===================================Maude88b=========================================== |
| 2411 |
|
| 2412 |
2006-09-29 Steven Eker <[email protected]> |
| 2413 |
|
| 2414 |
* substitution.hh: added comment to document how substitutions |
| 2415 |
work; removed commented out code |
| 2416 |
|
| 2417 |
2006-09-28 Steven Eker <[email protected]> |
| 2418 |
|
| 2419 |
* rule.cc (compile): changed eagerness flag passed to |
| 2420 |
compileBuild() from false to !hasCondition(), because if we |
| 2421 |
rewrite in a lazy context, the lazy context will protect the |
| 2422 |
replacement term from evaluation |
| 2423 |
|
| 2424 |
2006-08-07 Steven Eker <[email protected]> |
| 2425 |
|
| 2426 |
* dagNodeCache.cc (DagNodeCache): added |
| 2427 |
|
| 2428 |
* dagNodeCache.hh (class DagNodeCache): NO_COPYING(); declare ctor |
| 2429 |
|
| 2430 |
* core.hh: add class DagNodeCache |
| 2431 |
|
| 2432 |
* dagNodeCache.cc: created |
| 2433 |
|
| 2434 |
* dagNodeCache.hh: created |
| 2435 |
|
| 2436 |
===================================Maude88a=========================================== |
| 2437 |
|
| 2438 |
2006-03-07 Steven Eker <[email protected]> |
| 2439 |
|
| 2440 |
* cachedDag.hh (getDagRoot): added |
| 2441 |
|
| 2442 |
===================================Maude87=========================================== |
| 2443 |
|
| 2444 |
2005-11-10 Steven Eker <[email protected]> |
| 2445 |
|
| 2446 |
* module.cc (insertLateSymbol): do interSymbolPass() and |
| 2447 |
postOpDeclarationPass() now that we have identities in polymorphs |
| 2448 |
|
| 2449 |
===================================Maude86d=========================================== |
| 2450 |
|
| 2451 |
2005-07-13 Steven Eker <[email protected]> |
| 2452 |
|
| 2453 |
* sort.hh (class Sort): added FIRST_USER_SORT to enum SpecialSorts |
| 2454 |
|
| 2455 |
2005-06-24 Steven Eker <[email protected]> |
| 2456 |
|
| 2457 |
* symbolMap.hh (class SymbolMap): added decl for |
| 2458 |
findTargetVersionOfSymbol() |
| 2459 |
(class SymbolMap): updated decl for translateTerm() |
| 2460 |
|
| 2461 |
2005-06-22 Steven Eker <[email protected]> |
| 2462 |
|
| 2463 |
* symbolMap.hh (class SymbolMap): replaced makeTranslatedTerm() |
| 2464 |
with translateTerm() |
| 2465 |
|
| 2466 |
2005-06-02 Steven Eker <[email protected]> |
| 2467 |
|
| 2468 |
* symbolMap.hh (class SymbolMap): added decl for |
| 2469 |
makeTranslatedTerm() |
| 2470 |
|
| 2471 |
===================================Maude86b=========================================== |
| 2472 |
|
| 2473 |
2005-01-19 Steven Eker <[email protected]> |
| 2474 |
|
| 2475 |
* sortTable.cc (dumpSortDiagram): rewritten to use set<int> in |
| 2476 |
place of IntSet |
| 2477 |
|
| 2478 |
2005-01-11 Steven Eker <[email protected]> |
| 2479 |
|
| 2480 |
* ctorDiagram.cc (containsConstructor): take unique arg |
| 2481 |
(buildCtorDiagram): keep track of badTerminals and call |
| 2482 |
sortErrorAnalysis() if needed |
| 2483 |
|
| 2484 |
* sortErrorAnalysis.cc (sortErrorAnalysis): use ComplexWarning() |
| 2485 |
|
| 2486 |
* sortTable.hh (class SortTable): updated decl for findMinSortIndex() |
| 2487 |
|
| 2488 |
* sortTable.cc (buildSortDiagram): keep track of badTerminals and |
| 2489 |
call sortErrorAnalysis() if needed |
| 2490 |
(findMinSortIndex): take unique argument |
| 2491 |
|
| 2492 |
* sortErrorAnalysis.cc (sortErrorAnalysis): take prereg argument |
| 2493 |
rather than diagram argument |
| 2494 |
|
| 2495 |
* sortTable.hh (class SortTable): added decl for sortErrorAnalysis() |
| 2496 |
(class SortTable): added decls for struct Node |
| 2497 |
|
| 2498 |
* sortErrorAnalysis.cc (sortErrorAnalysis): fix terminal case |
| 2499 |
(sortErrorAnalysis): generate warning |
| 2500 |
|
| 2501 |
2005-01-10 Steven Eker <[email protected]> |
| 2502 |
|
| 2503 |
* sortErrorAnalysis.cc: created |
| 2504 |
|
| 2505 |
===================================Maude86=========================================== |
| 2506 |
|
| 2507 |
2004-12-23 Steven Eker <[email protected]> |
| 2508 |
|
| 2509 |
* run.cc (ruleRewrite): added extra isUnrewritable() test and |
| 2510 |
detailed comment |
| 2511 |
|
| 2512 |
* ruleTable.cc (applyRules): call setUnrewritable() in the case |
| 2513 |
that we can't do any rewrites |
| 2514 |
|
| 2515 |
2004-12-20 Steven Eker <[email protected]> |
| 2516 |
|
| 2517 |
* run.cc (ruleRewrite): remove setUnrewritable() call |
| 2518 |
(doRewriting): test isUnrewritable() before calling |
| 2519 |
setUnstackable(); don't call setUnrewritable(); update comments |
| 2520 |
|
| 2521 |
2004-12-06 Steven Eker <[email protected]> |
| 2522 |
|
| 2523 |
* ruleTable.cc (RuleTable): clear nextRule |
| 2524 |
|
| 2525 |
2004-12-02 Steven Eker <[email protected]> |
| 2526 |
|
| 2527 |
* sortTable.hh (class SortTable): added decls for |
| 2528 |
computeMaximalOpDeclSetTable() and domainSubsumes() |
| 2529 |
|
| 2530 |
* sortTable.cc (computeMaximalOpDeclSetTable): added |
| 2531 |
(domainSubsumes): added |
| 2532 |
|
| 2533 |
* sortTable.hh (class SortTable): added data member |
| 2534 |
maximalOpDeclSetTable |
| 2535 |
(getMaximalOpDeclSet): added |
| 2536 |
|
| 2537 |
2004-10-08 Steven Eker <[email protected]> |
| 2538 |
|
| 2539 |
* checkedArgVecIterator.hh (operator-, operator+, operator--) |
| 2540 |
(operator++): added typename to pacify g++ 3.4.2 |
| 2541 |
|
| 2542 |
* checkedArgVecConstIterator.hh (operator++, operator--) |
| 2543 |
(operator+, operator-): added typename to pacify g++ 3.4.2 |
| 2544 |
|
| 2545 |
2004-10-07 Steven Eker <[email protected]> |
| 2546 |
|
| 2547 |
* argVec.hh: added #include <dagNode.hh> to pacify 3.4.2 |
| 2548 |
|
| 2549 |
2004-09-10 Steven Eker <[email protected]> |
| 2550 |
|
| 2551 |
* connectedComponent.hh (class ConnectedComponent): updated decl |
| 2552 |
for findMaximalSorts() |
| 2553 |
|
| 2554 |
* connectedComponent.cc (findMaximalSorts): rewritten in a more |
| 2555 |
efficient and robust manner; pass back Vector<Sort*> rather than |
| 2556 |
Vector<int> |
| 2557 |
|
| 2558 |
===================================Maude85=========================================== |
| 2559 |
|
| 2560 |
2004-07-29 Steven Eker <[email protected]> |
| 2561 |
|
| 2562 |
* rewritingContext.hh (class RewritingContext): made |
| 2563 |
markReachableNodes() protected rather than private |
| 2564 |
|
| 2565 |
===================================Maude84d=========================================== |
| 2566 |
|
| 2567 |
2004-06-07 Steven Eker <[email protected]> |
| 2568 |
|
| 2569 |
* ruleTable.cc (resetRules): moved here |
| 2570 |
|
| 2571 |
* module.cc (resetRules): use FOR_EACH_CONST() |
| 2572 |
(saveHiddenState): added |
| 2573 |
(restoreHiddenState): added |
| 2574 |
|
| 2575 |
* module.hh (class Module): added decls for saveHiddenState() and |
| 2576 |
restoreHiddenState() |
| 2577 |
|
| 2578 |
* ruleTable.cc (RuleTable): don't zero nextRule |
| 2579 |
(compileRules): don't zero nextRule |
| 2580 |
(saveHiddenState): added |
| 2581 |
(restoreHiddenState): added |
| 2582 |
|
| 2583 |
* ruleTable.hh (class RuleTable): added decls for |
| 2584 |
saveHiddenState() and restoreHiddenState() |
| 2585 |
(class RuleTable): added data member nextRuleStack |
| 2586 |
|
| 2587 |
===================================Maude84c================================== |
| 2588 |
|
| 2589 |
2003-08-28 Steven Eker <[email protected]> |
| 2590 |
|
| 2591 |
* equationTable.hh (class EquationTable): added decl for |
| 2592 |
applyReplaceNoOwise() |
| 2593 |
|
| 2594 |
* equationTable.cc (applyReplaceNoOwise): added |
| 2595 |
|
| 2596 |
===================================Maude82================================== |
| 2597 |
|
| 2598 |
2003-07-24 Steven Eker <[email protected]> |
| 2599 |
|
| 2600 |
* badFlag.hh (class BadFlag): BAD -> BAD_FLAG for the benefit of |
| 2601 |
losing systems that #define BAD |
| 2602 |
|
| 2603 |
2003-06-19 Steven Eker <[email protected]> |
| 2604 |
|
| 2605 |
* substitution.cc (operator-): fixed spelling of inconsistency |
| 2606 |
|
| 2607 |
* ctorDiagram.cc (containsConstructor): fixed spelling of |
| 2608 |
consistency |
| 2609 |
|
| 2610 |
===================================Maude81================================== |
| 2611 |
|
| 2612 |
2003-05-30 Steven Eker <[email protected]> |
| 2613 |
|
| 2614 |
* sortTable.hh (class SortTable): added decl for |
| 2615 |
kindLevelDeclarationsOnly() |
| 2616 |
|
| 2617 |
* sortTable.cc (kindLevelDeclarationsOnly): added |
| 2618 |
|
| 2619 |
2003-05-29 Steven Eker <[email protected]> |
| 2620 |
|
| 2621 |
* substitution.hh (nrFragileBindings): made const |
| 2622 |
|
| 2623 |
2003-05-28 Steven Eker <[email protected]> |
| 2624 |
|
| 2625 |
* sortConstraintTable.cc (constrainToSmallerSort2): use |
| 2626 |
MemoryCell::okToCollectGarbage() (2 places) |
| 2627 |
|
| 2628 |
* run.cc (ruleRewrite): use MemoryCell::okToCollectGarbage() |
| 2629 |
(ascend): use MemoryCell::okToCollectGarbage() |
| 2630 |
(doRewriting): use MemoryCell::okToCollectGarbage() |
| 2631 |
|
| 2632 |
* preEquation.cc (checkCondition): use |
| 2633 |
MemoryCell::okToCollectGarbage() |
| 2634 |
|
| 2635 |
===================================Maude80b=========================================== |
| 2636 |
|
| 2637 |
2003-05-23 Steven Eker <[email protected]> |
| 2638 |
|
| 2639 |
* ruleTable.cc (applyRules): use isNonexec() |
| 2640 |
|
| 2641 |
* sortConstraint.cc (check): use isNonexec() |
| 2642 |
|
| 2643 |
* rule.cc (check): use isNonexec() |
| 2644 |
|
| 2645 |
* equation.cc (check): use isNonexec() |
| 2646 |
|
| 2647 |
* module.cc (indexSortConstraints): use isNonexec() |
| 2648 |
(indexEquation): use isNonexec() |
| 2649 |
(insertLateSymbol): use isNonexec() |
| 2650 |
|
| 2651 |
* preEquation.hh (class PreEquation): added NONEXEC to enum Flags |
| 2652 |
(isNonexec): added |
| 2653 |
(setNonexec): added |
| 2654 |
|
| 2655 |
* equation.hh (class Equation): changed OWISE value |
| 2656 |
|
| 2657 |
2003-05-22 Steven Eker <[email protected]> |
| 2658 |
|
| 2659 |
* rootContainer.hh (class RootContainer): added decl for dump() |
| 2660 |
|
| 2661 |
* rootContainer.cc (dump): added |
| 2662 |
|
| 2663 |
2003-05-21 Steven Eker <[email protected]> |
| 2664 |
|
| 2665 |
* ruleTable.hh (class RuleTable): make resetRules() virtual |
| 2666 |
|
| 2667 |
2003-05-13 Steven Eker <[email protected]> |
| 2668 |
|
| 2669 |
* rewritingContext.hh (copyProblemBindings): deleted |
| 2670 |
|
| 2671 |
===================================Maude80a=========================================== |
| 2672 |
|
| 2673 |
2003-05-01 Steven Eker <[email protected]> |
| 2674 |
|
| 2675 |
* memoryCell.hh (copySetFlags): added |
| 2676 |
|
| 2677 |
2003-04-14 Steven Eker <[email protected]> |
| 2678 |
|
| 2679 |
* sortTable.hh (class SortTable): made traverse() public |
| 2680 |
|
| 2681 |
===================================Maude80=========================================== |
| 2682 |
|
| 2683 |
2003-03-27 Steven Eker <[email protected]> |
| 2684 |
|
| 2685 |
* substitution.cc (operator-): optimized using const_iterators |
| 2686 |
|
| 2687 |
* substitution.hh (copy): code cleaning |
| 2688 |
|
| 2689 |
* localBinding.hh (addBinding): moved here; use ref; made inline |
| 2690 |
|
| 2691 |
* localBinding.cc (retract): use FOR_EACH_CONST() |
| 2692 |
(assert): use iterators |
| 2693 |
|
| 2694 |
2003-03-24 Steven Eker <[email protected]> |
| 2695 |
|
| 2696 |
* rhsBuilder.hh (construct): use iterators |
| 2697 |
(safeConstruct): use iterators |
| 2698 |
(replace): use iterators |
| 2699 |
|
| 2700 |
2003-03-21 Steven Eker <[email protected]> |
| 2701 |
|
| 2702 |
* substitution.cc (Substitution): deleted |
| 2703 |
|
| 2704 |
* substitution.hh (copy): use iter comparison rather than |
| 2705 |
decrementing size |
| 2706 |
(class Substitution): deleted decl for copy ctor; use NO_COPYING() |
| 2707 |
|
| 2708 |
* equationTable.cc (applyReplace): use FOR_EACH_CONST |
| 2709 |
|
| 2710 |
2003-02-24 Steven Eker <[email protected]> |
| 2711 |
|
| 2712 |
* preEquation.cc (cleanStack): updated DebugAdvisoryCheck() |
| 2713 |
|
| 2714 |
* rewritingContext.hh (RewritingContext): updated Assert() |
| 2715 |
|
| 2716 |
* subproblemAccumulator.hh: removed #pragma |
| 2717 |
|
| 2718 |
* termSet.cc: removed #pragma |
| 2719 |
|
| 2720 |
* termSet.hh: removed #pragma |
| 2721 |
|
| 2722 |
* sortConstraintTable.cc: removed #pragma |
| 2723 |
|
| 2724 |
* sortConstraintTable.hh: removed #pragma |
| 2725 |
|
| 2726 |
* rawRootContainer.cc: removed #pragma |
| 2727 |
|
| 2728 |
* rootContainer.hh: removed #pragma |
| 2729 |
|
| 2730 |
* rhsBuilder.cc: removed #pragma |
| 2731 |
|
| 2732 |
* rhsBuilder.hh: removed #pragma |
| 2733 |
|
| 2734 |
* rewritingContext.cc: removed #pragma |
| 2735 |
(markReachableNodes): updated Assert() |
| 2736 |
(rebuildUptoRoot): updated Assert() |
| 2737 |
|
| 2738 |
* rewritingContext.hh: removed #pragma |
| 2739 |
|
| 2740 |
* redexPosition.hh: removed #pragma |
| 2741 |
|
| 2742 |
* variableInfo.cc: removed #pragma |
| 2743 |
(variable2Index): updated Assert()s |
| 2744 |
|
| 2745 |
* variableInfo.hh: removed #pragma |
| 2746 |
|
| 2747 |
* variableAbstractionSubproblem.cc: removed #pragma |
| 2748 |
(solve): updated Assert() |
| 2749 |
|
| 2750 |
* variableAbstractionSubproblem.hh: removed #pragma |
| 2751 |
|
| 2752 |
* trivialRhsAutomaton.cc: removed #pragma |
| 2753 |
|
| 2754 |
* trivialRhsAutomaton.hh: removed #pragma |
| 2755 |
|
| 2756 |
* termBag.cc: removed #pragma |
| 2757 |
(insertBuiltTerm): updated Assert()s |
| 2758 |
|
| 2759 |
* termBag.hh: removed #pragma |
| 2760 |
|
| 2761 |
* symbolMap.hh: removed #pragma |
| 2762 |
|
| 2763 |
* substitution.cc: removed #pragma |
| 2764 |
(operator-): updated Assert() |
| 2765 |
|
| 2766 |
* substitution.hh: removed #pragma |
| 2767 |
(clear): updated Assert()s |
| 2768 |
(value): updated Assert()s |
| 2769 |
(bind): updated Assert()s |
| 2770 |
(copy): updated Assert() |
| 2771 |
|
| 2772 |
* subproblemSequence.cc: removed #pragma |
| 2773 |
|
| 2774 |
* subproblemSequence.hh: removed #pragma |
| 2775 |
|
| 2776 |
* subproblemDisjunction.cc: removed #pragma |
| 2777 |
(addOption): updated Assert() |
| 2778 |
|
| 2779 |
* subproblemDisjunction.hh: removed #pragma |
| 2780 |
|
| 2781 |
* strategy.cc: removed #pragma |
| 2782 |
|
| 2783 |
* strategy.hh: removed #pragma |
| 2784 |
|
| 2785 |
* sortTable.cc: removed #pragma |
| 2786 |
(compileOpDeclarations): updated Assert()s; simplified fancy |
| 2787 |
Assert() now that we no longer allow actions in Assert()s |
| 2788 |
|
| 2789 |
* sortTable.hh: removed #pragma |
| 2790 |
(addOpDeclaration): updated Assert() |
| 2791 |
|
| 2792 |
* sortConstraint.cc: removed #pragma |
| 2793 |
(SortConstraint): updated Assert() |
| 2794 |
(preprocess): updated Assert() |
| 2795 |
|
| 2796 |
* sortConstraint.hh: removed #pragma |
| 2797 |
|
| 2798 |
* sortCheckSubproblem.cc: removed #pragma |
| 2799 |
|
| 2800 |
* sortCheckSubproblem.hh: removed #pragma |
| 2801 |
|
| 2802 |
* sort.cc: removed #pragma |
| 2803 |
|
| 2804 |
* sort.hh: removed #pragma |
| 2805 |
(leq): updated Assert() |
| 2806 |
|
| 2807 |
* simpleRootContainer.hh: removed #pragma |
| 2808 |
|
| 2809 |
* run.cc (fairTraversal): updated Assert() |
| 2810 |
|
| 2811 |
* ruleTable.cc: removed #pragma |
| 2812 |
(applyRules): updated Assert() |
| 2813 |
|
| 2814 |
* ruleTable.hh: removed #pragma |
| 2815 |
|
| 2816 |
* rule.cc: removed #pragma |
| 2817 |
(Rule): updated Assert() |
| 2818 |
(preprocess): updated Assert() |
| 2819 |
|
| 2820 |
* rule.hh: removed #pragma |
| 2821 |
|
| 2822 |
* rootContainer.cc: removed #pragma |
| 2823 |
|
| 2824 |
* rawRootContainer.hh: removed #pragma |
| 2825 |
|
| 2826 |
* preEquation.cc: removed #pragma |
| 2827 |
(PreEquation): updated Assert() |
| 2828 |
(checkCondition): updated Assert()s (both versions) |
| 2829 |
|
| 2830 |
* preEquation.hh: |
| 2831 |
|
| 2832 |
* opDeclaration.hh: removed #pragma |
| 2833 |
|
| 2834 |
* namedEntity.hh: removed #pragma |
| 2835 |
|
| 2836 |
* moduleItem.hh: removed #pragma |
| 2837 |
|
| 2838 |
* module.cc: removed #pragma |
| 2839 |
(insertSortConstraint): updated Assert() |
| 2840 |
(insertEquation): updated Assert() |
| 2841 |
(insertRule): updated Assert() |
| 2842 |
(closeSortSet): updated Assert() |
| 2843 |
(closeSignature): updated Assert() |
| 2844 |
(closeFixUps): updated Assert() |
| 2845 |
(closeTheory): updated Assert() |
| 2846 |
(insertLateSymbol): updated Assert() |
| 2847 |
|
| 2848 |
* module.hh: removed #pragma |
| 2849 |
|
| 2850 |
* memoryCell.cc: removed #pragma |
| 2851 |
(slowNew): updated Assert()s |
| 2852 |
|
| 2853 |
* memoryCell.hh: removed #pragma |
| 2854 |
(allocateStorage): updated Assert() |
| 2855 |
(allocateMemoryCell): updated Assert()s |
| 2856 |
|
| 2857 |
* memoTable.cc: removed #pragma |
| 2858 |
|
| 2859 |
* memoTable.hh: removed #pragma |
| 2860 |
|
| 2861 |
* localBinding.cc: removed #pragma |
| 2862 |
(markReachableNodes): updated Assert() |
| 2863 |
|
| 2864 |
* localBinding.hh: removed #pragma |
| 2865 |
|
| 2866 |
* lineNumber.hh: removed #pragma |
| 2867 |
|
| 2868 |
* label.hh: removed #pragma |
| 2869 |
|
| 2870 |
* extensionMatchSubproblem.cc: removed #pragma |
| 2871 |
|
| 2872 |
* extensionMatchSubproblem.hh: removed #pragma |
| 2873 |
|
| 2874 |
* equationTable.cc: removed #pragma |
| 2875 |
|
| 2876 |
* equationTable.hh: removed #pragma |
| 2877 |
|
| 2878 |
* equation.cc: removed #pragma |
| 2879 |
(Equation): updated Assert() |
| 2880 |
(preprocess): updated Assert() |
| 2881 |
|
| 2882 |
* equation.hh: removed #pragma |
| 2883 |
|
| 2884 |
* equalitySubproblem.cc: removed #pragma |
| 2885 |
|
| 2886 |
* equalitySubproblem.hh: removed #pragma |
| 2887 |
|
| 2888 |
* disjunctiveSubproblemAccumulator.cc: removed #pragma |
| 2889 |
(extract): updated Assert() |
| 2890 |
|
| 2891 |
* disjunctiveSubproblemAccumulator.hh: removed #pragma |
| 2892 |
|
| 2893 |
* dagRoot.cc: removed #pragma |
| 2894 |
|
| 2895 |
* dagRoot.hh: removed #pragma |
| 2896 |
|
| 2897 |
* dagNodeSet.cc: removed #pragma |
| 2898 |
|
| 2899 |
* dagNodeSet.hh: removed #pragma |
| 2900 |
|
| 2901 |
* dagArgumentIterator.hh: removed #pragma |
| 2902 |
|
| 2903 |
* core.cc: deleted |
| 2904 |
|
| 2905 |
* copyRhsAutomaton.cc: removed #pragma |
| 2906 |
|
| 2907 |
* copyRhsAutomaton.hh: removed #pragma |
| 2908 |
|
| 2909 |
* connectedComponent.cc: removed #pragma |
| 2910 |
(leq): updated Assert()s |
| 2911 |
(findMaximalSorts): updated Assert() |
| 2912 |
(getLeqSorts): updated Assert() |
| 2913 |
|
| 2914 |
* connectedComponent.hh: removed #pragma |
| 2915 |
|
| 2916 |
* conditionState.hh: removed #pragma |
| 2917 |
|
| 2918 |
* conditionFragment.hh: removed #pragma |
| 2919 |
|
| 2920 |
* checkedArgVecIterator.hh (checkValid): updated Assert()s |
| 2921 |
(checkDereferenceable): updated Assert()s |
| 2922 |
(operator--): updated Assert() |
| 2923 |
(operator+=): updated Assert() |
| 2924 |
(operator-=): updated Assert() |
| 2925 |
(operator[]): updated Assert() |
| 2926 |
(operator<): updated Assert() |
| 2927 |
(operator-): updated Assert() |
| 2928 |
|
| 2929 |
* checkedArgVecConstIterator.hh (checkValid): updated Assert()s |
| 2930 |
(checkDereferenceable): updated Assert()s |
| 2931 |
(operator--): updated Assert() |
| 2932 |
(operator+=): updated Assert() |
| 2933 |
(operator-=): updated Assert() |
| 2934 |
(operator[]): updated Assert() |
| 2935 |
(operator<): updated Assert() |
| 2936 |
(operator-): updated Assert() |
| 2937 |
|
| 2938 |
* cachedDag.cc: removed #pragma |
| 2939 |
|
| 2940 |
* cachedDag.hh: removed #pragma |
| 2941 |
|
| 2942 |
* bindingLhsAutomaton.cc: removed #pragma |
| 2943 |
|
| 2944 |
* bindingLhsAutomaton.hh: removed #pragma |
| 2945 |
|
| 2946 |
* badFlag.hh: removed #pragma |
| 2947 |
|
| 2948 |
* argumentIterator.hh: removed #pragma |
| 2949 |
|
| 2950 |
* argVec.hh: removed #pragma |
| 2951 |
(operator[]): updated Assert() (both versions) |
| 2952 |
(contractTo): updated Assert() |
| 2953 |
|
| 2954 |
===================================Maude79=========================================== |
| 2955 |
|
| 2956 |
2003-02-03 Steven Eker <[email protected]> |
| 2957 |
|
| 2958 |
* equationTable.cc (applyReplace): DagNode::okToCollectGarbage() |
| 2959 |
-> MemoryCell::okToCollectGarbage() |
| 2960 |
|
| 2961 |
===================================Maude78=========================================== |
| 2962 |
|
| 2963 |
2003-01-08 Steven Eker <[email protected]> |
| 2964 |
|
| 2965 |
* dagArgumentIterator.hh (DagArgumentIterator): added DagNode* version |
| 2966 |
|
| 2967 |
2002-12-17 Steven Eker <[email protected]> |
| 2968 |
|
| 2969 |
* argVec.hh (expandWithoutPreservationBy): added |
| 2970 |
(expandWithoutPreservationBy): becomes resizeWithoutPreservation |
| 2971 |
|
| 2972 |
2002-11-26 Steven Eker <[email protected]> |
| 2973 |
|
| 2974 |
* memoryCell.cc (slowNew): now return MemoryCell* |
| 2975 |
|
| 2976 |
* memoryCell.hh: redesigned to remove the flaw that we were |
| 2977 |
depending on the property that if Bar is derived from Foo, the Foo |
| 2978 |
subobject starts at the beginning of Bar. This is not guaranteed by |
| 2979 |
the ANSI C++ standard at does not hold for g++ 3.2 which puts |
| 2980 |
Bars virtual function table pointer at the beginning of Bar. |
| 2981 |
(allocateStorage): use MachineWord |
| 2982 |
|
| 2983 |
2002-11-21 Steven Eker <[email protected]> |
| 2984 |
|
| 2985 |
* preEquation.hh (class PreEquation): added decl for cleanStack() |
| 2986 |
|
| 2987 |
* preEquation.cc (cleanStack): created |
| 2988 |
(checkCondition): call cleanStack() before returning to to an |
| 2989 |
abort |
| 2990 |
|
| 2991 |
2002-11-20 Steven Eker <[email protected]> |
| 2992 |
|
| 2993 |
* checkedArgVecConstIterator.hh (operator->): made const |
| 2994 |
(operator*): made const |
| 2995 |
(class const_iterator): updated decls for operator*() and |
| 2996 |
operator->() |
| 2997 |
|
| 2998 |
* checkedArgVecIterator.hh (class iterator): make const_iterator a |
| 2999 |
friend |
| 3000 |
(class iterator): declare operator*() and operator->() to be const |
| 3001 |
(operator*): made const |
| 3002 |
(operator->): made const |
| 3003 |
|
| 3004 |
* checkedArgVecConstIterator.hh (const_iterator): added conversion |
| 3005 |
ctor from iterator |
| 3006 |
|
| 3007 |
* argVec.hh: added support for checked iterators |
| 3008 |
|
| 3009 |
* checkedArgVecConstIterator.hh: created |
| 3010 |
|
| 3011 |
* checkedArgVecIterator.hh: created |
| 3012 |
|
| 3013 |
* argVec.hh (rawBasePointer): deleted both versions |
| 3014 |
|
| 3015 |
2002-11-19 Steven Eker <[email protected]> |
| 3016 |
|
| 3017 |
* argVec.hh (CONST_ARG_VEC_HACK): deleted |
| 3018 |
(ARG_VEC_HACK): deleted |
| 3019 |
|
| 3020 |
2002-11-18 Steven Eker <[email protected]> |
| 3021 |
|
| 3022 |
* argVec.hh: major rewrite to make it look more STL like and |
| 3023 |
support iterators |
| 3024 |
|
| 3025 |
===================================Maude77================================================== |
| 3026 |
|
| 3027 |
2002-11-15 Steven Eker <[email protected]> |
| 3028 |
|
| 3029 |
* module.cc (indexSortConstraints): use new style AdvisoryCheck() |
| 3030 |
(indexEquation): use new style AdvisoryCheck() |
| 3031 |
(indexRules): use new style AdvisoryCheck() |
| 3032 |
|
| 3033 |
* sortConstraint.cc (check): use new style IssueWarning() |
| 3034 |
|
| 3035 |
* equation.cc (check): use new style IssueWarning() |
| 3036 |
|
| 3037 |
* sortTable.cc (findMinSortIndex): use new style WarningCheck() |
| 3038 |
|
| 3039 |
* ctorDiagram.cc (containsConstructor): use new style |
| 3040 |
WarningCheck() |
| 3041 |
|
| 3042 |
* connectedComponent.cc (ConnectedComponent): use new style |
| 3043 |
IssueWarning()s |
| 3044 |
|
| 3045 |
2002-11-12 Steven Eker <[email protected]> |
| 3046 |
|
| 3047 |
* module.cc (insertLateSymbol): fixed bug where we weren't calling |
| 3048 |
postInterSymbolPass() if status == FIX_UPS_CLOSED |
| 3049 |
|
| 3050 |
* equationTable.cc (applyReplace): DagNode::okToCollectGarbage() |
| 3051 |
-> MemoryCell::okToCollectGarbage() (2 places) |
| 3052 |
|
| 3053 |
2002-11-11 Steven Eker <[email protected]> |
| 3054 |
|
| 3055 |
* module.cc (insertLateSymbol): handle owise flag for equations |
| 3056 |
indexed under late symbol |
| 3057 |
|
| 3058 |
* module.hh (class Module): added decl for indexEquation() |
| 3059 |
|
| 3060 |
* module.cc (indexEquation): added |
| 3061 |
(indexEquations): handle owise; use indexEquation() |
| 3062 |
|
| 3063 |
* equation.hh (isOwise): added |
| 3064 |
|
| 3065 |
* equation.cc (Equation): handle owise arg |
| 3066 |
|
| 3067 |
* equation.hh (class Equation): added enum Flags; updated decl for |
| 3068 |
Equation() |
| 3069 |
|
| 3070 |
* sortConstraint.cc (compile): use isCompiled() and setCompiled() |
| 3071 |
(SortConstraint): don't clear compiled |
| 3072 |
|
| 3073 |
* sortConstraint.hh (class SortConstraint): deleted data member |
| 3074 |
compiled |
| 3075 |
|
| 3076 |
* rule.cc (compile): use isCompiled() and setCompiled() |
| 3077 |
(Rule): don't clear compiled |
| 3078 |
|
| 3079 |
* rule.hh (class Rule): deleted data member compiled |
| 3080 |
|
| 3081 |
* equation.cc (Equation): don't clear compiled |
| 3082 |
(compile): use isCompiled() and setCompiled() |
| 3083 |
|
| 3084 |
* equation.hh (class Equation): deleted data member compiled |
| 3085 |
|
| 3086 |
* preEquation.hh (isCompiled): added |
| 3087 |
(setCompiled): added |
| 3088 |
(class PreEquation): added enum Flags |
| 3089 |
|
| 3090 |
* badFlag.hh: derived from FlagSet |
| 3091 |
|
| 3092 |
2002-11-05 Steven Eker <[email protected]> |
| 3093 |
|
| 3094 |
* argVec.hh: moved here |
| 3095 |
|
| 3096 |
* memoryCellNew.hh: moved here |
| 3097 |
|
| 3098 |
* memoryManager.cc: moved here |
| 3099 |
|
| 3100 |
* memoryCell.cc: moved here |
| 3101 |
|
| 3102 |
* memoryCell.hh: moved here |
| 3103 |
|
| 3104 |
* core.hh: added class MemoryCell |
| 3105 |
|
| 3106 |
2002-11-01 Steven Eker <[email protected]> |
| 3107 |
|
| 3108 |
* cachedDag.hh (CachedDag): removed superflous (and under g++ 3.2 |
| 3109 |
illegal) default arg |
| 3110 |
|
| 3111 |
2002-10-16 Steven Eker <[email protected]> |
| 3112 |
|
| 3113 |
* module.cc (insertLateSymbol): quick hack to solve late symbols |
| 3114 |
problem |
| 3115 |
(closeSignature): no longer do sort computations here; this has |
| 3116 |
the down side that detailed sort info is no longer available for |
| 3117 |
the closeFixUps pass |
| 3118 |
(closeTheory): added call to postOpDeclarationsPass() on each |
| 3119 |
symbol |
| 3120 |
|
| 3121 |
2002-10-11 Steven Eker <[email protected]> |
| 3122 |
|
| 3123 |
* module.cc: gross hack to see if we can delay sort table |
| 3124 |
computations - but we have a nasty problem with late symbols |
| 3125 |
|
| 3126 |
2002-10-09 Steven Eker <[email protected]> |
| 3127 |
|
| 3128 |
* run.cc (doRewriting): handle case where current node is flagged |
| 3129 |
and unrewritable but not flagged as unstackable and |
| 3130 |
argsUnstackable is true |
| 3131 |
|
| 3132 |
2002-10-08 Steven Eker <[email protected]> |
| 3133 |
|
| 3134 |
* rewritingContext.hh (class RewritingContext): updated decl for |
| 3135 |
descend() |
| 3136 |
|
| 3137 |
* run.cc (descend): no longer returns a value |
| 3138 |
(fairTraversal): removed goto and inner loop |
| 3139 |
(doRewriting): always set unrewritabl flag when we fail to |
| 3140 |
rewrite, in case the current node has been stacked multiple times |
| 3141 |
along different paths |
| 3142 |
|
| 3143 |
* strategy.hh (class Strategy): updated decl for setFrozen(); made |
| 3144 |
virtual so that theories like ACU can modify frozen set |
| 3145 |
(isFrozen): deleted |
| 3146 |
|
| 3147 |
* strategy.cc (setFrozen): just copy arg into frozen field |
| 3148 |
|
| 3149 |
2002-10-07 Steven Eker <[email protected]> |
| 3150 |
|
| 3151 |
* rewritingContext.hh (class RewritingContext): added decl for |
| 3152 |
dumpStack() |
| 3153 |
|
| 3154 |
* rewritingContext.cc (dumpStack): added |
| 3155 |
|
| 3156 |
2002-10-04 Steven Eker <[email protected]> |
| 3157 |
|
| 3158 |
* run.cc (descend): rewritten assuming new |
| 3159 |
Symbol::stackArguments() semantics |
| 3160 |
(ascend): rewritten assuming new Symbol::stackArguments() and |
| 3161 |
DagNode::copyWithReplacement() semantics |
| 3162 |
|
| 3163 |
* rewritingContext.hh (class RewritingContext): added decl for |
| 3164 |
remakeStaleDagNode() |
| 3165 |
|
| 3166 |
* rewritingContext.cc (remakeStaleDagNode): added |
| 3167 |
(rebuildUptoRoot): rewritten using remakeStaleDagNode(); we now |
| 3168 |
assume new semantics for copyWithReplacement(), in that only some |
| 3169 |
arguments may be stacked. |
| 3170 |
|
| 3171 |
2002-10-03 Steven Eker <[email protected]> |
| 3172 |
|
| 3173 |
* run.cc (ruleRewrite): pass respectFrozen flag to |
| 3174 |
stackArguments() |
| 3175 |
|
| 3176 |
* strategy.hh (getFrozen): added |
| 3177 |
|
| 3178 |
2002-10-02 Steven Eker <[email protected]> |
| 3179 |
|
| 3180 |
* strategy.cc (Strategy): don't set frozen = false |
| 3181 |
|
| 3182 |
* strategy.hh (class Strategy): updatede decls for setFrozen() and |
| 3183 |
isFrozen() |
| 3184 |
|
| 3185 |
* strategy.cc (setFrozen): moved here and rewritten |
| 3186 |
|
| 3187 |
* strategy.hh (class Strategy): frozen becomes a NatSet rather |
| 3188 |
than a Bool |
| 3189 |
(isFrozen): take argNr |
| 3190 |
|
| 3191 |
===================================Maude76================================================== |
| 3192 |
|
| 3193 |
2002-09-08 Steven Eker <[email protected]> |
| 3194 |
|
| 3195 |
* sortTable.cc (compileOpDeclarations): only call |
| 3196 |
buildCtorDiagram() in IS_COMPLEX case |
| 3197 |
|
| 3198 |
* sortTable.hh (addOpDeclaration): update ctorStatus |
| 3199 |
|
| 3200 |
* sortTable.cc (SortTable): clear ctorStatus |
| 3201 |
|
| 3202 |
* sortTable.hh (class SortTable): added enum CtorStatus |
| 3203 |
(getCtorStatus): added |
| 3204 |
|
| 3205 |
2002-08-30 Steven Eker <[email protected]> |
| 3206 |
|
| 3207 |
* sortTable.hh (class SortTable): updated decl for |
| 3208 |
containsConstructor() |
| 3209 |
|
| 3210 |
* ctorDiagram.cc (containsConstructor): removed constness |
| 3211 |
|
| 3212 |
* sortTable.hh (class SortTable): added decls for |
| 3213 |
partlyMoreGeneral() and ctorSubsumes(); deleted decl for |
| 3214 |
partiallySubsumesWrtCtor() |
| 3215 |
|
| 3216 |
* ctorDiagram.cc (partlyMoreGeneral): replaces |
| 3217 |
partialSubsumptionWrtCtor() |
| 3218 |
(ctorSubsumes): added |
| 3219 |
(minimizeWrtCtor): rewritten using partlyMoreGeneral() and |
| 3220 |
ctorSubsumes() |
| 3221 |
(buildCtorDiagram): call minimizeWrtCtor() after checkin last arg |
| 3222 |
(containsConstructor): rewritten to check for ctor inconsistancy |
| 3223 |
|
| 3224 |
2002-08-29 Steven Eker <[email protected]> |
| 3225 |
|
| 3226 |
* sortTable.cc (dumpSortDiagram): added HACK to avoid crash when |
| 3227 |
dumping BranchSymbols |
| 3228 |
|
| 3229 |
2002-08-28 Steven Eker <[email protected]> |
| 3230 |
|
| 3231 |
* sortTable.hh (class SortTable): made ctorTraverse() protected |
| 3232 |
(class SortTable): added data member ctorStatus |
| 3233 |
|
| 3234 |
2002-08-27 Steven Eker <[email protected]> |
| 3235 |
|
| 3236 |
* sortTable.cc (buildSortDiagram): deleted old code that has been |
| 3237 |
duplicating the task of filling out the sort daigram for years! |
| 3238 |
|
| 3239 |
* sortTable.hh (class SortTable): added decls for |
| 3240 |
containsConstructor(), partiallySubsumesWrtCtor(), |
| 3241 |
minimizeWrtCtor() |
| 3242 |
|
| 3243 |
* sortTable.cc (compileOpDeclarations): call buildCtorDiagram() |
| 3244 |
|
| 3245 |
* ctorDiagram.cc: created |
| 3246 |
|
| 3247 |
* sortTable.hh (class SortTable): added data member ctorDiagram |
| 3248 |
(class SortTable): added decl for buildCtorDiagram() |
| 3249 |
(ctorTraverse): added |
| 3250 |
|
| 3251 |
2002-08-26 Steven Eker <[email protected]> |
| 3252 |
|
| 3253 |
* sortTable.cc (compileOpDeclarations): use new opDeclarations |
| 3254 |
(partiallySubsumes): use new opDeclarations |
| 3255 |
(buildSortDiagram): use new opDeclarations |
| 3256 |
(findMinSortIndex): use new opDeclarations |
| 3257 |
|
| 3258 |
* sortTable.hh (class SortTable): updated decls for |
| 3259 |
addOpDeclaration() and getOpDeclarations(); data member |
| 3260 |
opDeclarations now has sort Vector<OpDeclaration> |
| 3261 |
(addOpDeclaration): rewritten |
| 3262 |
(getOpDeclarations): updated return value |
| 3263 |
(rangeComponent): rewritten |
| 3264 |
(domainComponent): rewritten |
| 3265 |
|
| 3266 |
2002-08-23 Steven Eker <[email protected]> |
| 3267 |
|
| 3268 |
* core.cc: provide implementation for class OpDeclaration |
| 3269 |
|
| 3270 |
* core.hh: added class OpDeclaration |
| 3271 |
|
| 3272 |
* opDeclaration.hh (class OpDeclaration): created |
| 3273 |
|
| 3274 |
===================================Maude75================================================== |
| 3275 |
|
| 3276 |
2002-08-02 Steven Eker <[email protected]> |
| 3277 |
|
| 3278 |
* variableInfo.cc (computeIndexRemapping): rewritten to use graph |
| 3279 |
coloring to minimize number of slots needed in substitutions |
| 3280 |
|
| 3281 |
* variableInfo.hh (class VariableInfo): added lastUseTime member |
| 3282 |
to struct ConstructionIndex |
| 3283 |
(useIndex): update lastUseTime |
| 3284 |
|
| 3285 |
2002-08-01 Steven Eker <[email protected]> |
| 3286 |
|
| 3287 |
* termSet.cc (hash): replaced Assert(false,...) with CantHappen() |
| 3288 |
|
| 3289 |
* dagNodeSet.cc (hash): replaced Assert(false,...) with |
| 3290 |
CantHappen() |
| 3291 |
|
| 3292 |
* substitution.hh (notify): added DebugAdvisory() for when |
| 3293 |
allocateSize is increased |
| 3294 |
|
| 3295 |
===================================Maude74================================================== |
| 3296 |
|
| 3297 |
2002-06-18 Steven Eker <[email protected]> |
| 3298 |
|
| 3299 |
* memoTable.cc (memoRewrite): call context.incrementEqCount() - |
| 3300 |
this fixes a bug where memo rewrites were not being counted |
| 3301 |
|
| 3302 |
2002-06-12 Steven Eker <[email protected]> |
| 3303 |
|
| 3304 |
* sortConstraint.hh (class SortConstraint): ctor takes label arg |
| 3305 |
|
| 3306 |
* sortConstraint.cc (SortConstraint): handle label arg |
| 3307 |
|
| 3308 |
* equation.cc (Equation): handle label arg |
| 3309 |
|
| 3310 |
* equation.hh (class Equation): ctor takes label arg |
| 3311 |
|
| 3312 |
* rule.hh (class Rule): delete data member label |
| 3313 |
(getLabel): deleted |
| 3314 |
|
| 3315 |
* rule.cc (Rule): pass label to PreEquation() |
| 3316 |
|
| 3317 |
* preEquation.cc (PreEquation): handle label arg |
| 3318 |
|
| 3319 |
* preEquation.hh (class PreEquation): ctor takes label arg; added |
| 3320 |
data member label |
| 3321 |
(getLabel): added |
| 3322 |
|
| 3323 |
2002-05-03 Steven Eker <[email protected]> |
| 3324 |
|
| 3325 |
* sortTable.cc (canProduceErrorSort): slicker version using NatSet |
| 3326 |
rather than IntSet |
| 3327 |
|
| 3328 |
2002-04-05 Steven Eker <[email protected]> |
| 3329 |
|
| 3330 |
* variableInfo.hh (index2Variable): no longer return const Term* - |
| 3331 |
the constness causes problems printing since the printing function |
| 3332 |
in general needs to iterate over arguments |
| 3333 |
|
| 3334 |
2002-04-03 Steven Eker <[email protected]> |
| 3335 |
|
| 3336 |
* rule.cc (check): simplified normalize() call |
| 3337 |
|
| 3338 |
* preEquation.cc (check): simplified normalize() call |
| 3339 |
|
| 3340 |
* equation.cc (check): simplified normalize() call |
| 3341 |
|
| 3342 |
2002-04-02 Steven Eker <[email protected]> |
| 3343 |
|
| 3344 |
* preEquation.cc (solveCondition): return false in the abort case |
| 3345 |
for cleanliness (checkCondition() actually ignores the reurn value |
| 3346 |
in the abort case) |
| 3347 |
|
| 3348 |
2002-04-01 Steven Eker <[email protected]> |
| 3349 |
|
| 3350 |
* preEquation.cc (solveCondition): don't pass VariableInfo& to |
| 3351 |
traceEndFragment() |
| 3352 |
|
| 3353 |
* rewritingContext.cc (traceEndFragment): updated stub |
| 3354 |
|
| 3355 |
* rewritingContext.hh (class RewritingContext): don't pass |
| 3356 |
VariableInfo& in traceEndFragment() since this is already included |
| 3357 |
in PreEquation* |
| 3358 |
|
| 3359 |
2002-03-29 Steven Eker <[email protected]> |
| 3360 |
|
| 3361 |
* rewritingContext.cc (traceBeginFragment): updated args |
| 3362 |
(traceEndFragment): updated args |
| 3363 |
|
| 3364 |
* rewritingContext.hh (class RewritingContext): updated decls for |
| 3365 |
traceBeginFragment() and traceEndFragment() |
| 3366 |
|
| 3367 |
* preEquation.cc (solveCondition): pass const PreEquation* and an |
| 3368 |
index rather than ConditionFragment* to traceBeginFragment() and |
| 3369 |
traceEndFragment() |
| 3370 |
|
| 3371 |
2002-03-28 Steven Eker <[email protected]> |
| 3372 |
|
| 3373 |
* module.cc (insertSortConstraint): call setModuleInfo() |
| 3374 |
(insertEquation): call setModuleInfo() |
| 3375 |
(insertRule): call setModuleInfo() |
| 3376 |
|
| 3377 |
* preEquation.hh (class PreEquation): derive from class ModuleItem |
| 3378 |
|
| 3379 |
===================================Maude71a================================================== |
| 3380 |
|
| 3381 |
2002-03-21 Steven Eker <[email protected]> |
| 3382 |
|
| 3383 |
* preEquation.cc (checkCondition): we used to return true in the |
| 3384 |
abort case to avoid backtracking and speed up stack unwinding. But |
| 3385 |
this leads to a bug in that we may return true while failing to |
| 3386 |
bind some conditional variables that the condition was expected to |
| 3387 |
bind. So now we return false in the abort case (2 places). |
| 3388 |
|
| 3389 |
2002-03-15 Steven Eker <[email protected]> |
| 3390 |
|
| 3391 |
* sort.hh (class Sort): added KIND to SpecialSorts |
| 3392 |
|
| 3393 |
2002-03-11 Steven Eker <[email protected]> |
| 3394 |
|
| 3395 |
* subproblemDisjunction.cc: deleted explicit template |
| 3396 |
instantiation |
| 3397 |
|
| 3398 |
* sortTable.cc: deleted explicit template instantiation |
| 3399 |
|
| 3400 |
* localBinding.cc: deleted explicit template instantiation |
| 3401 |
|
| 3402 |
* core.cc: deleted explicit template instantiations |
| 3403 |
|
| 3404 |
===================================Maude71================================================== |
| 3405 |
|
| 3406 |
2002-03-08 Steven Eker <[email protected]> |
| 3407 |
|
| 3408 |
* equationTable.cc (applyReplace): use iterators |
| 3409 |
|
| 3410 |
* substitution.hh (clear): replaced VECTOR_HACK() with |
| 3411 |
vector<>::iterators |
| 3412 |
(copy): rewritten with iterators to eliminate SPEED_HACKS |
| 3413 |
|
| 3414 |
2002-02-07 Steven Eker <[email protected]> |
| 3415 |
|
| 3416 |
* core.cc: provide implementation for class State |
| 3417 |
|
| 3418 |
* conditionState.cc: deleted |
| 3419 |
|
| 3420 |
* conditionState.hh: gutted; becomes abtract non-interface for |
| 3421 |
state information used in solving condition fragments |
| 3422 |
|
| 3423 |
* core.cc: provide implementation for class ConditionFragment |
| 3424 |
|
| 3425 |
* conditionFragment.cc: deleted |
| 3426 |
|
| 3427 |
* conditionFragment.hh (class ConditionFragment): gutted; becomes |
| 3428 |
an abstract interface for condition fragments |
| 3429 |
|
| 3430 |
2002-02-05 Steven Eker <[email protected]> |
| 3431 |
|
| 3432 |
* strategy.cc: added def for standard |
| 3433 |
|
| 3434 |
* strategy.hh (class Strategy): added protected static data member |
| 3435 |
standard |
| 3436 |
|
| 3437 |
===================================Maude70================================================== |
| 3438 |
|
| 3439 |
2001-12-12 Steven Eker <[email protected]> |
| 3440 |
|
| 3441 |
* run.cc (reduce): made non-inline since with gc++ 3.0 it's not |
| 3442 |
possible to have a function inline in one file and yet have an |
| 3443 |
outlined copy for calls from other files: "An inline function must |
| 3444 |
be defined in every translation unit that references it." - g++ |
| 3445 |
problem report 3833 response |
| 3446 |
|
| 3447 |
===================================Maude69================================================== |
| 3448 |
|
| 3449 |
2001-10-24 Steven Eker <[email protected]> |
| 3450 |
|
| 3451 |
* dagNodeSet.hh (class DagNodeSet): added decl for index2DagNode() |
| 3452 |
|
| 3453 |
* dagNodeSet.cc (index2DagNode): added |
| 3454 |
|
| 3455 |
===================================Maude68================================================== |
| 3456 |
|
| 3457 |
2001-05-14 Steven Eker <[email protected]> |
| 3458 |
|
| 3459 |
* oneStep.cc: deleted |
| 3460 |
|
| 3461 |
* oneStep.hh: deleted |
| 3462 |
|
| 3463 |
2001-04-13 Steven Eker <[email protected]> |
| 3464 |
|
| 3465 |
* preEquation.cc (compileBuild): fixed nasty bug where we were not |
| 3466 |
passing atTop = true to findAvailableTerms(); among other things |
| 3467 |
this causes evaluated subterms under top symbol to be treated as |
| 3468 |
eager rather than lazy as they should be. It also allows whole lhs |
| 3469 |
to be reused in rhs via l->r sharing - something that is |
| 3470 |
unsupportable by free theory discrimination nets since there is |
| 3471 |
never a pointer to this in the matching stack and special casing |
| 3472 |
the variables to handle a pseudo variable that take the whole |
| 3473 |
subject would slow everything down |
| 3474 |
|
| 3475 |
2001-04-03 Steven Eker <[email protected]> |
| 3476 |
|
| 3477 |
* rewritingContext.cc (rebuildUptoRoot): use new |
| 3478 |
Vector<RedexPosition> version of copyWithReplacement() |
| 3479 |
|
| 3480 |
* run.cc (ascend): use new Vector<RedexPosition> version of |
| 3481 |
copyWithReplacement() |
| 3482 |
|
| 3483 |
===================================Engine66================================================== |
| 3484 |
|
| 3485 |
2001-03-30 Steven Eker <[email protected]> |
| 3486 |
|
| 3487 |
* rewritingContext.hh (class RewritingContext): deleted decls for |
| 3488 |
eager(), eagerRewrite() and fair() |
| 3489 |
|
| 3490 |
* rewritingContext.cc (eagerRewrite): deleted |
| 3491 |
(eager): deleted |
| 3492 |
(fair): deleted |
| 3493 |
|
| 3494 |
* run.cc (ruleRewrite): check for abort |
| 3495 |
(doRewriting): check for abort and pretend we hit rewrite limit if |
| 3496 |
so |
| 3497 |
|
| 3498 |
* ruleTable.cc (applyRules): return subject in abort case to that |
| 3499 |
caller will see abort flag when it goes to do the post rewrite |
| 3500 |
trace |
| 3501 |
|
| 3502 |
2001-03-29 Steven Eker <[email protected]> |
| 3503 |
|
| 3504 |
* rule.cc (Rule): fixed bug: need to initialize extLhsAutomaton |
| 3505 |
(Rule): delete extLhsAutomaton |
| 3506 |
|
| 3507 |
* rule.hh (class Rule): deleted decl for apply() |
| 3508 |
|
| 3509 |
* rule.cc (apply): deleted; this function is obsoleted by higher |
| 3510 |
level functions and in any case doesn't handle conditions with |
| 3511 |
matching fragments correctly |
| 3512 |
|
| 3513 |
* rewriteSearchState.cc (RewriteSearchState): pass respectFrozen |
| 3514 |
flag = true to SearchState() |
| 3515 |
(findNextRewrite): use getExtLhsAutomaton() instead of |
| 3516 |
getLhsAutomaton() now that the latter can return a greedy |
| 3517 |
automaton that may not find all solutions |
| 3518 |
|
| 3519 |
* searchState.cc (SearchState): take respectFrozen flag |
| 3520 |
|
| 3521 |
* searchState.hh (class SearchState): updated decl for SearchState() |
| 3522 |
|
| 3523 |
* positionState.hh (class PositionState): added data member |
| 3524 |
respectFrozen; updated decl for PositionState() |
| 3525 |
|
| 3526 |
* positionState.cc (PositionState): take respectFrozen flag |
| 3527 |
(exploreNextPosition): support respectFrozen |
| 3528 |
|
| 3529 |
2001-03-28 Steven Eker <[email protected]> |
| 3530 |
|
| 3531 |
* module.hh (class Module): added decl for resetRules() |
| 3532 |
|
| 3533 |
* module.cc (resetRules): added |
| 3534 |
|
| 3535 |
* ruleTable.hh (resetRules): added |
| 3536 |
|
| 3537 |
* rule.cc (compile): add lhs variables to condition variables |
| 3538 |
_after_ compiling so that future calls to etNonExtLhsAutomaton() |
| 3539 |
or getExtLhsAutomaton() will compile lhs to to generate all |
| 3540 |
matchers |
| 3541 |
|
| 3542 |
* run.cc (doRewriting): use new staleMarker convention |
| 3543 |
(ascend): make args vector static |
| 3544 |
(fairRewrite): don't set staleMarker |
| 3545 |
|
| 3546 |
* rewritingContext.cc (rebuildUptoRoot): use new staleMarker |
| 3547 |
convention |
| 3548 |
|
| 3549 |
* rewritingContext.hh (class RewritingContext): added enum |
| 3550 |
Special; deleted data member rootStale |
| 3551 |
(RewritingContext): use new staleMarker convention |
| 3552 |
(root): use new staleMarker convention |
| 3553 |
|
| 3554 |
* rewritingContext.cc (rebuildUptoRoot): rewritten using |
| 3555 |
staleMarker |
| 3556 |
|
| 3557 |
* run.cc (ascend): use staleMarker rather than setStale() and |
| 3558 |
clearStale() |
| 3559 |
(doRewriting): use staleMarker rather than setStale() |
| 3560 |
(fairRewrite): initialize staleMarker |
| 3561 |
|
| 3562 |
* rewritingContext.hh (class RewritingContext): added data member |
| 3563 |
staleMarker |
| 3564 |
|
| 3565 |
2001-03-27 Steven Eker <[email protected]> |
| 3566 |
|
| 3567 |
* rule.cc (getExtLhsAutomaton): added |
| 3568 |
|
| 3569 |
* rule.hh (class Rule): added data member extLhsAutomaton; added |
| 3570 |
decl for getExtLhsAutomaton() |
| 3571 |
|
| 3572 |
* strategy.hh (class Strategy): made stdStrategy and unevalArgs |
| 3573 |
Bool so that they can share word with frozen flag |
| 3574 |
|
| 3575 |
* run.cc (descend): test isFrozen() |
| 3576 |
(ruleRewrite): test isFrozen() |
| 3577 |
(ruleRewrite): fix bug where we weren't incrementing nextToExplore |
| 3578 |
in the frozen case |
| 3579 |
|
| 3580 |
* strategy.cc (Strategy): added |
| 3581 |
|
| 3582 |
* strategy.hh (setFrozen): added |
| 3583 |
(isFrozen): added |
| 3584 |
|
| 3585 |
* rewritingContext.hh (class RewritingContext): use NONE (-1) as |
| 3586 |
default limit on rewrites for ruleRewrite(), fairRewrite() and |
| 3587 |
fairContinue() since UNBOUNDED is actually quite small for a |
| 3588 |
64-bit int (on 32-bit machines) |
| 3589 |
|
| 3590 |
* run.cc (fairTraversal): rewritten by manually drawing out and |
| 3591 |
rearranging the control flow graph to save 2 gotos; arg is now |
| 3592 |
newTraversal flag |
| 3593 |
(fairRewrite): use new fairTraversal() convention |
| 3594 |
(fairContinue): use new fairTraversal() convention |
| 3595 |
|
| 3596 |
* rewritingContext.hh (class RewritingContext): added decl for |
| 3597 |
ascend() |
| 3598 |
|
| 3599 |
* run.cc (fairTraversal): turn parent test into an Assert when |
| 3600 |
checking for a sibling since if we have manipulated redexStack |
| 3601 |
correctly the only thing that might exist in |
| 3602 |
redexStack[currentIndex + 1] is a sibling |
| 3603 |
(assend): added |
| 3604 |
(fairTraversal): use ascend() |
| 3605 |
|
| 3606 |
2001-03-23 Steven Eker <[email protected]> |
| 3607 |
|
| 3608 |
* rewritingContext.hh (class RewritingContext): updated decl for |
| 3609 |
ruleRewrite() |
| 3610 |
|
| 3611 |
* run.cc (ruleRewrite): take Int64 limit |
| 3612 |
|
| 3613 |
* rewritingContext.hh (class RewritingContext): updated decl for |
| 3614 |
fairTraversal() |
| 3615 |
|
| 3616 |
* run.cc (fairRewrite): pass restart arg to fairTraversal() |
| 3617 |
(fairContinue): pass restart arg to fairTraversal() |
| 3618 |
(doRewriting): no longer clear progress if we hit rewriteLimit |
| 3619 |
(fairTraversal): return bool value to say whetherwe stop traversal |
| 3620 |
because we hit rewriteLimit or because we had visited all nodes |
| 3621 |
(fairContinue): rewritten |
| 3622 |
(fairRewrite): use new fairTraversal() convention |
| 3623 |
|
| 3624 |
* rewritingContext.hh (class RewritingContext): updated |
| 3625 |
fairTraversal() decl |
| 3626 |
|
| 3627 |
* run.cc (fairTraversal): added restart arg |
| 3628 |
|
| 3629 |
2001-03-22 Steven Eker <[email protected]> |
| 3630 |
|
| 3631 |
* rewritingContext.hh (class RewritingContext): added decl for |
| 3632 |
fairContinue() |
| 3633 |
|
| 3634 |
* run.cc (fairRewrite): rewritten |
| 3635 |
(doRewriting): clear progress flag if we hit our rewrite limit |
| 3636 |
(fairContinue): added |
| 3637 |
|
| 3638 |
* rewritingContext.hh (class RewritingContext): updated decl for |
| 3639 |
fairRewrite() |
| 3640 |
|
| 3641 |
2001-03-21 Steven Eker <[email protected]> |
| 3642 |
|
| 3643 |
* run.cc (ruleRewrite): fixed bug where we were failing in |
| 3644 |
increment nextToExplore (introduced during clean up) |
| 3645 |
|
| 3646 |
* rewritingContext.hh (class RewritingContext): added decls for |
| 3647 |
descend() and doRewriting(); updated decl for fairTraversal() |
| 3648 |
|
| 3649 |
* run.cc (doRewriting): added |
| 3650 |
(descend): added |
| 3651 |
(fairTraversal): rewritten |
| 3652 |
(fairRewrite): rewritten |
| 3653 |
|
| 3654 |
* rewritingContext.hh (class RewritingContext): added data members |
| 3655 |
progress, rewriteLimit, gasPerNode, currentGas, lazyMarker |
| 3656 |
|
| 3657 |
* run.cc (reduce): made inline, moved here |
| 3658 |
(ruleRewrite): moved here |
| 3659 |
(fairRewrite): cleaned, moved here |
| 3660 |
(fairTraversal): moved here |
| 3661 |
|
| 3662 |
2001-03-20 Steven Eker <[email protected]> |
| 3663 |
|
| 3664 |
* rewritingContext.cc (ruleRewrite): code cleaning; use objects |
| 3665 |
redexStack rather than local "stack" |
| 3666 |
|
| 3667 |
2001-03-16 Steven Eker <[email protected]> |
| 3668 |
|
| 3669 |
* rewritingContext.cc (fairTraversal): call okToCollectGarbage() |
| 3670 |
(2 places) |
| 3671 |
|
| 3672 |
* sortConstraintTable.cc (constrainToSmallerSort2): call |
| 3673 |
incrementMbCount() |
| 3674 |
|
| 3675 |
* oneStep.cc (findNextRewrite): incrementCount() -> |
| 3676 |
incrementRlCount() |
| 3677 |
|
| 3678 |
* ruleTable.cc (applyRules): incrementCount() -> |
| 3679 |
incrementRlCount() |
| 3680 |
|
| 3681 |
* rule.cc (apply): incrementCount() -> incrementRlCount() |
| 3682 |
|
| 3683 |
* equationTable.cc (applyReplace): incrementCount() -> |
| 3684 |
incrementEqCount() (2 places) |
| 3685 |
|
| 3686 |
* rewritingContext.hh (incrementCount): deleted |
| 3687 |
(incrementMbCount): added |
| 3688 |
(incrementEqCount): added |
| 3689 |
(incrementRlCount): added |
| 3690 |
(addInCount): rewritten |
| 3691 |
(count): deleted |
| 3692 |
(getMbCount): added |
| 3693 |
(getMbCount): added |
| 3694 |
(getEqCount): added |
| 3695 |
(getRlCount): added |
| 3696 |
(class RewritingContext): deleted data member rewriteCount; added |
| 3697 |
data members mbCount, eqCount, rlCount; updated function decls |
| 3698 |
(RewritingContext): rewritten |
| 3699 |
(clearCount): rewritten |
| 3700 |
|
| 3701 |
2001-03-15 Steven Eker <[email protected]> |
| 3702 |
|
| 3703 |
* rewritingContext.cc (fairTraversal): added |
| 3704 |
(fairRewrite): use fairTraversal() |
| 3705 |
(fairTraversal): support unstackable flag; there is a bug in the |
| 3706 |
unstackable flag use in fair() that we avoid in this non-recursive |
| 3707 |
version |
| 3708 |
|
| 3709 |
2001-03-14 Steven Eker <[email protected]> |
| 3710 |
|
| 3711 |
* rewritingContext.cc (fairRewrite): pass eager flag to fair() |
| 3712 |
|
| 3713 |
* rewritingContext.hh (class RewritingContext): updated fair() |
| 3714 |
decl |
| 3715 |
|
| 3716 |
* rewritingContext.cc (fair): take and pass eager flag; only do |
| 3717 |
reduce if eager flag is true; argsUnstackable calculation optimized |
| 3718 |
|
| 3719 |
2001-03-13 Steven Eker <[email protected]> |
| 3720 |
|
| 3721 |
* rewritingContext.cc (fair): support Unstackable flag |
| 3722 |
|
| 3723 |
* rewritingContext.hh (class RewritingContext): added decls for |
| 3724 |
fair( and fairRewrite() |
| 3725 |
|
| 3726 |
* rewritingContext.cc (fair): added |
| 3727 |
(fairRewrite): added |
| 3728 |
|
| 3729 |
2001-03-09 Steven Eker <[email protected]> |
| 3730 |
|
| 3731 |
* rewritingContext.cc (eager): check isReduced() before trying |
| 3732 |
eqRewrite(); call reduce() after a successful eqRewrite() or |
| 3733 |
ruleRewrite() |
| 3734 |
|
| 3735 |
2001-03-08 Steven Eker <[email protected]> |
| 3736 |
|
| 3737 |
* rewritingContext.cc (eager): use Symbol::stackArguments |
| 3738 |
|
| 3739 |
* redexPosition.hh (isLazy): beomes isEager() |
| 3740 |
(class RedexPosition): lazy -> eager throughout; it's less |
| 3741 |
confusing since we also have semi-eager which is treated as lazy |
| 3742 |
so now we have eager and non-eager |
| 3743 |
|
| 3744 |
2001-03-07 Steven Eker <[email protected]> |
| 3745 |
|
| 3746 |
* redexPosition.hh (RedexPosition): added LAZY to enum Flags; |
| 3747 |
added decls for isLazy() and for ctor with lazy flag |
| 3748 |
(isLazy): added |
| 3749 |
|
| 3750 |
* rewritingContext.cc (rebuildUptoRoot): only rebuild none stale |
| 3751 |
entries in redex stack |
| 3752 |
(eager): use clearStale(), setStale() and isStale() to avoid |
| 3753 |
building replacements for node where nothing underneath them |
| 3754 |
changed by rlRewrite() (changes due to eqRewrite() are make in |
| 3755 |
place and so don'r require rebuilding |
| 3756 |
|
| 3757 |
2001-03-06 Steven Eker <[email protected]> |
| 3758 |
|
| 3759 |
* rewritingContext.cc (eager): use isUnrewritable() and |
| 3760 |
setUnrewritable() |
| 3761 |
|
| 3762 |
* redexPosition.hh (setStale): added |
| 3763 |
(clearStale): added |
| 3764 |
(isStale): added |
| 3765 |
(class RedexPosition): added enum Flags and data member flags |
| 3766 |
|
| 3767 |
2001-03-05 Steven Eker <[email protected]> |
| 3768 |
|
| 3769 |
* rewritingContext.cc (eager): unstack stacked nodes in all cases |
| 3770 |
(eager): need to set rootStale = true whenever we replaceNode() |
| 3771 |
|
| 3772 |
* rewritingContext.hh (class RewritingContext): added data member |
| 3773 |
rootStale |
| 3774 |
(root): check for rootStale and call rebuildUptoRoot() if needed |
| 3775 |
(RewritingContext): initialize rootStale to false |
| 3776 |
(class RewritingContext): toot() is no longer const |
| 3777 |
|
| 3778 |
* rewritingContext.cc (markReachableNodes): mark nodes in redexStack |
| 3779 |
|
| 3780 |
* rewritingContext.hh (class RewritingContext): added decls for |
| 3781 |
eagerRewrite() and eager() |
| 3782 |
|
| 3783 |
* rewritingContext.cc (eagerRewrite): added |
| 3784 |
(eager): added |
| 3785 |
|
| 3786 |
* redexPosition.hh (replaceNode): added |
| 3787 |
|
| 3788 |
* rewritingContext.hh (class RewritingContext): added decl for |
| 3789 |
rebuildUptoRoot() |
| 3790 |
|
| 3791 |
* rewritingContext.cc (rebuildUptoRoot): added |
| 3792 |
|
| 3793 |
* rewritingContext.hh (class RewritingContext): added data members |
| 3794 |
redexStack and currentIndex |
| 3795 |
|
| 3796 |
===================================Engine65================================================== |
| 3797 |
|
| 3798 |
2001-02-16 Steven Eker <[email protected]> |
| 3799 |
|
| 3800 |
* module.cc (Module): commented out symbol deletion to chase bug |
| 3801 |
|
| 3802 |
2001-02-15 Steven Eker <[email protected]> |
| 3803 |
|
| 3804 |
* preEquation.cc (checkCondition): initialize trialRef if |
| 3805 |
findFirst - this fixed an uninit bug that shows up under purify |
| 3806 |
|
| 3807 |
2001-02-06 Steven Eker <[email protected]> |
| 3808 |
|
| 3809 |
* searchState.cc: completely rewritten; we fixed a nasty memory |
| 3810 |
leak where we weren't deleting subproblems that failed to have |
| 3811 |
even a first solution |
| 3812 |
|
| 3813 |
* searchState.hh: completely rewritten |
| 3814 |
|
| 3815 |
* core.hh: added forward decls for RewriteSearchState and |
| 3816 |
MatchSearchState |
| 3817 |
|
| 3818 |
* matchSearchState.hh: created |
| 3819 |
|
| 3820 |
* matchSearchState.cc: created |
| 3821 |
|
| 3822 |
* rewriteSearchState.hh: created |
| 3823 |
|
| 3824 |
* rewriteSearchState.cc: created |
| 3825 |
|
| 3826 |
2001-02-05 Steven Eker <[email protected]> |
| 3827 |
|
| 3828 |
* searchState.cc (getResult): deleted |
| 3829 |
(getRule): added |
| 3830 |
(getReplacement): added |
| 3831 |
|
| 3832 |
* searchState.hh (class SearchState): added decls for getRule() |
| 3833 |
and getReplacement(); delete decl for getResult() |
| 3834 |
|
| 3835 |
* searchState.cc (getMatch): deleted |
| 3836 |
|
| 3837 |
* searchState.hh: completely rewritten using class PositionState |
| 3838 |
(getContext): added |
| 3839 |
(getPattern): added |
| 3840 |
|
| 3841 |
* searchState.cc: completely rewritten using class PositionState |
| 3842 |
|
| 3843 |
* core.hh: added forward decl for class PositionState |
| 3844 |
|
| 3845 |
* positionState.hh: created |
| 3846 |
|
| 3847 |
* positionState.cc: created |
| 3848 |
|
| 3849 |
* conditionState.cc (ConditionState): use addInCount() rather than |
| 3850 |
incrementCount() |
| 3851 |
|
| 3852 |
* conditionFragment.cc (solve): use addInCount() rather than |
| 3853 |
incrementCount() (2 places) |
| 3854 |
|
| 3855 |
* rewritingContext.hh (class RewritingContext): added decls for |
| 3856 |
clearCount() and addInCount() |
| 3857 |
(clearCount): added |
| 3858 |
(addInCount): added |
| 3859 |
|
| 3860 |
2001-02-02 Steven Eker <[email protected]> |
| 3861 |
|
| 3862 |
* pattern.cc (traceBeginTrial): added |
| 3863 |
|
| 3864 |
* searchState.cc (findNextMatch): getAutomaton() -> |
| 3865 |
getLhsAutomaton() |
| 3866 |
|
| 3867 |
* pattern.cc (~Pattern): deleted |
| 3868 |
(Pattern): rewritten using PreEquation calls |
| 3869 |
|
| 3870 |
* pattern.hh (class Pattern): derive from PreEquation rather than |
| 3871 |
VariableInfo; added decl for traceBeginTrial(); deleted decls for |
| 3872 |
getTerm(), getAutomaton() and dtor; deleted data members term and |
| 3873 |
automaton; ctor decl takes extra arg with default |
| 3874 |
(getTerm): deleted |
| 3875 |
(getAutomaton): deleted |
| 3876 |
|
| 3877 |
* sortConstraint.hh (class SortConstraint): made traceBeginTrial() |
| 3878 |
private; use noCondition as default arg for ctor |
| 3879 |
|
| 3880 |
* rule.hh (class Rule): made traceBeginTrial() private; use |
| 3881 |
noCondition as default arg for ctor |
| 3882 |
|
| 3883 |
* equation.hh (class Equation): use noCondition as default arg for |
| 3884 |
ctor |
| 3885 |
(class Equation): made traceBeginTrial() private |
| 3886 |
|
| 3887 |
* preEquation.hh (class PreEquation): added protected data member |
| 3888 |
noCondition |
| 3889 |
|
| 3890 |
2001-01-30 Steven Eker <[email protected]> |
| 3891 |
|
| 3892 |
* sortConstraintTable.cc (constrainToSmallerSort2): check |
| 3893 |
context.traceAbort() after calling context.tracePreScApplication() |
| 3894 |
|
| 3895 |
* conditionFragment.cc (solve): deleted commented out |
| 3896 |
getTraceStatus() stuff (2 places) |
| 3897 |
|
| 3898 |
* preEquation.cc (checkCondition): check context.traceAbort() |
| 3899 |
after calling traceBeginTrial() since this might set abort |
| 3900 |
condition |
| 3901 |
|
| 3902 |
2001-01-29 Steven Eker <[email protected]> |
| 3903 |
|
| 3904 |
* searchState.cc (getMatch): return extensionInfo vai 3rd ref arg |
| 3905 |
|
| 3906 |
* searchState.hh (class SearchState): updated decl for getMatch() |
| 3907 |
|
| 3908 |
2001-01-05 Steven Eker <[email protected]> |
| 3909 |
|
| 3910 |
* searchState.cc (findNextMatch): fixed memory leak where we were |
| 3911 |
not deleting matchingSubproblem when it failed |
| 3912 |
(SearchState): (both versions) clear extensionInfo pointer |
| 3913 |
(findNextMatch): delete extensionInfo before assigning to |
| 3914 |
extensionInfo to fix a memory leak where old extensionInfo |
| 3915 |
pointer was overwritten without being deleted |
| 3916 |
|
| 3917 |
2001-01-03 Steven Eker <[email protected]> |
| 3918 |
|
| 3919 |
* pattern.hh (getTerm): added |
| 3920 |
|
| 3921 |
* searchState.cc (getMatch): moved here so that files that include |
| 3922 |
searchState.hh fon't have to know about Pattern and |
| 3923 |
RewritingContext for pointer conversions |
| 3924 |
(findNextMatch): need to call clear() |
| 3925 |
|
| 3926 |
* searchState.hh (getMatch): now pass back variable info |
| 3927 |
|
| 3928 |
2001-01-02 Steven Eker <[email protected]> |
| 3929 |
|
| 3930 |
* searchState.cc (findNextMatch): added |
| 3931 |
|
| 3932 |
* searchState.hh (getMatch): added |
| 3933 |
(class SearchState): added data member firstMatch |
| 3934 |
|
| 3935 |
* searchState.cc (SearchState): code cleaning |
| 3936 |
(SearchState): added Pattern* version |
| 3937 |
(~SearchState): delete pattern |
| 3938 |
|
| 3939 |
* core.hh: added forward decl for class Pattern |
| 3940 |
|
| 3941 |
* pattern.cc: created |
| 3942 |
|
| 3943 |
* pattern.hh: created |
| 3944 |
|
| 3945 |
===================================Engine64================================================== |
| 3946 |
|
| 3947 |
2000-12-22 Steven Eker <[email protected]> |
| 3948 |
|
| 3949 |
* searchState.cc (findNextPosition): don't look for a next |
| 3950 |
position if maxDepth < 0 |
| 3951 |
(findNextRewrite): don't add 1 to rewrite count to account for |
| 3952 |
apply |
| 3953 |
|
| 3954 |
* module.cc (~Module): delete sorts here so we delete sorts when a |
| 3955 |
module is destructed even if the sort set has not been closed |
| 3956 |
|
| 3957 |
* connectedComponent.cc (~ConnectedComponent): don't delete sorts |
| 3958 |
here |
| 3959 |
|
| 3960 |
2000-12-21 Steven Eker <[email protected]> |
| 3961 |
|
| 3962 |
* conditionState.cc (ConditionState): initialize subproblem |
| 3963 |
|
| 3964 |
* conditionFragment.cc (solve): delete newly created |
| 3965 |
ConditionState if we fail to find an initial solution |
| 3966 |
|
| 3967 |
2000-12-20 Steven Eker <[email protected]> |
| 3968 |
|
| 3969 |
* core.hh: added forward decl for class SearchState |
| 3970 |
|
| 3971 |
* searchState.hh (class SearchState): updated decl for getResult() |
| 3972 |
|
| 3973 |
* searchState.cc (getResult): pass back substitution |
| 3974 |
|
| 3975 |
* searchState.hh (class SearchState): substValues becomes |
| 3976 |
Vector<DagRoot*> |
| 3977 |
(setInitialSubstitution): use DagRoot |
| 3978 |
|
| 3979 |
* searchState.cc (SearchState): rewriten passing subject via |
| 3980 |
DagRoot; Unmade - we need to maintain RewritingContext between |
| 3981 |
to findNextRewrite() since it holds the substitution |
| 3982 |
(initSubstitution): use DagRoot |
| 3983 |
|
| 3984 |
2000-12-19 Steven Eker <[email protected]> |
| 3985 |
|
| 3986 |
* searchState.cc (findNextRewrite): fixed bug where we were not |
| 3987 |
initializing subject and extensionn info correctly after finding |
| 3988 |
our first position that satisfies minimum depth criteria |
| 3989 |
(findNextRewrite): pass number of rewrites used via stepCount ref |
| 3990 |
arg |
| 3991 |
|
| 3992 |
* searchState.hh (class SearchState): updated findNextRewrite() |
| 3993 |
decl |
| 3994 |
|
| 3995 |
* searchState.cc (initSubstitution): substValues is now an array |
| 3996 |
of RewritingContext* |
| 3997 |
(~SearchState): delete substitution stuff entrusted to us by our |
| 3998 |
creator |
| 3999 |
(SearchState): don't init substVariables, substValues |
| 4000 |
|
| 4001 |
* searchState.hh (setInitialSubstitution): move here and |
| 4002 |
rewritten; we now take responsibility for delete the substitution info |
| 4003 |
|
| 4004 |
* searchState.cc (~SearchState): delete context, don't call context.finished() |
| 4005 |
(SearchState): changed handling of context |
| 4006 |
(findNextRewrite): changed handling of context |
| 4007 |
(getResult): changed handling of context |
| 4008 |
(initSubstitution): changed handling of context |
| 4009 |
|
| 4010 |
* searchState.hh (class SearchState): updated decl for |
| 4011 |
setInitialSubstitution() |
| 4012 |
(class SearchState): upadted decl for local variables context, |
| 4013 |
substVariables and substValues |
| 4014 |
(class SearchState): updated decl for ctor |
| 4015 |
|
| 4016 |
* rule.cc (compile): fixed bug - we must use compileTopRhs() |
| 4017 |
rather than compileRhs() to ensure builder will not be empty |
| 4018 |
|
| 4019 |
2000-11-28 Steven Eker <[email protected]> |
| 4020 |
|
| 4021 |
* searchState.cc (setInitialSubstitution): added |
| 4022 |
(findNextRewrite): call initSubstitution() |
| 4023 |
(SearchState): zero substVariables and substValues |
| 4024 |
|
| 4025 |
* searchState.hh (class SearchState): added decl for initSubstitution() |
| 4026 |
|
| 4027 |
* searchState.cc (initSubstitution): added |
| 4028 |
|
| 4029 |
* searchState.hh (class SearchState): added data members |
| 4030 |
substVariables and substValues |
| 4031 |
|
| 4032 |
* searchState.cc (findNextRewrite): make sure first position tried |
| 4033 |
meets minDepth criteria |
| 4034 |
|
| 4035 |
* searchState.hh (class SearchState): added data member minDepth, |
| 4036 |
updated ctor decl |
| 4037 |
|
| 4038 |
* searchState.cc (SearchState): set extensionInfo correctly in |
| 4039 |
non-ext case |
| 4040 |
(SearchState): initialize depth array |
| 4041 |
(findNextRewrite): check rule's label before using it |
| 4042 |
(SearchState): added minDepth arg |
| 4043 |
|
| 4044 |
2000-11-27 Steven Eker <[email protected]> |
| 4045 |
|
| 4046 |
* searchState.hh (class SearchState): added data member trialRef |
| 4047 |
|
| 4048 |
* searchState.cc: stack -> redexStack to avoid clash with stack |
| 4049 |
template |
| 4050 |
(~SearchState): empty condition stack |
| 4051 |
(checkCondition): deleted |
| 4052 |
(findNextRewrite): rewritten using new checkCondition() |
| 4053 |
(SearchState): initialize trialRef |
| 4054 |
|
| 4055 |
* core.hh: added forward decl for class ConditionState |
| 4056 |
|
| 4057 |
* preEquation.hh (class PreEquation): brought decls into line with |
| 4058 |
latest reorganization |
| 4059 |
|
| 4060 |
* preEquation.cc (solveCondition2): added |
| 4061 |
(solveCondition): use solveCondition2() |
| 4062 |
(checkCondition): new general purpose version added that allows |
| 4063 |
looking for new solutions to a condition that has already suceeded |
| 4064 |
(checkCondition): rewritten in terms of more general version |
| 4065 |
(solveCondition): deleted |
| 4066 |
(solveCondition2): becomes new solveCondition() |
| 4067 |
|
| 4068 |
* searchState.hh (class SearchState): added data member |
| 4069 |
conditionStack |
| 4070 |
|
| 4071 |
* searchState.cc (findNextRewrite): use getNonExtLhsAutomaton() |
| 4072 |
|
| 4073 |
* preEquation.cc (PreEquation): delete lhsAutomaton before calling |
| 4074 |
lhs->deepSelfDestruct() - this should make any difference but it's |
| 4075 |
cleaner since lhsAutomaton may have pointers into lhs but no |
| 4076 |
vice versa |
| 4077 |
|
| 4078 |
* rule.cc (Rule): clear nonExtLhsAutomaton |
| 4079 |
(~Rule): delete nonExtLhsAutomaton |
| 4080 |
(getNonExtLhsAutomaton): added |
| 4081 |
|
| 4082 |
* rule.hh (class Rule): added decl for getNonExtLhsAutomaton() and |
| 4083 |
data member nonExtLhsAutomaton |
| 4084 |
|
| 4085 |
2000-11-10 Steven Eker <[email protected]> |
| 4086 |
|
| 4087 |
* preEquation.cc (solveCondition): delete state elements before |
| 4088 |
returning - this fixes a nasty bug where we left RewritingContext |
| 4089 |
objects around with root pointers pointing to old dagnodes whose |
| 4090 |
symbols might be deleted if their module is delete or replaced, |
| 4091 |
leading to disater during a garbage collect |
| 4092 |
|
| 4093 |
* preEquation.hh (class PreEquation): updated decl for trialRef |
| 4094 |
|
| 4095 |
* preEquation.cc (solveCondition): take trialRef arg and pass it |
| 4096 |
to traceBeginFragment() and traceEndFragment() |
| 4097 |
(checkCondition): pass trialRef to solveCondition() |
| 4098 |
|
| 4099 |
* rewritingContext.cc (traceBeginFragment): added trialRef arg |
| 4100 |
(traceEndFragment): added trialRef arg |
| 4101 |
|
| 4102 |
* rewritingContext.hh (class RewritingContext): updated decls for |
| 4103 |
traceBeginFragment() and traceEndFragment() |
| 4104 |
|
| 4105 |
2000-11-01 Steven Eker <[email protected]> |
| 4106 |
|
| 4107 |
* oneStep.hh: #define _oneContext_hh_ -> _oneStep_hh_; not really |
| 4108 |
a bug - just an inconsistancy |
| 4109 |
|
| 4110 |
2000-10-23 Steven Eker <[email protected]> |
| 4111 |
|
| 4112 |
* conditionFragment.hh (class ConditionFragment): deleted decl for |
| 4113 |
remapIndices() |
| 4114 |
|
| 4115 |
* preEquation.cc (compileMatch): don't call |
| 4116 |
ConditionFragment::remapIndices() |
| 4117 |
|
| 4118 |
* conditionFragment.cc (compileBuild): call |
| 4119 |
determineContextVariables() and insertAbstractionVariables() here |
| 4120 |
(compileMatch): don't call determineContextVariables() and |
| 4121 |
insertAbstractionVariables() here |
| 4122 |
(compileMatch): do index remapping here |
| 4123 |
(remapIndices): deleted |
| 4124 |
|
| 4125 |
* preEquation.cc (compileBuild): call determineContextVariables() |
| 4126 |
and insertAbstractionVariables() here |
| 4127 |
(compileMatch): don't call determineContextVariables() and |
| 4128 |
insertAbstractionVariables() here |
| 4129 |
|
| 4130 |
2000-10-16 Steven Eker <[email protected]> |
| 4131 |
|
| 4132 |
* preEquation.cc (compileMatch): we have a nasty problem in that |
| 4133 |
compileLhs() is called before computeIndexRemapping(), while |
| 4134 |
computeIndexRemapping() can add new protected variables. This |
| 4135 |
means that the Substitutions inside the matching amtomata made by |
| 4136 |
compileLhs() could be the wrong size (too small) with bad things |
| 4137 |
happening when such substitutions are copied back to the main |
| 4138 |
substitution during matching & solving. We introduce a temporary |
| 4139 |
hack that does computeIndexRemapping() earlier, but breaks the |
| 4140 |
condition fragment version of compileMatch() in the case that the |
| 4141 |
latter introduces abstraction variables in order to see if the |
| 4142 |
above mentioned bug is the sole cause of current crashes |
| 4143 |
|
| 4144 |
* substitution.hh (copy): make Assert message more detailed |
| 4145 |
|
| 4146 |
2000-08-30 Steven Eker <[email protected]> |
| 4147 |
|
| 4148 |
* core.hh: deleted class ComplexSort |
| 4149 |
|
| 4150 |
* complexSort.cc: deleted |
| 4151 |
|
| 4152 |
* complexSort.hh: deleted |
| 4153 |
|
| 4154 |
===================================Engine62================================================== |
| 4155 |
|
| 4156 |
2000-08-29 Steven Eker <[email protected]> |
| 4157 |
|
| 4158 |
* connectedComponent.cc (ConnectedComponent): insert newly created |
| 4159 |
error sorts into module |
| 4160 |
|
| 4161 |
* module.cc (closeSortSet): postpone setting status = |
| 4162 |
SORT_SET_CLOSED until end so that we can add in error sorts |
| 4163 |
|
| 4164 |
2000-08-21 Steven Eker <[email protected]> |
| 4165 |
|
| 4166 |
* conditionFragment.cc (remapIndices): get remapping correct for |
| 4167 |
each fragment type |
| 4168 |
|
| 4169 |
* connectedComponent.hh (class ConnectedComponent): added back |
| 4170 |
decl for findMaximalSorts() |
| 4171 |
|
| 4172 |
* connectedComponent.cc (findMaximalSorts): added back since we |
| 4173 |
need this form metalevel |
| 4174 |
|
| 4175 |
2000-08-04 Steven Eker <[email protected]> |
| 4176 |
|
| 4177 |
* complexSort.cc (operator<<): don't handle union sorts |
| 4178 |
|
| 4179 |
* ruleTable.cc (applyRules): don't check for subject in |
| 4180 |
error sort in pattern in error sort |
| 4181 |
|
| 4182 |
* equation.cc (compile): no longer have to parse to |
| 4183 |
non-error sort to be "fast" |
| 4184 |
|
| 4185 |
* equation.hh (class Equation): no longer have to parse to |
| 4186 |
non-error sort to be "fast" |
| 4187 |
|
| 4188 |
* equationTable.cc (applyReplace): don't check for subject in |
| 4189 |
error sort in pattern in error sort |
| 4190 |
|
| 4191 |
2000-08-01 Steven Eker <[email protected]> |
| 4192 |
|
| 4193 |
* sortTable.cc (findMinSortIndex): don't make local NatSet static |
| 4194 |
since there isn't any saving unless we have more than 32 op decls |
| 4195 |
(buildSortDiagram): ditto (2 places) |
| 4196 |
|
| 4197 |
2000-07-31 Steven Eker <[email protected]> |
| 4198 |
|
| 4199 |
* connectedComponent.cc (findIndex): made const |
| 4200 |
|
| 4201 |
* connectedComponent.hh (class ConnectedComponent): deleted data |
| 4202 |
member unionSorts |
| 4203 |
(class ConnectedComponent): make findIndex() decl const |
| 4204 |
|
| 4205 |
* sortTable.cc (dumpSortDiagram): don't use ComplexSort (2 places) |
| 4206 |
|
| 4207 |
* sort.cc (dump): don't use ComplexSort |
| 4208 |
|
| 4209 |
* sort.hh (leq): (int, Sort*) version: don't handle union sorts |
| 4210 |
(leq): (Sort*, int) version: don't handle union sorts |
| 4211 |
added decl for operator<< |
| 4212 |
|
| 4213 |
* connectedComponent.hh (class ConnectedComponent): deleted decls |
| 4214 |
for findMaximalSorts() (both versions) |
| 4215 |
|
| 4216 |
* connectedComponent.cc (findMaximalSorts): deleted (both versions) |
| 4217 |
|
| 4218 |
* sortTable.hh (class SortTable): deleted decl for |
| 4219 |
lookupSortIndex() |
| 4220 |
|
| 4221 |
* sortTable.cc (lookupSortIndex): deleted - this only existed to |
| 4222 |
handle sort computations when and argument was in a union sort |
| 4223 |
|
| 4224 |
* connectedComponent.cc (findIndex): don't return a union sort; |
| 4225 |
instead return the sort with largest index that is greater or |
| 4226 |
equal to all of the sorts in the input set |
| 4227 |
(getLeqSorts): don't handle union sorts |
| 4228 |
(leq): don't handle union sorts |
| 4229 |
|
| 4230 |
* sort.hh (class Sort): removed UNION_SORT from enum SpecialSorts |
| 4231 |
|
| 4232 |
===================================Engine61================================================== |
| 4233 |
|
| 4234 |
2000-07-28 Steven Eker <[email protected]> |
| 4235 |
|
| 4236 |
* rewritingContext.cc (traceBeginFragment): added firstAttempt arg |
| 4237 |
|
| 4238 |
* preEquation.cc (solveCondition): pass firstAttempt arg to |
| 4239 |
traceBeginFragment() |
| 4240 |
|
| 4241 |
* rewritingContext.hh (class RewritingContext): added firstAttempt |
| 4242 |
arg to traceBeginFragment() decl |
| 4243 |
|
| 4244 |
* conditionFragment.hh: added decl for operator<< |
| 4245 |
|
| 4246 |
* rewritingContext.hh (class RewritingContext): added decls for |
| 4247 |
traceBeginFragment(), traceEndFragment() |
| 4248 |
|
| 4249 |
* preEquation.cc (solveCondition): call traceBeginFragment(), |
| 4250 |
traceEndFragment(), check for abort |
| 4251 |
|
| 4252 |
* conditionFragment.cc (remapIndices): moved here |
| 4253 |
(remapIndices): remap rhsIndex and lhsIndex if appropriate |
| 4254 |
|
| 4255 |
* variableInfo.cc (computeIndexRemapping): added |
| 4256 |
|
| 4257 |
* variableInfo.hh (remapIndex): added |
| 4258 |
(class VariableInfo): added newIndex field to struct ConstructionIndex |
| 4259 |
|
| 4260 |
* conditionFragment.hh (class ConditionFragment): added decl for |
| 4261 |
remapIndices() |
| 4262 |
(remapIndices): added |
| 4263 |
|
| 4264 |
* rule.cc (compile): call remapIndices() |
| 4265 |
|
| 4266 |
* equation.cc (compile): call remapIndices() |
| 4267 |
|
| 4268 |
* preEquation.cc (compileMatch): call computeIndexRemapping(); |
| 4269 |
call remapIndices() on each fragment |
| 4270 |
|
| 4271 |
* rhsBuilder.cc (remapIndices): added |
| 4272 |
|
| 4273 |
* rhsBuilder.hh (class RhsBuilder): added decl for remapIndices() |
| 4274 |
|
| 4275 |
* trivialRhsAutomaton.hh (class TrivialRhsAutomaton): added decl |
| 4276 |
for remapIndices(); data member no longer const |
| 4277 |
|
| 4278 |
* copyRhsAutomaton.hh (class CopyRhsAutomaton): added decl for |
| 4279 |
remapIndices((); data members are no longer const |
| 4280 |
|
| 4281 |
* copyRhsAutomaton.cc (remapIndices): added |
| 4282 |
|
| 4283 |
2000-07-26 Steven Eker <[email protected]> |
| 4284 |
|
| 4285 |
* variableInfo.hh (class VariableInfo): adde decls for |
| 4286 |
computeIndexRemapping() and remapIndex() |
| 4287 |
|
| 4288 |
* rule.cc (compile): don't call Substitution::notify() |
| 4289 |
|
| 4290 |
* sortConstraint.cc (compile): don't call Substitution::notify() |
| 4291 |
|
| 4292 |
* equation.cc (compile): use getNrProtectedVariables() |
| 4293 |
instead of nrVariables(); don't call Substitution::notify() |
| 4294 |
|
| 4295 |
* ruleTable.cc (applyRules): use getNrProtectedVariables() |
| 4296 |
instead of nrVariables() |
| 4297 |
|
| 4298 |
* equationTable.cc (applyReplace): use getNrProtectedVariables() |
| 4299 |
instead of nrVariables() |
| 4300 |
|
| 4301 |
* sortConstraintTable.cc (constrainToSmallerSort2): use |
| 4302 |
getNrProtectedVariables() instead of nrVariables() |
| 4303 |
|
| 4304 |
* oneStep.cc (findNextRewrite): use getNrProtectedVariables() |
| 4305 |
instead of nrVariables() |
| 4306 |
|
| 4307 |
* variableInfo.hh (class VariableInfo): added enum Values with |
| 4308 |
MAX_NR_PROTECTED_VARIABLES since we cannot use -ve indices for |
| 4309 |
constructionIndices |
| 4310 |
(useIndex): was useConstructionIndex() but now we can call it on |
| 4311 |
any index |
| 4312 |
(class VariableInfo): decl for useConstructionIndex() becomes |
| 4313 |
useIndex() |
| 4314 |
|
| 4315 |
* conditionFragment.cc (compileBuild): call endOfFragment(); |
| 4316 |
|
| 4317 |
* variableInfo.hh (makeProtectedVariable): added |
| 4318 |
(endOfFragment): added |
| 4319 |
(useConstructionIndex): added |
| 4320 |
|
| 4321 |
* variableInfo.cc (makeAbstractionVariable): deleted |
| 4322 |
(allocateIndex): deleted |
| 4323 |
(VariableInfo): added |
| 4324 |
|
| 4325 |
* variableInfo.hh (nrVariables): deleted |
| 4326 |
(getNrRealVariables): added |
| 4327 |
(getNrProtectedVariables): added |
| 4328 |
(class VariableInfo): added decl for getNrRealVariables(), |
| 4329 |
getNrProtectedVariables(), makeProtectedVariable(), |
| 4330 |
makeConstructionIndex(), endOfFragment(), useConstructionIndex() |
| 4331 |
(class VariableInfo): deleted decls for nrVariables(), |
| 4332 |
makeAbstractionVariable() and allocateIndex() |
| 4333 |
|
| 4334 |
* preEquation.cc (PreEquation): delete lhsAutomaton |
| 4335 |
|
| 4336 |
===================================Engine60================================================== |
| 4337 |
|
| 4338 |
2000-07-21 Steven Eker <[email protected]> |
| 4339 |
|
| 4340 |
* conditionFragment.cc (solve): use safeConstruct() |
| 4341 |
|
| 4342 |
* rhsBuilder.hh (safeConstruct): added; this can be called even on |
| 4343 |
empty RhsBuilder |
| 4344 |
(class RhsBuilder): added decl for safeConstruct() |
| 4345 |
|
| 4346 |
* conditionFragment.cc (compileBuild): use compileTopRhs() (4 places) |
| 4347 |
(compileBuild): unmade previous change |
| 4348 |
|
| 4349 |
* preEquation.hh (class PreEquation): added decl for solveCondition() |
| 4350 |
|
| 4351 |
* preEquation.cc (solveCondition): added |
| 4352 |
(checkCondition): rewritten using solveCondition() |
| 4353 |
|
| 4354 |
* conditionState.hh (class ConditionState): rhsContext becomes a pointer |
| 4355 |
|
| 4356 |
* conditionFragment.cc (solve): added |
| 4357 |
|
| 4358 |
* conditionState.cc (ConditionState): use Substitution::copy() |
| 4359 |
|
| 4360 |
2000-07-18 Steven Eker <[email protected]> |
| 4361 |
|
| 4362 |
* equation.cc (compile): use compileTopRhs() |
| 4363 |
|
| 4364 |
* conditionFragment.hh (getType): made const |
| 4365 |
(getLhs): made const |
| 4366 |
(getRhs): made const |
| 4367 |
(getSort): made const |
| 4368 |
|
| 4369 |
2000-07-12 Steven Eker <[email protected]> |
| 4370 |
|
| 4371 |
* module.cc (indexSortConstraints): lhs() -> getLhs() |
| 4372 |
(indexEquations): lhs() -> getLhs() |
| 4373 |
(indexRules): lhs() -> getLhs() |
| 4374 |
(insertLateSymbol): lhs() -> getLhs() (3 places) |
| 4375 |
|
| 4376 |
* oneStep.cc (findNextRewrite): don't call copyProblemBindings() |
| 4377 |
(findNextRewrite): use getLhsAutomaton() instead of lhsAutomaton() |
| 4378 |
(findNextRewrite): use getRhsBuilder() instead of rhsAutomaton() |
| 4379 |
|
| 4380 |
* rhsBuilder.cc (dump): aliens -> automata |
| 4381 |
|
| 4382 |
* sortConstraintTable.cc (sortConstraintLt): use getSort() instead |
| 4383 |
of sort() |
| 4384 |
(constrainToSmallerSort2): use getLhsAutomaton() instead of |
| 4385 |
lhsAutomaton() |
| 4386 |
(constrainToSmallerSort2): use getSort() instead of sort() |
| 4387 |
|
| 4388 |
* ruleTable.cc (applyRules): use getUnboundVariables() instead of |
| 4389 |
variableSafe() |
| 4390 |
(applyRules): use getLhsAutomaton() instead of lhsAutomaton() |
| 4391 |
(applyRules): don't call copyProblemBindings() |
| 4392 |
(applyRules): use getRhsBuilder() instead of rhsAutomaton() (2 |
| 4393 |
places) |
| 4394 |
|
| 4395 |
* equationTable.cc (applyReplace): use getLhsAutomaton() instead |
| 4396 |
of lhsAutomaton() (2 places) |
| 4397 |
(applyReplace): use getRhsBuilder() instead of rhsAutomaton() (4 |
| 4398 |
places) |
| 4399 |
(applyReplace): don't call copyProblemBindings() |
| 4400 |
(dumpEquationTable): use getLhsAutomaton() instead of |
| 4401 |
lhsAutomaton() |
| 4402 |
(applyReplace): use getLhs() instead of lhs() |
| 4403 |
|
| 4404 |
* sortConstraint.cc (check): rewritten |
| 4405 |
(preprocess): use new names for things |
| 4406 |
(compile): rewritten |
| 4407 |
(SortConstraint): rewritten |
| 4408 |
|
| 4409 |
* sortConstraint.hh (class SortConstraint): updated ctor decl; |
| 4410 |
sort() -> getSort(); scSort -> sort; scCompiled -> compiled |
| 4411 |
(sort): becomes getSort() |
| 4412 |
|
| 4413 |
* rule.cc (apply): use builder instead of rhsAutomaton |
| 4414 |
|
| 4415 |
* rule.hh (label): becomes getLabel() |
| 4416 |
|
| 4417 |
* rule.cc (Rule): rewritten |
| 4418 |
(~Rule): don't delete rhsAutomaton |
| 4419 |
(check): rewritten |
| 4420 |
(preprocess): use new names for things; don't call addRhsVariables() |
| 4421 |
(compile): rewritten |
| 4422 |
(apply): check unboundVariables rather than variableSafeFlag |
| 4423 |
(apply): use getLhsAutomaton() instead of lhsAutomaton() |
| 4424 |
(apply): don't call copyProblemBindings() |
| 4425 |
|
| 4426 |
* rule.hh (class Rule): upated decl got ctor; decl for |
| 4427 |
getRhsBuilder() replaces decl for rhsAutomaton(); |
| 4428 |
(class Rule): label() -> getLabel(); ruleLabel -> label; ruleRhs |
| 4429 |
-> rhs; rlCompiled -> compiled; deleted data member |
| 4430 |
ruleProblemVariables; ruleRhsAutomaton replaced by data member |
| 4431 |
builder |
| 4432 |
(rhs): becomes getRhs() |
| 4433 |
(problemVariables): deleted |
| 4434 |
(variableSafe): deleted |
| 4435 |
(class Rule): deleted decl for variableSafe(); deleted data member |
| 4436 |
variableSafeFlag |
| 4437 |
(rhsAutomaton): becomes getRhsBuilder() |
| 4438 |
|
| 4439 |
* rhsBuilder.hh (construct): made const |
| 4440 |
(replace): made const |
| 4441 |
(class RhsBuilder): updated decls for construct() and replace() |
| 4442 |
|
| 4443 |
* equation.cc (Equation): don't clear rhsAutomaton |
| 4444 |
(Equation): don't delete rhsAutomaton |
| 4445 |
|
| 4446 |
* equation.hh (class Equation): deleted data member rhsAutomaton; |
| 4447 |
added data member builder; decl for getRhsAutomaton() becomes |
| 4448 |
getRhsBuilder() |
| 4449 |
(getRhsBuilder): added |
| 4450 |
(getRhsAutomaton): deleted |
| 4451 |
|
| 4452 |
* equation.cc (check): rewritten |
| 4453 |
(preprocess): don't call addRhsVariables() |
| 4454 |
(compile): rewritten |
| 4455 |
|
| 4456 |
* preEquation.hh (class PreEquation): updated decl for check() |
| 4457 |
|
| 4458 |
* preEquation.cc (check): pass back boundVariables set though |
| 4459 |
reference arg |
| 4460 |
|
| 4461 |
* equation.cc (Equation): rewritten |
| 4462 |
(~Equation): rewritten |
| 4463 |
|
| 4464 |
* equation.hh (class Equation): updated ctor decl; eqCompiled -> |
| 4465 |
compiled; eqRhsAutomaton -> rhsAutomaton; eqRhs -> rhs; rhs() -> |
| 4466 |
getRhs(); rhsAutomaton() -> getRhsAutomaton(); deleted |
| 4467 |
eqProblemVariables; deleted decl for problemVariables() |
| 4468 |
(rhs): becomes getRhs() |
| 4469 |
(rhsAutomaton): becomes getRhsAutomaton() |
| 4470 |
(problemVariables): deleted |
| 4471 |
|
| 4472 |
* conditionFragment.cc (compileBuild): set nrIndicesToProtect |
| 4473 |
|
| 4474 |
* conditionFragment.hh (class ConditionFragment): added data |
| 4475 |
member nrIndicesToProtect |
| 4476 |
|
| 4477 |
* preEquation.hh (class PreEquation): updated decl for check(); |
| 4478 |
added decls for compileBuild() and compileMatch(); deleted decl |
| 4479 |
for compile() |
| 4480 |
|
| 4481 |
* preEquation.cc (check): lose checkCondVars arg |
| 4482 |
(check): greatly simplified |
| 4483 |
(preprocess): simplified |
| 4484 |
(compileBuild): added |
| 4485 |
(compileMatch): added |
| 4486 |
(compile): deleted |
| 4487 |
|
| 4488 |
* variableInfo.hh (rhsVariables): deleted |
| 4489 |
(getUnboundVariables): added |
| 4490 |
|
| 4491 |
* conditionFragment.hh (class ConditionFragment): checkVariables() |
| 4492 |
decl -> check() |
| 4493 |
|
| 4494 |
* conditionFragment.cc (checkVariables): becomes check(); use |
| 4495 |
addUnboundVariables(); lose last arg |
| 4496 |
|
| 4497 |
* variableInfo.hh (class VariableInfo): deleted decl for |
| 4498 |
rhsVariables(); deleted data member rhsVars; deleted decl for |
| 4499 |
addRhsVariables(); added decl for getUnboundVariables(); added |
| 4500 |
decl for add UnboundVariables(); added data member |
| 4501 |
unboundVariables |
| 4502 |
(class VariableInfo): conditionVars -> conditionVariables; |
| 4503 |
conditionVariables() decl -> getConditionVariables() |
| 4504 |
(addUnboundVariables): added |
| 4505 |
(addRhsVariables): deleted |
| 4506 |
(conditionVariables): becomes getConditionVariables() |
| 4507 |
|
| 4508 |
* preEquation.cc (PreEquation): rewritten |
| 4509 |
(~PreEquation): rewritten |
| 4510 |
|
| 4511 |
* preEquation.hh (class PreEquation): deleted data members |
| 4512 |
peCondLhs, peCondRhs, peEagerVariables, peCondLhsAutomaton, |
| 4513 |
peCondRhsAutomaton, peProblemVariables; added data member |
| 4514 |
condition |
| 4515 |
(lhs): becomes getLhs() |
| 4516 |
(class PreEquation): peLhs -> lhs; peLhsAutomaton -> lhsAutomaton; |
| 4517 |
lhs() decl -> getLhs(); lhsAutomaton() -> getLhsAutomaton() |
| 4518 |
(condLhs): deleted |
| 4519 |
(condRhs): deleted |
| 4520 |
(getCondition): added |
| 4521 |
(hasCondition): use isNull() |
| 4522 |
(eagerVariables): deleted |
| 4523 |
(lhsAutomaton): becomes getLhsAutomaton() |
| 4524 |
(class PreEquation): added decl for getCondition(); deleted decls |
| 4525 |
for condLhs(), condRhs() and eagerVariables() |
| 4526 |
(class PreEquation): updated decl for ctor |
| 4527 |
(class PreEquation): deleted decl for setLhsAutomaton() (this |
| 4528 |
seems to be left over from 3 years ago!) |
| 4529 |
|
| 4530 |
2000-07-10 Steven Eker <[email protected]> |
| 4531 |
|
| 4532 |
* conditionFragment.hh (class ConditionFragment): added decls for |
| 4533 |
compileBuild() and compileMatch() |
| 4534 |
|
| 4535 |
* conditionFragment.cc (ConditionFragment): initialize lhsIndex |
| 4536 |
and rhsIndex |
| 4537 |
(~ConditionFragment): don't delete lhsBuilder or rhsBuilder |
| 4538 |
(~ConditionFragment): deepSelfDestruct() rhs |
| 4539 |
(compileBuild): added |
| 4540 |
(compileMatch): added |
| 4541 |
|
| 4542 |
* conditionFragment.hh (class ConditionFragment): added data |
| 4543 |
member builder |
| 4544 |
(class ConditionFragment): lhsBuilder and rhsBuilder become |
| 4545 |
lhsIndex and rhsIndex |
| 4546 |
|
| 4547 |
* core.hh: added forward decl for class ConditionFragment |
| 4548 |
|
| 4549 |
* rhsBuilder.hh (class RhsBuilder): added decl for empty() |
| 4550 |
(empty): added |
| 4551 |
|
| 4552 |
* core.hh: added forward declaration for class TrivialRhsAutomaton |
| 4553 |
|
| 4554 |
* trivialRhsAutomaton.hh: created |
| 4555 |
|
| 4556 |
* trivialRhsAutomaton.cc: created |
| 4557 |
|
| 4558 |
* variableInfo.hh (class VariableInfo): added decl for allocateIndex() |
| 4559 |
|
| 4560 |
* variableInfo.cc (allocateIndex): added |
| 4561 |
|
| 4562 |
* core.hh: added forward declarations for class TermBag and class |
| 4563 |
RhsBuilder |
| 4564 |
|
| 4565 |
* rhsBuilder.hh: created |
| 4566 |
|
| 4567 |
* rhsBuilder.cc: created |
| 4568 |
|
| 4569 |
* termBag.hh: created |
| 4570 |
|
| 4571 |
* termBag.cc: created |
| 4572 |
|
| 4573 |
===================================Engine59================================================== |
| 4574 |
|
| 4575 |
2000-07-05 Steven Eker <[email protected]> |
| 4576 |
|
| 4577 |
* core.hh: added forwards decls for class BindingLhsAutomaton and |
| 4578 |
class CopyRhsAutomaton |
| 4579 |
|
| 4580 |
* bindingLhsAutomaton.cc (match): only bind variable if match succeeds |
| 4581 |
|
| 4582 |
* copyRhsAutomaton.cc: created |
| 4583 |
|
| 4584 |
* copyRhsAutomaton.hh: created |
| 4585 |
|
| 4586 |
2000-07-03 Steven Eker <[email protected]> |
| 4587 |
|
| 4588 |
* bindingLhsAutomaton.hh: created |
| 4589 |
|
| 4590 |
* bindingLhsAutomaton.cc: created |
| 4591 |
|
| 4592 |
2000-06-30 Steven Eker <[email protected]> |
| 4593 |
|
| 4594 |
* conditionFragment.cc: created |
| 4595 |
|
| 4596 |
* conditionFragment.hh: created |
| 4597 |
|
| 4598 |
2000-06-26 Steven Eker <[email protected]> |
| 4599 |
|
| 4600 |
* variableInfo.hh (class VariableInfo): don't use NO_COPYING() |
| 4601 |
macro since we need to be able to copy objects of this class |
| 4602 |
afterall |
| 4603 |
|
| 4604 |
2000-06-23 Steven Eker <[email protected]> |
| 4605 |
|
| 4606 |
* variableInfo.cc (variable2Index): use equal() |
| 4607 |
(makeAbstractionVariable): append (Term*) 0 to variables |
| 4608 |
|
| 4609 |
* variableInfo.hh (class VariableInfo): variable2Index() takes |
| 4610 |
VariableTerm* rather than VariableSymbol*; index2Variable() |
| 4611 |
returns const Term* rather than VariableSymbol* |
| 4612 |
(class VariableInfo): data member variables is now Vector<Term*> |
| 4613 |
(class VariableInfo): use NO_COPYING() macro |
| 4614 |
(index2Variable): return const Term* |
| 4615 |
|
| 4616 |
===================================Engine58================================================== |
| 4617 |
|
| 4618 |
2000-05-23 Steven Eker <[email protected]> |
| 4619 |
|
| 4620 |
* preEquation.cc (preprocess): added AdvisoryCheck() for patterns |
| 4621 |
in error sort |
| 4622 |
|
| 4623 |
2000-04-05 Steven Eker <[email protected]> |
| 4624 |
|
| 4625 |
* rule.cc (apply): now that variable in conditions need not occur |
| 4626 |
in lhs we insist that any variable not occuring in the lhs be |
| 4627 |
bound; this fixes a bug that we introduced when we allowed the |
| 4628 |
more flexiable rule syntax |
| 4629 |
|
| 4630 |
2000-03-29 Steven Eker <[email protected]> |
| 4631 |
|
| 4632 |
* cachedDag.hh (getDag): added HACK to set sort info in created |
| 4633 |
dag if it is set in original term. This is to avoid a nasty bug |
| 4634 |
where a variable is bound to an identity dag which doesn't have |
| 4635 |
sort info and is then matched into via idempotency. |
| 4636 |
|
| 4637 |
2000-03-17 Steven Eker <[email protected]> |
| 4638 |
|
| 4639 |
* sortTable.cc (dumpSortDiagram): ifdef'd |
| 4640 |
|
| 4641 |
* sortTable.hh (class SortTable): use NO_COPYING() macro; ifdef'd |
| 4642 |
dumpSortDiagram() decl |
| 4643 |
|
| 4644 |
* sort.cc (dump): ifdef'd |
| 4645 |
|
| 4646 |
* sort.hh (class Sort): use NO_COPYING() macro; ifdef'd dump() |
| 4647 |
decl |
| 4648 |
|
| 4649 |
* module.cc (dump): ifdef'd |
| 4650 |
|
| 4651 |
* module.hh (class Module): ifdef'd dump() decl |
| 4652 |
|
| 4653 |
* localBinding.hh (class LocalBinding): use NO_COPYING() macro |
| 4654 |
|
| 4655 |
* localBinding.cc (dump): ifdef'd (both versions) |
| 4656 |
|
| 4657 |
* localBinding.hh (class LocalBinding): ifdef'd dump() decls |
| 4658 |
|
| 4659 |
* equationTable.cc (dumpEquationTable): ifdef'd |
| 4660 |
|
| 4661 |
* equationTable.hh (class EquationTable): ifdef'd |
| 4662 |
dumpEquationTable() decl |
| 4663 |
|
| 4664 |
* connectedComponent.cc (dump): ifdef'd |
| 4665 |
|
| 4666 |
* connectedComponent.hh (class ConnectedComponent): use |
| 4667 |
NO_COPYING() macro; ifdef'd dump() decl |
| 4668 |
|
| 4669 |
* module.cc (indexSortConstraints): standardized AdvisoryCheck() |
| 4670 |
(indexRules): standardized AdvisoryCheck() |
| 4671 |
(indexEquations): standardized AdvisoryCheck() |
| 4672 |
|
| 4673 |
* sortTable.cc (findMinSortIndex): standardized WarningCheck() |
| 4674 |
|
| 4675 |
2000-03-16 Steven Eker <[email protected]> |
| 4676 |
|
| 4677 |
* module.cc (insertLateSymbol): do postInterSymbolPass() if we |
| 4678 |
have closed fixups |
| 4679 |
|
| 4680 |
2000-03-14 Steven Eker <[email protected]> |
| 4681 |
|
| 4682 |
* connectedComponent.cc (findIndex): added Assert() to check sortCount |
| 4683 |
|
| 4684 |
2000-03-09 Steven Eker <[email protected]> |
| 4685 |
|
| 4686 |
* preEquation.cc (checkCondition): check for abort after condition |
| 4687 |
checked so we don't end up calling traceEndTrial() or |
| 4688 |
traceExhausted() during an abort |
| 4689 |
|
| 4690 |
2000-03-07 Steven Eker <[email protected]> |
| 4691 |
|
| 4692 |
* module.cc (insertSortConstraint): moved here, no longer inline |
| 4693 |
(insertEquation): moved here, no longer inline |
| 4694 |
(insertRule): moved here, no longer inline |
| 4695 |
|
| 4696 |
2000-03-06 Steven Eker <[email protected]> |
| 4697 |
|
| 4698 |
* rule.hh (class Rule): added decl for check() |
| 4699 |
|
| 4700 |
* module.cc (indexRules): moved call to preprocess |
| 4701 |
inside test for badness; actually nothing sets badness for rules |
| 4702 |
now as ther is no constraint of variables - we do this for |
| 4703 |
symmetry |
| 4704 |
|
| 4705 |
* module.hh (insertRule): call check() |
| 4706 |
|
| 4707 |
* rule.cc (check): added |
| 4708 |
(preprocess): simplified |
| 4709 |
|
| 4710 |
* module.cc (indexSortConstraints): moved call to preprocess |
| 4711 |
inside test for badness as badness flag is now set by check() |
| 4712 |
|
| 4713 |
* module.hh (insertSortConstraint): call check() |
| 4714 |
|
| 4715 |
* sortConstraint.hh (class SortConstraint): added decl for check(); |
| 4716 |
|
| 4717 |
* sortConstraint.cc (check): added |
| 4718 |
(preprocess): simplified |
| 4719 |
|
| 4720 |
* module.hh (insertEquation): call check() |
| 4721 |
|
| 4722 |
* equation.cc (check): added |
| 4723 |
|
| 4724 |
* equation.hh (class Equation): added decl for check() |
| 4725 |
|
| 4726 |
* module.cc (indexEquations): moved call to preprocess inside test |
| 4727 |
for badness as badness flag is now set by check() |
| 4728 |
|
| 4729 |
* equation.cc (preprocess): greatly simplified |
| 4730 |
|
| 4731 |
* preEquation.hh (class PreEquation): added decl for check() |
| 4732 |
|
| 4733 |
* preEquation.cc (check): added |
| 4734 |
(preprocess): greatly simplified |
| 4735 |
|
| 4736 |
* module.hh (class Module): added FIX_UPS_CLOSED to enum Status |
| 4737 |
|
| 4738 |
* module.cc (closeFixUps): added; now do interSymbol passes and |
| 4739 |
postInterSymbol pass here |
| 4740 |
(closeTheory): Assert now checks for FIX_UPS__CLOSED; no longer do |
| 4741 |
interSymbol passes and postInterSymbol pass here |
| 4742 |
|
| 4743 |
* module.hh (class Module): use NO_COPYING() macro |
| 4744 |
(class Module): added decl for closeFixUps(); |
| 4745 |
|
| 4746 |
===================================Engine56================================================== |
| 4747 |
|
| 4748 |
2000-02-15 Steven Eker <[email protected]> |
| 4749 |
|
| 4750 |
* module.cc (Module): revert to simple symbol deletion code; this |
| 4751 |
should now be safe as we will forbid dag node dtors from accessing |
| 4752 |
symbols |
| 4753 |
(notifyOfGC): deleted |
| 4754 |
|
| 4755 |
* module.hh (class Module): made closeSortSet(), closeSignature() |
| 4756 |
and closeTheory() virtual |
| 4757 |
(class Module): deleted static members virgin, seen1GC, |
| 4758 |
seen2OrMoreGCs |
| 4759 |
(class Module): deleted decl for notifyOfGC() |
| 4760 |
|
| 4761 |
2000-02-14 Steven Eker <[email protected]> |
| 4762 |
|
| 4763 |
* sort.cc (Sort): don't pass type arg to NamedEntity |
| 4764 |
|
| 4765 |
* module.cc (Module): don't pass type arg to NamedEntity |
| 4766 |
|
| 4767 |
* label.hh (Label): don't pass type arg to NamedEntity |
| 4768 |
|
| 4769 |
* namedEntity.hh (class NamedEntity): deleted enum EntityType, |
| 4770 |
data member etype and decl for type(); ctor no longer takes type; |
| 4771 |
name now const |
| 4772 |
(type): deleted |
| 4773 |
(NamedEntity): don't take type arg |
| 4774 |
|
| 4775 |
2000-01-31 Steven Eker <[email protected]> |
| 4776 |
|
| 4777 |
* sortTable.cc (generateSortDiagram): use struct Flags |
| 4778 |
|
| 4779 |
===================================Engine55================================================== |
| 4780 |
|
| 4781 |
2000-01-27 Steven Eker <[email protected]> |
| 4782 |
|
| 4783 |
* sort.cc (generateSortVector): added |
| 4784 |
|
| 4785 |
2000-01-24 Steven Eker <[email protected]> |
| 4786 |
|
| 4787 |
* sortTable.cc (minimize): only allow live decl to partially |
| 4788 |
subsume other live decls; in particular we need to avoid the case |
| 4789 |
where a cycle of subsumptions remove all decls! |
| 4790 |
(minimize): check that alive is not empty before taking min and |
| 4791 |
max |
| 4792 |
|
| 4793 |
2000-01-19 Steven Eker <[email protected]> |
| 4794 |
|
| 4795 |
* sortTable.cc (generateSortDiagram): renamed from compileSortDiagram() |
| 4796 |
|
| 4797 |
* sortTable.hh (class SortTable): added decl for compileSortDiagram() |
| 4798 |
(class SortTable): compileSortDiagram() -> generateSortDiagram() |
| 4799 |
|
| 4800 |
2000-01-18 Steven Eker <[email protected]> |
| 4801 |
|
| 4802 |
* sortTable.hh (class SortTable): added decls for |
| 4803 |
partiallySubsumes() and minimize() |
| 4804 |
|
| 4805 |
* sortTable.cc (partiallySubsumes): added |
| 4806 |
(minimize): added |
| 4807 |
(buildSortDiagram): call minimize |
| 4808 |
|
| 4809 |
1999-12-01 Steven Eker <[email protected]> |
| 4810 |
|
| 4811 |
* sort.hh (errorFreeMaximal): added |
| 4812 |
(class Sort): added decl for errorFreeMaximal(); |
| 4813 |
|
| 4814 |
1999-11-03 Steven Eker <[email protected]> |
| 4815 |
|
| 4816 |
* memoTable.cc (markReachableNodes): (SourceSet version) added; |
| 4817 |
(markReachableNodes): (MemoMap version) don't bother to check for |
| 4818 |
null pointers |
| 4819 |
(memoRewrite): rewritten to take and update sourceSet arg |
| 4820 |
(memoize): deleted |
| 4821 |
(memoEnter): added |
| 4822 |
|
| 4823 |
* memoTable.hh (class MemoTable): added member class SourceSet, |
| 4824 |
updated decl for memoRewrite(), replaced decl for memoize() with |
| 4825 |
that for memoEnter() |
| 4826 |
|
| 4827 |
1999-10-29 Steven Eker <[email protected]> |
| 4828 |
|
| 4829 |
* module.cc (clearMemo): added dynamic_cast hack; maybe it wasn't |
| 4830 |
such a good idea to split stuff off into Standard Symbol after all |
| 4831 |
|
| 4832 |
* memoTable.cc: added disambiguation to template arg dagNodeLt for |
| 4833 |
the benefit of egcs (on BeOS) |
| 4834 |
|
| 4835 |
1999-10-27 Steven Eker <[email protected]> |
| 4836 |
|
| 4837 |
* strategy.cc (setStrategy): don't set memo |
| 4838 |
|
| 4839 |
* strategy.hh (isMemoized): deleted |
| 4840 |
(class Strategy): deleted data member memo and decl for isMemoized() |
| 4841 |
|
| 4842 |
* memoTable.hh (class MemoTable): added decl for isMemoized(); |
| 4843 |
ctor now takes memoFlag arg |
| 4844 |
(class MemoTable): added memo data member |
| 4845 |
(isMemoized): added |
| 4846 |
(MemoTable): take memoFlag arg |
| 4847 |
|
| 4848 |
===================================Engine53================================================== |
| 4849 |
|
| 4850 |
1999-10-26 Steven Eker <[email protected]> |
| 4851 |
|
| 4852 |
* module.cc (indexSortConstraints): VariableTerm::dynamicCast() |
| 4853 |
-> dynamic_cast<VariableTerm*>() |
| 4854 |
(indexEquations): VariableTerm::dynamicCast() |
| 4855 |
-> dynamic_cast<VariableTerm*>() |
| 4856 |
(indexRules): VariableTerm::dynamicCast() |
| 4857 |
-> dynamic_cast<VariableTerm*>() |
| 4858 |
(insertLateSymbol): VariableTerm::dynamicCast() |
| 4859 |
-> dynamic_cast<VariableTerm*>() (*3) |
| 4860 |
|
| 4861 |
1999-10-25 Steven Eker <[email protected]> |
| 4862 |
|
| 4863 |
* memoTable.cc (memoRewrite): support tracing of memoized rewrites |
| 4864 |
|
| 4865 |
* equationTable.cc (applyReplace): updated call to |
| 4866 |
tracePreEqRewrite() |
| 4867 |
|
| 4868 |
* rewritingContext.hh (builtInReplace): updated call to |
| 4869 |
tracePreEqRewrite() |
| 4870 |
|
| 4871 |
* rewritingContext.cc (tracePreEqRewrite): added type arg |
| 4872 |
|
| 4873 |
* rewritingContext.hh (class RewritingContext): added enum |
| 4874 |
RewriteType |
| 4875 |
(class RewritingContext): added type arg to traceBeginEqTrial() |
| 4876 |
|
| 4877 |
1999-10-22 Steven Eker <[email protected]> |
| 4878 |
|
| 4879 |
* module.hh (class Module): added decl for clearMemo() |
| 4880 |
|
| 4881 |
* module.cc (Module): added call to clearMemo() |
| 4882 |
(clearMemo): added |
| 4883 |
|
| 4884 |
* memoTable.cc (~MemoTable): moved here |
| 4885 |
(clearMemo): moved here |
| 4886 |
|
| 4887 |
* strategy.cc (setStrategy): take memoFlag arg; set memo data |
| 4888 |
member; if we have an empty strategy and memoFlag is true; create |
| 4889 |
an eager strategy |
| 4890 |
(setStrategy): stdStrategy is always false if memoFlag is true |
| 4891 |
|
| 4892 |
* strategy.hh (class Strategy): added memo data member |
| 4893 |
(isMemoized): added |
| 4894 |
|
| 4895 |
* memoTable.hh (clear): renamed to clearMemo() to avoid possible |
| 4896 |
confusion in our subclasses |
| 4897 |
|
| 4898 |
* memoTable.cc (markReachableNodes): added |
| 4899 |
|
| 4900 |
* memoTable.hh (GC): added member class MemoMap |
| 4901 |
|
| 4902 |
1999-10-21 Steven Eker <[email protected]> |
| 4903 |
|
| 4904 |
* localBinding.cc (LocalBinding): greatly simplified |
| 4905 |
(~ocalBinding): deleted |
| 4906 |
(markReachableNodes): simplified |
| 4907 |
(dump): don't dump prev/next (both versions) |
| 4908 |
(dumpList): commented out |
| 4909 |
|
| 4910 |
* localBinding.hh (class LocalBinding): derive from |
| 4911 |
SimpleRootContainer; members deleted |
| 4912 |
(class LocalBinding): members of struct Binding reordered to favor |
| 4913 |
alpha |
| 4914 |
|
| 4915 |
* rewritingContext.hh (~RewritingContext): added |
| 4916 |
(RewritingContext): moved here from rewritingContext.cc and made |
| 4917 |
inline |
| 4918 |
|
| 4919 |
* rewritingContext.cc (RewritingContext): greatly simplified |
| 4920 |
(~RwritingContext): deleted |
| 4921 |
(markReachableNodes): greatly simplified |
| 4922 |
|
| 4923 |
* rewritingContext.hh (class RewritingContext): derive from |
| 4924 |
SimpleRootContainer; members deleted |
| 4925 |
|
| 4926 |
* dagRoot.hh (DagRoot): rewritten |
| 4927 |
(class DagRoot): derive from RootContainer; many members deleted |
| 4928 |
|
| 4929 |
* dagRoot.cc (markReachableNodes): rewritten |
| 4930 |
|
| 4931 |
* core.cc: handle implementation for SimpleRootContainer |
| 4932 |
|
| 4933 |
* core.hh: added forward decls for RootContainer and SimpleRootContainer |
| 4934 |
|
| 4935 |
* simpleRootContainer.hh: created |
| 4936 |
|
| 4937 |
* rootContainer.cc: created |
| 4938 |
|
| 4939 |
* rootContainer.hh: created |
| 4940 |
|
| 4941 |
1999-10-20 Steven Eker <[email protected]> |
| 4942 |
|
| 4943 |
* memoTable.hh: created |
| 4944 |
|
| 4945 |
* memoTable.cc: created |
| 4946 |
|
| 4947 |
1999-10-19 Steven Eker <[email protected]> |
| 4948 |
|
| 4949 |
* core.hh: added forward decl for DagNodeSet |
| 4950 |
|
| 4951 |
* dagNodeSet.hh: created |
| 4952 |
|
| 4953 |
* dagNodeSet.cc: created |
| 4954 |
|
| 4955 |
1999-10-14 Steven Eker <[email protected]> |
| 4956 |
|
| 4957 |
* sortConstraintTable.hh (class SortConstraintTable): added decl |
| 4958 |
for constraintToExactSort() |
| 4959 |
(constrainToSmallerSort): commented out as temporary measure |
| 4960 |
(constrainToExactSort): added |
| 4961 |
|
| 4962 |
===================================Engine52================================================= |
| 4963 |
|
| 4964 |
1999-08-05 Steven Eker <[email protected]> |
| 4965 |
|
| 4966 |
* oneStep.cc (findNextRewrite): call context.finished() just |
| 4967 |
before returning 0 |
| 4968 |
|
| 4969 |
1999-08-04 Steven Eker <[email protected]> |
| 4970 |
|
| 4971 |
* oneStep.cc (findNextRewrite): commented out call to |
| 4972 |
context.finished() since it loses pointers to fragile bindings |
| 4973 |
that we will need for future calls to findNextRewrite() |
| 4974 |
|
| 4975 |
1999-08-03 Steven Eker <[email protected]> |
| 4976 |
|
| 4977 |
* oneStep.cc (findNextRewrite): commented out unsafe |
| 4978 |
DagNode::okToCollectGarbage() |
| 4979 |
|
| 4980 |
1999-08-02 Steven Eker <[email protected]> |
| 4981 |
|
| 4982 |
* sortConstraintTable.hh (class SortConstraintTable): |
| 4983 |
sortConstraintLeqs -> ortConstraintLt |
| 4984 |
|
| 4985 |
* sortConstraintTable.cc (sortConstraintLeq): -> sortConstraintLt() |
| 4986 |
(orderSortConstraints): sortConstraintLeqs -> ortConstraintLt |
| 4987 |
|
| 4988 |
1999-07-30 Steven Eker <[email protected]> |
| 4989 |
|
| 4990 |
* sortConstraintTable.hh (class SortConstraintTable): decl for |
| 4991 |
compareSortConstraints replaced by decl for sortConstraintLeq() |
| 4992 |
|
| 4993 |
* sortConstraintTable.cc (orderSortConstraints): use STL sort function |
| 4994 |
(compareSortConstraints): becomes sortConstraintLeq() |
| 4995 |
|
| 4996 |
===================================Engine50================================================== |
| 4997 |
|
| 4998 |
1999-06-25 Steven Eker <[email protected]> |
| 4999 |
|
| 5000 |
* sortTable.hh (rangeComponent): commented const out of return type |
| 5001 |
|
| 5002 |
1999-06-01 Steven Eker <[email protected]> |
| 5003 |
|
| 5004 |
* substitution.hh (clear): replaced SPEED_HACK with VECTOR_HACK |
| 5005 |
|
| 5006 |
1999-05-12 Steven Eker <[email protected]> |
| 5007 |
|
| 5008 |
* sortTable.hh (class SortTable): deleted decl for |
| 5009 |
computeTrueSort() virtual function |
| 5010 |
|
| 5011 |
* module.cc (closeTheory): don't call finalizeSymbol() |
| 5012 |
(insertLateSymbol): don't call finalizeSymbol() |
| 5013 |
|
| 5014 |
1999-05-05 Steven Eker <[email protected]> |
| 5015 |
|
| 5016 |
* sortTable.hh (class SortTable): removed computeBaseSort(); we |
| 5017 |
want to dispatch this off Symbol rather than EquationTable to save |
| 5018 |
base pointer adjustments on call and function entry |
| 5019 |
|
| 5020 |
* equationTable.hh (class EquationTable): removed eqRewrite(); we |
| 5021 |
want to dispatch this off Symbol rather than EquationTable to save |
| 5022 |
base pointer adjustments on call and function entry |
| 5023 |
|
| 5024 |
* sortTable.cc (buildSortDiagram): compute singleNonErrorSort |
| 5025 |
correctly in constant case |
| 5026 |
|
| 5027 |
* module.cc (insertLateSymbol): call orderSortConstraints() and |
| 5028 |
finalizeSortInfo() after indexing sort constraints |
| 5029 |
|
| 5030 |
1999-05-04 Steven Eker <[email protected]> |
| 5031 |
|
| 5032 |
* sortTable.hh (class SortTable): added decl for |
| 5033 |
getSingleNonErrorSort() and data membersingleNonErrorSort |
| 5034 |
|
| 5035 |
* sortTable.cc (buildSortDiagram): compute singleNonErrorSort |
| 5036 |
(SortTable): initialize singleNonErrorSort to 0 |
| 5037 |
|
| 5038 |
1999-04-30 Steven Eker <[email protected]> |
| 5039 |
|
| 5040 |
* oneStep.cc (findNextRewrite): don't do final reduce because we |
| 5041 |
destroy the substitution in the context that we need to find the |
| 5042 |
next rewrite |
| 5043 |
|
| 5044 |
1999-04-29 Steven Eker <[email protected]> |
| 5045 |
|
| 5046 |
* oneStep.cc (findNextRewrite): fixed nasty bug where we were not |
| 5047 |
setting matchingSubproblem & extensionInfo to 0 after deleting |
| 5048 |
them and then deleting them a 2nd time in dtor |
| 5049 |
|
| 5050 |
|
| 5051 |
* oneStep.hh: created |
| 5052 |
|
| 5053 |
* oneStep.cc: created |
| 5054 |
|
| 5055 |
1999-04-23 Steven Eker <[email protected]> |
| 5056 |
|
| 5057 |
* sortTable.cc (canProduceErrorSort): handle constant case |
| 5058 |
|
| 5059 |
* connectedComponent.cc (ConnectedComponent): set errorFreeFlag = true |
| 5060 |
|
| 5061 |
* module.cc (closeSignature): adde code to decide which components |
| 5062 |
are error free |
| 5063 |
|
| 5064 |
* sortTable.cc (canProduceErrorSort): added |
| 5065 |
|
| 5066 |
* sortTable.hh (class SortTable): added decl for |
| 5067 |
(specialSortHandling): made const |
| 5068 |
|
| 5069 |
* connectedComponent.hh (class ConnectedComponent): added data |
| 5070 |
member errorFreeFlag; made nrMaxSorts a short |
| 5071 |
(errorSortSeen): added |
| 5072 |
(errorFree): addedcanProduceErrorSort() |
| 5073 |
|
| 5074 |
1999-04-22 Steven Eker <[email protected]> |
| 5075 |
|
| 5076 |
* sortTable.hh (domainComponent): moved here and made inline |
| 5077 |
(rangeComponent): moved here and made inline |
| 5078 |
(specialSortHandling): added so that Symbol::mightMatchSymbol() |
| 5079 |
can know if can depend on looking at op decls |
| 5080 |
(lookupSort): commented out; we might not really need it; now |
| 5081 |
deleted |
| 5082 |
|
| 5083 |
|
| 5084 |
1999-04-21 Steven Eker <[email protected]> |
| 5085 |
|
| 5086 |
* sortTable.cc (rangeComponent): don't use componentVector since |
| 5087 |
it not guarenteed to be set up |
| 5088 |
(domainComponent): don't use componentVector |
| 5089 |
|
| 5090 |
1999-04-20 Steven Eker <[email protected]> |
| 5091 |
|
| 5092 |
* sortTable.hh (class SortTable): rangeComponent() and |
| 5093 |
domainComponent() made non-virtual |
| 5094 |
|
| 5095 |
|
| 5096 |
* complexSort.cc (ComplexSort): use instance free version of |
| 5097 |
rangeComponent() |
| 5098 |
|
| 5099 |
* sortTable.cc (rangeComponent): (instace version) deleted |
| 5100 |
|
| 5101 |
* sortTable.hh (class SortTable): deleted decl for instance |
| 5102 |
version of rangeComponent(); |
| 5103 |
|
| 5104 |
===================================Engine48================================================== |
| 5105 |
===================================Maude 1.0.2 released======================================= |
| 5106 |
===================================Maude 1.0.1 released======================================= |
| 5107 |
|
| 5108 |
1999-03-03 Steven Eker <[email protected]> |
| 5109 |
|
| 5110 |
* equation.hh (fastNrVariables): added |
| 5111 |
(class Equation): added decl for fastNrVariables() |
| 5112 |
(class Equation): rearranged data members to optimize processor |
| 5113 |
data cache usage! |
| 5114 |
|
| 5115 |
* equationTable.cc (applyReplace): added fast case |
| 5116 |
|
| 5117 |
* equation.hh (class Equation): added fast data member |
| 5118 |
|
| 5119 |
* equation.cc (compile): set fast data member |
| 5120 |
|
| 5121 |
1999-02-19 Steven Eker <[email protected]> |
| 5122 |
|
| 5123 |
* equationTable.cc (applyReplace): added SPEED_HACK for equations |
| 5124 |
(applyReplace): unmade change because it loses! |
| 5125 |
|
| 5126 |
1999-02-18 Steven Eker <[email protected]> |
| 5127 |
|
| 5128 |
* substitution.hh (clear): clear 1 value even in the size = 0 |
| 5129 |
case; this allows us to use a do-while() loop |
| 5130 |
|
| 5131 |
* substitution.cc: initialize allocateSize to 1 rather than 0 |
| 5132 |
|
| 5133 |
* rewritingContext.hh (copyProblemBindings): use isNull() |
| 5134 |
|
| 5135 |
* ruleTable.hh (ruleFree): use isNull() |
| 5136 |
|
| 5137 |
* sortConstraintTable.hh (sortConstraintFree): use isNull() |
| 5138 |
|
| 5139 |
* equationTable.hh (equationFree): use isNull() |
| 5140 |
|
| 5141 |
===================================VectorExperiment========================================== |
| 5142 |
|
| 5143 |
1999-02-03 Steven Eker <[email protected]> |
| 5144 |
|
| 5145 |
* rule.cc (preprocess): use fillInSortInfo() rather than |
| 5146 |
parse(); don't bother with Assert() |
| 5147 |
|
| 5148 |
* preEquation.cc (preprocess): use fillInSortInfo() rather than |
| 5149 |
parse(); don't bother with Assert() (3 places) |
| 5150 |
|
| 5151 |
* equation.cc (preprocess): use fillInSortInfo() rather than |
| 5152 |
parse(); don't bother with Assert() |
| 5153 |
|
| 5154 |
* sortTable.hh (class SortTable): deleted decl for parse(); added |
| 5155 |
decl for fillInSortInfo() |
| 5156 |
|
| 5157 |
1999-02-02 Steven Eker <[email protected]> |
| 5158 |
|
| 5159 |
* sortTable.cc (buildSortDiagram): build "all" NatSet in reverse |
| 5160 |
order for efficiency |
| 5161 |
(buildSortDiagram): make "viable" NatSet static and use |
| 5162 |
makeEmpty() to clear it |
| 5163 |
(buildSortDiagram): make "nextState" NatSet static and use |
| 5164 |
assignment to initialize it |
| 5165 |
(findMinSortIndex): reorganized - do state test first |
| 5166 |
(findMinSortIndex): make NatSet infSoFar and initialize it with assignment |
| 5167 |
(findMinSortIndex): reorganized innermost test |
| 5168 |
(findMinSortIndex): extreme simplification of innermost test |
| 5169 |
|
| 5170 |
===================================Engine47================================================== |
| 5171 |
===================================Maude 1.00 released======================================= |
| 5172 |
|
| 5173 |
1999-01-21 Steven Eker <[email protected]> |
| 5174 |
|
| 5175 |
* module.cc (~Module): implemeted delayed deletion policy for symbols |
| 5176 |
|
| 5177 |
* module.hh (class Module): added static data members virgin, |
| 5178 |
seen1GC, seen2OrMoreGCs; added decl for notifyOfGC() |
| 5179 |
|
| 5180 |
* module.cc (notifyOfGC): added |
| 5181 |
|
| 5182 |
1999-01-20 Steven Eker <[email protected]> |
| 5183 |
|
| 5184 |
* connectedComponent.cc (ConnectedComponent): replaced |
| 5185 |
ErrorCheck()s by IssueWarning()s and markAsBad()s |
| 5186 |
|
| 5187 |
1999-01-15 Steven Eker <[email protected]> |
| 5188 |
|
| 5189 |
* sortTable.cc (lookupSortIndex): made IntSet currentStates, |
| 5190 |
Vector<int> maxSorts and IntSet nextStates static |
| 5191 |
|
| 5192 |
===================================Engine46================================================== |
| 5193 |
|
| 5194 |
1999-01-05 Steven Eker <[email protected]> |
| 5195 |
|
| 5196 |
* equation.cc (preprocess): fixed similar bug |
| 5197 |
|
| 5198 |
* rule.cc (preprocess): fixed similar bug |
| 5199 |
|
| 5200 |
* preEquation.cc (preprocess): fixed nasty bug where we were |
| 5201 |
calling Symbol::parse() inside Assert() (used to be inside |
| 5202 |
ErrorCheck()) and thus were failing to fill in sorts when compiled |
| 5203 |
with NO_ASSERT |
| 5204 |
|
| 5205 |
1998-12-23 Steven Eker <[email protected]> |
| 5206 |
|
| 5207 |
* sortConstraint.cc (preprocess): don't do Asserts for bad |
| 5208 |
equations |
| 5209 |
|
| 5210 |
* rule.cc (preprocess): don't do any more processing if |
| 5211 |
PreEquation::process) sets bad flag |
| 5212 |
(preprocess): changed ErrorCheck() to Assert() for rhs failed to |
| 5213 |
parse |
| 5214 |
(preprocess): changed ErrorCheck() to Assert() for component clash |
| 5215 |
|
| 5216 |
* equation.cc (preprocess): if bad after PreEquation |
| 5217 |
preprocessing, return |
| 5218 |
(preprocess): ErrorCheck() changed to IssueWarning() for variable |
| 5219 |
in rhs not in lhs |
| 5220 |
|
| 5221 |
* preEquation.cc (preprocess): ErrorCheck() changed to |
| 5222 |
IssueWarning() for variable in condition lhs not in lhs |
| 5223 |
(preprocess): ErrorCheck() changed to Assert() for lhs of |
| 5224 |
condition failed to parse |
| 5225 |
(preprocess): ErrorCheck() changed to IssueWarning() for |
| 5226 |
variable in condition rhs not in lhs |
| 5227 |
(preprocess): ErrorCheck() changed to Assert() for rhs of |
| 5228 |
condition failed to parse |
| 5229 |
(preprocess): ErrorCheck() changed to Assert() for condition |
| 5230 |
component clash |
| 5231 |
(preprocess): ErrorCheck() changed to Assert() for lhs failed to |
| 5232 |
parse |
| 5233 |
|
| 5234 |
* module.cc (indexEquations): don't index bad equations |
| 5235 |
(indexRules): don't index bad rules |
| 5236 |
(indexSortConstraints): don't index bad sort constraints |
| 5237 |
(insertLateSymbol): don't offer bad rules |
| 5238 |
(insertLateSymbol): don't offer bad equations |
| 5239 |
(insertLateSymbol): don't offer bad sort constraints |
| 5240 |
|
| 5241 |
* core.cc: provide implementation for class BadFlag |
| 5242 |
|
| 5243 |
* module.hh (class Module): derive from class BadFlag |
| 5244 |
|
| 5245 |
* preEquation.hh (class PreEquation): derive from class BadFlag |
| 5246 |
|
| 5247 |
* badFlag.hh (class BadFlag): created |
| 5248 |
|
| 5249 |
1998-12-21 Steven Eker <[email protected]> |
| 5250 |
|
| 5251 |
* equation.cc (preprocess): turned Assert() for "variable in rhs not |
| 5252 |
in lhs" into an ErrorCheck(); added line number and equation to |
| 5253 |
the message |
| 5254 |
|
| 5255 |
===================================Engine45================================================== |
| 5256 |
|
| 5257 |
Tue Dec 15 16:33:54 1998 Steven Eker <[email protected]> |
| 5258 |
|
| 5259 |
* sortConstraint.cc (preprocess): Changed ErrorCheck() to Assert() |
| 5260 |
for lhs/sort component check since mixfix fornt end should not |
| 5261 |
allow the user to make this mistake |
| 5262 |
|
| 5263 |
* sortTable.cc (compileOpDeclarations): ifdef'd check on |
| 5264 |
components for subsort overloaded operator declarations; use |
| 5265 |
Assert() rather than ErrorCheck() |
| 5266 |
|
| 5267 |
Mon Nov 30 11:53:37 1998 Steven Eker <[email protected]> |
| 5268 |
|
| 5269 |
* ruleTable.cc (applyRules): more decl of sp inside loop |
| 5270 |
(applyRules): call traceAbort(); tidy up and return 0 if aborting |
| 5271 |
|
| 5272 |
* preEquation.cc (checkCondition): call traceAbort(); we return |
| 5273 |
true rather than false when aborting in the hope that this will |
| 5274 |
allow the caller to abort more quickly (rather than trying to |
| 5275 |
match the next eq/rl/sc |
| 5276 |
|
| 5277 |
Wed Nov 25 10:44:47 1998 Steven Eker <[email protected]> |
| 5278 |
|
| 5279 |
* rewritingContext.hh (builtInReplace): call traceAbort(); now we |
| 5280 |
return a bool; false if we're aborting |
| 5281 |
|
| 5282 |
* equationTable.cc (applyReplace): first attempt at handling traceAbort() |
| 5283 |
(applyReplace): now call tracePreEqRewrite() before traceAbort() |
| 5284 |
(applyReplace): moved decl fo var sp inside loop - may help code |
| 5285 |
optimizer |
| 5286 |
(applyReplace): small reorg of control structures |
| 5287 |
(applyReplace): do copyProblemBindings() after testing trace |
| 5288 |
|
| 5289 |
* rewritingContext.cc (traceAbort): added |
| 5290 |
|
| 5291 |
* rewritingContext.hh (class RewritingContext): added decl for |
| 5292 |
virtual member fn traceAbort() |
| 5293 |
|
| 5294 |
Mon Nov 16 09:24:55 1998 Steven Eker <[email protected]> |
| 5295 |
|
| 5296 |
* rewritingContext.hh (builtInReplace): added |
| 5297 |
|
| 5298 |
* rewritingContext.cc (makeSubcontext): changed arg decl |
| 5299 |
|
| 5300 |
* rewritingContext.hh (class RewritingContext): pass |
| 5301 |
makeSubcontext() perpose arg as int rather than Purpose so that |
| 5302 |
derived classes can expand the set of purposes. |
| 5303 |
|
| 5304 |
* ruleTable.cc (applyRules): use getTraceStatus() rather than |
| 5305 |
traceStatus() |
| 5306 |
|
| 5307 |
* rule.cc (apply): use getTraceStatus() rather than traceStatus() |
| 5308 |
|
| 5309 |
* preEquation.cc (checkCondition): use getTraceStatus() rather |
| 5310 |
than traceStatus() (3 places) |
| 5311 |
|
| 5312 |
* equationTable.cc (applyReplace): use getTraceStatus() rather |
| 5313 |
than traceStatus() |
| 5314 |
|
| 5315 |
* rewritingContext.cc (RewritingContext): no longer set trace status |
| 5316 |
(makeSubcontext): don't pass trace status to RewritingContext() |
| 5317 |
|
| 5318 |
* rewritingContext.hh (class RewritingContext): trace flag is now |
| 5319 |
a static data member |
| 5320 |
(class RewritingContext): ctor no longer takes traceStatus flag |
| 5321 |
(class RewritingContext): added decls for getTraceStatus() and |
| 5322 |
setTraceStatus() |
| 5323 |
(traceStatus): deleted |
| 5324 |
(getTraceStatus): added |
| 5325 |
(setTraceStatus): added |
| 5326 |
|
| 5327 |
Tue Nov 3 19:14:14 1998 Steven Eker <[email protected]> |
| 5328 |
|
| 5329 |
* preEquation.hh (class PreEquation): derive from LineNumber |
| 5330 |
|
| 5331 |
* module.hh (class Module): derive from LineNumber |
| 5332 |
|
| 5333 |
* sort.hh (class Sort): derive from LineNumber |
| 5334 |
|
| 5335 |
===================================Engine43================================================== |
| 5336 |
|
| 5337 |
Mon Oct 26 09:36:48 1998 Steven Eker <[email protected]> |
| 5338 |
|
| 5339 |
* core.cc: provide implementation for SymbolMap |
| 5340 |
|
| 5341 |
Fri Oct 23 17:48:18 1998 Steven Eker <[email protected]> |
| 5342 |
|
| 5343 |
* sort.hh (class Sort): added back decl for getSupersorts() - we |
| 5344 |
need this for hierarchical module importation. |
| 5345 |
(getSupersorts): added back; actually we may not need this |
| 5346 |
function after all but we'll leave it in for now |
| 5347 |
|
| 5348 |
Thu Oct 15 13:46:43 1998 Steven Eker <[email protected]> |
| 5349 |
|
| 5350 |
* core.cc: no longer provide implementation of class CachedDag |
| 5351 |
|
| 5352 |
* cachedDag.cc: created |
| 5353 |
|
| 5354 |
* cachedDag.hh (class CachedDag): added decls for normalize() and |
| 5355 |
prepare() |
| 5356 |
(normalize): added |
| 5357 |
|
| 5358 |
Wed Oct 14 11:25:37 1998 Steven Eker <[email protected]> |
| 5359 |
|
| 5360 |
* cachedDag.hh (getTerm): added |
| 5361 |
(class CachedDag): added decl for getTerm() |
| 5362 |
(setTerm): cannot delete term here because we may be replacing |
| 5363 |
term with part of itself (in normalization case) |
| 5364 |
|
| 5365 |
* core.cc: provide implementation of class CachedDag |
| 5366 |
|
| 5367 |
* core.hh: added fwd decl for class CachedDag |
| 5368 |
|
| 5369 |
* cachedDag.hh: created |
| 5370 |
|
| 5371 |
===================================Engine42================================================== |
| 5372 |
|
| 5373 |
Thu Oct 8 10:27:05 1998 Steven Eker <[email protected]> |
| 5374 |
|
| 5375 |
* lineNumber.hh (class LineNumber): fixed setLineNumber() decl |
| 5376 |
|
| 5377 |
* connectedComponent.cc (ConnectedComponent): don't set errorFreeFlag |
| 5378 |
|
| 5379 |
* connectedComponent.hh (class ConnectedComponent): deleted decl |
| 5380 |
for errorFree() |
| 5381 |
(class ConnectedComponent): deleted data member errorFreeFlag |
| 5382 |
(errorFree): deleted |
| 5383 |
(flagErrorPossible): deleted |
| 5384 |
(class ConnectedComponent): deleted decl for flagErrorPossible() |
| 5385 |
|
| 5386 |
* lineNumber.hh (getLineNumber): added |
| 5387 |
(setLineNumber): added |
| 5388 |
|
| 5389 |
* sort.cc (computeLeqSorts): changed definition of sortTest along |
| 5390 |
the lines of Pats idea: fastTest for sort s is the smallest |
| 5391 |
integer such that all sorts with index >= fastTest are <= s |
| 5392 |
|
| 5393 |
Fri Oct 2 10:46:21 1998 Steven Eker <[email protected]> |
| 5394 |
|
| 5395 |
* sort.cc (computeLeqSorts): simplified |
| 5396 |
|
| 5397 |
Thu Oct 1 16:29:27 1998 Steven Eker <[email protected]> |
| 5398 |
|
| 5399 |
* sort.cc (computeLeqSorts): compute the value of fastTest |
| 5400 |
(dump): dump fastTest |
| 5401 |
|
| 5402 |
* sort.hh (class Sort): added data member fastTest |
| 5403 |
(leq): (int,Sort*) version, use fastTest |
| 5404 |
|
| 5405 |
===================================Engine41================================================== |
| 5406 |
|
| 5407 |
Fri Sep 25 17:06:02 1998 Steven Eker <[email protected]> |
| 5408 |
|
| 5409 |
* core.hh: added forward decl for LineNumber |
| 5410 |
|
| 5411 |
* lineNumber.hh: created |
| 5412 |
|
| 5413 |
Fri Sep 18 17:35:19 1998 Steven Eker <[email protected]> |
| 5414 |
|
| 5415 |
* connectedComponent.cc (findMaximalSorts): added 2nd version; |
| 5416 |
eventually 1st version should be defined in terms of this |
| 5417 |
|
| 5418 |
* connectedComponent.hh (class ConnectedComponent): added decl for |
| 5419 |
2nd findMaximalSorts() |
| 5420 |
|
| 5421 |
* sort.hh (class Sort): deleted all remaining <=() decls |
| 5422 |
|
| 5423 |
* connectedComponent.cc (getLeqSorts): added |
| 5424 |
|
| 5425 |
* connectedComponent.hh (class ConnectedComponent): added decl for |
| 5426 |
getLeqSorts() |
| 5427 |
|
| 5428 |
Thu Sep 17 10:26:45 1998 Steven Eker <[email protected]> |
| 5429 |
|
| 5430 |
* Makefile: removed sortCode.o from MODULES |
| 5431 |
|
| 5432 |
* complexSort.hh: removed data member sortCode |
| 5433 |
|
| 5434 |
* complexSort.cc (operator<<): rewritten without sort codes |
| 5435 |
(ComplexSort): removed sort codes from all ctors |
| 5436 |
|
| 5437 |
* sortTable.cc (buildSortDiagram): use leq(Sort*, Sort*) |
| 5438 |
(findMinSortIndex): rewritten using leqSorts |
| 5439 |
|
| 5440 |
* connectedComponent.hh (class ConnectedComponent): added decl for |
| 5441 |
new findIndex() |
| 5442 |
|
| 5443 |
* connectedComponent.cc (findIndex): reimplemented using leqSorts |
| 5444 |
|
| 5445 |
* sortTable.hh: delete decl for both versions of lookupUnionSort() |
| 5446 |
|
| 5447 |
* sortTable.cc (lookupSortIndex): added |
| 5448 |
(lookupUnionSort): deleted both versions |
| 5449 |
|
| 5450 |
* complexSort.hh (class ComplexSort): temp hacks to deal with not |
| 5451 |
having sort codes |
| 5452 |
|
| 5453 |
* sortTable.hh (class SortTable): added decl for lookupSortIndex() |
| 5454 |
|
| 5455 |
* sort.hh (leq): (Sort*,Sort*) version added |
| 5456 |
(leq): (int, Sort*) version added |
| 5457 |
(leq): (Sort*, int) version added |
| 5458 |
(operator<=): deleted both versions |
| 5459 |
(class Sort): added friend decls for all 3 leq() functions; |
| 5460 |
deleted friend decls for all 3 <=() functions |
| 5461 |
|
| 5462 |
* connectedComponent.hh (class ConnectedComponent): added decl for |
| 5463 |
leq(); delete decl for unionSortLeq() |
| 5464 |
|
| 5465 |
* connectedComponent.cc (leq): added |
| 5466 |
(unionSortLeq): deleted |
| 5467 |
|
| 5468 |
* sortConstraintTable.cc (constrainToSmallerSort2): use sort |
| 5469 |
indices and leq functions rather than sort codes and <=; use |
| 5470 |
DagNode::setSortIndex() rather than DagNode::setSortInfo() |
| 5471 |
|
| 5472 |
* core.cc: deleted template instantiation for class |
| 5473 |
Vector<SortCode> and class Vector<Sort**> |
| 5474 |
|
| 5475 |
|
| 5476 |
* core.hh: deleted forward decl of class SortCode |
| 5477 |
|
| 5478 |
* sortCode.cc: deleted |
| 5479 |
|
| 5480 |
* sortCode.hh: deleted |
| 5481 |
|
| 5482 |
* sort.hh (getLeqSorts): added |
| 5483 |
(class Sort): added decl for getLeqSorts() |
| 5484 |
|
| 5485 |
* connectedComponent.hh (class ConnectedComponent): update decl |
| 5486 |
for findMaximalSorts(), deleted decl for findIndex(), added decl |
| 5487 |
for unionSortLeq() |
| 5488 |
|
| 5489 |
* connectedComponent.cc (ConnectedComponent): call |
| 5490 |
processSubsorts() rather than insertLesserSorts(); call |
| 5491 |
computeLeqSorts() rather than computeSortCode() |
| 5492 |
(findMaximalSorts): first arg now an int; stub only |
| 5493 |
(findIndex): deleted |
| 5494 |
(unionSortLeq): added |
| 5495 |
|
| 5496 |
* connectedComponent.hh (class ConnectedComponent): added data |
| 5497 |
member unionSorts |
| 5498 |
|
| 5499 |
Wed Sep 16 17:17:24 1998 Steven Eker <[email protected]> |
| 5500 |
|
| 5501 |
* sort.cc (insertLesserSorts): becomes processSubsorts(); don't |
| 5502 |
need argument because we know which is out connected component |
| 5503 |
(computeSortCode): becomes computeLeqSorts(); work on leqSorts |
| 5504 |
rather than sortCode |
| 5505 |
(dump): don't dump sortCode (maybe we should dump other stuff?) |
| 5506 |
|
| 5507 |
* sort.hh (class Sort): deleted decls for getSupersorts(), code() |
| 5508 |
(class Sort): decl for insertLesserSorts() becomes |
| 5509 |
processSubsorts(), losing argument; computeSortCode() becomes |
| 5510 |
computeLeqSorts() |
| 5511 |
(class Sort): deleted data member sortCode, added data member leqSorts |
| 5512 |
(class Sort): move sortIndex and nrUnresolvedSupersorts into an |
| 5513 |
anonymous union |
| 5514 |
(getSupersorts): deleted |
| 5515 |
(code): deleted |
| 5516 |
(operator<=): (Sort& version) reimplemented using leqSorts rather |
| 5517 |
than sortCode |
| 5518 |
(operator<=): (int version) reimplemented using leqSorts rather |
| 5519 |
than sortCode; we don't allow -ve sort indices (which would |
| 5520 |
technically refer to unknown sort or union sorts) |
| 5521 |
|
| 5522 |
Fri Sep 11 14:37:37 1998 Steven Eker <[email protected]> |
| 5523 |
|
| 5524 |
* sortCheckSubproblem.cc (SortCheckSubproblem): SortCode -> Sort |
| 5525 |
(solve): SortCode -> Sort |
| 5526 |
|
| 5527 |
* sortCheckSubproblem.hh (class SortCheckSubproblem): SortCode -> |
| 5528 |
Sort throughout |
| 5529 |
|
| 5530 |
* sort.hh (operator<=): (int, Sort&) added |
| 5531 |
(operator>=): deleted |
| 5532 |
(class Sort): deleted dec for >=(int), added decl for <=(int, |
| 5533 |
Sort&) |
| 5534 |
(class Sort): added decl for <=(Term*, Sort&) |
| 5535 |
|
| 5536 |
* sortTable.cc (compileOpDeclarations): deleted code for setting |
| 5537 |
up dimensionVector |
| 5538 |
|
| 5539 |
* sortTable.hh (class SortTable): deleted dimensionVector |
| 5540 |
|
| 5541 |
Thu Sep 10 10:00:04 1998 Steven Eker <[email protected]> |
| 5542 |
|
| 5543 |
* sort.hh (operator>=): added |
| 5544 |
(class Sort): added decl for operator>=() |
| 5545 |
|
| 5546 |
* sortTable.hh (lookupSort): fixed bug were we were return a sort |
| 5547 |
from the wrong component |
| 5548 |
|
| 5549 |
* sortTable.cc (lookupUnionSort): temporary hack to use |
| 5550 |
lookupSort() rather than sortTable; This will change once bit |
| 5551 |
vectors are replaced |
| 5552 |
|
| 5553 |
* sortTable.hh (class SortTable): updated decl for |
| 5554 |
dumpSortDiagram(); deleted decl for adjustSort(), dumpSortTable(), |
| 5555 |
dumpSortAndTab(), findMinResultSort(), incrementSortVector(), |
| 5556 |
buildSortTable() |
| 5557 |
(class SortTable): deleted data member sortTable; |
| 5558 |
|
| 5559 |
|
| 5560 |
* sortTable.cc (findMinResultSort): deleted |
| 5561 |
(incrementSortVector): deleted |
| 5562 |
(buildSortTable): deleted |
| 5563 |
(compileOpDeclarations): don't call buildSortTable() |
| 5564 |
(adjustSort): deleted |
| 5565 |
(dumpSortDiagram): take stream and indent level args |
| 5566 |
(dumpSortAndTab): deleted |
| 5567 |
(dumpSortTable): deleted |
| 5568 |
|
| 5569 |
* rewritingContext.hh (count): use Int64 |
| 5570 |
(incrementCount): use Int64 |
| 5571 |
(class RewritingContext): rewriteCount becomes an Int64; updated |
| 5572 |
decls for |
| 5573 |
|
| 5574 |
* sortTable.hh (class SortTable): added decl for dumpSortDiagram() |
| 5575 |
|
| 5576 |
* sortTable.cc (dumpSortDiagram): added |
| 5577 |
(compileOpDeclarations): call buildSortDiagram() and dumpSortDiagram() |
| 5578 |
|
| 5579 |
* sortTable.hh (lookupSort): reimplemented interms of traverse() - |
| 5580 |
this is a temporary measure; evetually callers will use traverse() |
| 5581 |
to avoid copying sort indices into a vector first. |
| 5582 |
|
| 5583 |
* sortTable.cc (buildSortDiagram): handle nrArgs == 0 case |
| 5584 |
|
| 5585 |
Wed Sep 9 18:05:11 1998 Steven Eker <[email protected]> |
| 5586 |
|
| 5587 |
* sortTable.hh (class SortTable): added data member sortDiagram |
| 5588 |
(class SortTable): added decls for buildSortDiagram(), |
| 5589 |
findStateNumber() and findMinSortIndex() |
| 5590 |
(traverse): added |
| 5591 |
(class SortTable): added decl for traverse() |
| 5592 |
|
| 5593 |
* sortTable.cc (buildSortDiagram): added |
| 5594 |
(findStateNumber): added |
| 5595 |
(findMinSortIndex): added |
| 5596 |
|
| 5597 |
===================================Engine40================================================== |
| 5598 |
|
| 5599 |
Fri Jul 17 19:05:20 1998 Steven Eker <[email protected]> |
| 5600 |
|
| 5601 |
* symbolMap.hh (class SymbolMap): created |
| 5602 |
|
| 5603 |
===================================Engine39================================================== |
| 5604 |
|
| 5605 |
Thu Jul 2 15:20:38 1998 Steven Eker <[email protected]> |
| 5606 |
|
| 5607 |
* complexSort.cc (ComplexSort): added ctor for Term* case |
| 5608 |
|
| 5609 |
* complexSort.hh (class ComplexSort): added ctor decl for Term* case |
| 5610 |
|
| 5611 |
Tue Jun 30 10:53:38 1998 Steven Eker <[email protected]> |
| 5612 |
|
| 5613 |
* sort.hh (getSupersorts): added |
| 5614 |
(class Sort): added decl for getSupersorts() |
| 5615 |
(operator<=): added on const Sort& |
| 5616 |
|
| 5617 |
Tue Jun 16 15:59:24 1998 Steven Eker <[email protected]> |
| 5618 |
|
| 5619 |
* module.cc (insertLateSymbol): call setModuleInfo() on late symbol |
| 5620 |
|
| 5621 |
Thu Jun 11 17:36:18 1998 Steven Eker <[email protected]> |
| 5622 |
|
| 5623 |
* termSet.cc (insert): cast PointerSet::insert() return value to void |
| 5624 |
|
| 5625 |
Wed Jun 10 11:29:35 1998 Steven Eker <[email protected]> |
| 5626 |
|
| 5627 |
* equation.cc (preprocess): pass dummy 2nd arg in call to normalize() |
| 5628 |
|
| 5629 |
* rule.cc (preprocess): pass dummy 2nd arg in call to normalize() |
| 5630 |
|
| 5631 |
* preEquation.cc (preprocess): pass dummy 2nd arg in calls to normalize() |
| 5632 |
|
| 5633 |
* module.cc (closeTheory): call interSymbolPass() and |
| 5634 |
postInterSymbolPass(); chiefly to inter-normalize identities |
| 5635 |
|
| 5636 |
* sortConstraint.cc (preprocess): Validate() -> ErrorCheck(); |
| 5637 |
deleted superfluous includes |
| 5638 |
|
| 5639 |
Tue Jun 9 11:07:58 1998 Steven Eker <[email protected]> |
| 5640 |
|
| 5641 |
* complexSort.hh: added #include "sortCode.hh" |
| 5642 |
|
| 5643 |
* sortConstraint.cc: deleted #include "intSet.hh" |
| 5644 |
|
| 5645 |
* substitution.cc: deleted #include "intSet.hh" |
| 5646 |
|
| 5647 |
* strategy.cc (setStrategy): IntSet -> NatSet |
| 5648 |
|
| 5649 |
* sortTable.cc: deleted #include "intSet.hh" |
| 5650 |
|
| 5651 |
* ruleTable.cc: deleted #include "intSet.hh" |
| 5652 |
|
| 5653 |
* rule.cc: deleted #include "intSet.hh", #include |
| 5654 |
"preEquation.hh", #include "label.hh", #include "substitution.hh" |
| 5655 |
(apply): IntSet -> NatSet |
| 5656 |
|
| 5657 |
* preEquation.cc: deleted #include "intSet.hh", #include "variableInfo.hh" |
| 5658 |
(compile): IntSet -> NatSet |
| 5659 |
|
| 5660 |
* module.cc: deleted #include "intSet.hh" |
| 5661 |
|
| 5662 |
* localBinding.cc: deleted #include "intSet.hh" |
| 5663 |
|
| 5664 |
* equationTable.cc: deleted #include "intSet.hh" |
| 5665 |
|
| 5666 |
* equation.cc: deleted #include "intSet.hh" |
| 5667 |
|
| 5668 |
* core.cc: deleted #include "intSet.hh" |
| 5669 |
|
| 5670 |
* variableInfo.hh: IntSet -> NatSet |
| 5671 |
|
| 5672 |
* strategy.hh: IntSet -> NatSet |
| 5673 |
|
| 5674 |
* preEquation.hh: IntSet -> NatSet |
| 5675 |
|
| 5676 |
===================================Engine38================================================== |
| 5677 |
|
| 5678 |
Fri Apr 17 16:45:12 1998 Steven Eker <[email protected]> |
| 5679 |
|
| 5680 |
* equation.cc (preprocess): Validate()s changed to Assert()s |
| 5681 |
|
| 5682 |
Mon Apr 13 10:37:10 1998 Steven Eker <[email protected]> |
| 5683 |
|
| 5684 |
* module.cc (closeSortSet): call setModuleInfo() on newly created |
| 5685 |
connected component |
| 5686 |
|
| 5687 |
* module.hh (insertSort): call setModuleInfo() |
| 5688 |
(insertSymbol): call setModuleInfo() |
| 5689 |
|
| 5690 |
* connectedComponent.hh (class ConnectedComponent): inherit from ModuleItem |
| 5691 |
|
| 5692 |
Fri Apr 10 18:15:19 1998 Steven Eker <[email protected]> |
| 5693 |
|
| 5694 |
* core.cc: provide implementation for ModuleItem |
| 5695 |
|
| 5696 |
* moduleItem.hh (class ModuleItem): created |
| 5697 |
|
| 5698 |
* sort.hh (class Sort): inherit from ModuleItem |
| 5699 |
|
| 5700 |
===================================Engine37================================================== |
| 5701 |
|
| 5702 |
Thu Apr 9 18:36:00 1998 Steven Eker <[email protected]> |
| 5703 |
|
| 5704 |
* module.hh (getConnectedComponents): added; together with decl |
| 5705 |
|
| 5706 |
Thu Feb 26 12:01:48 1998 Steven Eker <[email protected]> |
| 5707 |
|
| 5708 |
* sort.hh (class Sort): added decl for DagNode* <= Sort& operator; |
| 5709 |
this is a slightly ugly but very convenient operator for hiding |
| 5710 |
sort codes since the most common sort operation is to compare a |
| 5711 |
dag nodes sort to that of a variable. |
| 5712 |
|
| 5713 |
Wed Feb 25 11:30:24 1998 Steven Eker <[email protected]> |
| 5714 |
|
| 5715 |
* connectedComponent.hh (class ConnectedComponent): added decls |
| 5716 |
for errorFree() and flagErrorPossible() |
| 5717 |
(errorFree): added |
| 5718 |
(flagErrorPossible): added |
| 5719 |
|
| 5720 |
* connectedComponent.cc (ConnectedComponent): initialize errorFreeFlag |
| 5721 |
(ConnectedComponent): Assert()s testing for cycle change to ErrorCheck()s |
| 5722 |
|
| 5723 |
* connectedComponent.hh (class ConnectedComponent): added data |
| 5724 |
member errorFreeFlag |
| 5725 |
|
| 5726 |
Tue Feb 24 15:46:24 1998 Steven Eker <[email protected]> |
| 5727 |
|
| 5728 |
* localBinding.cc (dump): added new version |
| 5729 |
|
| 5730 |
Fri Feb 20 15:46:42 1998 Steven Eker <[email protected]> |
| 5731 |
|
| 5732 |
* rewritingContext.cc (ruleRewrite): use DagNode::isUrewritable() |
| 5733 |
and DagNode::setUrewritable() to avoid retrying failed matches |
| 5734 |
(ruleRewrite): if calling stackArguments() on a node does not |
| 5735 |
increase stack size then flag node as unstackable |
| 5736 |
|
| 5737 |
===================================Engine36================================================== |
| 5738 |
|
| 5739 |
Fri Feb 13 11:33:22 1998 Steven Eker <[email protected]> |
| 5740 |
|
| 5741 |
* module.cc (~Module): no longer delete sorts here |
| 5742 |
(~Module): Major rewrite to avoid subtle but deadly bug: we must |
| 5743 |
make sure there are no dag nodes belonging to this module |
| 5744 |
lying around waiting to be garbage collected after this module is |
| 5745 |
gone since the mark phase will access our symbols. |
| 5746 |
(Module): commented out symbol deletion as we still have problems; |
| 5747 |
and since we hit the problems in mark() there must still be dag |
| 5748 |
nodes from the deleted module reachable! |
| 5749 |
|
| 5750 |
* connectedComponent.cc (~ConnectedComponent): added |
| 5751 |
|
| 5752 |
* connectedComponent.hh (class ConnectedComponent): added decl for |
| 5753 |
~ConnectedComponent(); we need to delete sorts here rather than in |
| 5754 |
Module in order to be able to delete the error sort |
| 5755 |
|
| 5756 |
* preEquation.cc (PreEquation): dont' self destruct non-existant |
| 5757 |
condition terms |
| 5758 |
|
| 5759 |
* rule.cc (~Rule): delete rhs automaton |
| 5760 |
(Rule): clear rhs automaton to allow safe destruction at any |
| 5761 |
stage. |
| 5762 |
|
| 5763 |
* sortConstraint.hh (class SortConstraint): deleted decl for |
| 5764 |
~SortConstraint() |
| 5765 |
|
| 5766 |
* sortConstraint.cc (~SortConstraint): deleted |
| 5767 |
|
| 5768 |
* equation.cc (~Equation): delete rhs automaton |
| 5769 |
(Equation): clear rhs automaton to allow safe destruction at any |
| 5770 |
stage. |
| 5771 |
|
| 5772 |
* preEquation.cc (~PreEquation): delete automata |
| 5773 |
(PreEquation): clear automata pointers to allow safe destruction |
| 5774 |
at any stage. |
| 5775 |
|
| 5776 |
* connectedComponent.hh (class ConnectedComponent): deleted decl |
| 5777 |
for ~ConnectedComponent() as default is perfectly adequate |
| 5778 |
|
| 5779 |
* connectedComponent.cc (~ConnectedComponent): deleted |
| 5780 |
|
| 5781 |
* sort.hh (class Sort): deleted decl for ~Sort() as default is |
| 5782 |
perfectly adequate |
| 5783 |
|
| 5784 |
* sort.cc (~Sort): deleted |
| 5785 |
|
| 5786 |
* module.cc (Module): implemented |
| 5787 |
|
| 5788 |
Wed Feb 11 15:42:45 1998 Steven Eker <[email protected]> |
| 5789 |
|
| 5790 |
* preEquation.cc (checkCondition): compare() == 0 replaced by equal() |
| 5791 |
|
| 5792 |
* localBinding.cc (assert): compare() != 0 replaced by !equal() |
| 5793 |
|
| 5794 |
* equalitySubproblem.cc: compare() == 0 replaced by equal() (2 places) |
| 5795 |
|
| 5796 |
* extensionMatchSubproblem.cc (solve): use delete rather than |
| 5797 |
deepSelfDestruct on sunproblem |
| 5798 |
|
| 5799 |
* variableAbstractionSubproblem.cc (solve): use delete rather than |
| 5800 |
deepSelfDestruct on sunproblem |
| 5801 |
|
| 5802 |
* sortConstraintTable.cc (constrainToSmallerSort2): use delete rather than |
| 5803 |
deepSelfDestruct() for subproblems (2 places) |
| 5804 |
|
| 5805 |
* rule.cc (apply): use delete rather than |
| 5806 |
deepSelfDestruct() for subproblems (3 places) |
| 5807 |
|
| 5808 |
* ruleTable.cc (applyRules): use delete rather than |
| 5809 |
deepSelfDestruct() for subproblems (2 places) |
| 5810 |
|
| 5811 |
* equationTable.cc (applyReplace): use delete rather than |
| 5812 |
deepSelfDestruct() for subproblems (2 places) |
| 5813 |
|
| 5814 |
* extensionMatchSubproblem.cc (~ExtensionMatchSubproblem): adapted |
| 5815 |
from old deepSelfDestruct(); use delete rather than calling |
| 5816 |
deepSelfDestruct() |
| 5817 |
|
| 5818 |
* extensionMatchSubproblem.hh (class ExtensionMatchSubproblem): deleted decl |
| 5819 |
for deepSelfDestruct(); added decl for dtor |
| 5820 |
|
| 5821 |
* equalitySubproblem.hh (class EqualitySubproblem): deleted decl |
| 5822 |
for deepSelfDestruct() |
| 5823 |
|
| 5824 |
* equalitySubproblem.cc (deepSelfDestruct): deleted |
| 5825 |
|
| 5826 |
* variableAbstractionSubproblem.hh (class |
| 5827 |
VariableAbstractionSubproblem): deleted decl for |
| 5828 |
deepSelfDestruct(); added decl for dtor |
| 5829 |
|
| 5830 |
* variableAbstractionSubproblem.cc (deepSelfDestruct): becomes |
| 5831 |
dtor; use delete rather than calling deepSelfDestruct() |
| 5832 |
|
| 5833 |
* sortCheckSubproblem.cc (deepSelfDestruct): deleted |
| 5834 |
|
| 5835 |
* sortCheckSubproblem.hh (class SortCheckSubproblem): deleted decl |
| 5836 |
for deepSelfDestruct() |
| 5837 |
|
| 5838 |
* disjunctiveSubproblemAccumulator.cc (extract): amended comment |
| 5839 |
about deepSelfDestruct() |
| 5840 |
(~DisjunctiveSubproblemAccumulator): use delete rather than calling |
| 5841 |
deepSelfDestruct() on firstSubproblem and disjunction |
| 5842 |
(extract): in the single option case we no longer delete |
| 5843 |
firstDifference and set firstDifference since this can be left to |
| 5844 |
our destructor; ditto with first ExtensionInfo |
| 5845 |
|
| 5846 |
* subproblemDisjunction.cc (~SubproblemDisjunction): created from |
| 5847 |
old deepSelfDestruct(); use delete rather than calling |
| 5848 |
deepSelfDestruct() |
| 5849 |
|
| 5850 |
* subproblemDisjunction.hh (class SubproblemDisjunction): deleted |
| 5851 |
declaration for deepSelfDestruct() |
| 5852 |
(class SubproblemDisjunction): added decl for dtor |
| 5853 |
|
| 5854 |
* subproblemAccumulator.hh (SubproblemAccumulator): use delete |
| 5855 |
rather than calling deepSelfDestruct() |
| 5856 |
|
| 5857 |
* subproblemSequence.cc (deepSelfDestruct): becomes destructor; |
| 5858 |
use delete rather than calling deepSelfDestruct() |
| 5859 |
|
| 5860 |
* subproblemSequence.hh (class SubproblemSequence): declaration |
| 5861 |
for deepSelfDestruct() deleted |
| 5862 |
(SubproblemSequence): removed dummy destructor |
| 5863 |
|
| 5864 |
===================================Engine35================================================== |
| 5865 |
|
| 5866 |
Wed Dec 17 18:06:40 1997 Steven Eker <[email protected]> |
| 5867 |
|
| 5868 |
* module.hh (getSymbols): made const |
| 5869 |
(getSorts): made const |
| 5870 |
(getSortConstraints): added |
| 5871 |
(getRules): added |
| 5872 |
(getEquations): added |
| 5873 |
(class Module): updated decls |
| 5874 |
|
| 5875 |
Mon Dec 15 16:26:42 1997 Steven Eker <[email protected]> |
| 5876 |
|
| 5877 |
* sortTable.cc (findMinResultSort): added temporary hack so that |
| 5878 |
operator names print correctly in WarningCheck() |
| 5879 |
(compileOpDeclarations): added temporary hack so that |
| 5880 |
operator names print correctly in ErrorCheck() |
| 5881 |
|
| 5882 |
Thu Dec 11 10:48:32 1997 Steven Eker <[email protected]> |
| 5883 |
|
| 5884 |
* sortTable.hh (lookupSort): change assertion to indices.length() |
| 5885 |
>= arity because a shared sortIndiciesBuffer may be bigger than |
| 5886 |
needed. This ugliness will be removed when we redo sort mechanism |
| 5887 |
|
| 5888 |
Mon Dec 1 14:57:50 1997 Steven Eker <[email protected]> |
| 5889 |
|
| 5890 |
* strategy.cc (setStrategy): fixed bug; test should be a > nrArgs |
| 5891 |
rather than a >= nrArgs since strat arg numbers start from 1 |
| 5892 |
|
| 5893 |
Wed Nov 26 17:27:59 1997 Steven Eker <[email protected]> |
| 5894 |
|
| 5895 |
* strategy.cc (setStrategy): set unevalArgs flag to correct value |
| 5896 |
|
| 5897 |
* strategy.hh (unevaluatedArguments): added |
| 5898 |
|
| 5899 |
* strategy.cc: created |
| 5900 |
|
| 5901 |
* strategy.hh (class Strategy): created |
| 5902 |
|
| 5903 |
Sun Nov 23 16:13:05 1997 Steven Eker <[email protected]> |
| 5904 |
|
| 5905 |
* equationTable.cc (dumpEquationTable): use new LhsAutomaton |
| 5906 |
dump() convention |
| 5907 |
|
| 5908 |
===================================Engine33================================================== |
| 5909 |
|
| 5910 |
Fri Nov 21 18:38:49 1997 Steven Eker <[email protected]> |
| 5911 |
|
| 5912 |
* preEquation.cc (compile): if we don't compile lhs set |
| 5913 |
peLhsAutomaton = 0 to avoid breaking dump() |
| 5914 |
|
| 5915 |
===================================Engine32================================================== |
| 5916 |
|
| 5917 |
Fri Nov 7 17:15:01 1997 Steven Eker <[email protected]> |
| 5918 |
|
| 5919 |
* disjunctiveSubproblemAccumulator.cc (extract): don't try to |
| 5920 |
assert firstDifference if it is null |
| 5921 |
|
| 5922 |
Thu Nov 6 11:37:49 1997 Steven Eker <[email protected]> |
| 5923 |
|
| 5924 |
* extensionMatchSubproblem.cc: created |
| 5925 |
|
| 5926 |
* extensionMatchSubproblem.hh (class ExtensionMatchSubproblem): created |
| 5927 |
|
| 5928 |
Wed Nov 5 14:04:53 1997 Steven Eker <[email protected]> |
| 5929 |
|
| 5930 |
* module.hh (class Module): made dtor virtual |
| 5931 |
|
| 5932 |
* module.cc (reset): added |
| 5933 |
|
| 5934 |
* module.hh (class Module): added decl for virtual function reset() |
| 5935 |
|
| 5936 |
* sortConstraintTable.cc (orderSortConstraints): handle the empty |
| 5937 |
table efficiently; set tableComplete = true; use |
| 5938 |
acceptSortConstraint() in place of retainSortConstraint() |
| 5939 |
(SortConstraintTable): added |
| 5940 |
|
| 5941 |
* sortConstraintTable.hh (class SortConstraintTable): added |
| 5942 |
safeToInspectSortConstraints() and tableComplete decls; deleted |
| 5943 |
retainSortConstraint() decl |
| 5944 |
(class SortConstraintTable): added decl for explicit ctor |
| 5945 |
(safeToInspectSortConstraints): added |
| 5946 |
|
| 5947 |
Mon Nov 3 10:22:28 1997 Steven Eker <[email protected]> |
| 5948 |
|
| 5949 |
* disjunctiveSubproblemAccumulator.cc (extract): fixed bug; in the |
| 5950 |
case where we were returning disjunction we were failing to set |
| 5951 |
disjunction = 0 to stop it from being deepSelfDestruct()'d by our dtor |
| 5952 |
|
| 5953 |
Fri Oct 31 10:56:00 1997 Steven Eker <[email protected]> |
| 5954 |
|
| 5955 |
* disjunctiveSubproblemAccumulator.cc (addOption): had |
| 5956 |
local/global the wrong way around |
| 5957 |
|
| 5958 |
* disjunctiveSubproblemAccumulator.hh (empty): added |
| 5959 |
|
| 5960 |
* subproblemDisjunction.cc (solve): only copy extesion when |
| 5961 |
findFirst == true |
| 5962 |
(addOption): take LocalBinding rather than Substitution |
| 5963 |
|
| 5964 |
* subproblemDisjunction.hh (class SubproblemDisjunction): changed |
| 5965 |
addOption() to take LocalBinding rather than Substitution |
| 5966 |
|
| 5967 |
* variableInfo.hh (class VariableInfo): make |
| 5968 |
addConditionVariables() public to that we can implement external |
| 5969 |
match function; this may be only temporary |
| 5970 |
|
| 5971 |
=================================Engine31================================================== |
| 5972 |
|
| 5973 |
Wed Oct 29 18:43:30 1997 Steven Eker <[email protected]> |
| 5974 |
|
| 5975 |
* disjunctiveSubproblemAccumulator.cc: created |
| 5976 |
|
| 5977 |
* disjunctiveSubproblemAccumulator.hh (class |
| 5978 |
DisjunctiveSubproblemAccumulator): created |
| 5979 |
|
| 5980 |
Tue Oct 28 09:42:05 1997 Steven Eker <[email protected]> |
| 5981 |
|
| 5982 |
* rule.cc (apply): no extension infomation and subject in error |
| 5983 |
sort case before trying anything else. |
| 5984 |
|
| 5985 |
* subproblemDisjunction.cc (addOption): unmade previous change; |
| 5986 |
deciding whether extension info should be saved in this branch is |
| 5987 |
once again the responsiblity of the caller; nor do we clear |
| 5988 |
extension info once we have copied it. |
| 5989 |
|
| 5990 |
* equationTable.cc (applyReplace): previous change deleted; The |
| 5991 |
idea is that only code that cares about the state of |
| 5992 |
the extension valid flag after a successful match need clear it |
| 5993 |
before calling match(). match() has the duty of clearing the flag |
| 5994 |
if (1) it returns true; (2) it sets the flag (implicity by calling |
| 5995 |
setWholeFlag() while set up extension info, or by calling another |
| 5996 |
match that sets extension info); and (3) the extension |
| 5997 |
info is no longer valid (a rare case that can be caused by having |
| 5998 |
different extension info in different branches of a disjunction). |
| 5999 |
|
| 6000 |
* ruleTable.cc (applyRules): previous change deleted |
| 6001 |
|
| 6002 |
* rule.cc (apply): clear extensionInfo before each |
| 6003 |
match() call |
| 6004 |
(apply): previous change deleted |
| 6005 |
|
| 6006 |
* ruleTable.cc (applyRules): clear extensionInfo before each |
| 6007 |
match() call |
| 6008 |
|
| 6009 |
* equationTable.cc (applyReplace): clear extensionInfo before each |
| 6010 |
match() call |
| 6011 |
|
| 6012 |
* subproblemDisjunction.cc (addOption): check to see if |
| 6013 |
extensionInfo is really valid before saving it; if we save it, |
| 6014 |
call clear() on original. |
| 6015 |
|
| 6016 |
Mon Oct 27 11:20:14 1997 Steven Eker <[email protected]> |
| 6017 |
|
| 6018 |
* subproblemDisjunction.cc (deepSelfDestruct): delete Option::extensionInfo |
| 6019 |
(addOption): now store extension info along with each option if neccessary |
| 6020 |
(solve): now assert extension info for selected option if present |
| 6021 |
|
| 6022 |
* subproblemDisjunction.hh (class SubproblemDisjunction): added |
| 6023 |
extensionInfo arg to addOption; added extensionInfo member to |
| 6024 |
struct Option; added data member realExtensionInfo |
| 6025 |
|
| 6026 |
Fri Oct 24 16:47:42 1997 Steven Eker <[email protected]> |
| 6027 |
|
| 6028 |
* dagRoot.cc: created |
| 6029 |
|
| 6030 |
* dagRoot.hh (class DagRoot): added; this works differently from |
| 6031 |
the old DagRoot in that only DagRoots with non-null pointers are |
| 6032 |
kept on the linked list. |
| 6033 |
|
| 6034 |
* equalitySubproblem.hh (class EqualitySubproblem): created from |
| 6035 |
exclusionSubproblem.hh for greater generality. |
| 6036 |
|
| 6037 |
Thu Oct 23 10:16:47 1997 Steven Eker <[email protected]> |
| 6038 |
|
| 6039 |
* module.cc (indexRules): AdvisoryCheck() for collapse at top |
| 6040 |
(indexEquations): AdvisoryCheck() for collapse at top |
| 6041 |
(indexSortConstraints): AdvisoryCheck() for collapse at top |
| 6042 |
|
| 6043 |
Tue Oct 21 11:28:08 1997 Steven Eker <[email protected]> |
| 6044 |
|
| 6045 |
* exclusionSubproblem.hh (class ExclusionSubproblem): created |
| 6046 |
|
| 6047 |
* exclusionSubproblem.cc: created |
| 6048 |
|
| 6049 |
* variableAbstractionSubproblem.cc (solve): removed temporary hack |
| 6050 |
to fix problem of identity elements with uninitialized sort info |
| 6051 |
now that term2Dag(true) puts this sort info into the identity dag |
| 6052 |
|
| 6053 |
* termSet.hh (makeEmpty): added |
| 6054 |
(class TermSet): use access declarations to make |
| 6055 |
PointerSet::cardinality() and PointerSet::makeEmpty() public |
| 6056 |
(cardinality): deleted |
| 6057 |
(makeEmpty): deleted |
| 6058 |
|
| 6059 |
Wed Oct 15 13:53:18 1997 Steven Eker <[email protected]> |
| 6060 |
|
| 6061 |
* module.cc (indexSortConstraints): use |
| 6062 |
VariableTerm::dynamicCast() instead of VariableSymbol::dynamicCast() |
| 6063 |
(insertLateSymbol): use VariableTerm::dynamicCast() instead of |
| 6064 |
VariableSymbol::dynamicCast() in 3 places |
| 6065 |
(indexEquations): use VariableTerm::dynamicCast() instead of |
| 6066 |
VariableSymbol::dynamicCast() |
| 6067 |
(indexRules): use VariableTerm::dynamicCast() instead of |
| 6068 |
VariableSymbol::dynamicCast() |
| 6069 |
|
| 6070 |
Tue Oct 14 17:31:20 1997 Steven Eker <[email protected]> |
| 6071 |
|
| 6072 |
* module.cc (indexSortConstraints): use VariableSymbol::dynamicCast() |
| 6073 |
(indexEquations): use VariableSymbol::dynamicCast() |
| 6074 |
(indexRules): use VariableSymbol::dynamicCast() |
| 6075 |
(insertLateSymbol): use VariableSymbol::dynamicCast() in 3 places |
| 6076 |
|
| 6077 |
Mon Oct 13 16:01:03 1997 Steven Eker <[email protected]> |
| 6078 |
|
| 6079 |
* preEquation.cc (preprocess): use Term::analyseCollapses() |
| 6080 |
(compile): use Term::insertAbstractionVariables() |
| 6081 |
|
| 6082 |
Fri Oct 10 16:34:15 1997 Steven Eker <[email protected]> |
| 6083 |
|
| 6084 |
* rule.cc (compile): symbolCount() -> nrVariables() |
| 6085 |
(apply): symbolCount() -> nrVariables() (*2) |
| 6086 |
|
| 6087 |
* equation.cc (compile): symbolCount() -> nrVariables() |
| 6088 |
|
| 6089 |
* preEquation.cc (checkCondition): symbolCount() -> nrVariables() |
| 6090 |
|
| 6091 |
* localBinding.cc (dumpList): VariableIndex -> VariableInfo |
| 6092 |
(dump): VariableIndex -> VariableInfo |
| 6093 |
(dump): index2Symbol() -> index2Variable() |
| 6094 |
|
| 6095 |
* localBinding.hh (class LocalBinding): VariableIndex -> VariableInfo |
| 6096 |
|
| 6097 |
* preEquation.hh (class PreEquation): no longer derived from VariableIndex |
| 6098 |
|
| 6099 |
* sortConstraintTable.cc (constrainToSmallerSort2): symbolCount() |
| 6100 |
-> nrVariables() |
| 6101 |
|
| 6102 |
* core.cc: no longer provide implementation for "variableInfo.hh" |
| 6103 |
|
| 6104 |
* core.hh: deleted forward ref to class VariableIndex |
| 6105 |
|
| 6106 |
* variableIndex.cc: deleted |
| 6107 |
|
| 6108 |
* variableIndex.hh (class VariableIndex): deleted |
| 6109 |
|
| 6110 |
* variableInfo.hh (index2Variable): added |
| 6111 |
|
| 6112 |
* variableInfo.cc (variable2Index): added |
| 6113 |
(makeAbstractionVariable): added |
| 6114 |
|
| 6115 |
* variableInfo.hh (class VariableInfo): heavily modified to take |
| 6116 |
over role of variableIndex; linear variable stuff deleted |
| 6117 |
|
| 6118 |
=================================Engine30================================================== |
| 6119 |
|
| 6120 |
Wed Oct 8 15:53:38 1997 Steven Eker <[email protected]> |
| 6121 |
|
| 6122 |
* termSet.cc (hash): return 0 to stop g++ from complaining |
| 6123 |
|
| 6124 |
Tue Oct 7 12:02:41 1997 Steven Eker <[email protected]> |
| 6125 |
|
| 6126 |
* termSet.cc (hash): because of new PointerSet implementation and |
| 6127 |
changes below this function should never be called; so put an |
| 6128 |
Assert here to make sure |
| 6129 |
(insert): made non-inline because we need Term::getHashValue() |
| 6130 |
(term2Index): made non-inline because we need Term::getHashValue() |
| 6131 |
|
| 6132 |
* termSet.hh (insert): use 2 arg insert() |
| 6133 |
(term2Index): use 2 arg pointer2Index() |
| 6134 |
|
| 6135 |
Fri Oct 3 18:24:44 1997 Steven Eker <[email protected]> |
| 6136 |
|
| 6137 |
* rule.cc (compile): DataSet -> TermSet |
| 6138 |
|
| 6139 |
* preEquation.cc (compile): DataSet -> TermSet |
| 6140 |
|
| 6141 |
* equation.cc (compile): DataSet -> TermSet |
| 6142 |
|
| 6143 |
* termSet.cc: created |
| 6144 |
|
| 6145 |
* termSet.hh: created |
| 6146 |
|
| 6147 |
=================================Engine29================================================== |
| 6148 |
|
| 6149 |
Thu Oct 2 18:15:54 1997 Steven Eker <[email protected]> |
| 6150 |
|
| 6151 |
* equation.cc (compile): pass DataSet to compileRhs() |
| 6152 |
|
| 6153 |
* rule.cc (compile): pass DataSet to compileRhs() |
| 6154 |
|
| 6155 |
* preEquation.cc (compile): pass DataSet to compileRhs() |
| 6156 |
|
| 6157 |
Thu Sep 25 15:13:51 1997 Steven Eker <[email protected]> |
| 6158 |
|
| 6159 |
* core.hh: added forward decls for classes SortTable, |
| 6160 |
SortConstraintTable, EquationTable, RuleTable |
| 6161 |
|
| 6162 |
* module.cc (closeTheory): added call to finalizeSymbol() |
| 6163 |
(insertLateSymbol): added call to finalizeSymbol() |
| 6164 |
|
| 6165 |
* sortTable.hh (class SortTable): added decl for domainComponent() |
| 6166 |
|
| 6167 |
* sortTable.cc (rangeComponent): added |
| 6168 |
(domainComponent): added |
| 6169 |
|
| 6170 |
* sortTable.hh (class SortTable): added decl for no arg rangeComponent() |
| 6171 |
|
| 6172 |
Wed Sep 24 10:44:25 1997 Steven Eker <[email protected]> |
| 6173 |
|
| 6174 |
* equationTable.cc (dumpEquationTable): added |
| 6175 |
|
| 6176 |
* ruleTable.cc (RuleTable): added |
| 6177 |
|
| 6178 |
* ruleTable.hh (class RuleTable): added ctor decl |
| 6179 |
|
| 6180 |
* sortTable.hh (getOpDeclarations): created |
| 6181 |
|
| 6182 |
Tue Sep 23 11:00:03 1997 Steven Eker <[email protected]> |
| 6183 |
|
| 6184 |
* sortConstraintTable.hh (class SortConstraintTable): added decl |
| 6185 |
for retainSortConstraint() |
| 6186 |
|
| 6187 |
* ruleTable.cc: created |
| 6188 |
|
| 6189 |
* ruleTable.hh (ruleFree): added |
| 6190 |
|
| 6191 |
* equationTable.cc (acceptEquation): deleted; now becomes pure virtual |
| 6192 |
added includes |
| 6193 |
|
| 6194 |
* equationTable.hh (offerEquation): simplified |
| 6195 |
|
| 6196 |
Mon Sep 22 15:39:37 1997 Steven Eker <[email protected]> |
| 6197 |
|
| 6198 |
* sortConstraintTable.hh: created |
| 6199 |
|
| 6200 |
* ruleTable.hh: created |
| 6201 |
|
| 6202 |
* equationTable.hh: created |
| 6203 |
|
| 6204 |
* equationTable.cc: created |
| 6205 |
|
| 6206 |
=================================Engine28================================================== |
| 6207 |
|
| 6208 |
Wed Sep 3 18:29:46 1997 Steven Eker <[email protected]> |
| 6209 |
|
| 6210 |
* variableAbstractionSubproblem.cc (solve): temporary hack to fix |
| 6211 |
uninitialized sorts in identity bug; call |
| 6212 |
computeTrueSort(solution) on value bound to abstraction variable |
| 6213 |
|
| 6214 |
Fri Aug 29 13:03:16 1997 Steven Eker <[email protected]> |
| 6215 |
|
| 6216 |
* rule.cc (preprocess): rewritten to allow rule to have rhs |
| 6217 |
variable that don't occur in lhs; set variableSafeFlag to false in |
| 6218 |
this case, true otherwise |
| 6219 |
(apply): if variableSafeFlag false then check that unsafe |
| 6220 |
variables are actually bound |
| 6221 |
|
| 6222 |
* rule.hh (class Rule): added variableSafeFlag |
| 6223 |
(variableSafe): added |
| 6224 |
|
| 6225 |
=================================Engine27================================================== |
| 6226 |
|
| 6227 |
Thu Aug 7 11:22:33 1997 Steven Eker <[email protected]> |
| 6228 |
|
| 6229 |
* module.cc (insertLateSymbol): fixed 3 bugs where we were checking |
| 6230 |
the wrong thing against Symbol::VARIABLE |
| 6231 |
|
| 6232 |
* module.hh (class Module): added decl for insertLateSymbol() |
| 6233 |
(getStatus): added |
| 6234 |
|
| 6235 |
* module.cc (addLateSymbol): changed to insertLateSymbol() for consistancy |
| 6236 |
|
| 6237 |
* module.hh (class Module): added enum Status and status variable |
| 6238 |
(insertSort): added status Assert |
| 6239 |
(insertSymbol): added status Assert |
| 6240 |
(insertSortConstraint): added status Assert |
| 6241 |
(insertEquation): added status Assert |
| 6242 |
(insertRule): added status Assert |
| 6243 |
|
| 6244 |
* module.cc (Module): initialize status |
| 6245 |
(closeSortSet): Assert and update status |
| 6246 |
(closeSignature): Assert and update status |
| 6247 |
(closeTheory): Assert and update status |
| 6248 |
(addLateSymbol): added; the idea is that created on the fly |
| 6249 |
builtin symbols (or other symbols that have no eq/sc/rls) can be |
| 6250 |
added after the signature or theory is closed. This avoids |
| 6251 |
creating a large number of special symbols in advance just in case |
| 6252 |
they might be used the the term to be rewritten (for |
| 6253 |
if-then-else-fi, _==_ etc) |
| 6254 |
|
| 6255 |
Wed Jul 23 11:28:23 1997 Steven Eker <[email protected]> |
| 6256 |
|
| 6257 |
* rule.cc (preprocess): pass full = false to normalize() call |
| 6258 |
(preprocess): don't call determineCollapseSymbols() |
| 6259 |
|
| 6260 |
* equation.cc (preprocess): pass full = false to normalize() call |
| 6261 |
(preprocess): don't call determineCollapseSymbols() |
| 6262 |
|
| 6263 |
* preEquation.cc (preprocess): pass full flag to normalize() calls; |
| 6264 |
true for lhs and false for cond lhs and rhs |
| 6265 |
(preprocess): don't call determineCollapseSymbols() on cond lhs and |
| 6266 |
rhs |
| 6267 |
|
| 6268 |
=================================Engine26b====================================================== |
| 6269 |
|
| 6270 |
Wed Jul 16 17:10:45 1997 Steven Eker <[email protected]> |
| 6271 |
|
| 6272 |
* preEquation.cc (compile): calls to markEagerArguments() replaced |
| 6273 |
by calls to markEager() for reason discussed below. this also |
| 6274 |
allows one side of a condition to be shared with an identical |
| 6275 |
subterm in the other side of the condition correctly. The was a |
| 6276 |
_very_ rarely encountered bug! |
| 6277 |
|
| 6278 |
* equation.cc (compile): call to markEagerArguments() replaced by |
| 6279 |
call to markEager() for reason discussed below |
| 6280 |
|
| 6281 |
* rule.cc (compile): call to markEagerArguments() replaced by call |
| 6282 |
to markEager(); this ensures that the top Term gets an eager |
| 6283 |
context; originally this was a very minor bug but now we are going |
| 6284 |
to use eagerContexts to perspone normalization in rhs construction |
| 6285 |
its important that all the parents of an term with eagerContext |
| 6286 |
flag set have their eagerContext flags set otherwise we could end |
| 6287 |
up trying to normalize something with denormalized args during rhs |
| 6288 |
construction |
| 6289 |
|
| 6290 |
===============================Engine26================================================= |
| 6291 |
|
| 6292 |
Fri Jun 27 15:47:40 1997 Steven Eker <[email protected]> |
| 6293 |
|
| 6294 |
* rewritingContext.hh (copyProblemBindings): use copyReducible |
| 6295 |
rather than copyUptoEager() and clearCopyPointers(); we lose the |
| 6296 |
capability to share copies between problem variables with this |
| 6297 |
change but we increase robustness. |
| 6298 |
(copyProblemBindings): previous change unmade; since we have to |
| 6299 |
have copyEagerUptoReduced() and clearCopyPointers() public after all |
| 6300 |
|
| 6301 |
Wed Jun 25 11:55:16 1997 Steven Eker <[email protected]> |
| 6302 |
|
| 6303 |
* preEquation.cc (checkCondition): pass purpose arg to makeSubcontext() |
| 6304 |
|
| 6305 |
* rewritingContext.cc (makeSubcontext): added purpose arg |
| 6306 |
|
| 6307 |
* rewritingContext.hh (class RewritingContext): added enum |
| 6308 |
Purpose; added purpose arg to makeSubcontext() |
| 6309 |
|
| 6310 |
Tue Jun 24 10:57:43 1997 Steven Eker <[email protected]> |
| 6311 |
|
| 6312 |
* sortConstraint.cc: added #include "variable.hh" |
| 6313 |
|
| 6314 |
* rule.cc: added #include "variable.hh" |
| 6315 |
deleted #include "variableSymbol.hh" |
| 6316 |
|
| 6317 |
* equation.cc: added #include "variable.hh" |
| 6318 |
deleted #include "variableSymbol.hh" |
| 6319 |
|
| 6320 |
* localBinding.cc: added #include "variable.hh" |
| 6321 |
|
| 6322 |
* module.cc: added #include "variable.hh" |
| 6323 |
|
| 6324 |
* variableIndex.cc: added #include "variable.hh" |
| 6325 |
|
| 6326 |
* core.hh: class VariableSymbol, class Variable, class |
| 6327 |
VariableLhsAutomaton, class VariableRhsAutomaton forward decls |
| 6328 |
|
| 6329 |
Tue Jun 17 17:04:42 1997 Steven Eker <[email protected]> |
| 6330 |
|
| 6331 |
* variableSymbol.cc (acceptSortConstraint): added |
| 6332 |
(acceptEquation): added |
| 6333 |
(acceptRule): added |
| 6334 |
|
| 6335 |
* variableSymbol.hh (class VariableSymbol): added decls for |
| 6336 |
acceptSortConstraint(), acceptEquation() and acceptRule() |
| 6337 |
|
| 6338 |
Mon Jun 16 12:04:47 1997 Steven Eker <[email protected]> |
| 6339 |
|
| 6340 |
* rule.cc (compile): add lhs variables as condition variables to |
| 6341 |
ensure all solutions are generated |
| 6342 |
|
| 6343 |
* module.cc (closeTheory): added orderSortConstraints() pass |
| 6344 |
|
| 6345 |
Fri Jun 13 16:30:35 1997 Steven Eker <[email protected]> |
| 6346 |
|
| 6347 |
* preEquation.hh (class PreEquation): can't have Term* const |
| 6348 |
because nomalize() could change pointers |
| 6349 |
|
| 6350 |
* module.hh (class Module): added decls for |
| 6351 |
insertSortConstraint(), insertRule(), indexSortConstraints(), |
| 6352 |
indexEquations() and indexRules(); delete decls for foreign stuff |
| 6353 |
(insertRule): added |
| 6354 |
(insertSortConstraint): added |
| 6355 |
|
| 6356 |
* module.cc (closeTheory): rewritten; added finalizeSortInfo() |
| 6357 |
pass; deleted foreign stuff |
| 6358 |
(indexSortConstraints): added |
| 6359 |
(indexEquations): converted from insertEquations() |
| 6360 |
(indexRules): added |
| 6361 |
|
| 6362 |
* rule.cc (Rule): clear rlCompiled flag |
| 6363 |
(preprocess): added |
| 6364 |
(compile): rewritten; now only do stuff not in preprocess() |
| 6365 |
|
| 6366 |
* rule.hh (class Rule): added preprocess() decl; added |
| 6367 |
compileLhs to compile() decl; added rlCompiled flag |
| 6368 |
|
| 6369 |
* sortConstraint.cc (SortConstraint): clear scCompiled flag |
| 6370 |
(preprocess): added |
| 6371 |
(compile): rewritten |
| 6372 |
|
| 6373 |
* sortConstraint.hh (class SortConstraint): added preprocess() decl; added |
| 6374 |
compileLhs to compile() decl; added scCompiled flag |
| 6375 |
|
| 6376 |
* equation.cc (Equation): clear eqCompiled |
| 6377 |
(preprocess): added |
| 6378 |
(compile): rewritten; now only do stuff not in preprocess() |
| 6379 |
|
| 6380 |
* equation.hh (class Equation): added preprocess() decl; added |
| 6381 |
compileLhs to compile() decl; added eqCompiled flag |
| 6382 |
|
| 6383 |
* preEquation.cc (preprocess): added; don't bother tracking linear |
| 6384 |
Variables; we will delete all linear variable code at some later |
| 6385 |
date since it is made redundant by contextVariable code |
| 6386 |
(compile): rewritten; only do the things not done by preprocess |
| 6387 |
|
| 6388 |
* preEquation.hh (class PreEquation): make Term* data memebers const |
| 6389 |
|
| 6390 |
* preEquation.hh (class PreEquation): add preprocess() decl; add |
| 6391 |
new flags to compile(); delete setLhsAutomaton(); |
| 6392 |
(setLhsAutomaton): deleted |
| 6393 |
|
| 6394 |
Thu Jun 12 14:53:20 1997 Steven Eker <[email protected]> |
| 6395 |
|
| 6396 |
* module.cc (closeTheory): call insertEquations() rather than insertForeignEquations() |
| 6397 |
|
| 6398 |
* module.hh (class Module): added data members sortConstraints, |
| 6399 |
equations, rules |
| 6400 |
(insertEquation): added |
| 6401 |
(class Module): insertForeignEquations() decl becomes insertEquations() |
| 6402 |
|
| 6403 |
Fri Jun 6 11:16:59 1997 Steven Eker <[email protected]> |
| 6404 |
|
| 6405 |
* variable.cc (compileLhs): pass sort rather than sortCode to |
| 6406 |
VariableLhsAutomaton() ctor |
| 6407 |
|
| 6408 |
* variableLhsAutomaton.cc (dump): change sortCode to sort |
| 6409 |
(VariableLhsAutomaton): change sortCode to sort |
| 6410 |
|
| 6411 |
* variableLhsAutomaton.hh (class VariableLhsAutomaton): change |
| 6412 |
sortCode to sort |
| 6413 |
|
| 6414 |
* variableLhsAutomaton.cc (match): simplified using |
| 6415 |
DagNode::matchVariable() |
| 6416 |
|
| 6417 |
Thu Jun 5 11:59:59 1997 Steven Eker <[email protected]> |
| 6418 |
|
| 6419 |
* sortCheckSubproblem.cc (solve): use new checkSort() rather than |
| 6420 |
computeTrueSortWhilePreservingContext() |
| 6421 |
|
| 6422 |
* variableSymbol.cc (VariableSymbol): don't pass stable arg to |
| 6423 |
Symbol() |
| 6424 |
|
| 6425 |
==============================Engine24==================================== |
| 6426 |
|
| 6427 |
Mon Jun 2 10:32:47 1997 Steven Eker <[email protected]> |
| 6428 |
|
| 6429 |
* variableAbstractionSubproblem.cc (solve): check for case where |
| 6430 |
difference = 0 |
| 6431 |
(solve): get substitution subtract the right way around |
| 6432 |
(solve): fix memory leak by deleting difference on failure |
| 6433 |
|
| 6434 |
* substitution.hh (class Substitution): nrFragileBindings() too |
| 6435 |
useful to be protected - make it public |
| 6436 |
|
| 6437 |
* variableAbstractionSubproblem.cc (deepSelfDestruct): remember to |
| 6438 |
delete ourselves |
| 6439 |
(VariableAbstractionSubproblem): move here from .hh file |
| 6440 |
(deepSelfDestruct): delete difference |
| 6441 |
(solve): rewritten to use local and difference so that we can |
| 6442 |
restore original solution after failure |
| 6443 |
|
| 6444 |
* variableAbstractionSubproblem.hh (class |
| 6445 |
VariableAbstractionSubproblem): added LocalBinding* difference and |
| 6446 |
Substitution local |
| 6447 |
|
| 6448 |
Fri May 30 19:55:27 1997 Steven Eker <[email protected]> |
| 6449 |
|
| 6450 |
* preEquation.cc (compile): fix bug where we were taking final |
| 6451 |
count of variable before possibly added abstraction variables |
| 6452 |
|
| 6453 |
Wed May 28 11:00:55 1997 Steven Eker <[email protected]> |
| 6454 |
|
| 6455 |
* subproblemDisjunction.cc (deepSelfDestruct): don't try to |
| 6456 |
deepSelfDestruct() null subproblems. |
| 6457 |
|
| 6458 |
* subproblemDisjuction.cc: created |
| 6459 |
|
| 6460 |
Tue May 27 11:52:59 1997 Steven Eker <[email protected]> |
| 6461 |
|
| 6462 |
* subproblemDisjuction.hh (class SubproblemDisjuction): created |
| 6463 |
|
| 6464 |
Tue May 20 16:02:14 1997 Steven Eker <[email protected]> |
| 6465 |
|
| 6466 |
* variableIndex.cc (makeAbstractionVariable): added |
| 6467 |
(symbol2Index): added Assert to check for null variable symbol |
| 6468 |
|
| 6469 |
* variableIndex.hh (class VariableIndex): added decl for makeAbstractionVariable() |
| 6470 |
|
| 6471 |
Wed May 14 10:58:27 1997 Steven Eker <[email protected]> |
| 6472 |
|
| 6473 |
* module.cc (insertForeignRules): use Term::collapseSymbols() |
| 6474 |
rather than Term::analyseCollapses() |
| 6475 |
(insertForeignEquations): use Term::collapseSymbols() |
| 6476 |
rather than Term::analyseCollapses() |
| 6477 |
(insertForeignSortConstraints): use Term::collapseSymbols() |
| 6478 |
rather than Term::analyseCollapses() |
| 6479 |
|
| 6480 |
* rule.cc (compile): call determineCollapseSymbols() on rhs |
| 6481 |
|
| 6482 |
* equation.cc (compile): call determineCollapseSymbols() on rhs |
| 6483 |
|
| 6484 |
* preEquation.cc (compile): call determineCollapseSymbols() on |
| 6485 |
lhs, condition lhs and condition rhs |
| 6486 |
|
| 6487 |
* variableLhsAutomaton.cc (match): we no longer assume that the |
| 6488 |
subject has its sort already computed; instead we call DagNode::checkSort() |
| 6489 |
|
| 6490 |
Tue May 13 18:23:05 1997 Steven Eker <[email protected]> |
| 6491 |
|
| 6492 |
* preEquation.cc (compile): fixed longstanding bug where we were |
| 6493 |
calling markEagerArguments() twice on peCondLhs and not at all on peCondRhs |
| 6494 |
|
| 6495 |
Thu May 8 11:24:22 1997 Steven Eker <[email protected]> |
| 6496 |
|
| 6497 |
* module.hh (class Module): decls for |
| 6498 |
insertForeignSortConstraints(), insertForeignEquations() and |
| 6499 |
insertForeignRules() added |
| 6500 |
|
| 6501 |
* module.cc (closeSortSet): added |
| 6502 |
(closeSignature): greatly simplified |
| 6503 |
(closeTheory): implemented |
| 6504 |
(insertForeignSortConstraints): added |
| 6505 |
(insertForeignEquations): added |
| 6506 |
(insertForeignRules): added |
| 6507 |
|
| 6508 |
* module.hh (class Module): added decl for closeSortSet() |
| 6509 |
|
| 6510 |
Wed May 7 15:53:08 1997 Steven Eker <[email protected]> |
| 6511 |
|
| 6512 |
* variableAbstractionSubproblem.hh: created |
| 6513 |
|
| 6514 |
* variable.cc (analyseCollapses): added |
| 6515 |
(analyseCollapses): deleted |
| 6516 |
|
| 6517 |
Thu Apr 10 19:08:08 1997 Steven Eker <[email protected]> |
| 6518 |
|
| 6519 |
* rule.cc (apply): added tracing |
| 6520 |
|
| 6521 |
Wed Apr 9 17:23:28 1997 Steven Eker <[email protected]> |
| 6522 |
|
| 6523 |
* rewritingContext.hh (class RewritingContext): added decl for |
| 6524 |
traceExhausted() |
| 6525 |
|
| 6526 |
* rewritingContext.cc (traceExhausted): added |
| 6527 |
|
| 6528 |
* preEquation.cc (checkCondition): hacked to call traceExhausted |
| 6529 |
if all solutions fail |
| 6530 |
|
| 6531 |
Tue Apr 8 15:02:19 1997 Steven Eker <[email protected]> |
| 6532 |
|
| 6533 |
* rewritingContext.cc (RewritingContext): deleted |
| 6534 |
(makeSubcontext): use traceFlag version of constructor |
| 6535 |
|
| 6536 |
* rewritingContext.hh (class RewritingContext): conditionDepth |
| 6537 |
data member deleted |
| 6538 |
(class RewritingContext): constructor that takes an original |
| 6539 |
RewritingContext deleted |
| 6540 |
(depth): deleted |
| 6541 |
(traceStatus): made const |
| 6542 |
|
| 6543 |
Mon Apr 7 19:02:29 1997 Steven Eker <[email protected]> |
| 6544 |
|
| 6545 |
* rewritingContext.hh (class RewritingContext): added consts to |
| 6546 |
eq/rl/sc args |
| 6547 |
|
| 6548 |
* rule.cc (traceBeginTrial): added |
| 6549 |
(apply): calls to checkCondition() now take subject |
| 6550 |
|
| 6551 |
* equation.cc (traceBeginTrial): added |
| 6552 |
|
| 6553 |
* equation.hh (class Equation): added traceBeginTrial() decl |
| 6554 |
|
| 6555 |
* rule.hh (class Rule): added traceBeginTrial() decl |
| 6556 |
|
| 6557 |
* rewritingContext.cc (traceBeginEqTrial): added |
| 6558 |
(traceBeginRuleTrial): added |
| 6559 |
(traceBeginScTrial): added |
| 6560 |
(traceEndTrial): added |
| 6561 |
|
| 6562 |
* rewritingContext.hh (class RewritingContext): added decls for 4 |
| 6563 |
trace trial functions |
| 6564 |
|
| 6565 |
* sortConstraint.cc (traceBeginTrial): added |
| 6566 |
|
| 6567 |
* sortConstraint.hh (class SortConstraint): decl for |
| 6568 |
traceBeginTrial() added |
| 6569 |
|
| 6570 |
* preEquation.hh (class PreEquation): decl for traceBeginTrial() |
| 6571 |
virtual function |
| 6572 |
|
| 6573 |
* preEquation.cc (checkCondition): rewritten to do tracing |
| 6574 |
|
| 6575 |
Fri Apr 4 15:47:21 1997 Steven Eker <[email protected]> |
| 6576 |
|
| 6577 |
* rewritingContext.cc (ruleRewrite): use tracePostRuleRewrite() |
| 6578 |
|
| 6579 |
* preEquation.cc (checkCondition): rewriten to use makeSubContext(); |
| 6580 |
|
| 6581 |
* rewritingContext.cc (tracePreScApplication): added |
| 6582 |
(tracePostRuleRewrite): added |
| 6583 |
(tracePostEqRewrite): added |
| 6584 |
(tracePreEqRewrite): added |
| 6585 |
(tracePreRuleRewrite): added |
| 6586 |
(makeSubcontext): added |
| 6587 |
|
| 6588 |
* rewritingContext.hh (class RewritingContext): virtual functions |
| 6589 |
added for tracing and subcontexts; trace flag is now a bool |
| 6590 |
|
| 6591 |
Thu Apr 3 15:47:43 1997 Steven Eker <[email protected]> |
| 6592 |
|
| 6593 |
* rule.cc (apply): deepSelfDestruct subproblem when we fail |
| 6594 |
(memory leak discovered by purify) |
| 6595 |
|
| 6596 |
Wed Apr 2 17:51:45 1997 Steven Eker <[email protected]> |
| 6597 |
|
| 6598 |
* variable.cc (deepSelfDestruct): need to delete our object (to |
| 6599 |
fix memory leak detected by purify) |
| 6600 |
|
| 6601 |
Fri Mar 28 15:13:50 1997 Steven Eker <[email protected]> |
| 6602 |
|
| 6603 |
* rule.cc (apply): added |
| 6604 |
|
| 6605 |
Thu Feb 13 12:41:27 1997 Steven Eker <[email protected]> |
| 6606 |
|
| 6607 |
* complexSort.cc (ComplexSort): arg made const |
| 6608 |
|
| 6609 |
Tue Dec 24 11:34:33 1996 Steven Eker <[email protected]> |
| 6610 |
|
| 6611 |
* sortCheckSubproblem.cc (solve): |
| 6612 |
computeSortWhilePreservingContext() call changed to |
| 6613 |
computeTrueSortWhilePreservingContext() |
| 6614 |
|
| 6615 |
* variableSymbol.cc (computeBaseSort): added |
| 6616 |
(computeTrueSort): used to be computeSort() |
| 6617 |
(eqRewrite): used to be rewrite() |
| 6618 |
|
| 6619 |
* variableSymbol.hh (class VariableSymbol): rewrite() -> |
| 6620 |
eqRewrite(); computeSort() replaced by computeBaseSort() and |
| 6621 |
computeTrueSort() |
| 6622 |
|
| 6623 |
Mon Dec 9 18:57:53 1996 Steven Eker <[email protected]> |
| 6624 |
|
| 6625 |
* module.cc (closeSignature): check for sort constraints with |
| 6626 |
variable lhs |
| 6627 |
|
| 6628 |
Fri Dec 6 14:31:19 1996 Steven Eker <[email protected]> |
| 6629 |
|
| 6630 |
* preEquation.hh (class PreEquation): peLhsAutomaton memebr added |
| 6631 |
(setLhsAutomaton): added |
| 6632 |
(lhsAutomaton): added |
| 6633 |
|
| 6634 |
Thu Dec 5 16:38:27 1996 Steven Eker <[email protected]> |
| 6635 |
|
| 6636 |
* variable.cc (compileLhs): calculate whether we are at risk of |
| 6637 |
overwriting dag node that we need to form replacement |
| 6638 |
|
| 6639 |
* variableLhsAutomaton.hh (class VariableLhsAutomaton): |
| 6640 |
usedInReplacement -> copyToAvoidOverwriting |
| 6641 |
|
| 6642 |
* variableLhsAutomaton.cc (match): make use of usedInReplacement |
| 6643 |
when deciding whether to clone the dagNode we just matched |
| 6644 |
(VariableLhsAutomaton): initialize usedInReplacement flag |
| 6645 |
(match): usedInReplacement -> copyToAvoidOverwriting |
| 6646 |
|
| 6647 |
* variableLhsAutomaton.hh (class VariableLhsAutomaton): |
| 6648 |
usedInReplacement flag added to avoid needless cloning of dagNode |
| 6649 |
matched by variable. This cloning avoids a pointer circularity |
| 6650 |
the the equation case but could introduce a sort computation |
| 6651 |
circularity in the sort constraint case. |
| 6652 |
|
| 6653 |
Tue Dec 3 18:00:20 1996 Steven Eker <[email protected]> |
| 6654 |
|
| 6655 |
* module.cc (closeSignature): check for rules with variable lhs |
| 6656 |
|
| 6657 |
Mon Nov 25 19:32:59 1996 Steven Eker <[email protected]> |
| 6658 |
|
| 6659 |
* variableSymbol.cc (VariableSymbol): added constructor arg |
| 6660 |
|
| 6661 |
Fri Nov 15 16:46:29 1996 Steven Eker <[email protected]> |
| 6662 |
|
| 6663 |
* variableLhsAutomaton.cc (match): call |
| 6664 |
matchVariableWithExtension() if there is non-null extensionInfo |
| 6665 |
|
| 6666 |
Thu Nov 14 18:06:28 1996 Steven Eker <[email protected]> |
| 6667 |
|
| 6668 |
* variableLhsAutomaton.cc (match): bind variable to clone of |
| 6669 |
subject to avoid introducing cycles in term graph when rewriting |
| 6670 |
with equation with bare variable lhs |
| 6671 |
|
| 6672 |
Wed Oct 30 18:44:49 1996 Steven Eker <[email protected]> |
| 6673 |
|
| 6674 |
* module.cc (closeSignature): hacked to look for equations with |
| 6675 |
variable lhs |
| 6676 |
|
| 6677 |
Fri Oct 25 15:18:06 1996 Steven Eker <[email protected]> |
| 6678 |
|
| 6679 |
* sortCode.cc (operator<<): sortCode arg made const |
| 6680 |
|
| 6681 |
* sortCode.hh (operator<<): sortCode arg made const |
| 6682 |
|
| 6683 |
* variableLhsAutomaton.hh: created |
| 6684 |
|
| 6685 |
* variableLhsAutomaton.cc: created |
| 6686 |
|
| 6687 |
Fri Oct 18 16:28:22 1996 Steven Eker <[email protected]> |
| 6688 |
|
| 6689 |
* sort.hh (getSubsorts): added |
| 6690 |
|
| 6691 |
Wed Oct 16 10:26:39 1996 Steven Eker <[email protected]> |
| 6692 |
|
| 6693 |
* variableRhsAutomaton.cc (dump): indentLevel arg added |
| 6694 |
|
| 6695 |
Wed Oct 9 11:38:21 1996 Steven Eker <[email protected]> |
| 6696 |
|
| 6697 |
* connectedComponent.cc (findMaximalSorts): fixed bug; we now give |
| 6698 |
the correct result if run on the error sorts code; this actually |
| 6699 |
occurs in Symbol::parse() for AC/A arg list with subterms in the |
| 6700 |
error sort |
| 6701 |
|
| 6702 |
Tue Oct 8 16:08:48 1996 Steven Eker <[email protected]> |
| 6703 |
|
| 6704 |
* core.cc: Vector<Vector<Sort*>*> changed to Vector<Vector<Sort*>> |
| 6705 |
|
| 6706 |
* rule.cc (Rule): removed equals |
| 6707 |
(~Rule): implemented |
| 6708 |
|
| 6709 |
* sortConstraint.cc (SortConstraint): removed equals |
| 6710 |
|
| 6711 |
* equation.cc (Equation): removed equals |
| 6712 |
(~Equation): implemented |
| 6713 |
|
| 6714 |
* preEquation.cc (~PreEquation): implemented and made virtual |
| 6715 |
(PreEquation): removed bool equals |
| 6716 |
(checkCondition): do test without bool equals |
| 6717 |
|
| 6718 |
* preEquation.hh (condLhs): added |
| 6719 |
(condRhs): added |
| 6720 |
|
| 6721 |
Wed Sep 25 19:40:27 1996 Steven Eker <[email protected]> |
| 6722 |
|
| 6723 |
* sortCheckSubproblem.cc (solve): fixed bug where we were solving |
| 6724 |
subproblem positively in infinitely many ways leading to infinite loop |
| 6725 |
|
| 6726 |
Fri Aug 30 10:56:07 1996 Steven Eker <[email protected]> |
| 6727 |
|
| 6728 |
* variable.cc (subsumes): modified to take in to account |
| 6729 |
occurences of the variable in context |
| 6730 |
(subsumes): Now return UNDECIDED is sort small enough but |
| 6731 |
variable occurs in its own context |
| 6732 |
|
| 6733 |
Thu Aug 22 12:29:37 1996 Steven Eker <[email protected]> |
| 6734 |
|
| 6735 |
* rewritingContext.cc (ruleRewrite): added limit arg |
| 6736 |
|
| 6737 |
* rule.hh (class Rule): ruleLabel now has type Label |
| 6738 |
|
| 6739 |
* label.hh (Label): created |
| 6740 |
|
| 6741 |
Fri Aug 9 14:54:08 1996 Steven Eker <[email protected]> |
| 6742 |
|
| 6743 |
* rewritingContext.cc (ruleRewrite): rewritten to use explicit |
| 6744 |
stack of redex positions |
| 6745 |
(ruleRewrite): fixed silly semi-colon bug |
| 6746 |
(ruleRewrite): rewritten to explore node on an as needed basis |
| 6747 |
|
| 6748 |
* redexPosition.hh (class RedexPosition): created |
| 6749 |
|
| 6750 |
Thu Aug 8 10:10:51 1996 Steven Eker <[email protected]> |
| 6751 |
|
| 6752 |
* rewritingContext.cc (ruleRewrite): added |
| 6753 |
(ruleRewrite): need to collect garbage and trace |
| 6754 |
|
| 6755 |
* rewritingContext.hh (class RewritingContext): removed const-ness |
| 6756 |
of rootNode so that rule based rewrite can replace it |
| 6757 |
|
| 6758 |
* core.hh: added class Rule declaration |
| 6759 |
|
| 6760 |
* core.cc: added template class Vector<Rule*> instantiation |
| 6761 |
|
| 6762 |
* module.cc (closeSignature): added call to compile rules |
| 6763 |
|
| 6764 |
* rule.cc: created |
| 6765 |
|
| 6766 |
* rule.hh (class Rule): created |
| 6767 |
|
| 6768 |
* preEquation.cc (compile): Validate() replaced by ErrorCheck() |
| 6769 |
|
| 6770 |
Tue Aug 6 16:13:06 1996 Steven Eker <[email protected]> |
| 6771 |
|
| 6772 |
* variable.cc (analyseConstraintPropagation): matchAtTop arg removed from |
| 6773 |
analyseConstraintPropagation(); boundAbove arg removed from compileLhs() |
| 6774 |
|
| 6775 |
* variable.hh (class Variable): matchAtTop arg removed from |
| 6776 |
analyseConstraintPropagation(); boundAbove arg removed from compileLhs() |
| 6777 |
|
| 6778 |
Thu Aug 1 18:36:00 1996 Steven Eker <[email protected]> |
| 6779 |
|
| 6780 |
* core.cc: removed templates for Vector<int> and |
| 6781 |
Vector<Vector<int> > (now in frontEnd.cc) |
| 6782 |
|
| 6783 |
Wed Jul 31 17:08:14 1996 Steven Eker <[email protected]> |
| 6784 |
|
| 6785 |
* variableSymbol.cc (makeTerm): added |
| 6786 |
|
| 6787 |
Tue Jul 2 16:29:02 1996 Steven Eker <[email protected]> |
| 6788 |
|
| 6789 |
* rewritingContext.cc: ASsert() -> Assert() |
| 6790 |
|
| 6791 |
Fri Jun 28 17:10:14 1996 Steven Eker <[email protected]> |
| 6792 |
|
| 6793 |
* localBinding.cc: ASsert() -> Assert() |
| 6794 |
|
| 6795 |
Tue Jun 25 16:41:03 1996 Steven Eker <[email protected]> |
| 6796 |
|
| 6797 |
* core.cc: added instantiation for Vector<SortCode> |
| 6798 |
|
| 6799 |
Fri Jun 21 18:02:10 1996 Steven Eker <[email protected]> |
| 6800 |
|
| 6801 |
* variable.cc (compileLhs): changed arg list |
| 6802 |
|
| 6803 |
* variable.hh (class Variable): changed arg list of compileLhs() |
| 6804 |
|
| 6805 |
* equation.cc (compile): call VariableInfo::addRhsVariables() |
| 6806 |
|
| 6807 |
* preEquation.cc (compile): use VariableInfo functions |
| 6808 |
|
| 6809 |
* preEquation.hh: added VariableInfo as a base class; |
| 6810 |
leftLinearVariables() and conditionVariables() functionality removed |
| 6811 |
|
| 6812 |
* variableInfo.hh: created |
| 6813 |
|
| 6814 |
Thu Jun 13 11:01:25 1996 Steven Eker <[email protected]> |
| 6815 |
|
| 6816 |
* subproblemSequence.hh (SubproblemSequence): now take 2 args |
| 6817 |
|
| 6818 |
* subproblemSequence.cc (simplify): deleted |
| 6819 |
|
| 6820 |
* core.cc: now implementation file for subproblemAccumulator.hh |
| 6821 |
|
| 6822 |
* subproblemAccumulator.hh: created |
| 6823 |
|
| 6824 |
* core.hh: class SubproblemAccumulator added |
| 6825 |
|
| 6826 |
* substitution.hh (copy): moved out of substitution.cc and inlined |
| 6827 |
(class Substitution): make copy constructor private |
| 6828 |
(clear): added speed hack |
| 6829 |
|
| 6830 |
Wed Jun 12 10:45:43 1996 Steven Eker <[email protected]> |
| 6831 |
|
| 6832 |
* substitution.cc (copy): speed hack added |
| 6833 |
|
| 6834 |
* variable.cc (compileLhs): added nrVariables arg |
| 6835 |
|
| 6836 |
Tue Jun 11 17:25:34 1996 Steven Eker <[email protected]> |
| 6837 |
|
| 6838 |
* substitution.hh (class Substitution): switch to |
| 6839 |
Vector<DagNode*>; new constructor added for building local |
| 6840 |
substitutions that will reside in lhs automata; explicit |
| 6841 |
destructor removed |
| 6842 |
|
| 6843 |
Fri Jun 7 16:14:38 1996 Steven Eker <[email protected]> |
| 6844 |
|
| 6845 |
* subproblemSequence.cc (simplify): no longer deal with empty sequences |
| 6846 |
|
| 6847 |
* subproblemSequence.hh (append): added |
| 6848 |
(SubproblemSequence): now take arg |
| 6849 |
|
| 6850 |
* core.cc: Sequence's abolished throughout module |
| 6851 |
|
| 6852 |
Sun Jun 2 18:56:52 1996 Steven Eker <[email protected]> |
| 6853 |
|
| 6854 |
* variable.cc (subsumes): added |
| 6855 |
|
| 6856 |
Fri May 31 15:59:15 1996 Steven Eker <[email protected]> |
| 6857 |
|
| 6858 |
* sortCheckSubproblem.cc (SortCheckSubproblem): 2nd arg made const |
| 6859 |
|
| 6860 |
Fri May 24 11:57:56 1996 Steven Eker <[email protected]> |
| 6861 |
|
| 6862 |
* variable.cc (analyseConstraintPropagation): implemented (rather |
| 6863 |
than Assert we will never be called) |
| 6864 |
|
| 6865 |
Thu May 23 10:26:45 1996 Steven Eker <[email protected]> |
| 6866 |
|
| 6867 |
* sort.cc (dump): now use sortCode << op |
| 6868 |
|
| 6869 |
* sortCode.cc (operator<<): added (replaces dump) |
| 6870 |
|
| 6871 |
Wed May 22 17:33:32 1996 Steven Eker <[email protected]> |
| 6872 |
|
| 6873 |
* sortCheckSubproblem.cc: created |
| 6874 |
|
| 6875 |
* sortCheckSubproblem.hh: created |
| 6876 |
|
| 6877 |
Tue May 21 11:36:49 1996 Steven Eker <[email protected]> |
| 6878 |
|
| 6879 |
* localBinding.cc (dump): added |
| 6880 |
(dumpList): added |
| 6881 |
|
| 6882 |
Mon May 20 10:12:22 1996 Steven Eker <[email protected]> |
| 6883 |
|
| 6884 |
* substitution.cc (operator-): replaces subtract(); now creates a |
| 6885 |
new localBinding on the heap if needed; otherwise returns 0 |
| 6886 |
|
| 6887 |
* localBinding.cc (LocalBinding): now take argument to |
| 6888 |
preallocate storage for bindings |
| 6889 |
|
| 6890 |
* substitution.cc (subtract): now use LocalBinding class |
| 6891 |
(assert): deleted |
| 6892 |
(retract): deleted |
| 6893 |
|
| 6894 |
* substitution.hh (class Substitution): nested class Difference deleted |
| 6895 |
|
| 6896 |
Sun May 19 17:28:40 1996 Steven Eker <[email protected]> |
| 6897 |
|
| 6898 |
* rewritingContext.cc (RewritingContext): horrible bug fixed: |
| 6899 |
failing to initialize prev in 2nd constructor |
| 6900 |
|
| 6901 |
* rewritingContext.hh (class RewritingContext): dagRoot member |
| 6902 |
replaced by DagNode* member, next and prev members added |
| 6903 |
|
| 6904 |
* rewritingContext.cc (RewritingContext): outlined, now link in |
| 6905 |
rewriting context to global list |
| 6906 |
(~RewritingContext): added to unlink rewriting context |
| 6907 |
(markReachableNodes): added |
| 6908 |
|
| 6909 |
* substitution.hh (nrFragileBindings): added |
| 6910 |
(finished): added |
| 6911 |
|
| 6912 |
* localBinding.cc: added |
| 6913 |
|
| 6914 |
* localBinding.hh (class LocalBinding): added |
| 6915 |
|
| 6916 |
Fri May 17 10:52:40 1996 Steven Eker <[email protected]> |
| 6917 |
|
| 6918 |
* rewritingContext.hh (dumpContext): deleted |
| 6919 |
(RewritingContext): dumpContext arg deleted |
| 6920 |
|
| 6921 |
* core.hh: class DumpContext deleted |
| 6922 |
|
| 6923 |
* connectedComponent.cc (dumpSort): deleted |
| 6924 |
|
| 6925 |
* module.cc (dump): now use streams |
| 6926 |
|
| 6927 |
* preEquation.cc: #include "dumpContext.hh" removed |
| 6928 |
|
| 6929 |
* sort.cc (dump): now use streams |
| 6930 |
|
| 6931 |
* sortCode.hh (class SortCode): now use streams and WORD_SIZE |
| 6932 |
|
| 6933 |
* variableRhsAutomaton.cc (dump): now use streams |
| 6934 |
|
| 6935 |
* sortConstraint.cc: #include "dumpContext.hh" removed |
| 6936 |
|
| 6937 |
* complexSort.cc (operator<<): use nrMaximalSorts() |
| 6938 |
rather than using (now revoked) friendship with connectedComponent |
| 6939 |
(operator<<): use nrSorts() rather than using (now revoked) |
| 6940 |
friendship with connectedComponent |
| 6941 |
(ComplexSort): added new constructor to make a complex sort from a |
| 6942 |
normal sort so that error sorts can be printed correctly |
| 6943 |
|
| 6944 |
* connectedComponent.hh (nrSorts): added |
| 6945 |
(class ConnectedComponent): operator<<(ostream& s, const |
| 6946 |
ComplexSort& c) no longer a friend |
| 6947 |
|
| 6948 |
Wed May 15 14:48:50 1996 Steven Eker <[email protected]> |
| 6949 |
|
| 6950 |
* connectedComponent.cc (operator<<): deleted |
| 6951 |
|
| 6952 |
* connectedComponent.hh: ComplexSort nested class removed |
| 6953 |
|
| 6954 |
* complexSort.hh: created |
| 6955 |
|
| 6956 |
* complexSort.cc: created |
| 6957 |
|
| 6958 |
* connectedComponent.cc (operator<<): added for ComplexSort |
| 6959 |
|
| 6960 |
* connectedComponent.hh (class ConnectedComponent): added |
| 6961 |
ComplexSort nested class |
| 6962 |
|
| 6963 |
* namedEntity.hh: added declaration of |
| 6964 |
operator<<(ostream& s, const NamedEntity* e) |
| 6965 |
|
| 6966 |
Sat May 11 16:30:32 1996 Steven Eker <[email protected]> |
| 6967 |
|
| 6968 |
* variableSymbol.cc (VariableSymbol): pass stable = false |
| 6969 |
|
| 6970 |
Fri Apr 26 11:01:07 1996 Steven Eker <[email protected]> |
| 6971 |
|
| 6972 |
* dagRoot.hh (setNode): added |
| 6973 |
|
| 6974 |
Tue Apr 23 10:58:22 1996 Steven Eker <[email protected]> |
| 6975 |
|
| 6976 |
* subproblemSequence.cc (solve): now take RewritingContext& as argument |
| 6977 |
|
| 6978 |
Wed Apr 17 12:01:29 1996 Steven Eker <[email protected]> |
| 6979 |
|
| 6980 |
* substitution.hh (class Substitution): struct Binding now has |
| 6981 |
active flag; "tests" vector removed |
| 6982 |
|
| 6983 |
* substitution.cc (assert): adapted from insert() |
| 6984 |
(retract): added |
| 6985 |
(subtract): no longer keep tests and bindings seperate; clear |
| 6986 |
active flags |
| 6987 |
|
| 6988 |
Fri Apr 12 17:16:35 1996 Steven Eker <[email protected]> |
| 6989 |
|
| 6990 |
* variable.hh: added atTop argument to |
| 6991 |
analyseConstraintPropagation(), removed commenting from unused parameters |
| 6992 |
|
| 6993 |
* variable.cc (analyseConstraintPropagation): added atTop argument |
| 6994 |
|
| 6995 |
Thu Apr 11 16:07:37 1996 Steven Eker <[email protected]> |
| 6996 |
|
| 6997 |
* substitution.cc (subtract): added |
| 6998 |
(insert): added |
| 6999 |
|
| 7000 |
* substitution.hh: added internal class Difference |
| 7001 |
|
| 7002 |
Thu Mar 28 14:36:58 1996 Steven Eker <[email protected]> |
| 7003 |
|
| 7004 |
* variableIndex.cc: rewritten |
| 7005 |
|
| 7006 |
* variableIndex.hh: now use Vector<> |
| 7007 |
|
| 7008 |
Fri Mar 22 10:19:11 1996 Steven Eker <[email protected]> |
| 7009 |
|
| 7010 |
* variable.cc (findEagerVariables): atTop commented out |
| 7011 |
|
| 7012 |
Thu Mar 21 15:12:35 1996 Steven Eker <[email protected]> |
| 7013 |
|
| 7014 |
* sort.hh: added ERROR_SORT = 0 |
| 7015 |
|
| 7016 |
Wed Mar 20 11:26:47 1996 Steven Eker <[email protected]> |
| 7017 |
|
| 7018 |
* substitution.hh: values chenged to constant pointer; currentSize |
| 7019 |
-> copySize; order of values and copySize switched; inline |
| 7020 |
functions updated |
| 7021 |
|
| 7022 |
* substitution.cc (Substitution): now initialize values as a |
| 7023 |
constant pointer; currentSize -> copySize |
| 7024 |
(copy): currentSize -> copySize |
| 7025 |
|
| 7026 |
Mon Mar 11 10:25:57 1996 Steven Eker <[email protected]> |
| 7027 |
|
| 7028 |
* sort.hh: "static const int" replaced enum |
| 7029 |
|
| 7030 |
Sat Mar 9 16:26:06 1996 Steven Eker <[email protected]> |
| 7031 |
|
| 7032 |
* variable.cc (compileLhs): simple arg removed |
| 7033 |
|
| 7034 |
Thu Feb 15 10:52:11 1996 Steven Eker <[email protected]> |
| 7035 |
|
| 7036 |
* variable.hh: commenting removed from findEagerVariables() args |
| 7037 |
|
| 7038 |
* variable.cc (findEagerVariables): implemented (rather than |
| 7039 |
asserting that we would never be called) |
| 7040 |
|
| 7041 |
Wed Feb 14 17:57:19 1996 Steven Eker <[email protected]> |
| 7042 |
|
| 7043 |
* equation.cc (compile): pass true to PreEquation::compile() |
| 7044 |
|
| 7045 |
* sortConstraint.cc (compile): pass false to PreEquation::compile() |
| 7046 |
|
| 7047 |
* preEquation.hh: added eagerVariablesAllowed flag to compile() |
| 7048 |
made compile() protected |
| 7049 |
|
| 7050 |
* preEquation.cc (compile): added flag so that eager variables can |
| 7051 |
be denied to sort constraint lhs patterns |
| 7052 |
|
| 7053 |
Tue Feb 6 11:16:56 1996 Steven Eker <[email protected]> |
| 7054 |
|
| 7055 |
* preEquation.cc (compile): call Substitution::notify() even if |
| 7056 |
there is no condition |
| 7057 |
|
| 7058 |
* module.cc (closeSignature): now compile sort constraints |
| 7059 |
|
| 7060 |
* sortConstraint.cc: created |
| 7061 |
|
| 7062 |
* sortConstraint.hh: created |
| 7063 |
|
| 7064 |
Fri Feb 2 15:33:47 1996 Steven Eker <[email protected]> |
| 7065 |
|
| 7066 |
* preEquation.cc (compile): parse lhs of equation |
| 7067 |
|
| 7068 |
* equation.cc (compile): parse rhs of equation and check it |
| 7069 |
against lhs |
| 7070 |
|
| 7071 |
* preEquation.cc (compile): use new parse() |
| 7072 |
|
| 7073 |
Thu Feb 1 14:07:36 1996 Steven Eker <[email protected]> |
| 7074 |
|
| 7075 |
* preEquation.cc (compile): parse condition terms |
| 7076 |
|
| 7077 |
* variableSymbol.hh: parse() deleted |
| 7078 |
|
| 7079 |
* variableSymbol.cc: parse() deleted |
| 7080 |
|
| 7081 |
* variableSymbol.hh: parse() added |
| 7082 |
|
| 7083 |
* variableSymbol.cc (parse): added |
| 7084 |
|
| 7085 |
Wed Jan 31 10:32:36 1996 Steven Eker <[email protected]> |
| 7086 |
|
| 7087 |
* equation.hh: complete rewrite based on PreEquation |
| 7088 |
(rhs): added |
| 7089 |
|
| 7090 |
* equation.cc: complete rewrite based on PreEquation |
| 7091 |
|
| 7092 |
* preEquation.hh (hasCondition): added |
| 7093 |
|
| 7094 |
* preEquation.cc (checkCondition): heavily modified; no expects |
| 7095 |
first solution of subproblem to already have been found. No longer |
| 7096 |
self destructs subproblem. Now asserts that condition actually |
| 7097 |
exists (rather than coping with the case where it doesn't). |
| 7098 |
(conditionSatisfied): deleted, code pushed into checkCondition() |
| 7099 |
|
| 7100 |
* variable.hh: added lookupSort() |
| 7101 |
|
| 7102 |
* variable.cc (lookupSort): added |
| 7103 |
|
| 7104 |
Tue Jan 30 17:35:43 1996 Steven Eker <[email protected]> |
| 7105 |
|
| 7106 |
* module.cc (closeSignature): generateSortTable() -> compileOpDeclarations() |
| 7107 |
|
| 7108 |
Thu Jan 11 18:04:51 1996 Steven Eker <[email protected]> |
| 7109 |
|
| 7110 |
* sort.hh: added UNION_SORT constant |
| 7111 |
|
| 7112 |
* connectedComponent.cc (dumpSort): MULTISORT -> Sort::UNION_SORT |
| 7113 |
|
| 7114 |
* connectedComponent.hh: deleted MULTISORT constant |
| 7115 |
|
| 7116 |
Wed Jan 10 16:30:40 1996 Steven Eker <[email protected]> |
| 7117 |
|
| 7118 |
* variableSymbol.cc (VariableSymbol): don't pass a sharable arg to Symbol() |
| 7119 |
|
| 7120 |
* core.cc: added more template instantiations |
| 7121 |
|
| 7122 |
Fri Dec 15 12:44:45 1995 Steven Eker <[email protected]> |
| 7123 |
|
| 7124 |
* equation.cc (compile): crude hack to move compilation into a |
| 7125 |
different function so we can delay compilation until sort info is stable |
| 7126 |
|
| 7127 |
* equation.hh: added compile() |
| 7128 |
|
| 7129 |
Thu Dec 14 10:39:28 1995 Steven Eker <[email protected]> |
| 7130 |
|
| 7131 |
* connectedComponent.cc (dumpSort): added code to deal with union sorts |
| 7132 |
(dumpSort): avoid excess "," in union case |
| 7133 |
|
| 7134 |
* connectedComponent.hh: added findIndex() and findMaximalSorts() |
| 7135 |
|
| 7136 |
* connectedComponent.cc (findIndex): added |
| 7137 |
(findMaximalSorts): added |
| 7138 |
|
| 7139 |
* sortCode.hh (operator!=): added |
| 7140 |
(makeEmpty): added |
| 7141 |
|
| 7142 |
Wed Dec 13 11:54:57 1995 Steven Eker <[email protected]> |
| 7143 |
|
| 7144 |
* dumpContext.hh: added dumpSortTab() |
| 7145 |
|
| 7146 |
* dumpContext.cc (dumpSortTab): added |
| 7147 |
|
| 7148 |
* sort.cc (dump): use dumpSortTab() |
| 7149 |
|
| 7150 |
* dumpContext.cc (dumpSort): chnaged to use ConnectedComponent::dumpSort() |
| 7151 |
|
| 7152 |
* connectedComponent.cc (ConnectedComponent): now set nrMaxSorts |
| 7153 |
(dumpSort): added |
| 7154 |
|
| 7155 |
* connectedComponent.hh: added dumpSort() |
| 7156 |
|
| 7157 |
Fri Dec 8 10:04:56 1995 Steven Eker <[email protected]> |
| 7158 |
|
| 7159 |
* equation.cc: deleted Equation(Term* lhs, RhsAutomaton* rhsAutomaton) |
| 7160 |
(printEquation): removed built-in rhs case |
| 7161 |
|
| 7162 |
* equation.hh: deleted Equation(Term* lhs, RhsAutomaton* rhsAutomaton) |
| 7163 |
|
| 7164 |
* variableSymbol.cc (rewrite): added |
| 7165 |
|
| 7166 |
* variableSymbol.hh: added dummy rewrite() |
| 7167 |
|
| 7168 |
Thu Dec 7 11:00:44 1995 Steven Eker <[email protected]> |
| 7169 |
|
| 7170 |
* dagRoot.hh: public data member removed and replaced by node() function |
| 7171 |
|
| 7172 |
* rewritingContext.cc (reduce): use new node() function |
| 7173 |
|
| 7174 |
* rewritingContext.hh (root): use new node() function; this |
| 7175 |
function now declared const |
| 7176 |
|
| 7177 |
Wed Dec 6 17:13:41 1995 Steven Eker <[email protected]> |
| 7178 |
|
| 7179 |
* namedEntity.hh (id, type): made const |
| 7180 |
|
| 7181 |
* sort.hh: now derived from NamedEntity |
| 7182 |
|
| 7183 |
Tue Dec 5 12:12:15 1995 Steven Eker <[email protected]> |
| 7184 |
|
| 7185 |
* module.cc: added call to NamedEntity constructor |
| 7186 |
|
| 7187 |
* module.hh: now derived from NamedEntity |
| 7188 |
|
| 7189 |
* namedEntity.hh: created |
| 7190 |
|
| 7191 |
Fri Dec 1 09:51:42 1995 Steven Eker <[email protected]> |
| 7192 |
|
| 7193 |
* module.cc (closeSignature): added code to call |
| 7194 |
generateSortTable() on each symbol |
| 7195 |
|
| 7196 |
* sort.cc (dump): use dumpContext::dumpSort() |
| 7197 |
|
| 7198 |
* sortCode.hh (meet): added togther with == and <= |
| 7199 |
added explicit ctors |
| 7200 |
|
| 7201 |
Thu Nov 30 15:39:50 1995 Steven Eker <[email protected]> |
| 7202 |
|
| 7203 |
* module.cc: calls to Sort/ConnectedComponent functions updated |
| 7204 |
|
| 7205 |
* sort.cc (registerConnectedSorts): radically restructured |
| 7206 |
|
| 7207 |
* connectedComponent.cc: radically restructured to include error |
| 7208 |
sorts as real sorts |
| 7209 |
|
| 7210 |
Mon Nov 27 10:52:59 1995 Steven Eker <[email protected]> |
| 7211 |
|
| 7212 |
* core.cc: non longer implement SortCode |
| 7213 |
|
| 7214 |
* sortCode.cc: created |
| 7215 |
|
| 7216 |
* connectedComponent.cc (dump): added dump() |
| 7217 |
|
| 7218 |
* module.cc (dump): added dump() |
| 7219 |
|
| 7220 |
* sort.cc (dump): added dump() |
| 7221 |
|
| 7222 |
Wed Nov 22 10:25:22 1995 Steven Eker <[email protected]> |
| 7223 |
|
| 7224 |
* dumpContext.cc: created |
| 7225 |
|
| 7226 |
* core.cc: removed DumpContext implementation from this file |
| 7227 |
|
| 7228 |
* dumpContext.hh (dumpSort): added |
| 7229 |
|
| 7230 |
* module.cc (closeSignature): pass first sort to connected component |
| 7231 |
|
| 7232 |
* sort.cc (insertMaximalSorts): call component.increment() each |
| 7233 |
time we find a new sort in current connected component |
| 7234 |
|
| 7235 |
* connectedComponent.hh (increment): added code to keep count of |
| 7236 |
sorts in component so that we can detect cycles; |
| 7237 |
Code also added to save first sort so that we have a name for the |
| 7238 |
component and its error sort |
| 7239 |
|
| 7240 |
* connectedComponent.cc (appendSort): added Assert to check for cycle |
| 7241 |
|
| 7242 |
* sort.cc: fixed bug where we were exploring sort with non-null components |
| 7243 |
|
| 7244 |
Tue Nov 21 17:50:09 1995 Steven Eker <[email protected]> |
| 7245 |
|
| 7246 |
* core.cc: template instantiations added |
| 7247 |
added implementation line for sortCode.hh |
| 7248 |
|
| 7249 |
* core.hh: 4 new classes added |
| 7250 |
|
| 7251 |
* sortCode.hh: created |
| 7252 |
|
| 7253 |
* connectedComponent.cc: created |
| 7254 |
|
| 7255 |
* connectedComponent.hh: created |
| 7256 |
|
| 7257 |
* module.cc: created |
| 7258 |
|
| 7259 |
* module.hh: created |
| 7260 |
|
| 7261 |
* sort.hh: created |
| 7262 |
|
| 7263 |
* sort.cc: created |
| 7264 |
|
| 7265 |
Tue Nov 7 10:11:28 1995 Steven Eker <[email protected]> |
| 7266 |
|
| 7267 |
* substitution.cc (Substitution): use of allocatedSize removed, |
| 7268 |
allocateSize definition added |
| 7269 |
|
| 7270 |
* substitution.hh (notify): added; expand() deleted and various |
| 7271 |
Asserts now use aloocateSize rather the currentSize since the |
| 7272 |
latter may not be valid for a "fast" equation |
| 7273 |
|
| 7274 |
* equation.cc (Equation): changed rule->equation for all names; now |
| 7275 |
compute substitution size required and notify Substitution class; |
| 7276 |
also determine if equation is fast. |
| 7277 |
(conditionSatisfied): changed naming |
| 7278 |
(Equation): changed naming |
| 7279 |
(slowApplyReplace): formed from traceApplyReplace() |
| 7280 |
|
| 7281 |
Mon Nov 6 16:47:05 1995 Steven Eker <[email protected]> |
| 7282 |
|
| 7283 |
* equation.hh : created from rule.hh, names changed, eqFast flag |
| 7284 |
added, fastApplyReplace(), slowApplyReplace() added. |
| 7285 |
|
| 7286 |
Mon Oct 23 10:26:39 1995 Steven Eker <[email protected]> |
| 7287 |
|
| 7288 |
* dumpContext.hh : added virtual destructor to silence g++'s complaints |
| 7289 |
|
| 7290 |
* rule.hh : definition added for new functions |
| 7291 |
|
| 7292 |
* rule.cc : huge amount of code rewritten; many new functions to |
| 7293 |
assist tracing |
| 7294 |
|
| 7295 |
* rule.hh (applyReplace): recoded to call traceApplyReplace(), |
| 7296 |
conditionSatified() or subproblemSolved() according to tests |
| 7297 |
(applyReplace): switch arg order for consistancy |
| 7298 |
|
| 7299 |
* rewritingContext.hh : Changed TraceType to new kinds of tracing |
| 7300 |
|
| 7301 |
Tue Oct 17 11:21:05 1995 Steven Eker <[email protected]> |
| 7302 |
|
| 7303 |
* rule.hh (applyReplace): changed code to use conditionSatified() |
| 7304 |
|
| 7305 |
* rule.cc (conditionSatified): added |
| 7306 |
|
| 7307 |
* core.hh: added DumpContext |
| 7308 |
|
| 7309 |
* core.cc: added DumpContext |
| 7310 |
|
| 7311 |
* rule.hh (applyReplace): updated to copy dump context |
| 7312 |
|
| 7313 |
* variableRhsAutomaton.cc (dump): updated to use dump context |
| 7314 |
|
| 7315 |
* variableRhsAutomaton.hh: updated to use dump context |
| 7316 |
|
| 7317 |
* rewritingContext.hh: updated to store dump context |
| 7318 |
|
| 7319 |
* rule.cc (dump): updated to use dump context |
| 7320 |
|
| 7321 |
* dumpContext.hh: created DumpContext |
| 7322 |
|
| 7323 |
* rule.cc (Rule): remove calls to analyseVariables() |
| 7324 |
|
| 7325 |
* variable.cc: removed indexVariables(VariableIndex& indicies) |
| 7326 |
|
| 7327 |
* variable.hh (setIndex): added setIndex() |
| 7328 |
removed indexVariables(VariableIndex& indicies) |
| 7329 |
|
| 7330 |
* rewritingContext.cc (reduce): now use DagNode::reduce() |
| 7331 |
|
| 7332 |
* rule.hh: unvirtualized applyReplace() |
| 7333 |
|
| 7334 |
Fri Oct 13 15:39:09 1995 Steven Eker <[email protected]> |
| 7335 |
|
| 7336 |
* variable.cc: removed getVariable() |
| 7337 |
|
| 7338 |
* variable.hh: removed CHECK_SHARABILITY constant |
| 7339 |
Added downCast() |
| 7340 |
removed getVariable() |
| 7341 |
|
| 7342 |
* substitution.cc: "old"/"source" args changed to "original" |
| 7343 |
Spacing clean up |
| 7344 |
|
| 7345 |
* substitution.hh: "old"/"source" args changed to "original" |
| 7346 |
Asserts added to clear() and expand(); |
| 7347 |
|
| 7348 |
* rule.hh (Rule): virtualized applyReplace() to find out cost of |
| 7349 |
not being able to inline it and having to make a virtual function |
| 7350 |
call; having different kinds of rule with a virtual applyReplace() |
| 7351 |
is one way of getting light weight built-ins where no special |
| 7352 |
matching is needed - only special rewrite rules (==, =/=) |
| 7353 |
|
| 7354 |
* substitution.hh (Substitution): added destructor to delete |
| 7355 |
values array and fix memory leak |