Debian Codegraph @

src/Meta/ChangeLog

raw
1 2025-06-18 Saruman the White <eker@eker10>
2
3 * metaDown.cc (MetaLevel::downSort): don't allow sorts with bad
4 names
5 (MetaLevel::downSort): use Token::isValidSortName()
6
7 2025-06-15 Saruman the White <eker@eker10>
8
9 * metaDownView.cc (MetaLevel::downView): check that id is a valid
10 view name
11
12 2024-05-30 RubĂ©n Rubio <[email protected]>
13
14 * metaView.cc (MetaView::handleTermAndExprMappings):
15 delete the current expressions too
16
17 2024-05-02 Steven Eker <eker@pup>
18
19 * miNarrowSearch.cc (InterpreterManagerSymbol::makeNarrowingSequenceSearch3):
20 removed hack, now that we don't need non-empty startStates; check problemOK()
21
22 * metaNewNarrow2.cc (MetaLevelOpSymbol::makeNarrowingSequenceSearch3):
23 removed hack, now that we don't need non-empty startStates; check problemOK()
24
25 2024-04-24 Steven Eker <eker@pup>
26
27 * metaNewNarrow2.cc (MetaLevelOpSymbol::metaNarrowingSearch): pass
28 dummy argument to getStateInfo()
29
30 * miNarrowSearch.cc (InterpreterManagerSymbol::getNarrowingSearchResult):
31 pass dummy argument to getStateInfo()
32
33 2024-04-22 Steven Eker <eker@pup>
34
35 * miNarrowSearch.cc
36 (InterpreterManagerSymbol::makeNarrowingSequenceSearch3): pass
37 startStates to arrowingSequenceSearch3()
38
39 * metaNewNarrow2.cc
40 (MetaLevelOpSymbol::makeNarrowingSequenceSearch3): pass
41 startStates to arrowingSequenceSearch3()
42
43 ===================================Maude160===========================================
44
45 2024-03-06 Steven Eker <eker@pup>
46
47 * metaUp.cc (MetaLevel::upQid): got rid of const_cast<>
48
49 2024-03-05 Steven Eker <eker@pup>
50
51 * metaUp.cc (MetaLevel::upTerm): remove const_cast<>
52
53 ===================================Maude158===========================================
54
55 2024-01-09 Steven Eker <eker@pup>
56
57 * metaLevel.hh (MetaLevel::downSearchType): support '#
58 (MetaLevel::downSearchType): reimplemented to avoid encode()
59
60 * metaSearch.cc (MetaLevelOpSymbol::downSearchType): deleted
61
62 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): deleted
63 decl for downSearchType()
64
65 * metaNarrow.cc (MetaLevelOpSymbol::makeNarrowingSequenceSearch):
66 use MetaLevel::downSearchType()
67 (MetaLevelOpSymbol::makeNarrowingSequenceSearchAlt): use
68 MetaLevel::downSearchType()
69
70 * metaNewNarrow2.cc
71 (MetaLevelOpSymbol::makeNarrowingSequenceSearch3): use
72 MetaLevel::downSearchType()
73
74 * metaSearch.cc (MetaLevelOpSymbol::makeRewriteSequenceSearch):
75 use MetaLevel::downSearchType()
76 (MetaLevelOpSymbol::makeSMT_RewriteSequenceSearch): use
77 MetaLevel::downSearchType()
78
79 ===================================Maude156===========================================
80
81 2023-12-12 Steven Eker <eker@pup>
82
83 * metaDownRenamings.cc (MetaLevel::downRenamingAttribute):
84 handle latexSymbol
85
86 * metaDownOps.cc (MetaLevel::downAttr): added support for latex;
87 use Token::ropeToCode() for metadata
88 (MetaLevel::downOpDecl): pass ai.latex to addPolymorph() and
89 m->addOpDeclaration()
90
91 * metaLevel.hh (class MetaLevel): added latex field to
92 struct AttributeInfo; added explicit intializers to struct
93 AttributeInfo and StatementAttributeInfo deleted ctor decls
94 (MetaLevel::AttributeInfo::AttributeInfo): deleted
95 (MetaLevel::StatementAttributeInfo::StatementAttributeInfo):
96 deleted
97
98 * metaUpModule.cc (MetaLevel::upRenamingAttributeSet):
99 handle latex attribute
100
101 2023-12-11 Steven Eker <eker@pup>
102
103 * metaUpModule.cc (MetaLevel::upOpDecl): support latex
104 attribute
105 (MetaLevel::upPolymorphDecl): handle latex attribute
106
107 2023-12-05 Steven Eker <eker@pup>
108
109 * metaDownOps.cc (MetaLevel::downOpDecl): pass latexMacro
110 = NONE to addPolymorph() and addOpDeclaration()
111
112 2023-11-30 Steven Eker <eker@pup>
113
114 * metaLevelSignature.cc: added latexSymbol
115
116 ===================================Maude155===========================================
117
118 2023-11-29 Steven Eker <eker@pup>
119
120 * descentFunctions.cc (MetaLevelOpSymbol::metaPrintToString):
121 set PrintSettings::PRINT_WITH_ALIASES if we have a non-empty
122 aliasMap
123
124 2023-11-22 Steven Eker <eker@pup>
125
126 * interpreterSignature.cc: printTermMsg now takes 7
127 arguments
128
129 * miSyntax.cc (InterpreterManagerSymbol::printTerm): handle
130 conceal symbols
131
132 * interpreterManagerSymbol.hh
133 (class InterpreterManagerSymbol): added decl for
134 printTermToString()
135
136 * remoteInterpreter2.cc
137 (InterpreterManagerSymbol::handleMessage): added
138 printTermToStringMsg
139
140 * miSyntax.cc (InterpreterManagerSymbol::printTermToString):
141 added
142
143 * interpreterSignature.cc: added printTermToStringMsg,
144 printedTermToStringMsg
145
146 * descentSignature.cc: metaPrettyPrint operator now takes
147 5 arguments
148
149 * descentFunctions.cc (MetaLevelOpSymbol::metaPrettyPrint):
150 support conceal symbols
151
152 * metaLevel.hh (class MetaLevel): added decl for
153 downConcealedSet()
154
155 * metaDown.cc (MetaLevel::downConcealedSet): added
156
157 * descentFunctions.cc (MetaLevelOpSymbol::metaPrintToString):
158 handle concealSymbols
159
160 2023-11-21 Steven Eker <eker@pup>
161
162 * metaLevel.hh (MetaLevel::upString): use new Rope ctor
163
164 * descentSignature.cc: added metaPrintToString
165
166 * descentFunctions.cc (MetaLevelOpSymbol::metaPrintToString):
167 added
168
169 * metaLevel.hh (MetaLevel::upString): added
170
171 * metaLevelSignature.cc: added withSortsSymbol
172
173 * metaDown.cc (MetaLevel::downPrintOption): handle
174 withSortsSymbol
175
176 2023-11-20 Steven Eker <eker@pup>
177
178 * metaLevel.hh (class MetaLevel): update decl for
179 downPrintOption()
180
181 * metaDown.cc (MetaLevel::downPrintOptionSet): take and pass
182 PrintSettings
183
184 * miSyntax.cc (InterpreterManagerSymbol::printTerm): use
185 PrintSettings
186
187 * descentFunctions.cc (MetaLevelOpSymbol::metaPrettyPrintStrategy):
188 use PrintSettings
189 (MetaLevelOpSymbol::metaPrettyPrint): use PrintSettings
190
191 * metaLevel.hh (class MetaLevel): updated decl for
192 downPrintOptionSet()
193
194 * metaDown.cc (MetaLevel::downPrintOption): use PrintSettings
195
196 2023-11-16 Steven Eker <eker@pup>
197
198 * metaDown.cc (MetaLevel::downPrintOption): Interpreter:: ->
199 PrintSettings::
200
201 ===================================Maude154===========================================
202
203 2023-11-02 Steven Eker <eker@pup>
204
205 * metaDownOps.cc (MetaLevel::downAttr): down portal attributes
206
207 * metaUpModule.cc (MetaLevel::upAttributeSet): up portal attributes
208
209 * metaLevelSignature.cc: added portalSymbol
210
211 2023-06-05 Steven Eker <eker@pup>
212
213 * descentFunctions.cc (MetaLevelOpSymbol::metaRewrite): deleted commented
214 out code, in particular the code for saving and restoring hidden state
215 because the functional metalevel only ever rewrites in modules that it
216 owns and has exclusive access to
217 (MetaLevelOpSymbol::metaFrewrite): ditto
218
219 2023-05-16 Steven Eker <eker@pup>
220
221 * metaLevel.hh (MetaLevel::purge): added
222
223 * metaModuleCache.hh (MetaModuleCache::purge): added
224
225 * metaOpCache.hh (MetaOpCache::Item::clear): moved here
226
227 * metaSrewrite.cc (MetaLevelOpSymbol::metaSrewrite): call purge() before
228 inserting a new state
229
230 * metaOpCache.hh (class MetaOpCache): fix comment
231 (MetaOpCache::purge): added
232
233 ===================================Maude150===========================================
234
235 2023-05-05 Steven Eker <eker@pup>
236
237 * remoteInterpreter2.cc: use static constexpr rather than define for
238 EOT
239
240 * miRewrite.cc (InterpreterManagerSymbol::srewriteTerm): fix bug where
241 rewrite count was only being transfered in failure case
242
243 2023-05-04 Steven Eker <eker@pup>
244
245 * metaSrewrite.cc (MetaLevelOpSymbol::metaSrewrite): fix bug where we
246 we not transferring rewrite count to context
247
248 2023-05-02 Steven Eker <eker@pup>
249
250 * metaModuleCache.hh (class MetaModuleCache): deleted decl for equal()
251
252 2023-05-01 Steven Eker <eker@pup>
253
254 * metaModuleCache.cc (MetaModuleCache::find): revert
255 (MetaModuleCache::equal): deleted
256
257 * metaModuleCache.hh (class MetaModuleCache): added decl for equal()
258
259 * metaModuleCache.cc (MetaModuleCache::equal): added
260
261 2023-04-26 Steven Eker <eker@pup>
262
263 * metaMatch.cc (MetaLevelOpSymbol::metaMatch): reverted; passing solutionNr
264 = 0 to recover the previously generated 0th solution is very common; added
265 comment to that effect
266
267 * metaModuleCache.cc (MetaModuleCache::find): reverted hash check because
268 it doesn't pay for itself, and added comment to this effect
269
270 * metaMatch.cc (MetaLevelOpSymbol::metaMatch): check that solutionNr > 0
271 before consulting getCachedStateObject()
272
273 2023-04-25 Steven Eker <eker@pup>
274
275 * metaModuleCache.cc (MetaModuleCache::find): check hash values before
276 equality
277
278 ===================================Maude146===========================================
279
280 2023-04-12 Steven Eker <eker@pup>
281
282 * miSort.cc (InterpreterManagerSymbol::getMinimalSorts): use empty()
283
284 * descentFunctions.cc (MetaLevelOpSymbol::metaMinimalSorts): use empty()
285
286 ===================================Maude145===========================================
287
288 2023-03-28 Steven Eker <eker@pup>
289
290 * metaModuleCache.cc (MetaModuleCache::flush): contractTo(0) -> clear()
291
292 2023-03-27 Steven Eker <eker@pup>
293
294 * interpreterManagerSymbol.cc
295 (InterpreterManagerSymbol::createInterpreter): don't use preallocate ctor
296
297 * remoteInterpreter.cc
298 (InterpreterManagerSymbol::createRemoteInterpreter): don't use
299 preallocate ctor
300 (InterpreterManagerSymbol::doChildExit): don't use preallocate ctor
301
302 * metaUp.cc (MetaLevel::upDagNode): use reserve() rather than
303 preallocate ctor
304 (MetaLevel::upTerm): use reserve() rather than preallocate ctor
305 (MetaLevel::upContext): use reserve() rather than preallocate ctor
306 (MetaLevel::upDisjointSubstitutions): use reserve() rather than
307 preallocate ctor (2 places) (both versions)
308
309 * metaDown.cc (MetaLevel::downTerm): use reserve() rather than
310 preallocate ctor
311
312 ===================================Maude144===========================================
313
314 2023-03-13 Steven Eker <eker@pup>
315
316 * metaUp.cc (MetaLevel::upTypeList): changed test from nrTypes == 0 to
317 nrTypes <= 0 to avoid compiler warning though nrTypes can never be -1
318
319 ===================================Maude143===========================================
320
321 2023-02-28 Steven Eker <eker@pup>
322
323 * miModule.cc (InterpreterManagerSymbol::insertModule): call cleanCaches()
324 if we displaced an existing module from the interpreter's module database
325 (InterpreterManagerSymbol::insertView): call cleanCaches() if we displaced
326 an existing view from the interpreter's view data base
327
328 * metaDown.cc (MetaLevel::downModule): updated comments on cleanCaches() calls
329
330 * metaDownSignature.cc (MetaLevel::downSignature): call cleanCaches() rather
331 than destructUnusedModules()
332
333 * metaDown.cc (MetaLevel::downModule): call cleanCaches() rather than
334 destructUnusedModules() (2 places)
335
336 ===================================Maude142===========================================
337
338 2023-02-17 Steven Eker <eker@pup>
339
340 * metaUpView.cc (MetaLevel::upOpMappings): don't call isAttrMapping()
341 now that attr mappings have been moved to a separate data structure
342
343 ===================================Maude141===========================================
344
345 2023-02-14 Steven Eker <eker@pup>
346
347 * metaUpView.cc (MetaLevel::upOpMappings): skip over attr mappings
348
349 2023-02-09 Steven Eker <eker@pup>
350
351 * metaLevelSignature.cc: added pconstSymbol
352
353 * metaUpModule.cc (MetaLevel::upAttributeSet): handle PCONST
354
355 * metaDownOps.cc (MetaLevel::downAttr): handle PCONST
356
357 * metaUpModule.cc (MetaLevel::upImports): handle GENERATED_BY
358
359 * metaLevelSignature.cc: added generatedBySymbol
360
361 * metaDownSignature.cc (MetaLevel::downImport2): handle GENERATED_BY
362
363 * metaDown.cc (MetaLevel::downImport): handle GENERATED_BY
364
365 ===================================Maude140===========================================
366
367 2023-01-31 Steven Eker <eker@pup>
368
369 * metaDown.cc (MetaLevel::downRule): call checkRule()
370 (MetaLevel::downEquation): call checkEquation()
371 (MetaLevel::downMembAx): call checkSortConstraint()
372
373 2023-01-10 Steven Eker <eker@pup>
374
375 * metaUpModule.cc (MetaLevel::upImports): added comment to explain why we
376 are dealing with the PreModule rather than the flat module
377
378 ===================================Maude139===========================================
379
380 2021-08-26 Steven Eker <eker@pup>
381
382 * metaLevelOpSymbol.cc (MetaLevelOpSymbol::eqRewrite): code cleaning
383 (MetaLevelOpSymbol::complexStrategy): code cleaning
384
385 ===================================Maude137===========================================
386
387 2021-03-23 Steven Eker <eker2@eker10>
388
389 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
390 delete enum Sizes now that we get READ_BUFFER_SIZE from
391 PseudoThread
392
393 2021-03-16 Steven Eker <eker2@eker10>
394
395 * metaUpView.cc (MetaLevel::upOpMappings): use range-based for
396 loop
397
398 * metaUpModule.cc (MetaLevel::upImports): use range-based for loop
399 (MetaLevel::upModuleExpression): use range-based for loop
400 (MetaLevel::upTypeSorts): use range-based for loop
401 (MetaLevel::upStrat): use range-based for loop
402 (MetaLevel::upFrozen): use range-based for loop
403
404 * metaUp.cc (MetaLevel::upTypeListSet): use range-based for loop
405
406 * metaNewNarrow.cc (MetaLevelOpSymbol::makeNarrowingSearchState2):
407 use range-based for loop
408
409 * metaDownView.cc (MetaLevel::downInstantiationArguments): use
410 range-based for loop
411
412 * metaDownRenamings.cc (MetaLevel::convertToTokens): use
413 range-based for loop
414
415 * metaDown.cc (MetaLevel::downCondition): use range-based for loop
416 (MetaLevel::downTermList): use range-based for loop
417 (MetaLevel::duplicate): use range-based for loop
418
419 * legacyMetaVariantUnify.cc
420 (MetaLevelOpSymbol::legacyMetaVariantUnify2): use range-based for
421 loop (3 places)
422
423 ===================================Maude135===========================================
424
425 2021-02-19 Steven Eker <eker2@eker10>
426
427 * metaUnify.cc (MetaLevelOpSymbol::metaUnify2): unmade previous
428 change
429
430 * legacyMetaUnify.cc (MetaLevelOpSymbol::legacyMetaUnify2): unmade
431 previous change
432
433 * miUnify.cc (InterpreterManagerSymbol::getUnifier): unmade
434 previous change
435
436 * legacyMetaUnify.cc (MetaLevelOpSymbol::legacyMetaUnify2): pass
437 destructiveUpdates = true to UnificationProblem()
438
439 * metaUnify.cc (MetaLevelOpSymbol::metaUnify2): pass
440 destructiveUpdates = true to UnificationProblem()
441
442 * miUnify.cc (InterpreterManagerSymbol::getUnifier): pass
443 destructiveUpdates = true to UnificationProblem()
444
445 2021-02-11 Steven Eker <eker2@eker10>
446
447 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
448 updated decl for getInterpreter()
449
450 * interpreterManagerSymbol.cc
451 (InterpreterManagerSymbol::getInterpreter): return Interpreter*
452 rather than bool
453 (InterpreterManagerSymbol::handleMessage): use new
454 getInterpreter() semantics
455
456 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
457 deleted decls for bool versions of getOneStepNarrowing(),
458 getNarrowingSearchResult()
459
460 * interpreterNewNarrowSearch.cc: deleted
461
462 * miNarrowSearch.cc
463 (InterpreterManagerSymbol::makeNarrowingSequenceSearch3): moved
464 here
465 (InterpreterManagerSymbol::makeNarrowingSearchPath): moved here
466
467 * interpreterNewNarrow.cc: deleted
468
469 * miNarrow.cc
470 (InterpreterManagerSymbol::makeNarrowingSearchState2): moved here
471
472 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
473 deleted decls for bool versions of getSearchResult(), getMatch(),
474 getXmatch()
475
476 * interpreterSearch.cc: deleted
477
478 * miSearch.cc
479 (InterpreterManagerSymbol::makeRewriteSequenceSearch): moved here
480
481 * interpreterMatch.cc: deleted
482
483 * miMatch.cc (InterpreterManagerSymbol::makeMatchSearchState):
484 moved here
485 (InterpreterManagerSymbol::makeMatchSearchState2): moved here
486
487 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
488 deleted decls for bool versions of applyRule(), reduceTerm(),
489 rewriteTerm(), frewriteTerm(), erewriteTerm(), srewriteTerm()
490
491 * miRewrite.cc (InterpreterManagerSymbol::makeStrategicSearch):
492 moved here
493
494 * interpreterApply.cc: deleted
495
496 * miApply.cc (InterpreterManagerSymbol::makeRewriteSearchState):
497 moved here
498
499 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
500 deleted decls for bool versions of insertModule(), showModule(),
501 insertView(), showView(), printTerm(), parseTerm(),
502 getLesserSorts(), getMaximalSorts(), getMinimalSorts(),
503 compareTypes(), getKind(), getKinds(), getGlbTypes(),
504 getMaximalAritySet(), normalizeTerm(), getUnifier(), getVariant(),
505 getVariantUnifier(), getVariantMatcher()
506
507 * interpreterVariantMatch.cc: deleted
508
509 * interpreterVariantUnify.cc: deleted
510
511 * interpreterVariant.cc: deleted
512
513 * interpreterUnify.cc: deleted
514
515 * interpreterPrint.cc: deleted
516
517 * interpreterManagerSymbol.cc
518 (InterpreterManagerSymbol::handleMessage): don't rely on message
519 being a FreeDagNode*
520
521 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
522 deleted decl for getInterpreterAndModule()
523
524 * interpreterManagerSymbol.cc
525 (InterpreterManagerSymbol::handleMessage): rewritten to use remote
526 interpreter code for in-process interpreters
527 (InterpreterManagerSymbol::insertModule)
528 (InterpreterManagerSymbol::showModule)
529 (InterpreterManagerSymbol::insertView)
530 (InterpreterManagerSymbol::showView): deleted
531 (InterpreterManagerSymbol::getInterpreterAndModule): deleted
532
533 2021-02-10 Steven Eker <eker2@eker10>
534
535 * remoteInterpreter2.cc
536 (InterpreterManagerSymbol::becomeRemoteInterpreter): protect
537 deserialized message with DagRoot()
538 (InterpreterManagerSymbol::handleMessage): don't protect message
539 here
540
541 ===================================Maude133===========================================
542
543 2020-12-14 Steven Eker <eker2@eker10>
544
545 * interpreterManagerSymbol.cc
546 (InterpreterManagerSymbol::upRewriteCount): use Ruben's hack to
547 fix the lack of a conversion from long long int to mpz_class on
548 32-bit machines
549
550 ===================================Maude132-32===========================================
551
552 2020-12-11 Steven Eker <eker2@eker10>
553
554 * remoteInterpreter.cc (makeNonblockingSocketPair): don't
555 shutdown(pair[1], SHUT_RD) because this causes a "socket not
556 connected" error on Mac, even though pair[1] is open for writing
557 and is never going to be read
558
559 2020-12-08 Steven Eker <eker2@eker10>
560
561 * remoteInterpreter.cc (InterpreterManagerSymbol::doChildExit):
562 added SOCKET_CLOSED case
563 (InterpreterManagerSymbol::createRemoteInterpreter):
564 setTraceStatus(false) to disable tracing, break points, profiling
565 and the print attribute
566
567 * remoteInterpreter2.cc
568 (InterpreterManagerSymbol::receiveMessage): detect EOF on socket
569 and exit with SOCKET_CLOSED code
570
571 2020-12-07 Steven Eker <eker2@eker10>
572
573 * remoteInterpreter2.cc (InterpreterManagerSymbol::handleMessage):
574 added support for getNarrowingSearchResult(),
575 getNarrowingSearchResultAndPath()
576
577 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
578 added decl for getNarrowingSearchResult()
579
580 * miNarrowSearch.cc: created
581
582 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
583 added decls for Interpreter* versions of getLesserSorts(),
584 getMaximalSorts(), getMinimalSorts(), compareTypes(), getKind(),
585 getKinds(), getGlbTypes(), getMaximalAritySet(), normalizeTerm()
586
587 * remoteInterpreter2.cc (InterpreterManagerSymbol::handleMessage):
588 support getLesserSortsMsg, getMaximalSortsMsg, getMinimalSortsMsg,
589 compareTypesMsg, getKindMsg, getKindsMsg, getGlbTypesMsg,
590 getMaximalAritySetMsg, normalizeTermMsg
591
592 * miSort.cc: created
593
594 2020-12-04 Steven Eker <eker2@eker10>
595
596 * remoteInterpreter.cc (InterpreterManagerSymbol::doChildExit):
597 delete interpeter as an external object in configuration
598
599 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
600 added decl for Interpreter* version of getOneStepNarrowing()
601
602 * miNarrow.cc: created
603
604 * remoteInterpreter2.cc (InterpreterManagerSymbol::handleMessage):
605 added support for narrowing with variant unification
606
607 * remoteInterpreter.cc
608 (InterpreterManagerSymbol::remoteHandleMessage): call
609 requestChildExitCallback()
610 (InterpreterManagerSymbol::remoteHandleReply): call
611 cancelChildExitCallback()
612 (InterpreterManagerSymbol::createRemoteInterpreter): don't call
613 requestChildExitCallback(pid)
614
615 * remoteInterpreterNonblocking.cc
616 (InterpreterManagerSymbol::outputWholeErrorLines): code cleaning
617
618 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
619 added decls for Interpreter* versions of printTerm(), parseTerm()
620
621 * miSyntax.cc: created
622
623 * remoteInterpreter2.cc (InterpreterManagerSymbol::handleMessage):
624 added support for printTermMsg and parseTermMsg
625
626 2020-12-02 Steven Eker <eker2@eker10>
627
628 * interpreterManagerSymbol.cc
629 (InterpreterManagerSymbol::handleMessage): handle quit locally
630 even for remote interpreter
631
632 * remoteInterpreter.cc (InterpreterManagerSymbol::doChildExit):
633 use interpreterExitMsg
634 (InterpreterManagerSymbol::createRemoteInterpreter): call
635 UserLevelRewritingContext::ignoreCtrlC() if we're the child
636
637 * interpreterSignature.cc: added interpreterExitMsg
638
639 * remoteInterpreterNonblocking.cc
640 (InterpreterManagerSymbol::outputWholeErrorLines): look for EOF
641 condition rather than reading at least one character
642 (InterpreterManagerSymbol::doRead): only request callbacks on
643 sockets where we haven't detected an EOF condition; clear flags
644 on sockets where we have seen EOF
645
646 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
647 updated decl for outputWholeErrorLines()
648
649 * remoteInterpreterNonblocking.cc
650 (InterpreterManagerSymbol::outputWholeErrorLines): return flag as
651 to whether we read at least one character
652
653 * interpreterManagerSymbol.cc
654 (InterpreterManagerSymbol::deleteInterpreter): delete charArray
655
656 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
657 added decl for doChildExit()
658
659 * remoteInterpreter.cc (InterpreterManagerSymbol::doChildExit):
660 added
661
662 * interpreterManagerSymbol.cc
663 (InterpreterManagerSymbol::deleteInterpreter):
664 cancelChildExitCallback() before terminating child; close error
665 socket
666
667 * remoteInterpreter.cc
668 (InterpreterManagerSymbol::createRemoteInterpreter): close child
669 end of error socket; request child exit callback
670
671 2020-12-01 Steven Eker <eker2@eker10>
672
673 * interpreterManagerSymbol.cc
674 (InterpreterManagerSymbol::deleteInterpreter): call waitpid() for
675 the process we just terminated
676
677 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
678 added decl for Interpreter* version of applyRule()
679
680 * remoteInterpreter2.cc (InterpreterManagerSymbol::handleMessage):
681 added support for applyRuleMsg, applyRule2Msg
682
683 * miApply.cc: created
684
685 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
686 added decls for getMatch(), getXmatch()
687
688 * remoteInterpreter2.cc (InterpreterManagerSymbol::handleMessage):
689 handle getMatchMsg, getXmatchMsg
690
691 * miMatch.cc: created
692
693 * remoteInterpreter2.cc (InterpreterManagerSymbol::handleMessage):
694 handle getVariantMatcherMsg; no need to cast to FreeDagNode* for
695 unsupported message
696
697 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
698 added decl for Interpreter* version of getVariantMatcher()
699
700 * miVariantMatch.cc: created
701
702 * miVariantUnify.cc (InterpreterManagerSymbol::getVariantUnifier):
703 down variable family name before variant flags
704
705 * miVariant.cc (InterpreterManagerSymbol::getVariant): get test
706 for good Bool the right way around
707
708 2020-11-30 Steven Eker <eker2@eker10>
709
710 * remoteInterpreter2.cc (InterpreterManagerSymbol::handleMessage):
711 added support for getVariantMsg
712
713 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
714 added decl for Interpreter* version of getVariant()
715
716 * miVariant.cc: created
717
718 * miVariantUnify.cc (InterpreterManagerSymbol::getVariantUnifier):
719 restructured if statements
720 (InterpreterManagerSymbol::getVariantUnifier): replace
721 FOR_EACH_CONST with range based for loop
722
723 * interpreterVariantUnify.cc
724 (InterpreterManagerSymbol::getVariantUnifier): delete stray cerr
725 debugging message
726
727 * remoteInterpreter2.cc (InterpreterManagerSymbol::handleMessage):
728 handle getVariantUnifierMsg and getDisjointVariantUnifierMsg
729
730 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
731 added decl for Interpreter* version of getVariantUnifier()
732
733 * miVariantUnify.cc: created
734
735 * miUnify.cc (InterpreterManagerSymbol::getUnifier): rewritten
736 using getMetaModule()
737
738 * miSearch.cc (InterpreterManagerSymbol::getSearchResult):
739 rewritten using getMetaModule()
740
741 * miRewrite.cc (InterpreterManagerSymbol::reduceTerm): rewritten
742 to use getMetaModule()
743 (InterpreterManagerSymbol::rewriteTerm): rewritten using
744 getMetaModule()
745 (InterpreterManagerSymbol::frewriteTerm): rewritten using
746 getMetaModule()
747 (InterpreterManagerSymbol::erewriteTerm): rewritten using
748 getMetaModule()
749 (InterpreterManagerSymbol::srewriteTerm): rewritten using
750 getMetaModule()
751
752 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
753 updated decl for getMetaModule()
754
755 * miModule.cc (InterpreterManagerSymbol::getMetaModule): return
756 MetaModule* rather than error message
757
758 * remoteInterpreter2.cc (InterpreterManagerSymbol::handleMessage):
759 added support for getUnifierMsg, getDisjointUnifierMsg,
760 getIrredundantUnifierMsg, getIrredundantDisjointUnifierMsg
761
762 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
763 added decls for getMetaModule(), Interpreter* version of
764 getUnifier()
765
766 * miUnify.cc: created
767
768 * miModule.cc (InterpreterManagerSymbol::getMetaModule): added
769
770 2020-11-25 Steven Eker <eker2@eker10>
771
772 * remoteInterpreter2.cc (InterpreterManagerSymbol::handleMessage):
773 add support for getSearchResult()/getSearchResultPath() messages
774
775 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
776 added decl for Interpreter* version of getSearchResult()
777
778 * miSearch.cc: created
779
780 * remoteInterpreter2.cc (InterpreterManagerSymbol::handleMessage):
781 added support for insertView() and showView() messages
782
783 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
784 added decls for Interpreter* versions of insertView(), showView()
785
786 * miModule.cc (InterpreterManagerSymbol::insertView)
787 (InterpreterManagerSymbol::showView): added Interpreter* versions
788
789 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
790 added decl for Interpreter* version of showModule()
791
792 * miModule.cc (InterpreterManagerSymbol::insertModule): moved here
793 (InterpreterManagerSymbol::showModule): added Interpreter* version
794
795 * remoteInterpreter2.cc
796 (InterpreterManagerSymbol::becomeRemoteInterpreter): new
797 handleMessage() calling convention
798
799 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
800 updated decl for remote version of handleMessage()
801
802 * remoteInterpreter2.cc (InterpreterManagerSymbol::handleMessage):
803 support srewrite
804 (InterpreterManagerSymbol::handleMessage): take message as
805 FreeDagNode*; support showModule
806
807 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
808 added decl for Interpreter* version of srewriteTerm()
809
810 * miRewrite.cc (InterpreterManagerSymbol::srewriteTerm): added
811 Interpreter* version
812
813 2020-11-24 Steven Eker <eker2@eker10>
814
815 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
816 added decls for Interpreter* versions of frewriteTerm(),
817 erewriteTerm()
818
819 * miRewrite.cc (InterpreterManagerSymbol::frewriteTerm): added
820 Interpreter* version
821 (InterpreterManagerSymbol::erewriteTerm): added Interpreter*
822 version
823
824 * remoteRewrite.cc: renamed to miRewrite.cc
825
826 * remoteInterpreterNonblocking.cc
827 (InterpreterManagerSymbol::doRead): rewritten to do multiple reads
828 per call in case there is a huge DAG coming through
829
830 * remoteInterpreter.cc
831 (InterpreterManagerSymbol::remoteHandleMessage): removed commented
832 out code
833
834 2020-11-23 Steven Eker <eker2@eker10>
835
836 * remoteInterpreterNonblocking.cc
837 (InterpreterManagerSymbol::doRead): don't check against errSocket
838 if we already saw ioSocket
839 (InterpreterManagerSymbol::doRead): break loop as soon as we see
840 ioSocket
841
842 * remoteInterpreter.cc
843 (InterpreterManagerSymbol::createRemoteInterpreter): call
844 unsetAutoWrap()
845
846 * remoteInterpreter2.cc (InterpreterManagerSymbol::handleMessage):
847 added DebugInfo()
848
849 * remoteInterpreterNonblocking.cc
850 (InterpreterManagerSymbol::doRead): check for fd being an
851 errSocket
852 (InterpreterManagerSymbol::doRead): clearFlags() on error socket
853 if we have no more pending replies
854
855 * remoteInterpreter.cc
856 (InterpreterManagerSymbol::remoteHandleMessage): request a
857 callback on errSocket
858
859 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
860 added decl for outputWholeErrorLines()
861
862 * remoteInterpreterNonblocking.cc
863 (InterpreterManagerSymbol::outputWholeErrorLines): added
864 (InterpreterManagerSymbol::doRead): call outputWholeErrorLines()
865
866 * remoteInterpreter.cc
867 (InterpreterManagerSymbol::createRemoteInterpreter): create error
868 sockets; save socket in parent and connect socket to stderr in
869 child
870
871 2020-11-20 Steven Eker <eker2@eker10>
872
873 * remoteInterpreter2.cc
874 (InterpreterManagerSymbol::receiveMessage): account for multiple
875 messages being left over from last read
876 (InterpreterManagerSymbol::receiveMessage): select correct piece
877 of buffer in multiple messages case
878
879 * interpreterManagerSymbol.cc
880 (InterpreterManagerSymbol::deleteInterpreter): clear and
881 PseudoThread flags on socket so we don't get a future conflict
882
883 * remoteInterpreter.cc
884 (InterpreterManagerSymbol::remoteHandleReply): must decrement
885 nrPendingReplies
886
887 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
888 added decl for remoteHandleReply()
889
890 * remoteInterpreter.cc
891 (InterpreterManagerSymbol::createRemoteInterpreter): init module
892 field for new RemoteInterpreter
893 (InterpreterManagerSymbol::createRemoteInterpreter): init owner;
894 don't init lastRequest
895 (InterpreterManagerSymbol::remoteHandleMessage): use module field
896 of RemoteInterpreter
897 (InterpreterManagerSymbol::remoteHandleReply): added
898
899 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
900 added module field to struct RemoteInterpreter
901
902 * remoteInterpreterNonblocking.cc
903 (InterpreterManagerSymbol::doRead): added
904
905 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
906 added incomingMessage field to struct RemoteInterpreter
907 (class InterpreterManagerSymbol): added decl for doRead();
908
909 * remoteInterpreter.cc
910 (InterpreterManagerSymbol::createRemoteInterpreter): init
911 nrPendingReplies for new RemoteInterpreter
912
913 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
914 added nrPendingReplies field to struct RemoteInterpreter
915
916 2020-11-19 Steven Eker <eker2@eker10>
917
918 * remoteInterpreter.cc
919 (InterpreterManagerSymbol::remoteHandleMessage): use
920 nonBlockingSend()
921
922 * remoteInterpreterNonblocking.cc: created
923
924 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
925 added charArray, unsent and nrUnsent fields to struct
926 RemoteInterpreter
927 (class InterpreterManagerSymbol): added decls for doWrite() and
928 nonblockingSendMessage()
929
930 * remoteInterpreter.cc
931 (InterpreterManagerSymbol::createRemoteInterpreter): init
932 charArray, unsent, nrUnsent fields in new RemoteInterpreter
933
934 2020-11-16 Steven Eker <eker2@eker10>
935
936 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
937 added decl for remote version of handleMessage()
938
939 * remoteInterpreter2.cc (InterpreterManagerSymbol::insertModule):
940 return error message if module bad
941 (InterpreterManagerSymbol::handleMessage): added remote version
942 (InterpreterManagerSymbol::becomeRemoteInterpreter): use
943 handleMessage()
944
945 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
946 added decl for remote version of rewriteTerm()
947
948 * remoteRewrite.cc (InterpreterManagerSymbol::reduceTerm): moved
949 here; return error message for each failure mode
950 (InterpreterManagerSymbol::rewriteTerm): added
951
952 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
953 added decl for makeErrorReply()
954 (InterpreterManagerSymbol::errorReply): moved here and
955 reimplemented using makeErrorReply()
956
957 * remoteInterpreter.cc (InterpreterManagerSymbol::makeErrorReply):
958 added
959
960 2020-11-13 Steven Eker <eker2@eker10>
961
962 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
963 updated decl for becomeRemoteInterpreter()
964
965 * remoteInterpreter.cc
966 (InterpreterManagerSymbol::createRemoteInterpreter): pass context
967 arg to becomeRemoteInterpreter()
968
969 * remoteInterpreter2.cc
970 (InterpreterManagerSymbol::becomeRemoteInterpreter): take context
971 arg
972
973 * interpreterManagerSymbol.cc
974 (InterpreterManagerSymbol::handleMessage): new
975 remoteHandleMessage() convention
976
977 * remoteInterpreter.cc
978 (InterpreterManagerSymbol::remoteHandleMessage): rewritten
979
980 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
981 added decls for receiveMessage(), sendMessage(), and remote
982 versions of insertModule(), reduceTerm(); delete decl for
983 getNextCommand()
984 (class InterpreterManagerSymbol): updated decl for
985 remoteHandleMessage()
986
987 * remoteInterpreter2.cc: created
988
989 * remoteInterpreter.cc (InterpreterManagerSymbol::getNextCommand):
990 fixed off-by-1 error
991
992 2020-11-12 Steven Eker <eker2@eker10>
993
994 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
995 added decl for remoteHandleMessage()
996
997 * remoteInterpreter.cc
998 (InterpreterManagerSymbol::remoteHandleMessage): added
999
1000 * interpreterManagerSymbol.cc
1001 (InterpreterManagerSymbol::handleMessage): hack using
1002 getRemoteInterpreter() to divert messages for remote interpreters
1003
1004 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
1005 added decl for getRemoteInterpreter()
1006
1007 * interpreterManagerSymbol.cc
1008 (InterpreterManagerSymbol::deleteInterpreter): handle deletion of
1009 remote interpreter
1010 (InterpreterManagerSymbol::getRemoteInterpreter): added
1011
1012 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
1013 added decl for becomeRemoteInterpreter()
1014
1015 * remoteInterpreter.cc (InterpreterManagerSymbol::getNextCommand):
1016 added
1017
1018 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
1019 added decl for becomeRemoteInterpreter()
1020 (class InterpreterManagerSymbol): added enum Sizes
1021
1022 * remoteInterpreter.cc
1023 (InterpreterManagerSymbol::createRemoteInterpreter): fork new
1024 process
1025 (InterpreterManagerSymbol::becomeRemoteInterpreter): added stub
1026
1027 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
1028 added decl for errorReply()
1029
1030 * remoteInterpreter.cc (ProcessManagerSymbol::errorReply): added
1031
1032 * interpreterSignature.cc: added interpreterErrorMsg, stringSymbol
1033
1034 2020-11-11 Steven Eker <eker2@eker10>
1035
1036 * interpreterManagerSymbol.cc
1037 (InterpreterManagerSymbol::createInterpreter): call
1038 createRemoteInterpreter()
1039
1040 * remoteInterpreter.cc: created
1041
1042 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
1043 added decl for createRemoteInterpreter()
1044
1045 * interpreterManagerSymbol.cc
1046 (InterpreterManagerSymbol::createInterpreter): check for
1047 newProcess argument and slot being used by a remoteInterpreter
1048
1049 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
1050 derive from PseudoThread
1051 (class InterpreterManagerSymbol): added struct RemoteInterpreter,
1052 typedef RemoteInterpreterMap, data member remoteInterpreters
1053
1054 * interpreterSignature.cc: added newProcessSymbol
1055
1056 ===================================Maude132===========================================
1057
1058 2020-09-16 Steven Eker <eker2@eker10>
1059
1060 * interpreterSignature.cc: getNarrowingSearchResultMsg and
1061 getNarrowingSearchResultAndPathMsg now take 10 arguments
1062
1063 * interpreterNewNarrowSearch.cc
1064 (InterpreterManagerSymbol::getNarrowingSearchResult): handle
1065 VariantOptionSet argument and OR KEEP_HISTORY into variantFlags if
1066 needed
1067
1068 * metaNewNarrow2.cc (MetaLevelOpSymbol::metaNarrowingSearch):
1069 handle VariantOptionSet argument; pass variantFlags to
1070 makeNarrowingSequenceSearch3()
1071 (MetaLevelOpSymbol::metaNarrowingSearchPath): handle
1072 VariantOptionSet argument; OR variantFlags into the value passed
1073 to makeNarrowingSequenceSearch3()
1074 (MetaLevelOpSymbol::metaNarrowingSearchPath): pull down solutionNr
1075 before module
1076 (MetaLevelOpSymbol::metaNarrowingSearch): pull down solutionNr
1077 before module
1078
1079 * descentSignature.cc: metaNarrowingSearch and
1080 metaNarrowingSearchPath now take 8 arguments
1081
1082 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): updated decl for
1083 makeNarrowingSearchState2()
1084
1085 * metaNewNarrow.cc (MetaLevelOpSymbol::metaNarrowingApply): handle
1086 VariantOptionSet argument and pass variantFlags to
1087 makeNarrowingSearchState2()
1088 (MetaLevelOpSymbol::makeNarrowingSearchState2): take variantFlags
1089 argument and pass it to NarrowingSearchState2()
1090
1091 * descentSignature.cc: metaNarrowingApply now takes 6 arguments
1092
1093 2020-09-15 Steven Eker <eker2@eker10>
1094
1095 * interpreterVariantUnify.cc
1096 (InterpreterManagerSymbol::getVariantUnifier): make use of DELAY =
1097 VariantSearch::IRREDUNDANT_MODE to directly OR in variantFlags
1098
1099 * metaVariantUnify.cc (MetaLevelOpSymbol::metaVariantUnify2): make
1100 use of DELAY = VariantSearch::IRREDUNDANT_MODE to directly OR in
1101 variantFlags
1102
1103 * metaLevel.hh (class MetaLevel): make DELAY =
1104 VariantSearch::IRREDUNDANT_MODE and FILTER =
1105 VariantUnificationProblem::FILTER_VARIANT_UNIFIERS
1106
1107 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
1108 updated decl for makeNarrowingSearchState2()
1109
1110 * interpreterNewNarrow.cc
1111 (InterpreterManagerSymbol::getOneStepNarrowing): handle
1112 VariantOptionSet argument and pass variantFlags to
1113 makeNarrowingSearchState2()
1114 (InterpreterManagerSymbol::makeNarrowingSearchState2): take
1115 variantFlags and pass it through to NarrowingSearchState2()
1116
1117 * interpreterSignature.cc: getOneStepNarrowingMsg now takes 8
1118 arguments
1119
1120 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
1121 updated decl for makeNarrowingSequenceSearch3()
1122
1123 * interpreterNewNarrowSearch.cc
1124 (InterpreterManagerSymbol::makeNarrowingSequenceSearch3): take
1125 variantFlags rather than keepHistory; pass variantFlags rather
1126 than fold and keepHistory to NarrowingSequenceSearch3()
1127 (InterpreterManagerSymbol::getNarrowingSearchResult): pass
1128 variantFlags rather than returnPath to
1129 makeNarrowingSequenceSearch3()
1130
1131 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): updated decl for
1132 makeNarrowingSequenceSearch3()
1133
1134 * metaNewNarrow2.cc
1135 (MetaLevelOpSymbol::makeNarrowingSequenceSearch3): take
1136 variantFlags rather than keepHistory; pass variantFlags rather
1137 than fold and keepHistory to NarrowingSequenceSearch3()
1138 (MetaLevelOpSymbol::metaNarrowingSearch): pass variantFlags = 0
1139 to makeNarrowingSequenceSearch3()
1140 (MetaLevelOpSymbol::metaNarrowingSearchPath): pass variantFlags =
1141 NarrowingSequenceSearch3::KEEP_HISTORY to
1142 makeNarrowingSequenceSearch3()
1143
1144 2020-09-11 Steven Eker <eker2@eker10>
1145
1146 * interpreterVariant.cc (InterpreterManagerSymbol::getVariant):
1147 rewritten use to findNextVariant(), getCurrentVariant()
1148
1149 * legacyMetaVariant.cc (MetaLevelOpSymbol::legacyMetaGetVariant2):
1150 rewritten use to findNextVariant(), getCurrentVariant()
1151
1152 * metaVariant.cc (MetaLevelOpSymbol::metaGetVariant2): use
1153 range-based for loop; rewritten use to findNextVariant(),
1154 getCurrentVariant()
1155
1156 * legacyMetaVariant.cc (MetaLevelOpSymbol::legacyMetaGetVariant2):
1157 use range-based for loop
1158
1159 * interpreterVariant.cc (InterpreterManagerSymbol::getVariant):
1160 use range-based for loop
1161
1162 * interpreterNewNarrow.cc
1163 (InterpreterManagerSymbol::makeNarrowingSearchState2): use
1164 range-based for loop
1165
1166 2020-09-08 Steven Eker <eker2@eker10>
1167
1168 * interpreterManagerSymbol.cc
1169 (InterpreterManagerSymbol::handleMessage): handle
1170 getVariantMatcherMsg
1171
1172 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
1173 added decl for getVariantMatcher()
1174
1175 * interpreterVariantMatch.cc: created
1176
1177 * metaVariantMatch.cc (MetaLevelOpSymbol::metaVariantMatch):
1178 reorganized tests to we don't pull down stuff until we're sure we
1179 need it
1180 (MetaLevelOpSymbol::metaVariantMatch): add in rewrites from
1181 subjectContext
1182
1183 * interpreterSignature.cc: added getVariantMatcherMsg,
1184 gotVariantMatcherMsg
1185
1186 2020-09-04 Steven Eker <eker2@eker10>
1187
1188 * metaVariantMatch.cc (MetaLevelOpSymbol::metaVariantMatch): pass
1189 subjectContext to makeVariantMatchingProblem()
1190
1191 2020-09-03 Steven Eker <eker2@eker10>
1192
1193 * metaLevel.hh (class MetaLevel): updated decl for
1194 upNoMatchSubst()
1195
1196 * metaUp.cc (MetaLevel::upNoMatchSubst): take incomplete flag
1197
1198 * metaVariantMatch.cc: created
1199
1200 * metaLevel.hh (class MetaLevel): added decls for
1201 downMatchingProblem(), downPatternSubjectPair()
1202
1203 * metaDown.cc (MetaLevel::downPatternSubjectPair): added
1204 (MetaLevel::downUnificationProblem): fix memory leak where we were
1205 using delete rather that deepSelfDestuct() to dispose of Terms
1206 after error; use range-based for loops
1207 (MetaLevel::downMatchingProblem): added
1208
1209 * descentSignature.cc: added metaVariantMatch
1210
1211 * metaLevelSignature.cc: added patternSubjectPairSymbol,
1212 matchingConjunctionSymbol, noMatchIncompleteSubstSymbol
1213
1214 2020-09-02 Steven Eker <eker2@eker10>
1215
1216 * interpreterVariantUnify.cc
1217 (InterpreterManagerSymbol::getVariantUnifier): call
1218 downVariantOptionSet()
1219 (InterpreterManagerSymbol::getVariantUnifier): support delay and
1220 filter options
1221
1222 * interpreterSignature.cc: getVariantUnifierMsg,
1223 getDisjointVariantUnifierMsg now take 8 arguments each
1224
1225 2020-09-01 Steven Eker <eker2@eker10>
1226
1227 * metaVariantUnify.cc (MetaLevelOpSymbol::metaVariantUnify2): pass
1228 IRREDUNDANT_MODE flag based on DELAY flag to
1229 FilteredVariantUnifierSearch() and VariantSearch()
1230
1231 * metaDown.cc (MetaLevel::downVariantOptionSet): fixed bug where
1232 we were calling downPrintOption()
1233 (MetaLevel::downVariantOption): fixed bug where we were checking
1234 the wrong symbol
1235
1236 * metaVariantUnify.cc (MetaLevelOpSymbol::metaVariantUnify2): use
1237 FilteredVariantUnifierSearch()
1238
1239 2020-08-31 Steven Eker <eker2@eker10>
1240
1241 * metaDown.cc (MetaLevel::downVariantOptionSet): added
1242 (MetaLevel::downVariantOption): added
1243
1244 * metaLevel.hh (class MetaLevel): added enum VariantFlags; added
1245 decls for downVariantOption(), downVariantOptionSet()
1246
1247 * metaVariantUnify.cc (MetaLevelOpSymbol::metaVariantUnify2):
1248 handle VariantOptionSet argument
1249 (MetaLevelOpSymbol::metaVariantUnify2): use range-base for loops
1250 (3 places)
1251
1252 * metaLevelSignature.cc: added delaySymbol, filterSymbol,
1253 emptyVariantOptionSetSymbol, variantOptionSetSymbol
1254
1255 * descentSignature.cc: metaVariantUnify() and
1256 metaVariantDisjointUnify() now take 6 arguments each
1257
1258 2020-08-04 Steven Eker <eker2@eker10>
1259
1260 * interpreterVariantUnify.cc
1261 (InterpreterManagerSymbol::getVariantUnifier): rewritten to use
1262 findNextUnifier()/getCurrentUnifier() rather than
1263 getNextUnifier()/getLastReturnedUnifier()
1264
1265 * legacyMetaVariantUnify.cc
1266 (MetaLevelOpSymbol::legacyMetaVariantUnify2): rewritten to use
1267 findNextUnifier()/getCurrentUnifier() rather than
1268 getNextUnifier()/getLastReturnedUnifier()
1269
1270 * metaVariantUnify.cc (MetaLevelOpSymbol::metaVariantUnify2):
1271 rewritten to use findNextUnifier()/getCurrentUnifier() rather than
1272 getNextUnifier()/getLastReturnedUnifier()
1273
1274 * metaUnify.cc (MetaLevelOpSymbol::metaUnify2): formatting
1275
1276 2020-07-22 Steven Eker <eker2@eker10>
1277
1278 * legacyMetaVariantUnify.cc
1279 (MetaLevelOpSymbol::legacyMetaVariantUnify2): use new
1280 VariantSearch conventions
1281
1282 * legacyMetaVariant.cc (MetaLevelOpSymbol::legacyMetaGetVariant2):
1283 use new VariantSearch conventions
1284
1285 * metaVariant.cc (MetaLevelOpSymbol::metaGetVariant2): use new
1286 VariantSearch conventions
1287
1288 * metaVariantUnify.cc (MetaLevelOpSymbol::metaVariantUnify2): use
1289 new VariantSearch conventions
1290
1291 * interpreterVariantUnify.cc
1292 (InterpreterManagerSymbol::getVariantUnifier): use new
1293 VariantSearch conventions
1294
1295 * interpreterVariant.cc (InterpreterManagerSymbol::getVariant):
1296 use new VariantSearch conventions
1297
1298 2020-07-15 Steven Eker <eker2@eker10>
1299
1300 * interpreterUnify.cc (InterpreterManagerSymbol::getUnifier): fix
1301 bug where we were using the wrong message cto in the irredundant,
1302 disjoint case
1303
1304 2020-07-14 Steven Eker <eker2@eker10>
1305
1306 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
1307 updated decl for getUnifier()
1308
1309 * interpreterSignature.cc: added getIrredundantUnifierMsg,
1310 gotIrredundantUnifierMsg, getIrredundantDisjointUnifierMsg,
1311 gotIrredundantDisjointUnifierMsg
1312
1313 * interpreterManagerSymbol.cc
1314 (InterpreterManagerSymbol::handleMessage): handle
1315 getIrredundantUnifierMsg, getIrredundantDisjointUnifierMsg; pass
1316 irredundant argument to getUnifier()
1317
1318 * interpreterUnify.cc (InterpreterManagerSymbol::getUnifier): take
1319 irredundant argument
1320
1321 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): updated decl for
1322 metaUnify2()
1323
1324 * descentSignature.cc: added metaIrredundantUnify,
1325 metaIrredundantDisjointUnify
1326
1327 * metaUnify.cc (MetaLevelOpSymbol::metaUnify2): handle irredundant
1328 argument
1329 (MetaLevelOpSymbol::metaUnify)
1330 (MetaLevelOpSymbol::metaDisjointUnify): pass irredundant argument
1331 (MetaLevelOpSymbol::metaIrredundantUnify)
1332 (MetaLevelOpSymbol::metaIrredundantDisjointUnify): added
1333
1334 ===================================Maude129===========================================
1335
1336 2020-04-08 Steven Eker <eker2@eker9>
1337
1338 * descentFunctions.cc (MetaLevelOpSymbol::metaParse): updated
1339 DebugInfo to make it clear what the cach hit is for
1340
1341 2020-03-10 RubĂ©n Rubio <[email protected]>
1342
1343 * metaDownStrats.cc (downStratDef): handle nonexec attribute
1344 * metaUp.cc (upStratExpr): fix bug that ignored top(all)
1345
1346 ===================================Maude128a===========================================
1347
1348 2020-02-13 Steven Eker <eker@mu>
1349
1350 * metaDown.cc (downModule): do resetImports() before closeTheory();
1351 call checkFreshVariableNames()
1352
1353 * metaPreModule.cc (getFlatModule): replaced isBad() check
1354 with an Assert() - we don't expect the importation of statements
1355 to set the global bad flag for the module
1356
1357 2020-02-06 Steven Eker <eker@mu>
1358
1359 * ascentFunctions.cc (metaUpStratDecls, metaUpSds): symmetric
1360 fixes
1361
1362 2020-02-05 Steven Eker <eker@mu>
1363
1364 * ascentFunctions.cc (metaUpSorts): check that flat module is
1365 good before trying to use it
1366 (metaUpOpDecls, metaUpMbs, metaUpEqs, metaUpRls): ditto
1367 (metaUpModule): check flat module even though we pass PreModule
1368
1369 ===================================Maude128===========================================
1370
1371 2019-12-04 Steven Eker <eker@mu>
1372
1373 * metaVariant.cc (metaGetVariant2): initialize variant to avoid
1374 spurious compiler warning
1375
1376 * legacyMetaVariantUnify.cc (legacyMetaVariantUnify2): initialize
1377 unifier to avoid spurious compiler warning
1378
1379 * legacyMetaVariant.cc (legacyMetaGetVariant2): initialize variant to
1380 avoid spurious compiler warning
1381
1382 * interpreterVariant.cc (getVariant): initialize variant to avoid
1383 spurious compiler warning
1384
1385 * interpreterVariantUnify.cc (getVariantUnifier): initialize unifier to
1386 avoid spurious compiler warning
1387
1388 * metaVariantUnify.cc (metaVariantUnify2): initialize unifier to avoid
1389 spurious compiler warning
1390
1391 2019-12-03 Steven Eker <eker@mu>
1392
1393 * metaOpCache.hh (getCachedStateObject): use safeCastNonNull<>() (3 places)
1394
1395 ===================================Maude127===========================================
1396
1397 2019-12-02 RubĂ©n Rubio <[email protected]>
1398
1399 * interpreterManagerSymbol.cc: included (fair/depthFirst)StrategicSearch.hh
1400
1401 * interpreterManagerSymbol.hh (makeStrategicSearch): added new Boolean
1402 parameter depthFirst
1403
1404 * interpreterRewrite.cc (makeStrategicSearch): added new Boolean parameter
1405 depthFirst
1406 (srewriteTerm): depthFirst passed on to makeStrategicSearch and not used
1407 when calling the findNextSolution method
1408
1409 * metaLevelOpSymbol.cc: included (fair/depthFirst)StrategicSearch.hh
1410
1411 * metaSrewrite.cc (metaSrewrite): depthFirst passed on to makeStrategicSearch
1412 and not used when calling the findNextSolution method
1413 (makeStrategicSearch): added new Boolean parameter depthFirst
1414
1415 2019-11-14 RubĂ©n Rubio <[email protected]>
1416
1417 * descentFunctions.cc (metaSrewrite, makeStrategicSearch): moved to
1418 metaSrewrite.cc
1419 (metaParseStrategy): uses parser caching like metaParse
1420 (metaPrettyPrintStrategy): now takes a variable set like
1421 metaPrettyPrint
1422
1423 * descentSignature.cc: metaDsrewrite() removed. metaSrewrite() now
1424 takes 5 arguments, and metaPrettyPrintStrategy() now takes 4.
1425
1426 * metaLevelOpSymbol.cc: metaSrewrite.cc included. Fixed bug (delete on
1427 incomplete type) by including mixfixParser.hh
1428
1429 * metaSrewrite.cc: added
1430
1431 2019-11-12 RubĂ©n Rubio <[email protected]>
1432
1433 * ascentFunctions.cc (metaUpStratDecls, metaUpSds): added
1434
1435 * descentFunctions.cc (metaSrewrite): renamed from metaSRewrite
1436 (metaDsrewrite): renamed from metaDSRewrite
1437 (metaParseStrategy): renamed from metaStratParse
1438 (metaPrettyPrintStrategy): renamed from metaStratPrettyPrint
1439
1440 * descentSignature.cc: renaming for metaSrewrite, metaDsrewrite,
1441 metaParseStrategy, and metaPrettyPrintStrategy. Added metaUpSds
1442 and metaUpStratDecls.
1443
1444 2019-11-11 Steven Eker <eker@mu>
1445
1446 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol):
1447 parseQidList() -> parseTerm()
1448
1449 * interpreterPrint.cc (parseQidList): becomes parseTerm()
1450 (parseTerm): use parsedTermMsg
1451
1452 * interpreterSignature.cc: parseQidListMsg/parseQidListMsg ->
1453 parseTermMsg/parsedTermMsg
1454
1455 2019-11-08 Steven Eker <eker@mu>
1456
1457 * interpreterPrint.cc (printTerm): handle variable aliases
1458 (parseQidList): handle variable aliases and parser caching.
1459
1460 * interpreterSignature.cc: updated arg count for
1461 printTermMsg & parseQidListMsg
1462
1463 2019-11-07 Steven Eker <eker@mu>
1464
1465 * metaDownSignature.cc (downSignature): fix type in comment
1466
1467 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
1468 decl for makeStrategicSearch()
1469
1470 * interpreterRewrite.cc (srewriteTerm): implemented
1471 (makeStrategicSearch): added
1472
1473 2019-11-06 Steven Eker <eker@mu>
1474
1475 * metaLevel.hh (M): added decl for downSrewriteOption()
1476
1477 * metaDown.cc (downSrewriteOption): added
1478
1479 * metaLevelSignature.cc: added breadthFirstSymbol,
1480 depthFirstSymbol
1481
1482 2019-11-05 Steven Eker <eker@mu>
1483
1484 * interpreterRewrite.cc (srewriteTerm): added stub
1485
1486 * interpreterManagerSymbol.cc (handleMessage): added srewriteTermMsg
1487
1488 * interpreterSignature.cc: added srewriteTermMsg/srewroteTermMsg
1489
1490 2019-11-04 Steven Eker <eker@mu>
1491
1492 * descentSignature.cc: metaPrettyPrint() now takes 4 arguments
1493
1494 * descentFunctions.cc (metaPrettyPrint): support variable
1495 aliases
1496
1497 2019-11-01 Steven Eker <eker@mu>
1498
1499 * descentSignature.cc: metaParse() now takes 4 arguments
1500
1501 * metaLevelOpSymbol.cc (~AliasMapParserPair): added
1502
1503 * descentFunctions.cc (metaParse): rewritten to take
1504 variable declaration set and cache AliasMap and Parser
1505
1506 * metaLevelOpSymbol.hh (AliasMapParserPair): added
1507
1508 * metaLevel.hh (M): updated decls for downToken() and downOpName()
1509
1510 * metaDown.cc (downToken, downOpName): make const
1511
1512 * metaLevel.hh (M): updated decls for downType2(), downQid()
1513
1514 * metaDown.cc (downType2, downQid): made const
1515
1516 * metaLevel.hh (M): added decls for downVariableDeclSet(),
1517 downVariableDecl()
1518
1519 * metaDown.cc (downVariableDeclSet, downVariableDecl): added
1520
1521 2019-10-29 Steven Eker <eker@mu>
1522
1523 * metaLevelOpSymbol.hh (FreeSymbol): added struct AliasMapParserPair
1524
1525 2019-10-28 Steven Eker <eker@mu>
1526
1527 * metaOpCache.hh (M): updated decls for remove(), sameProblem()
1528
1529 * metaOpCache.cc (sameProblem): take nrArgumentsToIgnore argument
1530 (remove): take nrArgumentsToIgnore argument
1531
1532 * metaOpCache.hh (M): added comments to explain why there
1533 are two getCachedStateObject() templates
1534
1535 2019-10-22 Steven Eker <eker@mu>
1536
1537 * interpreterStratPrint.cc: created
1538
1539 * interpreterPrint.cc: added missing copyright comment
1540
1541 * metaVariantUnify.cc (metaVariantUnify2): delete dummy
1542 variable
1543
1544 * metaVariant.cc (metaGetVariant2, metaGetVariant)
1545 (metaGetIrredundantVariant): use variableFamily rather than
1546 variableIndex
1547
1548 2019-10-21 Steven Eker <eker@mu>
1549
1550 * metaVariantUnify.cc: created with variableFamily based
1551 versions
1552
1553 * legacyMetaVariantUnify.cc (legacyMetaVariantUnify2)
1554 (legacyMetaVariantUnify, legacyMetaVariantDisjointUnify): moved
1555 here
1556
1557 2019-10-18 Steven Eker <eker@mu>
1558
1559 * metaUp.cc (upUnificationPair): (both versions) swapped args
1560 back
1561
1562 * metaUnify.cc (metaUnify2): rewritten to use variableFamilies
1563 rather than variableIndexes
1564 (metaUnify, metaDisjointUnify): updated signature in comment
1565
1566 * metaLevelOpSymbol.hh (FreeSymbol): added decls for
1567 legacyMetaGetVariant2(), legacyMetaVariantUnify2()
1568
1569 * metaUp.cc (upUnificationPair): (both versions) use
1570 matchPairSymbol instead of unificationPairSymbol now that
1571 the operators coincide at the kind level
1572
1573 * metaLevelSignature.cc: delete unificationPairSymbol
1574 since it is now subsort overloaded with matchPairSymbol
1575
1576 2019-10-17 Steven Eker <eker@mu>
1577
1578 * descentSignature.cc: added legacyMetaGetVariant,
1579 legacyMetaGetIrredundantVariant, legacyMetaVariantUnify,
1580 legacyMetaVariantDisjointUnify
1581
1582 * metaLevelOpSymbol.hh (FreeSymbol): added decls for
1583 legacyMetaUnify2(), legacyMetaGetVariant2(),
1584 legacyMetaVariantUnify2()
1585
1586 * legacyMetaVariant.cc: created
1587
1588 * descentSignature.cc: added metaLegacyUnify,
1589 metaLegacyDisjointUnify
1590
1591 * legacyMetaUp.cc: renamed from metaLegacy.cc
1592
1593 * legacyMetaUnify.cc: created
1594
1595 2019-10-16 Steven Eker <eker@mu>
1596
1597 * metaUp.cc (upVariant): convert to variableFamilyName
1598
1599 * metaLegacy.cc (upVariant): added
1600
1601 * metaLevel.hh (M): added decls for new versions of
1602 upUnificationPair() and upUnificationTriple()
1603 (M): added decl for new version of upVariant()
1604
1605 * metaLegacy.cc (upUnificationTriple): added legacy versions
1606 for regular and variant cases
1607
1608 * metaUp.cc (upUnificationTriple): (regular unification version):
1609 converted to variableFamily
1610 (upUnificationTriple): (variant unification version): converted to
1611 variableFamily
1612
1613 * metaLegacy.cc (upUnificationPair): (both legacy versions) moved
1614 here
1615
1616 * metaUp.cc (upUnificationPair): (regular unification version): use
1617 legacyUnificationPairSymbol
1618 (upUnificationPair): added variableFamily version for regular
1619 unification
1620 (upUnificationPair): (variant unification version): use
1621 legacyUnificationPairSymbol
1622 (upUnificationPair): added variableFamily version for variant
1623 unification
1624
1625 2019-10-15 Steven Eker <eker@mu>
1626
1627 * metaLevelSignature.cc: added legacyUnificationPairSymbol,
1628 legacyUnificationTripleSymbol, legacyVariantSymbol
1629
1630 ===================================Maude125===========================================
1631
1632 2019-10-10 RubĂ©n Rubio <[email protected]>
1633
1634 * descentFunctions.cc (makeGetKinds): pass number of user kinds
1635 (metaStratParse): added a new parameter with variable declarations
1636
1637 * descentSignature.cc: metaStratParse now takes 4 parameters
1638
1639 * interpreterSort.cc (getKinds): pass on number of user kinds
1640
1641 * metaDown.cc (downQidSet): added
1642 (downModule): importLabels renamed to importRuleLabels
1643
1644 * metaDownSignature.cc (downSignature): importLabels renamed to
1645 importRuleLabels
1646
1647 * metaModule.cc (registerRuleLabels): call to insertPotentialRuleLabels
1648 and use of range-based loops
1649
1650 * metaLevel.hh (upKindSet): now receives the number of user kinds
1651 (downType2): made public
1652 (downQidSet): added
1653
1654 * metaLevelSignature.cc: added QidSet constructors
1655
1656 * metaUp.cc (upKindSet): now receives the number of user kinds
1657
1658 * metaUpModule.cc (upStratDecl): called RewriteStrategy::arity directly
1659
1660 * metaView.cc (getTargetExprModule): removed (not used)
1661
1662 * metaView.hh (getTargetExprModule): removed (not used)
1663
1664 2019-09-19 RubĂ©n Rubio <[email protected]>
1665
1666 * descentFunctions.cc (makeStrategicSearch): call term2RewritingContext
1667 and reduce the initial term
1668
1669 * metaDownStrats.cc (downStratExpr): error recovery when nested terms
1670 or strategy expression are not valid metarepresentations
1671 (downStratDef): insert metadata and print attributes and initialize
1672 downStratCall output arguments to null
1673 (downStratList): solved a bug by using the correct list constructor
1674 symbols
1675 (downStratCall): solved memory leak by destructing the input
1676 arguments in case of failure
1677
1678 2019-06-03 RubĂ©n Rubio <[email protected]>
1679
1680 * metaDown.cc (downModule): importLabels is called before
1681
1682 * metaDownSignature.cc (downSignature): call to importLabels
1683
1684 * metaUpModule.cc (upStratDecl): solved a bug that puts the types
1685 of the auxiliary symbol (at the kind level) instead of the types
1686 of the declaration
1687
1688 * metaUpView.cc (upStratMappings): call to the renamed getToModule
1689 instead of getTargetExprModule
1690
1691 * metaView.cc (handleTermAndExpressionMapping): adapted
1692 insertStratToExprMapping to the changes of alpha121
1693
1694 2019-05-28 Steven Eker <[email protected]>
1695
1696 * metaUpModule.cc (upArgument): fix bug in case that argument
1697 is an instantation of a view
1698
1699 2019-05-24 Steven Eker <[email protected]>
1700
1701 * metaOpCache.hh: added #include "cacheableState.hh" because of
1702 clang warning
1703
1704 2019-05-17 Steven Eker <[email protected]>
1705
1706 * metaLevel.hh (M): deleted decl for old downInstantiationArguments()
1707
1708 * metaDownRenamings.cc (downModuleExpression): reimplemented by
1709 constructing a ModuleExpression first and using Interpreter code
1710 to evaluated it rather than directly handing the metaModuleExpression
1711 (downInstantiationArguments): deleted
1712
1713 2019-05-25 RubĂ©n Rubio <[email protected]>
1714
1715 * metaDownStrats.cc (downStratDecl): handle metadata
1716
1717 * metaUpModule.cc (upStratDecl): handle metadata
1718 (upSd): handle attributes
1719
1720 2019-04-17 Steven Eker <[email protected]>
1721
1722 * metaView.cc (handleOpTermMappings): don't pass toModule to
1723 insertOpToTermMapping()
1724 (handleOpTermMappings): don't pass line numbers to insertOpToTermMapping()
1725 (handleOpTermMappings): take responsibility for deepSelfDestruct()ing
1726 fromTerm and toTerm if insertOpToTermMapping() fails
1727
1728 2019-04-12 Steven Eker <[email protected]>
1729
1730 * metaDownRenamings.cc (downModuleExpression): use Argument*
1731
1732 2019-03-29 Steven Eker <[email protected]>
1733
1734 * metaDown.cc (downImport): use hasBoundParameters() in place
1735 of parametersBound()
1736 (downImport): use hasFreeParameters()
1737
1738 2019-02-27 Steven Eker <[email protected]>
1739
1740 * metaLevel.hh (M): added decls for MetaView* versions of
1741 downParameterDeclList(), downParameterDecl()
1742
1743 * interpreterManagerSymbol.cc (insertView): added FIXME comment
1744 (insertModule): added comment about creating flattened version
1745 first before PreModule version
1746
1747 * metaDownView.cc (downParameterDeclList, downParameterDecl): added
1748 MetaView* versions
1749 (downView): handle parameters
1750
1751 2019-02-26 Steven Eker <[email protected]>
1752
1753 * metaLevel.hh (M): added decls for View* versions of
1754 upHeader(), upParameterDecls(), upParameterDecl()
1755
1756 * metaUpView.cc (upHeader, upParameterDecls, upParameterDecl): added
1757 View* versions
1758 (upView): use upHeader()
1759
1760 2019-02-21 Steven Eker <[email protected]>
1761
1762 * metaUpModule.cc (upArgument): handle the case where the
1763 argument is a view that itself takes arguments
1764
1765 2019-02-15 Steven Eker <[email protected]>
1766
1767 * deleted viewInstantiationSymbol
1768
1769 * metaDownView.cc (downModuleExpression): switched order of
1770 downing module instantiation so we're not left with undeleted
1771 view expressions in error case
1772 (downViewExpression): use instantiationSymbol instead of
1773 viewInstantiationSymbol
1774
1775 * metaLevel.hh (M): downInstantiationArgument() becomes
1776 downViewExpression()
1777
1778 * metaDownView.cc (downInstantiationArgument): renamed to
1779 downViewExpression()
1780 (downViewExpression): handle instantiated views
1781 (downInstantiationArguments): use new downViewExpression() semantics
1782
1783 2019-02-14 Steven Eker <[email protected]>
1784
1785 * metaLevelSignature.cc: fix bug where instantiationSymbol was given
1786 arity 1
1787 added viewInstantiationSymbol
1788
1789 2019-02-13 Steven Eker <[email protected]>
1790
1791 * metaLevel.hh (M): added decl for upArgument(); updated
1792 decl for upArguments()
1793
1794 * metaUpModule.cc (upArgument): added
1795 (upArguments): use upArgument()
1796
1797 2019-02-13 Steven Eker <[email protected]>
1798
1799 * metaLevel.hh (M): added decl for downInstantiationArgument(); updated
1800 decl for downInstantiationArguments()
1801
1802 * metaDownView.cc (downInstantiationArgument): added
1803 (downInstantiationArguments): use downInstantiationArgument()
1804
1805 ===================================Maude121===========================================
1806
1807 2018-12-20 RubĂ©n Rubio <[email protected]>
1808
1809 * descentFunctions.cc (metaStratParse, metaStratPrettyPrint): added
1810 (metaDSRewrite, metaStratRewrite): added from the code of metaSRewrite.
1811 Changes to cache the state object.
1812 (makeStrategicSearch): added
1813
1814 * descentSignature.cc: added metaDSRewrite, metaStratParse,
1815 and metaStratPrettyPrint
1816
1817 * metaDown.cc (downModule): call to registerRuleLabels and importLabels
1818
1819 * metaDownSignature.cc (downSignature): call to registerRuleLabels
1820
1821 * metaDownStrats.cc (downStratExpr): handle all strategy
1822
1823 * metaLevel.hh: additional argument to upNoParse for the strategy case
1824 (upStratExpr, upAmbiguity): added for strategy expressions
1825 (upResultSet): removed
1826
1827 * metaLevelOpSymbol.hh (makeStrategicSearch, metaStratRewrite): added
1828
1829 * metaLevelSignature.cc: added allStratSymbol, noStratParseSymbol and
1830 stratAmbiguitySymbol. Removed noResultSetSymbol and resultSetSymbol
1831
1832 * metaModule.cc (registerRuleLabels): added
1833
1834 * metaModule.hh (registerRuleLabels): added
1835
1836 * metaUp.cc (upNoParse): handle the strategy case
1837 (upStratExpr): handle the 'all' strategy and an erratum was corrected
1838 in NEW_STRATEGY. Added an overload that creates a QidMap
1839 (upAmbiguity): added
1840 (upResultSet): removed
1841 (upCallStrat): used ArgumentIterator instead of RawArgumentIterator
1842
1843 * metaUpModule.cc (upCondition): solved a bug where empty conditions
1844 were not treated properly
1845
1846 * bufferPrint.cc (bufferPrint): added for strategy expressions
1847 (prettyPrint): added for strategy expressions, condition fragments,
1848 and vectors of these.
1849
1850 2018-12-07 Steven Eker <[email protected]>
1851
1852 * interpreterApply.cc (makeRewriteSearchState): deepSelfDestruct()
1853 values in successful case
1854
1855 * interpreterSort.cc (normalizeTerm): need to deepSelfDestruct()
1856 term rather than delete it
1857
1858 * interpreterManagerSymbol.cc (handleMessage): dispatch
1859 getNarrowingSearchResultMsg, getNarrowingSearchResultAndPathMsg
1860
1861 * interpreterNewNarrowSearch.cc (getNarrowingSearchResult): rewritten
1862 because the two return messages have quite different semantics despite
1863 similar arugments; added comments to explain this
1864
1865 2018-12-06 Steven Eker <[email protected]>
1866
1867 * metaLevel.hh (M): made NarrowingVariableInfo version of
1868 upSubstitution() public
1869
1870 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
1871 decl for makeNarrowingSearchPath()
1872
1873 * interpreterNewNarrowSearch.cc (makeNarrowingSearchPath): added
1874
1875 * metaLevel.hh (M): added decl for upNarrowingSearchPath()
1876
1877 * metaUp.cc (upNarrowingSearchPath): added
1878 (upNarrowingSearchPathResult): use upNarrowingSearchPath()
1879
1880 2018-12-05 Steven Eker <[email protected]>
1881
1882 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
1883 decls for makeNarrowingSequenceSearch3(), getNarrowingSearchResult()
1884
1885 * interpreterNewNarrowSearch.cc: created
1886
1887 * metaLevelOpSymbol.hh (FreeSymbol): delted decl for
1888 downFoldType()
1889
1890 * metaLevel.hh (downFoldType): added
1891
1892 * metaNewNarrow2.cc (makeNarrowingSequenceSearch3): use
1893 MetaLevel::downFoldType()
1894 (downFoldType): deleted
1895
1896 * metaLevel.hh (M): added decl for downFoldType()
1897
1898 * interpreterSignature.cc: added
1899 getNarrowingSearchResultMsg/gotNarrowingSearchResultMsg,
1900 getNarrowingSearchResultAndPathMsg/gotNarrowingSearchResultAndPathMsg
1901
1902 2018-11-30 Steven Eker <[email protected]>
1903
1904 * interpreterNewNarrow.cc (makeNarrowingSearchState2): leave rewrite
1905 counts in subjectContext
1906 (getOneStepNarrowing): don't transfer rewrite counts from state context
1907 inside loop
1908 (getOneStepNarrowing): tranfer rewrite counts from state context
1909 and the end of a success
1910 (getOneStepNarrowing): do incrementNarrowingCount() on stateContext
1911 rather than external context
1912 (getOneStepNarrowing): return completeness flag in no such result
1913 reply
1914
1915 2018-11-29 Steven Eker <[email protected]>
1916
1917 * interpreterManagerSymbol.cc (handleMessage):
1918 getOneStepNarrow() -> getOneStepNarrowing()
1919
1920 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol):
1921 getOneStepNarrow() -> getOneStepNarrowing()
1922
1923 * interpreterNewNarrow.cc (getOneStepNarrow): becomes
1924 getOneStepNarrowing()
1925
1926 * interpreterSignature.cc: getOneStepNarrowMsg/gotOneStepNarrowMsg ->
1927 getOneStepNarrowingMsg/gotOneStepNarrowingMsg
1928
1929 2018-11-28 Steven Eker <[email protected]>
1930
1931 * interpreterManagerSymbol.cc (handleMessage): dispatch
1932 getOneStepNarrowMsg
1933
1934 * metaLevel.hh (M): made upPartialSubstitution() public
1935
1936 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
1937 decls for makeNarrowingSearchState2() and getOneStepNarrow()
1938
1939 * interpreterNewNarrow.cc: created
1940
1941 * interpreterMatch.cc (makeMatchSearchState): subject -> message
1942
1943 * interpreterSignature.cc: narrowWithRuleMsg/narrowedWithRuleMsg
1944 -> getOneStepNarrowMsg/gotOneStepNarrowMsg
1945
1946 2018-11-27 Steven Eker <[email protected]>
1947
1948 * interpreterSignature.cc: added narrowWithRuleMsg,
1949 narrowedWithRuleMsg
1950
1951 2018-11-09 Steven Eker <[email protected]>
1952
1953 * metaApply.cc (metaApply): only call transferCountTo() when
1954 we exit the loop; don't addInCount() initial rewrites since
1955 these would get double counted
1956 (metaXapply): symmetric changes
1957
1958 * interpreterApply.cc (makeRewriteSearchState): don't do
1959 context.addInCount() here since it leads to double counting of
1960 initial equational rewriting.
1961 (applyRule): don't do transferCountTo() in solution loop
1962 (applyRule): add reduction count to stateContext rather than
1963 context
1964 (applyRule): increment stateContext rather than context
1965
1966 2018-11-08 Steven Eker <[email protected]>
1967
1968 * interpreterRewrite.cc (reduceTerm, rewriteTerm, frewriteTerm)
1969 (erewriteTerm): use term2RewritingContext()
1970
1971 2018-11-06 Steven Eker <[email protected]>
1972
1973 * metaLevelOpSymbol.hh (FreeSymbol): deleted decl for
1974 term2Dag()
1975
1976 * metaLevelOpSymbol.cc (term2Dag): deleted
1977
1978 * descentFunctions.cc (term2RewritingContext, metaLeastSort)
1979 (metaReduce, metaRewrite, metaFrewrite, metaDownTerm): use
1980 term2DagEagerLazyAware()
1981
1982 * interpreterManagerSymbol.hh (term2RewritingContext): use
1983 term2DagEagerLazyAware()
1984
1985 * interpreterRewrite.cc (reduceTerm, rewriteTerm, frewriteTerm)
1986 (erewriteTerm): use term2DagEagerLazyAware()
1987
1988 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): deleted
1989 decl for term2Dag()
1990
1991 * interpreterManagerSymbol.cc (term2Dag): deleted
1992
1993 * metaDown.cc (dagifySubstitution): use term2DagEagerLazyAware()
1994
1995 * interpreterApply.cc (makeRewriteSearchState): use
1996 MetaLevel::dagifySubstitution()
1997
1998 * metaLevelOpSymbol.hh (FreeSymbol): deleted decl for dagifySubstitution()
1999
2000 * metaLevel.hh (M): added decl for dagifySubstitution()
2001
2002 * metaApply.cc (metaXapply): use MetaLevel::dagifySubstitution()
2003 (metaApply): use MetaLevel::dagifySubstitution()
2004
2005 * descentFunctions.cc (metaWellFormedSubstitution): use
2006 MetaLevel::dagifySubstitution()
2007
2008 * metaDown.cc (dagifySubstitution): moved here from descentFunctions.cc
2009
2010 * interpreterApply.cc (makeRewriteSearchState): don't call
2011 noDuplicates()
2012
2013 * metaLevelOpSymbol.hh (FreeSymbol): deleted decl for
2014 noDuplicates()
2015
2016 * metaApply.cc (metaXapply): don't call noDuplicates()
2017 (metaApply): don't call noDuplicates()
2018
2019 * descentFunctions.cc (noDuplicates): deleted
2020 (metaWellFormedSubstitution): don't call noDuplicates()
2021
2022 * metaLevel.hh (M): added decl for duplicate()
2023
2024 * metaDown.cc (duplicate): added
2025 (downAssignment): check for duplicate lhs variables
2026
2027 * interpreterManagerSymbol.cc (handleMessage): dispatch applyRuleMsg,
2028 applyRule2Msg
2029
2030 2018-11-05 Steven Eker <[email protected]>
2031
2032 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2033 decls for makeRewriteSearchState(), applyRule()
2034
2035 * interpreterApply.cc: created
2036
2037 2018-11-02 Steven Eker <[email protected]>
2038
2039 * interpreterSignature.cc: added applyRuleMsg, appliedRuleMsg,
2040 applyRule2Msg, appliedRule2Msg
2041
2042 2018-11-01 Steven Eker <[email protected]>
2043
2044 * interpreterSort.cc (normalizeTerm): fix memory leak by
2045 deleting term when we're done with it
2046
2047 ===================================Maude120===========================================
2048
2049 2018-10-22 Steven Eker <[email protected]>
2050
2051 * interpreterManagerSymbol.cc (handleMessage): dispatch
2052 parseQidListMsg
2053
2054 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2055 decl for parseQidList()
2056
2057 * interpreterPrint.cc (parseQidList): added
2058
2059 * interpreterSignature.cc: added parseQidListMsg/parsedQidListMsg
2060
2061 * interpreterPrint.cc (printTerm): correct print options
2062 argument number
2063
2064 2018-10-19 Steven Eker <[email protected]>
2065
2066 * metaVariant.cc (metaGetVariant2): fix memory leak were start
2067 term is successfully down'd but blocker terms are not
2068
2069 2018-10-16 Steven Eker <[email protected]>
2070
2071 * interpreterManagerSymbol.cc (handleMessage): dispatch
2072 printTermMsg
2073
2074 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2075 decl for printTerm()
2076
2077 * interpreterPrint.cc: created
2078
2079 * interpreterSignature.cc: added printTermMsg/printedTermMsg
2080
2081 2018-10-12 Steven Eker <[email protected]>
2082
2083 * interpreterVariantUnify.cc (getVariantUnifier): use
2084 gotDisjointVariantUnifierMsg, gotVariantUnifierMsg
2085
2086 * interpreterSignature.cc: added gotVariantUnifierMsg,
2087 gotDisjointVariantUnifierMsg
2088
2089 * metaLevel.hh (M): made narrowing version of
2090 upDisjointSubstitutions() public
2091
2092 * interpreterManagerSymbol.cc (handleMessage): dispatch
2093 getVariantUnifierMsg, getDisjointVariantUnifierMsg
2094
2095 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2096 decl for getVariantUnifier()
2097
2098 * interpreterVariantUnify.cc: created
2099
2100 2018-10-11 Steven Eker <[email protected]>
2101
2102 * interpreterSignature.cc: added getUnifierVariantMsg,
2103 getDisjointVariantUnifierMsg
2104
2105 * metaMatch.cc (makeMatchSearchState): don't
2106 add in count from subjectContext since that will
2107 be accounted for when the solutions are extracted
2108 (makeMatchSearchState2): fixed symmteric bug
2109
2110 * interpreterMatch.cc (makeMatchSearchState): don't
2111 add in count from subjectContext since that will
2112 be accounted for when the solutions are extracted
2113 (makeMatchSearchState2): fixed symmteric bug
2114
2115 2018-10-04 Steven Eker <[email protected]>
2116
2117 * interpreterVariant.cc (getVariant): use addInCount()
2118 in the fail case
2119 (getVariant): only do transferCountFrom() once we've generated
2120 the reply
2121
2122 * interpreterMatch.cc (getMatch, getXmatch): do addInCount()
2123 rather than transferCountTo() in the fail case
2124
2125 * interpreterSearch.cc (getSearchResult): do addInCount() rather
2126 than transferCountTo() in the fail case
2127
2128 2018-10-03 Steven Eker <[email protected]>
2129
2130 * interpreterRewrite.cc (erewriteTerm, frewriteTerm)
2131 (rewriteTerm, reduceTerm): use upRewriteCount()
2132
2133 * interpreterVariant.cc (getVariant): fill out RewriteCount
2134 for gotVariant()
2135
2136 * interpreterSignature.cc: gotVariantMsg now has
2137 8 arguments
2138
2139 2018-10-01 Steven Eker <[email protected]>
2140
2141 * interpreterVariant.cc (getVariant): fix memory leak
2142 when blocker terms bad
2143
2144 2018-09-28 Steven Eker <[email protected]>
2145
2146 * metaLevel.hh (upNoParent): added
2147
2148 * interpreterSignature.cc: added noSuchResult3Msg
2149
2150 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2151 decl for getVariant()
2152
2153 * interpreterVariant.cc: created
2154
2155 * interpreterManagerSymbol.cc (handleMessage): dispatch
2156 getVariantMsg
2157
2158 * interpreterSignature.cc: added getVariantMsg/gotVariantMsg
2159
2160 * metaVariant.cc (metaGetVariant2): pass dummy variableFamily
2161 argument to getNextVariant()
2162 (metaGetVariant2): pass dummy variableFamily argument to
2163 getLastReturnedVariant()
2164 (metaVariantUnify2): pass dummy variableFamily argument to
2165 getLastReturnedUnifier()
2166
2167 * interpreterSearch.cc (getSearchResult): transferCount() ->
2168 transferCountTo() (2 places)
2169
2170 * interpreterMatch.cc (getMatch): transferCount() ->
2171 transferCountTo() (2 places)
2172 (getXmatch): transferCount() -> transferCountTo() (2 places)
2173
2174 * metaVariant.cc (metaGetVariant2): transferCount() ->
2175 transferCountFrom()
2176 (metaVariantUnify2): transferCount() -> transferCountFrom()
2177
2178 * metaSearch.cc (metaSearchPath): transferCount() ->
2179 transferCountTo()
2180 (metaSearch): transferCount() -> transferCountTo()
2181
2182 * metaNewNarrow2.cc (metaNarrowingSearch): transferCount() ->
2183 transferCountFrom()
2184 (metaNarrowingSearchPath): transferCount() -> transferCountFrom()
2185
2186 * metaNewNarrow.cc (metaNarrowingApply): transferCount() ->
2187 transferCountFrom()
2188
2189 * metaNarrow.cc (metaNarrow): transferCount() ->
2190 transferCountFrom()
2191 (metaNarrow2): transferCount() -> transferCountFrom()
2192
2193 * metaMatch.cc (metaMatch): transferCount() ->
2194 transferCountTo()
2195 (metaXmatch): transferCount() -> transferCountTo()
2196
2197 * metaApply.cc (metaApply): transferCount() ->
2198 transferCountTo()
2199 (metaXapply): transferCount() -> transferCountTo()
2200
2201 2018-09-27 Steven Eker <[email protected]>
2202
2203 * interpreterUnify.cc (getUnifier): use simpler
2204 FreshVariableSource()
2205
2206 2018-09-25 Steven Eker <[email protected]>
2207
2208 * metaLevel.hh (M): made upQid() public
2209 (M): made upDisjointSubstitutions(), upSubstitution() public
2210
2211 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2212 decl for getUnifier()
2213
2214 * interpreterManagerSymbol.cc (handleMessage): dispatch
2215 getUnifierMsg, getDisjointUnifierMsg
2216
2217 * interpreterSignature.cc: added getUnifierMsg/gotUnifierMsg,
2218 getDisjointUnifierMsg/gotDisjointUnifierMsg, noSuchResult2Msg
2219
2220 * interpreterUnify.cc: created
2221
2222 2018-09-24 Steven Eker <[email protected]>
2223
2224 * metaLevelOpSymbol.hh (FreeSymbol): deleted decl for
2225 getCachedUnificationProblem()
2226
2227 * metaUnify.cc (metaUnify2): use getCachedStateObject()
2228 (getCachedUnificationProblem): deleted
2229
2230 * metaOpCache.hh (getCachedStateObject): added non-context
2231 version
2232
2233 2018-09-21 Steven Eker <[email protected]>
2234
2235 * metaUp.cc (upDagNode): pass 0 as variable family to
2236 getFreshVariableName()
2237
2238 2018-09-17 Steven Eker <[email protected]>
2239
2240 * metaLevel.hh (M): made upTerm() public
2241
2242 * interpreterSignature.cc: added normalizeTermMsg/normalizedTermMsg
2243
2244 * interpreterManagerSymbol.cc (handleMessage): dispatch
2245 normalizeTermMsg
2246
2247 * interpreterSort.cc (normalizeTerm): added
2248
2249 2018-09-14 Steven Eker <[email protected]>
2250
2251 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2252 decl for getMaximalAritySet()
2253
2254 * interpreterSignature.cc: added
2255 getMaximalAritySetMsg/gotMaximalAritySetMsg
2256
2257 * interpreterManagerSymbol.cc (handleMessage): dispatch
2258 getMaximalAritySetMsg
2259
2260 * interpreterSort.cc (getMaximalAritySet): added
2261
2262 ===================================Maude119===========================================
2263
2264 2018-08-17 Steven Eker <[email protected]>
2265
2266 * interpreterManagerSymbol.cc (handleMessage): dispatch
2267 getGlbTypesMsg
2268
2269 * interpreterSignature.cc: added getGlbTypesMsg/gotGlbTypesMsg
2270
2271 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2272 decl for getGlbTypes()
2273
2274 * interpreterSort.cc (getGlbTypes): added
2275
2276 * metaLevel.hh (M): added decl for downTypeSet()
2277
2278 * metaDown.cc (downTypeSet): added
2279
2280 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2281 decls for getKind()/getKinds()
2282
2283 * interpreterSort.cc (getKind, getKinds): added
2284
2285 * interpreterManagerSymbol.cc (handleMessage): dispatch
2286 getKindMsg, gotKindMsg
2287
2288 * interpreterSignature.cc: added getKindMsg/gotKindMsg,
2289 getKindsMsg/gotKindsMsg
2290
2291 2018-08-16 Steven Eker <[email protected]>
2292
2293 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2294 decl for compareTypes()
2295
2296 * interpreterSort.cc (compareTypes): added
2297
2298 * interpreterManagerSymbol.cc (handleMessage): dispatch
2299 compareTypesMsg
2300
2301 * interpreterSignature.cc: deleted succSymbol
2302
2303 * interpreterManagerSymbol.cc (getInterpreter): use
2304 MetaLevel::downSignedInt() rather than SuccSymbol::getSignedInt()
2305 (deleteInterpreter): use MetaLevel::downSignedInt() rather than
2306 SuccSymbol::getSignedInt()
2307
2308 * metaLevel.hh (downSignedInt): added
2309
2310 * interpreterManagerSymbol.cc (createInterpreter): use
2311 MetaLevel::upNat() rather than SuccSymbol::makeNatDag()
2312 (quit): socketName -> interpreterName
2313
2314 * interpreterSignature.cc: added compareTypesMsg/comparedTypesMsg
2315
2316 2018-08-15 Steven Eker <[email protected]>
2317
2318 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2319 decls for getLesserSorts(), getMaximalSorts(), getMinimalSorts()
2320
2321 * interpreterSort.cc: created
2322
2323 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2324 decl for getInterpreterAndModule()
2325
2326 * interpreterManagerSymbol.cc (handleMessage): added dispatch
2327 for getLesserSortsMsg, getMaximalSortsMsg, getMinimalSortsMsg
2328 (getInterpreterAndModule): added
2329
2330 2018-08-14 Steven Eker <[email protected]>
2331
2332 * interpreterSignature.cc: added getLesserSortsMsg/gotLesserSortsMsg,
2333 getMaximalSortsMsg/gotMaximalSortsMsg,
2334 getMinimalSortsMsg/gotMinimalSortsMsg
2335
2336 2018-08-10 Steven Eker <[email protected]>
2337
2338 * metaLevelOpSymbol.hh (getCachedStateObject): deleted
2339
2340 * metaVariant.cc (metaGetVariant2, metaVariantUnify2): use
2341 MetaOpCache::getCachedStateObject() rather than
2342 MetaLevelOpSymbol::getCachedStateObject()
2343
2344 * metaNewNarrow2.cc (metaNarrowingSearch)
2345 (metaNarrowingSearchPath): use
2346 MetaOpCache::getCachedStateObject() rather than
2347 MetaLevelOpSymbol::getCachedStateObject()
2348
2349 * metaNewNarrow.cc (metaNarrowingApply): use
2350 MetaOpCache::getCachedStateObject() rather than
2351 MetaLevelOpSymbol::getCachedStateObject()
2352
2353 * metaNarrow.cc (metaNarrow, metaNarrow2): use
2354 MetaOpCache::getCachedStateObject() rather than
2355 MetaLevelOpSymbol::getCachedStateObject()
2356
2357 * metaApply.cc (metaApply, metaXapply): use
2358 MetaOpCache::getCachedStateObject() rather than
2359 MetaLevelOpSymbol::getCachedStateObject()
2360
2361 * metaMatch.cc (metaMatch, metaXmatch): use
2362 MetaOpCache::getCachedStateObject() rather than
2363 MetaLevelOpSymbol::getCachedStateObject()
2364
2365 * metaSearch.cc (metaSmtSearch, metaSearch, metaSearchPath): use
2366 MetaOpCache::getCachedStateObject() rather than
2367 MetaLevelOpSymbol::getCachedStateObject()
2368
2369 2018-08-09 Steven Eker <[email protected]>
2370
2371 * metaMatch.cc (makeMatchSearchState2): deepSelfDestruct()
2372 pattern and subject in error cases
2373
2374 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): updated
2375 decl for createInterpreter()
2376
2377 * interpreterManagerSymbol.cc (createInterpreter): check option
2378 arg and return bool
2379 (handleManagerMessage): pass createInterpreter() return value
2380
2381 * interpreterSignature.cc: added emptyInterpereterOptionSetSymbol;
2382 changed createInterpreterMsg arity to 3
2383
2384 2018-08-08 Steven Eker <[email protected]>
2385
2386 * interpreterSearch.cc (getSearchResult): updated comments
2387
2388 * interpreterMatch.cc (makeMatchSearchState2): correct assumption
2389 that pattern and subject are in the same kind
2390
2391 2018-08-07 Steven Eker <[email protected]>
2392
2393 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2394 decls for makeMatchSearchState2(), getXmatch()
2395
2396 * interpreterMatch.cc (getXmatch): added
2397 (makeMatchSearchState2): adde
2398
2399 * metaMatch.cc (metaXmatch): RewriteSearchState::DagPair ->
2400 PositionState::DagPair
2401
2402 * interpreterManagerSymbol.cc (handleMessage): dispatch getXmatch()
2403
2404 * interpreterSignature.cc: added getXmatchMsg/gotXmatchMsg
2405
2406 2018-08-06 Steven Eker <[email protected]>
2407
2408 * interpreterSignature.cc: added getMatchMsg/gotMatchMsg
2409
2410 * interpreterManagerSymbol.cc (handleMessage): dispatch getMatch()
2411
2412 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2413 decls for makeMatchSearchState(), getMatch()
2414
2415 * interpreterMatch.cc: created
2416
2417 2018-08-03 Steven Eker <[email protected]>
2418
2419 * interpreterManagerSymbol.cc (MACRO): use BIND_SYMBOL2 to check
2420 nrArgs
2421
2422 * interpreterSignature.cc: noSuchResultMsg() now takes
2423 3 arguments
2424
2425 * interpreterSearch.cc (getSearchResult): use upRewriteCount()
2426 (getSearchResult): noSuchResult now returns a RewriteCount()
2427
2428 * interpreterManagerSymbol.cc (upRewriteCount): added
2429
2430 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2431 decl for upRewriteCount()
2432
2433 2018-08-02 Steven Eker <[email protected]>
2434
2435 * interpreterSignature.cc: added getSearchResultAndPathMsg,
2436 gotSearchResultAndPathMsg
2437
2438 * interpreterManagerSymbol.cc (handleMessage): dispatch
2439 getSearchResultAndPathMsg
2440
2441 * interpreterSearch.cc (makeRewriteSequenceSearch)
2442 (getSearchResult): moved here
2443 (getSearchResult): handle getSearchResultAndPath as well
2444
2445 * interpreterRewrite.cc (reduceTerm, rewriteTerm, frewriteTerm)
2446 (erewriteTerm): moved here
2447
2448 2018-08-01 Steven Eker <[email protected]>
2449
2450 * interpreterManagerSymbol.cc (getSearchResult): support
2451 state caching
2452
2453 * metaOpCache.hh (getCachedStateObject): added template
2454
2455 2018-07-31 Steven Eker <[email protected]>
2456
2457 * interpreterSignature.cc: updated decl for gotSearchResultMsg
2458
2459 * interpreterManagerSymbol.cc (getSearchResult): pass
2460 rewrite count through gotSearchResultMsg
2461
2462 2018-07-20 Steven Eker <[email protected]>
2463
2464 * interpreterManagerSymbol.hh (term2RewritingContext): added
2465
2466 * metaLevel.hh (downSearchType): added
2467
2468 * interpreterSignature.cc: deleted continueMsg; added noSuchResultMsg
2469
2470 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2471 decl for makeRewriteSequenceSearch()
2472
2473 * interpreterManagerSymbol.cc (getSearchResult): implemented
2474 (makeRewriteSequenceSearch): added
2475
2476 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2477 decl for getSearchResult()
2478
2479 * interpreterManagerSymbol.cc (handleMessage): handle
2480 getSearchResultMsg
2481 (getSearchResult): added stub
2482
2483 * interpreterSignature.cc: added getSearchResultMsg,
2484 gotSearchResultMsg
2485
2486 ===================================Maude118===========================================
2487
2488 2018-07-17 RubĂ©n Rubio <[email protected]>
2489
2490 * downView.cc (downView): call downStratMappingSet
2491 (downStratMappingSet, downStratMapping): added
2492 (downStratExprMappings, downStratExprMapping): added
2493
2494 * metaDownSignature.cc (downSignature): added strategy modules
2495 and theories
2496
2497 * metaDownStrats (downStratExpr): return null when strategy call
2498 refers to an unknown strategy
2499
2500 * metaView.cc (MetaView): added stratMappings as argument
2501 (handleTermAndExprMappings): code to handle expression mappings
2502
2503 * metaView.hh: new data member stratMappings
2504 (handleTermAndExprMappings): renamed from handleOpTermMappings
2505
2506 2018-06-29 Steven Eker <[email protected]>
2507
2508 * metaPreModule.hh (PreModule): updated decl for getAutoImports()
2509
2510 * metaUpModule.cc (upImports): use new getAutoImports convention
2511
2512 * metaPreModule.cc (getAutoImports): moved here; return
2513 null pointer
2514
2515 2018-06-25 Steven Eker <[email protected]>
2516
2517 * metaPreModule.cc (MetaPreModule): set module type; this was
2518 a UMR bug
2519
2520 2018-06-20 Steven Eker <[email protected]>
2521
2522 * metaLevel.hh (M): added decls for downParameterDeclList2(),
2523 downParameterDecl2()
2524 (M): made downHeader() public
2525
2526 * interpreterManagerSymbol.cc (insertModule): use
2527 downParameterDeclList2()
2528
2529 * metaDownSignature.cc (downParameterDeclList2)
2530 (downParameterDecl2): added
2531
2532 * interpreterManagerSymbol.cc (insertModule): call downImports2()
2533
2534 * metaUpModule.cc (upImports): deal with new getImportMode()
2535 convention
2536
2537 * metaLevel.hh (M): added decls for downImports2(),
2538 downImport2()
2539
2540 * metaDownSignature.cc (downImports2, downImport2): added
2541
2542 * metaPreModule.hh (PreModule): delete getNrParameters(),
2543 getParameterName(), getParameter(), getNrImports(),
2544 getImportMode(), getImport() stubs
2545
2546 2018-06-19 Steven Eker <[email protected]>
2547
2548 * ascentFunctions.cc (getPreModule): added DebugAdvisory()s
2549
2550 2018-06-18 Steven Eker <[email protected]>
2551
2552 * metaLevelOpSymbol.cc: remove access to global variables
2553
2554 * metaLevelOpSymbol.hh (FreeSymbol): added decl for
2555 getPreModule()
2556
2557 * ascentFunctions.cc (getPreModule): added
2558 (metaUpView): determine owner rather than use global
2559 interpreter variable
2560 (metaUpModule, metaUpImports, metaUpSorts, metaUpSubsortDecls)
2561 (metaUpOpDecls, metaUpEqs, metaUpMbs, metaUpRls): use
2562 getPreModule()
2563
2564 2018-06-15 Steven Eker <[email protected]>
2565
2566 * metaLevel.cc: remove access to global variables
2567
2568 * metaDown.cc (downModule): call
2569 owner->destructUnusedModules() rather than
2570 interpreter.destructUnusedModules() (2 places)
2571
2572 * metaDownSignature.cc (downSignature): call
2573 owner->destructUnusedModules() rather than
2574 interpreter.destructUnusedModules()
2575
2576 * metaLevel.hh (M): updated decls for downModuleExpression(),
2577 downParameterDeclList(), downParameterDecl()
2578
2579 * metaDown.cc (downParameterDecl, downParameterDeclList): take
2580 MetaModule* rather than ImportModule*
2581
2582 * metaDownRenamings.cc (downModuleExpression): take MetaModule*
2583 rather than ImportModule*
2584
2585 * metaLevel.hh (M): updated decl for downModule()
2586
2587 * metaDown.cc (downModule): don't take cacheMetaModule and
2588 owner arguments
2589 (downModule): rewritten to extract owner Interpreter via
2590 the top symbol of meta-module
2591
2592 2018-06-14 Steven Eker <[email protected]>
2593
2594 * metaPreModule.cc (getFlatSignature): don't pass parent to
2595 downSignature()
2596
2597 * metaDown.cc (downModule): don't pass parent to MetaModule()
2598
2599 * interpreterManagerSymbol.cc (insertModule): don't pass parent to
2600 downSignature()
2601
2602 * metaLevel.hh (M): updated decl for downSignature()
2603
2604 * metaDownSignature.cc (downSignature): don't pass parent to
2605 MetaModule()
2606 (downSignature): don't take parent argument
2607
2608 * metaModule.cc (MetaModule): don't take or pass parent; pass owner;
2609 don't initialize owner
2610
2611 * metaModule.hh (MetaOpCache): deleted data member owner
2612 (getOwner): deleted
2613 (MetaOpCache): ctor no longer takes parent
2614
2615 2018-06-12 Steven Eker <[email protected]>
2616
2617 * metaDown.cc (downModule): call addUser() here; pass null parent
2618 to MetaModule()
2619
2620 * interpreterManagerSymbol.cc (insertModule): don't call addUser()
2621 here
2622
2623 * metaPreModule.cc (regretToInform): more detailed DebugAdvisory()
2624 (MetaPreModule): call addUser() here
2625
2626 * interpreterManagerSymbol.cc (insertModule): use downSignature()
2627
2628 * metaPreModule.hh (PreModule): deleted inline definition
2629 for getFlatSignature()
2630
2631 * metaPreModule.cc (getFlatSignature): added
2632 (getFlatModule): rewritten to use getFlatSignature()
2633
2634 * metaLevel.hh (M): added decl for downSignature()
2635
2636 * metaDownSignature.cc: created
2637
2638 2018-06-05 Steven Eker <[email protected]>
2639
2640 * interpreterManagerSymbol.cc (erewriteTerm): fix nasty bug where
2641 safeCast() macro was duplicating makeSubcontext() call
2642
2643 2018-05-31 Steven Eker <[email protected]>
2644
2645 * interpreterManagerSymbol.cc (erewriteTerm): set mode to
2646 ObjectSystemRewritingContext::EXTERNAL
2647 (rewriteTerm, frewriteTerm, erewriteTerm): call resetRules()
2648 before using module
2649
2650 2018-05-30 Steven Eker <[email protected]>
2651
2652 * interpreterManagerSymbol.hh (ExternalObjectManagerSymbol): added
2653 decl for erewriteTerm()
2654
2655 * interpreterSignature.cc: added erewriteTermMsg, erewroteTermMsg
2656
2657 * interpreterManagerSymbol.cc (erewriteTerm): added
2658 (handleMessage): support erewriteMsg
2659
2660 2018-05-22 Steven Eker <[email protected]>
2661
2662 * metaUpModule.cc (upModule): handle MetaPreModules correctly
2663 in the unflattened case
2664
2665 * metaPreModule.hh (getMetaRepresentation): added
2666
2667 2018-05-17 Steven Eker <[email protected]>
2668
2669 * metaView.cc (handleOpTermMappings): implemented
2670
2671 * metaLevel.hh (M): added decls for downOpTermMappings(),
2672 downOpTermMapping()
2673
2674 * metaDownView.cc (downOpTermMappings): added
2675 (downOpTermMapping): added
2676
2677 2018-05-16 Steven Eker <[email protected]>
2678
2679 * interpreterManagerSymbol.cc (insertView): implemented
2680
2681 * metaDownView.cc (downView): make sure we have an actual
2682 viewSymbol dag node before we downcast it
2683
2684 * metaLevel.hh (M): added decls for downSortMapping(),
2685 downOpMapping()
2686
2687 * metaDownView.cc (downModuleExpression): use downToken()
2688 (downInstantiationArguments): use downToken() (2 places)
2689 (downSortMapping): added
2690 (downSortMappingSet): implemented
2691 (downOpMapping): added
2692 (downOpMappingSet): implemented
2693
2694 * metaLevel.hh (M): added decl for downToken()
2695
2696 * metaDown.cc (downToken): added
2697
2698 2018-05-15 Steven Eker <[email protected]>
2699
2700 * meta.hh: added class MetaView
2701
2702 * metaLevel.hh (M): added decls for downSortMappingSet(),
2703 downOpMappingSet()
2704
2705 * metaDownView.cc (downSortMappingSet, downOpMappingSet): added stubs
2706
2707 * metaLevel.hh (M): added decls for view version of downModuleExpression()
2708 and downInstantiationArguments(); added decl for downView()
2709
2710 * metaDownView.cc: created
2711
2712 2018-05-04 Steven Eker <[email protected]>
2713
2714 * metaView.hh: created
2715
2716 * metaView.cc: created
2717
2718 2018-04-30 Steven Eker <[email protected]>
2719
2720 * metaUpView.cc (upView): call View::evaluate()
2721
2722 2018-04-29 RubĂ©n Rubio <[email protected]>
2723
2724 * metaDown.cc (downModule): using Module::isStrategic to be more succinct
2725
2726 * metaDownRenamings.cc (downRenaming): added strategy renamings
2727
2728 * metaDownStrats.cc (downStratExpr): fixed a bug where some cases are missing
2729 (downStratDef): fixed an erratum
2730 (downStratDecl): put META_LEVEL_CREATED as line number for strategy name token
2731 (downStratCall): warning if no strategy declaration can be found
2732
2733 * metaLevel.hh (upStratMappings): added
2734
2735 * metaLevelSignature.cc: strategy renaming and mapping symbols
2736
2737 * metaUpModule.cc (upStratDeclarations): fixed an erratum
2738 (upRenaming): added strategy renamings
2739
2740 * metaUpView.cc (upView): call upStratMappings
2741 (upStratMappings): added
2742
2743 2018-04-18 Steven Eker <[email protected]>
2744
2745 * interpreterManagerSymbol.cc (showView): implemented
2746
2747 ===================================Maude117===========================================
2748
2749 2018-04-10 RubĂ©n Rubio <[email protected]>
2750
2751 * metaDownStrats.cc (downStratExpr): added 'one' strategy case
2752
2753 * metaLevelSignature.cc: added oneStratSymbol
2754
2755 * metaLevel.cc: added include for 'one' strategy
2756
2757 * metaUp.cc (upStratExpr): added 'one' strategy case
2758
2759 2018-03-23 RubĂ©n Rubio <[email protected]>
2760
2761 * descentFunctions.cc (metaSRewrite): added
2762
2763 * descentSignature.cc: added metaSRewrite
2764
2765 * metaDown.cc (downModule): support for strategy modules
2766
2767 * metaDownStrats.cc: added
2768
2769 * metaLevel.hh: added strategy language includes and metaDownStrats.cc
2770 (upResultSet, upStratDecls, upSds, downStratExpr, upStratDecl, upSd)
2771 (upStratExpr, upCallExpr, downStratDecls, downStratDecl, downStratDefs)
2772 (downStratDef, downStratCall, downStrategyList): added
2773
2774 * metaLevelOpSymbol.cc: added strategy language includes
2775
2776 * metaLevelSignature.cc: added metastrategy constructs
2777
2778 * metaUp.cc (upResultSet, upStratExpr, upCallStrat): added
2779
2780 * metaUpModule.cc (upModule): added support for strategy modules
2781 (upPolymorphDecl): fixed an erratum.
2782 (upStratDecls, upStratDecl, upSds, upSd): added
2783
2784 2017-07-11 Steven Eker <[email protected]>
2785
2786 * metaSearch.cc (makeSMT_RewriteSequenceSearch): check for
2787 nonlinear variables in the target
2788 (makeSMT_RewriteSequenceSearch): check for SMT operators
2789 in the target
2790
2791 2017-06-29 Steven Eker <[email protected]>
2792
2793 * metaDown.cc (downTerm): canonicalize rational number
2794
2795 2017-06-05 Steven Eker <[email protected]>
2796
2797 * metaDownOps.cc (downAttr): set STRAT flag when strat
2798 attribute seen
2799 (downAttr): check for duplicated attributes
2800
2801 2017-05-31 Steven Eker <[email protected]>
2802
2803 * metaDownOps.cc (downAttr): check for duplicate argument
2804 numbers in poly attribute
2805 (downAttr): check for duplicate argument numbers in frozen
2806 attribute
2807 (downOpDecl): check that frozen and poly argument numbers
2808 are in range
2809 (downOpDecl): check gather lengths in both cases
2810
2811 2017-05-30 Steven Eker <[email protected]>
2812
2813 * metaUp.cc (upQidList): call upQid() in the singleton
2814 case
2815
2816 ===================================Maude114===========================================
2817
2818 2017-05-25 Steven Eker <[email protected]>
2819
2820 * metaNewNarrow.cc (metaNarrowingApply): use
2821 upNarrowingApplyResult() and upNarrowingApplyFailure()
2822
2823 * metaLevel.hh (M): upNarrowingFailure() ->
2824 upNarrowingApplyFailure(); upNarrowingResult() ->
2825 upNarrowingApplyResult()
2826
2827 * metaLevelSignature.cc: narrowingResultSymbol ->
2828 narrowingApplyResultSymbol; narrowingFailureSymbol ->
2829 narrowingApplyFailureSymbol; narrowingFailureIncompleteSymbol ->
2830 narrowingApplyFailureIncompleteSymbol
2831
2832 * metaUp.cc (upNarrowingResult): becomes
2833 upNarrowingApplyResult()
2834 (upNarrowingFailure): becomes upNarrowingFailure()
2835 (upNarrowingApplyResult): new scheme for returning values
2836
2837 2017-05-24 Steven Eker <[email protected]>
2838
2839 * metaNewNarrow2.cc (makeNarrowingSearchPathResult): get
2840 unifierVariableInfo for each step from getHistory() and
2841 passing it to upNarrowingStep()
2842
2843 * metaUp.cc (upNarrowingStep): use upCompoundSubstitution()
2844
2845 * metaLevel.hh (M): added decl for upCompoundSubstitution()
2846
2847 * metaUp.cc (upCompoundSubstitution): added
2848
2849 * metaNewNarrow2.cc (makeNarrowingSearchPathResult): pass rule
2850 rather than label for upNarrowingStep()
2851
2852 * metaLevel.hh (M): updated decl for upNarrowingStep()
2853
2854 * metaUp.cc (upNarrowingStep): take rule rather than label;
2855 generate rule part of substitution
2856
2857 2017-05-23 Steven Eker <[email protected]>
2858
2859 * metaUp.cc (upNarrowingSearchPathResult): handle singleton trace
2860
2861 * metaLevelOpSymbol.hh (FreeSymbol): added deld for
2862 makeNarrowingSearchPathResult()
2863
2864 * metaNewNarrow2.cc (makeNarrowingSearchPathResult): added
2865 (metaNarrowingSearchPath): use makeNarrowingSearchPathResult()
2866
2867 * metaUp.cc (upNarrowingStep): handle label == NONE
2868
2869 2017-05-22 Steven Eker <[email protected]>
2870
2871 * metaLevel.hh (M): added decl for upNarrowingStep()
2872
2873 * metaUp.cc (upNarrowingStep): added
2874
2875 * metaLevel.hh (M): added decl for upNarrowingSearchPathResult()
2876
2877 * metaUp.cc (upNarrowingSearchPathResult): added
2878
2879 * metaLevel.hh (M): added delc for upNarrowingSearchFailure()
2880
2881 * metaUp.cc (upNarrowingSearchPathFailure): added
2882
2883 * descentSignature.cc: added metaNarrowingSearchPath
2884
2885 * metaNewNarrow2.cc (metaNarrowingSearchPath): added stub
2886
2887 * metaLevelSignature.cc: added narrowingSearchPathFailureSymbol,
2888 narrowingSearchPathFailureIncompleteSymbol, narrowingStepSymbol,
2889 nilNarrowingTraceSymbol, narrowingTraceSymbol,
2890 narrowingSearchPathResultSymbol
2891
2892 2017-05-19 Steven Eker <[email protected]>
2893
2894 * metaLevelOpSymbol.hh (FreeSymbol): delete decl for
2895 makeNarrowingSequenceSearch2()
2896
2897 * metaNewNarrow.cc (makeNarrowingSequenceSearch2): deleted
2898 (metaNarrowingSearch): deleted old version
2899
2900 * metaLevel.hh (M): added decl for upPartialSubstitution()
2901
2902 * metaUp.cc (upPartialSubstitution): renamed from upSubstitution()
2903 (upNarrowingResult): use upPartialSubstitution()
2904 (upSubstitution): added new version
2905
2906 * metaLevelSignature.cc: narrowingSearchResultSymbol now
2907 has 6 arguments
2908
2909 * metaLevel.hh (M): updated decl for upNarrowingSearchResult()
2910
2911 * metaUp.cc (upNarrowingSearchResult): reimplemented
2912
2913 * descentSignature.cc: metaNarrowingSearch() now has 7 arguments
2914
2915 * metaLevelOpSymbol.hh (FreeSymbol): added decls for downFoldType()
2916 and makeNarrowingSequenceSearch3()
2917
2918 * metaNewNarrow2.cc (metaNarrowingSearch): reimplemented here
2919 (makeNarrowingSequenceSearch3): added
2920 (downFoldType): added
2921
2922 2017-05-02 Steven Eker <[email protected]>
2923
2924 * metaNewNarrow.cc (makeNarrowingSearchState2)
2925 (metaNarrowingApply): 1st Qid argument deleted
2926
2927 * descentSignature.cc: metaNarrowingApply now takes 5 arguments
2928
2929 * metaNewNarrow.cc (makeNarrowingSearchState2): don't pass label arg
2930 to NarrowingSearchState2
2931
2932 2017-04-26 Steven Eker <[email protected]>
2933
2934 * metaUpModule.cc (upStatementAttributes): support narrowing
2935
2936 * metaLevel.hh (M): added NARROWING to enum Flags
2937
2938 * metaDown.cc (downRule): support narrowing
2939 (downStatementAttr): support narrowing
2940
2941 * metaLevelSignature.cc: added narrowingSymbol
2942
2943 ===================================Maude113===========================================
2944
2945 2017-03-16 Steven Eker <[email protected]>
2946
2947 * metaLevelOpSymbol.hh (FreeSymbol): delete decl for
2948 getCachedVariantSearch()
2949
2950 * metaVariant.cc (getCachedVariantSearch): deleted
2951 (metaGetVariant2, metaVariantUnify2): use getCachedStateObject()
2952
2953 * metaLevelOpSymbol.hh (FreeSymbol): deleted decl for
2954 getCachedNarrowingSequenceSearch()
2955
2956 * metaNarrow.cc (getCachedNarrowingSequenceSearch): deleted
2957 (metaNarrow, metaNarrow2): use getCachedStateObject()
2958
2959 * metaSearch.cc (metaSmtSearch): deleted commented out code
2960
2961 * metaLevelOpSymbol.hh (FreeSymbol): deleted decl for
2962 getCachedSMT_RewriteSequenceSearch()
2963
2964 * metaSearch.cc (getCachedSMT_RewriteSequenceSearch): deleted
2965 (metaSmtSearch): use getCachedMatchSearchState()
2966
2967 * metaLevelOpSymbol.hh (FreeSymbol): deleted decl for
2968 getCachedMatchSearchState()
2969
2970 * metaMatch.cc (getCachedMatchSearchState): deleted
2971 (metaMatch): use getCachedStateObject()
2972 (metaXmatch): use getCachedStateObject()
2973
2974 * metaLevelOpSymbol.hh (FreeSymbol): deleted decl for
2975 getCachedRewriteSearchState()
2976
2977 * metaApply.cc (getCachedRewriteSearchState): deleted
2978 (metaApply): use getCachedStateObject()
2979 (metaXapply): use getCachedStateObject()
2980
2981 * metaLevelOpSymbol.hh (FreeSymbol): deleted decl for
2982 getCachedRewriteSequenceSearch()
2983
2984 * metaSearch.cc (getCachedRewriteSequenceSearch): deleted
2985 (metaSearch): use getCachedStateObject()
2986 (metaSearchPath): use getCachedStateObject()
2987
2988 * metaLevelOpSymbol.hh (getCachedStateObject): added DebugAdvisory()
2989
2990 ===================================Maude112===========================================
2991
2992 2017-03-14 Steven Eker <[email protected]>
2993
2994 * metaNewNarrow.cc (metaNarrowingSearch): reverted use of
2995 upNarrowingSearchResult()
2996
2997 * metaLevel.hh (M): reverted decl for upNarrowingSearchResult()
2998
2999 * metaUp.cc (upNarrowingSearchResult): reverted
3000
3001 * metaNewNarrow.cc (metaNarrowingSearch): use new upNarrowingSearchResult()
3002 convention
3003
3004 * metaLevel.hh (M): updated decl for upNarrowingSearchResult()
3005
3006 * metaUp.cc (upNarrowingSearchResult): changed order of arguments
3007
3008 * metaDown.cc (downParameterDecl): check that parameter type is legal
3009 and issue advisory otherwise
3010
3011 2017-03-10 Steven Eker <[email protected]>
3012
3013 * metaNarrow.cc (metaNarrow, metaNarrow2): transfer count
3014
3015 2017-03-09 Steven Eker <[email protected]>
3016
3017 * metaLevelOpSymbol.hh (FreeSymbol): deleted decls for
3018 getCachedNarrowingSearchState2() and getCachedNarrowingSequenceSearch2()
3019
3020 * metaNewNarrow.cc (metaNarrowingSearch): use getCachedStateObject()
3021 function template
3022 (metaNarrowingApply): use use getCachedStateObject() function template
3023 (getCachedNarrowingSearchState2): deleted
3024 (getCachedNarrowingSequenceSearch2): deleted
3025
3026 2017-03-08 Steven Eker <[email protected]>
3027
3028 * metaLevelOpSymbol.hh (getCachedStateObject): added function
3029 template
3030
3031 * metaLevelOpSymbol.hh (FreeSymbol): old makeNarrowingSequenceSearch2()
3032 becomes makeNarrowingSequenceSearchAlt()
3033
3034 * metaNarrow.cc (makeNarrowingSequenceSearch2): changed to
3035 makeNarrowingSequenceSearchAlt()
3036 (metaNarrow2): use makeNarrowingSequenceSearchAlt()
3037
3038 * metaNewNarrow.cc (metaNarrowingSearch): implemented
3039
3040 * metaLevelOpSymbol.hh (FreeSymbol): added decl for makeNarrowingSearchState2()
3041
3042 * metaNewNarrow.cc (makeNarrowingSearchState2): added
3043
3044 * metaNarrow.cc (makeNarrowingSequenceSearch): fix out of date comments
3045
3046 * metaLevelOpSymbol.hh (FreeSymbol): added decl for
3047 getCachedNarrowingSequenceSearch2()
3048
3049 * metaNewNarrow.cc (getCachedNarrowingSequenceSearch2): added
3050
3051 2017-03-07 Steven Eker <[email protected]>
3052
3053 * metaLevel.hh (M): updated decl for upNarrowingSearchResult()
3054
3055 * metaUp.cc (upNarrowingSearchResult): changed unifier argument
3056 from Substitution& to Vector<DagNode*>&
3057
3058 2017-02-06 Steven Eker <[email protected]>
3059
3060 * metaLevel.hh (M): added decl for upNarrowingSearchResult()
3061
3062 * metaUp.cc (upNarrowingSearchResult): added
3063
3064 * metaLevel.hh (M): added decl for upNarrowingSearchFailure()
3065
3066 * metaUp.cc (upNarrowingSearchFailure): added
3067
3068 * metaLevelSignature.cc: delete failureIncomplete4Symbol; add
3069 back narrowingSearchResultSymbol, narrowingSearchFailureSymbol,
3070 narrowingSearchFailureIncompleteSymbol
3071
3072 2017-02-03 Steven Eker <[email protected]>
3073
3074 * metaLevelSignature.cc: added failureIncomplete4Symbol; deleted
3075 narrowingSearchResultSymbol, narrowingSearchFailureSymbol,
3076 narrowingSearchFailureIncompleteSymbol
3077
3078 * metaNewNarrow.cc (metaNarrowingSearch): added stub
3079
3080 * metaLevelSignature.cc: added narrowingSearchResultSymbol,
3081 narrowingSearchFailureSymbol, narrowingSearchFailureIncompleteSymbol
3082
3083 * descentSignature.cc: added metaNarrowingSearch
3084
3085 * metaNewNarrow.cc (getCachedNarrowingSearchState2)
3086 (makeNarrowingSearchState2, metaNarrowingApply): moved here
3087
3088 ===================================Maude111b===========================================
3089
3090 2017-01-03 Steven Eker <[email protected]>
3091
3092 * metaNarrow.cc (metaNarrowingApply): use new getNarrowedDag()
3093 semantics
3094
3095 ===================================Maude111a===========================================
3096
3097 2016-12-19 Steven Eker <[email protected]>
3098
3099 * metaNarrow.cc (metaNarrowingApply): transfer counts from
3100 state context to context
3101 (metaNarrowingApply): call incrementNarrowingCount() if we
3102 make an actual narrowing step
3103
3104 2016-12-16 Steven Eker <[email protected]>
3105
3106 * metaNarrow.cc (metaNarrowingApply): added trace and
3107 abort support
3108 (metaNarrowingApply): use getActiveContext()
3109 (metaNarrowingApply): use getActiveVariableInfo()
3110 (metaNarrowingApply): don't trace if we didn't actually
3111 make a narrowing step (i.e. we got the result from cache)
3112
3113 2016-12-15 Steven Eker <[email protected]>
3114
3115 * metaNarrow.cc (makeNarrowingSearchState2): fail if the variable
3116 family isn't recognized
3117
3118 2016-12-13 Steven Eker <[email protected]>
3119
3120 * metaNarrow.cc (metaNarrowingApply): fix bug where we weren't
3121 deleting resutlContext
3122
3123 2016-12-12 Steven Eker <[email protected]>
3124
3125 * metaLevel.hh (M): updated decl fo upFailureTriple()
3126
3127 * metaUp.cc (upFailureTriple): handle incomplete argument
3128
3129 * metaNarrow.cc (metaNarrow): call isIncomplete(),
3130 pass to upFailureTriple()
3131
3132 * metaLevelSignature.cc: added failureIncomplete3Symbol
3133
3134 * metaNarrow.cc (metaNarrowingApply): call isIncomplete()
3135
3136 2016-12-09 Steven Eker <[email protected]>
3137
3138 * metaNarrow.cc (metaNarrowingApply): updated comment to
3139 reflect switched args
3140
3141 * metaUp.cc (upNarrowingResult): switched args
3142
3143 * metaLevel.hh (M): updated decl for upNarrowingResult()
3144
3145 * metaUp.cc (upNarrowingResult): new calling convention
3146
3147 * metaNarrow.cc (metaNarrowingApply): make metaContext first and
3148 then reduce narrowedDag
3149
3150 * metaApply.cc (metaXapply): added comment about dagNodeMap
3151
3152 * metaNarrow.cc (makeNarrowingSearchState2): reduce subject
3153 before passing it to NarrowingSearchState2()
3154
3155 2016-12-08 Steven Eker <[email protected]>
3156
3157 * metaNarrow.cc (makeNarrowingSearchState2): implemented
3158
3159 2016-12-07 Steven Eker <[email protected]>
3160
3161 * metaLevelOpSymbol.hh (FreeSymbol): added decl for
3162 makeNarrowingSearchState2()
3163
3164 * metaNarrow.cc (makeNarrowingSearchState2): added stub
3165
3166 * metaUp.cc (upSubstitution): reverted old NarrowingVariableInfo
3167 version
3168 (upNarrowingResult): don't pass firstTargetSlot, nrTargetVariables
3169 to upSubstitution()
3170
3171 * metaLevel.hh (M): added decl for new upSubstitution();
3172 reverted decl for old upSubstitution()
3173
3174 * metaUp.cc (upSubstitution): added new version
3175
3176 * metaLevelOpSymbol.hh (FreeSymbol): added decl for
3177 getCachedNarrowingSearchState2()
3178
3179 * metaNarrow.cc (getCachedNarrowingSearchState2): added
3180
3181 2016-12-06 Steven Eker <[email protected]>
3182
3183 * metaLevel.hh (M): added decls for upNarrowingResult() and
3184 upNarrowingFailure()
3185
3186 * metaUp.cc (upNarrowingResult): added
3187 (upNarrowingFailure): added
3188
3189 * metaLevel.hh (M): updated decl for upSubstitution()
3190
3191 * metaUp.cc (upSubstitution): added offset argument
3192
3193 2016-11-23 Steven Eker <[email protected]>
3194
3195 * metaNarrow.cc (metaNarrowingApply): added stub
3196
3197 * metaLevelSignature.cc: added narrowingResultSymbol, narrowingFailureSymbol,
3198 narrowingFailureIncompleteSymbol
3199
3200 2016-11-01 Steven Eker <[email protected]>
3201
3202 * metaVariant.cc (metaVariantUnify2): pass dummy variableFamily to
3203 getNextUnifier()
3204
3205 ===================================Maude111===========================================
3206
3207 2016-05-17 Steven Eker <[email protected]>
3208
3209 * descentFunctions.cc (metaCheck): call normalize() and markEager()
3210 before dagifying term
3211 (metaCheck): don't bother with markEager()
3212
3213 ===================================Maude110===========================================
3214
3215 2016-02-04 Steven Eker <[email protected]>
3216
3217 * metaUp.cc (upVariant): fix arg vector size
3218
3219 * metaVariant.cc (metaGetVariant2): use new getNextVariant() interface
3220
3221 2016-02-03 Steven Eker <[email protected]>
3222
3223 * metaVariant.cc (metaGetVariant2): pass 2 dummy args to upVariant() for
3224 the moment
3225
3226 * metaLevel.hh (M): updated decl for upVariant()
3227
3228 * metaUp.cc (upVariant): handle parentIndex and moreInLayer flag
3229
3230 2016-01-29 Steven Eker <[email protected]>
3231
3232 * metaLevelSignature.cc: added noParentSymbol; updated
3233 variantSymbol
3234
3235 ===================================Maude109===========================================
3236
3237 2015-08-21 Steven Eker <[email protected]>
3238
3239 * metaVariant.cc (metaGetVariant2): fix a bug where we were
3240 passing the irredundant flag as the unificationMode argument with
3241 resulting chaos in the metaGetIrredundantVariant() case
3242 (metaVariantUnify2): don't rely on default value for last argument
3243 of VariantSearch()
3244
3245 2015-08-14 Steven Eker <[email protected]>
3246
3247 * metaLevel.hh (M): updated decl for upNoVariant()
3248
3249 * metaUp.cc (upNoVariant): handle incomplete flag
3250
3251 * metaVariant.cc (metaVariantUnify2): pass incomplete flag to
3252 upNoUnifierTriple() and upNoUnifierPair()
3253 (metaGetVariant2): pass incomplete flag to upNoVariant()
3254
3255 * metaLevelSignature.cc: added noVariantIncompleteSymbol
3256
3257 2015-07-23 Steven Eker <[email protected]>
3258
3259 * metaUnify.cc (metaUnify2): pass incomplete flag to
3260 upNoUnifierTriple() and upNoUnifierPair()
3261
3262 * metaUp.cc (upNoUnifierPair, upNoUnifierTriple): handle
3263 incomplete flag
3264
3265 * metaLevel.hh (M): updated decls for upNoUnifierPair() and
3266 upNoUnifierTriple()
3267
3268 * metaLevelSignature.cc: added noUnifierIncompletePairSymbol and
3269 noUnifierIncompleteTripleSymbol
3270
3271 ===================================Maude108===========================================
3272
3273 2015-02-23 Steven Eker <[email protected]>
3274
3275 * metaVariant.cc (getCachedVariantSearch): revert, now that we
3276 have a way of getting last returned variant/unifier
3277 (metaGetVariant2): use getLastReturnedVariant()
3278 (metaVariantUnify2): use getLastReturnedUnifier()
3279
3280 2015-01-05 Steven Eker <[email protected]>
3281
3282 * metaVariant.cc (getCachedVariantSearch): fix bug where we were
3283 returning a cached state where lastSolutionNr < solutionNr even
3284 though the code that uses the state doens't seem to be able to
3285 handle this case
3286
3287 ===================================Maude106===========================================
3288
3289 2014-11-18 Steven Eker <[email protected]>
3290
3291 * metaUnify.cc (metaUnify2): use DebugAdvisory()
3292
3293 * metaVariant.cc (metaVariantUnify2, metaGetVariant2): use
3294 DebugAdvisory()
3295
3296 ===================================Maude106===========================================
3297
3298 2014-10-29 Steven Eker <[email protected]>
3299
3300 * metaSearch.cc (makeSMT_RewriteSequenceSearch): check that search
3301 type isn't =>!
3302 (getCachedSMT_RewriteSequenceSearch): use getRootContext() to
3303 patch potentially state parent pointer
3304
3305 2014-10-28 Steven Eker <[email protected]>
3306
3307 * metaLevelOpSymbol.hh (FreeSymbol):
3308 getCachedSMT_RewriteSearchState() ->
3309 getCachedSMT_RewriteSequenceSearch()
3310 (FreeSymbol): makeSMT_RewriteSearchState() ->
3311 makeSMT_RewriteSequenceSearch()
3312
3313 * metaSearch.cc (getCachedSMT_RewriteSearchState): becomes
3314 getCachedSMT_RewriteSequenceSearch()
3315 (metaSmtSearch): rewritten
3316 (makeSMT_RewriteSearchState): becomes
3317
3318 2014-10-27 Steven Eker <[email protected]>
3319
3320 * metaLevel.hh (M): added decl for upSmtSubstitution(); updated
3321 decl for upSmtResult()
3322
3323 * metaUp.cc (upSmtResult): new 4 arg value
3324 (upSmtSubstitution): created
3325
3326 * metaLevelSignature.cc: updated nr args for smtResultSymbol
3327
3328 * descentSignature.cc: updated metaSmtSearch nr args
3329
3330 2014-09-29 Steven Eker <[email protected]>
3331
3332 * metaSearch.cc (makeSMT_RewriteSearchState): pass
3333 VariableGenerator object to SMT_RewriteSearchState by pointer
3334 rather than reference
3335
3336 ===================================Maude105===========================================
3337
3338 2014-09-26 Steven Eker <[email protected]>
3339
3340 * metaSearch.cc (makeSMT_RewriteSearchState): new
3341 SMT_RewriteSearchState ctor convention
3342 (metaSmtSearch): use getMaxVariableNumber() instead of
3343 getNextVariableNumber()
3344 (metaSmtSearch): call validForSMT_Rewriting()
3345
3346 2014-09-25 Steven Eker <[email protected]>
3347
3348 * metaVariant.cc (metaVariantUnify2): check solutionNr >= 0
3349 (getCachedVariantSearch): don't check solutionNr > 0
3350
3351 * metaNarrow.cc (getCachedNarrowingSequenceSearch): don't check
3352 solutionNr > 0
3353
3354 * metaApply.cc (metaXapply, metaApply): check solutionNr >= 0
3355 (getCachedRewriteSearchState): don't check solutionNr > 0; fix
3356 comment about context adoption
3357
3358 * metaMatch.cc (metaMatch): check solutionNr >= 0
3359 (getCachedMatchSearchState): don't check solutionNr > 0; fix
3360 comment about context adoption
3361
3362 * metaUnify.cc (metaUnify2): check solutionNr >= 0
3363 (getCachedUnificationProblem): don't check solutionNr > 0
3364
3365 * metaSearch.cc (getCachedRewriteSequenceSearch): allow retrieval
3366 of solution number 0 and allow retrieval of solution number equal
3367 to the wanted solution number
3368 (getCachedRewriteSequenceSearch): don't test for solutionNr >= 0
3369 since caller checks this
3370 (getCachedSMT_RewriteSearchState): don't test for solutionNr >= 0;
3371 use <= for lastSolutionNr check
3372 (getCachedSMT_RewriteSearchState): adopt context from cachedState
3373 to avoid stale parent pointer
3374
3375 2014-09-24 Steven Eker <[email protected]>
3376
3377 * metaSearch.cc (makeSMT_RewriteSearchState): pass extra args to
3378 SMT_RewriteSearchState()
3379 (makeSMT_RewriteSearchState, getCachedSMT_RewriteSearchState):
3380 added DebugAdvisory()s
3381
3382 2014-09-23 Steven Eker <[email protected]>
3383
3384 * metaLevel.hh (M): added declarations for upSmtResult() and
3385 upSmtFailure()
3386
3387 * metaUp.cc (upSmtFailure): added
3388 (upSmtResult): added
3389
3390 * metaLevelOpSymbol.hh (FreeSymbol): added decls for
3391 getCachedSMT_RewriteSearchStat() and
3392 makeSMT_RewriteSearchState()
3393
3394 * metaSearch.cc (getCachedSMT_RewriteSearchState): added
3395 (makeSMT_RewriteSearchState): added
3396
3397 2014-09-22 Steven Eker <[email protected]>
3398
3399 * metaSearch.cc (metaSmtSearch): added stub
3400
3401 * descentSignature.cc: added metaSmtSearch
3402
3403 * metaLevelSignature.cc: added smtResultSymbol and
3404 smtFailureSymbol
3405
3406 2014-09-10 Steven Eker <[email protected]>
3407
3408 * descentFunctions.cc (metaDownTerm): rewritten using new
3409 VariableGenerator semantics
3410
3411 2014-08-11 Steven Eker <[email protected]>
3412
3413 * metaDown.cc (downTerm): use SMT_Info rather SMT_Base
3414
3415 * descentFunctions.cc (metaCheck): use smtInfo rather than sortMap
3416
3417 2014-07-30 Steven Eker <[email protected]>
3418
3419 * descentFunctions.cc (metaCheck): rewritten using VariableGenerator
3420
3421 2014-07-01 Steven Eker <[email protected]>
3422
3423 * metaDown.cc (downPrintListItem): commented out IssueAdvisory()
3424 since downType2() already does this
3425 (downTerm): (2 places) commented out IssueAdvisory() since
3426 downType2() already does this
3427
3428 ===================================Maude104===========================================
3429
3430 2014-06-04 Steven Eker <[email protected]>
3431
3432 * descentFunctions.cc (metaCheck): deleted commented out code
3433 (metaCheck): use QUOTE() in advisories
3434
3435 2014-06-03 Steven Eker <[email protected]>
3436
3437 * metaUp.cc (upSMT_Number): use getRangeSort()
3438
3439 * descentFunctions.cc (metaCheck): use getRangeSort()
3440
3441 2014-05-21 Steven Eker <[email protected]>
3442
3443 * descentFunctions.cc (metaCheck): fix memory leak if we return
3444 early
3445
3446 2014-05-20 Steven Eker <[email protected]>
3447
3448 * descentFunctions.cc (metaCheck): implemented
3449 (metaCheck): added check for null Expr and advisories
3450 (metaCheck): deepSelfDestruct() term
3451
3452 * descentSignature.cc: added metaCheck
3453
3454 * descentFunctions.cc (metaCheck): added stub
3455
3456 2014-05-19 Steven Eker <[email protected]>
3457
3458 * metaLevel.hh (M): added decl for upSMT_Number()
3459
3460 * metaUp.cc (upDagNode): added SMT_NUMBER_SYMBOL case
3461 (upTerm): added SMT_NUMBER_SYMBOL case
3462 (upSMT_Number): added
3463
3464 2014-05-16 Steven Eker <[email protected]>
3465
3466 * descentFunctions.cc (metaDownTerm): output advisory when term is
3467 in the wrong kind
3468
3469 2014-05-15 Steven Eker <[email protected]>
3470
3471 * metaDown.cc (downTerm): added cases for SMT integers and reals
3472 (downTerm): need to capture ZERO case as well
3473
3474 ===================================Maude103===========================================
3475
3476 2014-03-03 Steven Eker <[email protected]>
3477
3478 * metaLevelOpSymbol.hh (FreeSymbol): added decl for metaGetVariant2()
3479
3480 * metaVariant.cc (metaGetVariant2): renamed from metaGetVariant();
3481 handle irredundant argument
3482 (metaGetIrredundantVariant): added
3483 (metaGetVariant): use metaGetVariant2()
3484
3485 * descentSignature.cc: added metaGetIrredundantVariant
3486
3487 ===================================Maude101===========================================
3488
3489 2014-02-06 Steven Eker <[email protected]>
3490
3491 * metaVariant.cc (metaGetVariant, metaVariantUnify2): added
3492 Asserts() on solutionNr
3493 (metaVariantUnify, metaVariantDisjointUnify): removed stub code
3494 (metaVariantUnify2): removed commented out code
3495
3496 * metaMatch.cc (makeMatchSearchState2): return 0 rather than false
3497 in fail case
3498
3499 * metaUpModule.cc (upGather): initialize s to avoid warning
3500
3501 ===================================Maude100a===========================================
3502
3503 2012-07-31 Steven Eker <[email protected]>
3504
3505 * metaVariant.cc (metaVariantUnify2): use upUnificationTriple(),
3506 upUnificationPair()
3507
3508 * metaLevel.hh (M): added decls for 4 new narrow up functions
3509
3510 * metaUp.cc (upSubstitution): added narrowing version
3511 (upUnificationPair): added narrowing version
3512 (upVariant): use upSubstitution()
3513 (upUnificationTriple): added narrowing version
3514 (upDisjointSubstitutions): added narrowing version
3515
3516 2012-07-30 Steven Eker <[email protected]>
3517
3518 * metaLevelOpSymbol.hh (FreeSymbol): added decl for
3519 metaVariantUnify2()
3520
3521 * metaVariant.cc (metaVariantUnify2): added
3522
3523 * descentSignature.cc: updated metaVariantUnify() and
3524 metaVariantDisjointUnify()
3525
3526 2012-07-23 Steven Eker <[email protected]>
3527
3528 * metaVariant.cc (metaGetVariant): call normalize() on blocker
3529 terms to set hash values
3530
3531 2012-07-20 Steven Eker <[email protected]>
3532
3533 * metaVariant.cc (metaGetVariant): convert blocker terms to
3534 blocket dags
3535
3536 * metaUp.cc (upUnificationTriple): fix bug where we weren't
3537 handling the singleton substitution case
3538
3539 * metaLevel.hh (M): make downTermList() public
3540
3541 * metaUp.cc (upUnificationTriple): switch term and substituion args
3542
3543 * metaDown.cc (downTerm): don't allow meta term syntax with empty
3544 argument list
3545 (downTermList): allow empty term lists
3546
3547 * metaLevelSignature.cc: added emptyTermListSymbol
3548
3549 * metaVariant.cc (metaGenerateVariant): becomes metaGetVariant()
3550
3551 * descentSignature.cc: replaced metaGenerateVariant() by
3552 metaGetVariant()
3553
3554 2012-07-18 Steven Eker <[email protected]>
3555
3556 * metaVariant.cc (metaGenerateVariant): pass blocker dags to VariantSearch
3557
3558 ===================================Maude96a===========================================
3559
3560 2012-05-22 Steven Eker <[email protected]>
3561
3562 * metaVariant.cc (metaGenerateVariant): rewritten
3563
3564 * metaLevel.hh (M): updated decl for upVariant()
3565 (M): added decl for DagNode* version of upAssignment()
3566
3567 * metaUp.cc (upAssignment): added DagNode* version
3568 (upUnificationTriple): rewritten
3569
3570 2012-05-21 Steven Eker <[email protected]>
3571
3572 * metaVariant.cc (getCachedVariantSearch): added
3573
3574 2012-05-03 Steven Eker <[email protected]>
3575
3576 * metaUpModule.cc (upStatementAttributes): handle variant attribute
3577
3578 * metaDown.cc (downStatementAttr): handle variantAttrSymbol
3579 (downEquation): handle variant flag
3580
3581 * metaLevel.hh (M): added VARIANT to enum Flags
3582
3583 * metaLevelSignature.cc: added variantSymbol
3584
3585 2012-03-28 Steven Eker <[email protected]>
3586
3587 * descentSignature.cc: metaGenerateVariant() only takes 4 arguments
3588
3589 2012-03-09 Steven Eker <[email protected]>
3590
3591 * metaVariant.cc: created with stub functions
3592
3593 * descentSignature.cc: added metaGenerateVariant,
3594 metaVariantUnify, metaVariantDisjointUnify
3595
3596 * metaLevel.hh (M): added decls for upVariant() and upNoVariant()
3597
3598 * metaUp.cc (upVariant): added
3599 (upNoVariant): added
3600
3601 * metaLevelSignature.cc: added variantSymbol and noVariantSymbol
3602
3603 * metaLevel.hh (M): deleted declarations for
3604 upNoUnifierContextTriple() and upNoUnifierContext4Tuple()
3605
3606 * metaUp.cc (upNoUnifierContextTriple): deleted
3607 (upNoUnifierContext4Tuple): deleted
3608
3609 * metaLevelSignature.cc: deleted noUnifierContextTripleSymbol,
3610 noUnifierContext4TupleSymbol, unificationContextTripleSymbol, unificationContext4TupleSymbol
3611
3612 * metaLevel.hh (M): deleted declarations for
3613 upUnificationContextTriple() and upUnificationContext4Tuple()
3614
3615 * metaUp.cc (upUnificationContextTriple): deleted - unification
3616 with extension isn't going to fly
3617 (upUnificationContext4Tuple): deleted
3618
3619 ===================================Maude96===========================================
3620
3621 2010-10-20 Steven Eker <eker@rho>
3622
3623 * metaModuleCache.hh (Entity::User): added enum Sizes
3624
3625 * metaModuleCache.cc (MetaModuleCache::MetaModuleCache): no longer
3626 take arg
3627 (MetaModuleCache::MetaModuleCache): don't take argument; use
3628 getenv() to see if user set a custom maxSize
3629
3630 * metaModuleCache.hh (Entity::User): made maxSize static rather
3631 than const
3632 (Entity::User): ctor no longer takes arg
3633
3634 ===================================Maude95a===========================================
3635
3636 2010-10-06 Steven Eker <eker@rho>
3637
3638 * metaDownRenamings.cc (MetaLevel::downModuleExpression): new
3639 makeSummation() convention for bad modules
3640 (MetaLevel::downModuleExpression): new makeRenamedCopy()
3641 convention for bad modules
3642
3643 2010-10-05 Steven Eker <eker@rho>
3644
3645 * metaDownRenamings.cc (MetaLevel::downModuleExpression): new
3646 makeInstatiation() convention for bad modules
3647
3648 2010-08-12 Steven Eker <eker@rho>
3649
3650 * metaDownFixUps.cc (MetaLevel::downOpHook): use downOpName()
3651 instead of downQid() for operator name
3652
3653 * metaDown.cc (MetaLevel::downTerm): use downOpName() instead of
3654 downQid() for operator name
3655
3656 * descentFunctions.cc (MetaLevelOpSymbol::metaMaximalAritySet):
3657 use downOpName() instead of downQid()
3658
3659 * metaLevel.hh (class MetaLevel): added decl for downOpName()
3660
3661 * metaDown.cc (MetaLevel::downQid): use
3662 Token::unBackQuoteSpecials() after all since metaParser want '`,
3663 to be downed to ,
3664 (MetaLevel::downOpName): added
3665
3666 2010-08-10 Steven Eker <eker@rho>
3667
3668 * metaDown.cc (MetaLevel::downQid): don't use
3669 Token::unBackQuoteSpecials()
3670
3671 2010-07-13 Steven Eker <eker@rho>
3672
3673 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
3674 added decls for insertView() and showView()
3675
3676 * interpreterSignature.cc: added insertViewMsg/insertedViewMsg and
3677 showViewMsg/showingViewMsg
3678
3679 2010-07-06 Steven Eker <eker@rho>
3680
3681 * descentFunctions.cc (MetaLevelOpSymbol::metaDownTerm): fix bug
3682 where we were not checking the component of the down'd term
3683
3684 ===================================Maude94a===========================================
3685
3686 2010-06-11 Steven Eker <eker@rho>
3687
3688 * metaUpView.cc (MetaLevel::upOpMappings): fix bug where we were
3689 using the wrong modules to up the lhs and rhs of an op->term
3690 mapping
3691
3692 ===================================Maude94===========================================
3693
3694 2010-05-07 Steven Eker <eker@rho>
3695
3696 * metaLevel.hh (class MetaLevel): updated decl for upHeader()
3697
3698 * metaUpModule.cc (MetaLevel::upHeader): handle flat argument
3699 (MetaLevel::upModule): pass flag arg to upHeader
3700
3701 ===================================Maude93d===========================================
3702
3703 2010-05-05 Steven Eker <eker@rho>
3704
3705 * metaUpView.cc (MetaLevel::upOpMappings): fixed bug where we
3706 using sort mapping set constructors rather than the op mapping
3707 ones
3708
3709 2010-04-30 Steven Eker <eker@rho>
3710
3711 * metaDown.cc (MetaLevel::downParameterDecl): fix bug by passing m
3712 rather than 0 as enclosingModule to downModuleExpression()
3713
3714 ===================================Maude93b===========================================
3715
3716 2009-11-06 Steven Eker <[email protected]>
3717
3718 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): updated ctor
3719
3720 * metaLevelOpSymbol.cc (complexStrategy): added
3721 (eqRewrite): use complexStrategy()
3722 (MetaLevelOpSymbol): take and pass strategy
3723
3724 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decl for
3725 complexStrategy()
3726
3727 2009-11-02 Steven Eker <[email protected]>
3728
3729 * metaMatch.cc (makeMatchSearchState): added DebugAdvisory() to
3730 investigate performance problem
3731
3732 ===================================Maude92a===========================================
3733
3734 2009-08-24 Steven Eker <[email protected]>
3735
3736 * meta.hh: added class InterpreterManagerSymbol
3737
3738 2009-08-20 Steven Eker <[email protected]>
3739
3740 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
3741 added decl for frewriteTerm()
3742
3743 * interpreterManagerSymbol.cc (frewriteTerm): added
3744 (handleMessage): handle frewriteTermMsg
3745
3746 * interpreterSignature.cc: added frewriteTermMsg, frewroteTermMsg
3747
3748 2009-08-11 Steven Eker <[email protected]>
3749
3750 * metaUpView.cc (upView): call upOpMappings()
3751
3752 * metaLevel.hh (class MetaLevel): added decl for upOpMappings()
3753
3754 * metaUpView.cc (upOpMappings): added
3755
3756 * metaLevelSignature.cc (MACRO): op mappings don't take
3757 attributes!
3758
3759 2009-08-07 Steven Eker <[email protected]>
3760
3761 * metaLevel.hh (class MetaLevel): added decl for upSortMappings()
3762
3763 * metaUpView.cc (upSortMappings): added
3764
3765 * ascentFunctions.cc (metaUpView): added
3766
3767 * descentSignature.cc (MACRO): added metaUpView
3768
3769 * metaUpView.cc: created
3770
3771 * metaLevel.hh (class MetaLevel): added decl for upView()
3772
3773 2009-08-06 Steven Eker <[email protected]>
3774
3775 * metaLevelSignature.cc (MACRO): added sort/op mapping ctors, view
3776 ctor
3777
3778 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
3779 added decl for showModule()
3780
3781 * interpreterManagerSymbol.cc (showModule): added
3782 (handleMessage): hande showModuleMsg
3783
3784 2009-08-05 Steven Eker <[email protected]>
3785
3786 * interpreterSignature.cc (MACRO): added showModuleMsg,
3787 showingModuleMsg
3788
3789 2009-03-06 Steven Eker <[email protected]>
3790
3791 * interpreterManagerSymbol.cc (rewriteTerm): added
3792 (handleMessage): support rewriteTermMsg
3793
3794 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
3795 added decl for rewriteTerm()
3796
3797 2009-02-26 Steven Eker <[email protected]>
3798
3799 * interpreterSignature.cc (MACRO): added quitMsg, byeMsg
3800
3801 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
3802 added decls for quit() and deleteInterpreter()
3803
3804 * interpreterManagerSymbol.cc (quit): added
3805 (cleanUp): implemented
3806 (deleteInterpreter): added
3807
3808 2009-02-20 Steven Eker <[email protected]>
3809
3810 * metaPreModule.hh (class MetaPreModule): added decl for dtor
3811
3812 * metaPreModule.cc (getFlatModule): use new downModule()
3813 convention; call addUser()
3814 (~MetaPreModule): added
3815
3816 * metaLevel.hh (class MetaLevel): updated decl for downModule()
3817
3818 * metaDown.cc (downModule): take cacheMetaModule argument
3819
3820 2009-02-19 Steven Eker <[email protected]>
3821
3822 * interpreterManagerSymbol.cc (reduceTerm): use upNat()
3823
3824 * metaLevel.hh (upNat): added
3825
3826 * interpreterManagerSymbol.cc (reduceTerm): added
3827
3828 * interpreterManagerSymbol.hh (class InterpreterManagerSymbol):
3829 added decl for reduceTerm()
3830
3831 * metaPreModule.cc: created
3832
3833 * metaPreModule.hh (class MetaPreModule): created
3834
3835 * interpreterManagerSymbol.cc (insertModule): make a MetaPreModule
3836
3837 * metaModule.cc (MetaModule): init VisibleModule
3838
3839 * metaModule.hh (class MetaModule): derive from VisibleModule
3840 instead of ImportModule
3841
3842 * meta.hh: added class MetaPreModule
3843
3844 2009-02-12 Steven Eker <[email protected]>
3845
3846 * metaUpModule.cc: revert to PreModule
3847
3848 * metaDownRenamings.cc: revert to PreModule
3849
3850 * metaLevel.hh: revert to PreModule
3851
3852 * ascentFunctions.cc: revert to PreModule
3853
3854 * metaUpModule.cc: PreModule -> SyntacticPreModule
3855
3856 * metaDownRenamings.cc: PreModule -> SyntacticPreModule
3857
3858 * metaDownOps.cc: PreModule -> SyntacticPreModule
3859
3860 * ascentFunctions.cc: PreModule -> SyntacticPreModule
3861
3862 * metaLevel.hh: PreModule -> SyntacticPreModule
3863
3864 2009-02-05 Steven Eker <[email protected]>
3865
3866 * metaDownRenamings.cc (downModuleExpression): don't access global
3867 interpreter variable (5 places)
3868
3869 * metaLevel.hh (class MetaLevel): update decl for downModule()
3870
3871 * metaDown.cc (downParameterDecl): use a modules owner rather than
3872 interpreter global variable
3873
3874 * metaModule.cc (MetaModule): init owner data member
3875
3876 * metaModule.hh (class MetaModule): added owner data member;
3877 updated decl for ctor
3878 (getOwner): added
3879
3880 2009-01-29 Steven Eker <[email protected]>
3881
3882 * interpreterManagerSymbol.hh: created
3883
3884 * interpreterManagerSymbol.cc: created
3885
3886 * metaLevelOpSymbol.hh (getMetaLevel): added
3887
3888 * metaLevelOpSymbol.cc (eqRewrite): Assert() that metaLevel is not
3889 0 rather than testing it since this should be set in
3890 postInterSymbolPass()
3891
3892 ===================================Maude92===========================================
3893
3894 2008-09-12 Steven Eker <[email protected]>
3895
3896 * metaDownOps.cc (downOpDecl): added a check to see of we are
3897 subsort overloading an operator from one of our parameters
3898
3899 2008-09-11 Steven Eker <[email protected]>
3900
3901 * ascentFunctions.cc (metaUpImports): deleted decl for unused
3902 variable flat
3903
3904 * metaDownRenamings.cc (downModuleExpression): avoid sign/unsigned
3905 comparison warning
3906
3907 2008-08-27 Steven Eker <[email protected]>
3908
3909 * metaLevel.hh (class MetaLevel): updated decls for
3910 downStatementAttrSet(), downStatementAttr(), downPrintList(),
3911 downPrintListItem()
3912
3913 * metaDown.cc (downMembAx): use StatementAttributeInfo
3914 (downEquation): use StatementAttributeInfo
3915 (downRule): use StatementAttributeInfo
3916 (downStatementAttrSet, downStatementAttr, downStatementAttr)
3917 (downPrintList): use StatementAttributeInfo
3918 (downStatementAttr): disallow multiple print attributes
3919
3920 * metaLevel.hh (StatementAttributeInfo): added
3921 (class MetaLevel): added class StatementAttributeInfo
3922
3923 2008-08-26 Steven Eker <[email protected]>
3924
3925 * metaLevel.hh (class MetaLevel): updated decls for
3926 downStatementAttrSet(), downStatementAttr(); added decls for
3927 downPrintList(), downPrintListItem()
3928 (class MetaLevel): added PRINT to enum Flags
3929
3930 * metaDown.cc (downStatementAttrSet, downStatementAttr): take
3931 printNames, printSorts
3932 (downPrintList, downPrintListItem): added
3933 (downStatementAttrSet, downStatementAttr): take MixfixModule*
3934 (downMembAx): support print attribute
3935 (downEquation): support print attribute
3936 (downRule): support print attribute
3937
3938 * metaUpModule.cc (upStatementAttributes): support print attribute
3939
3940 * metaLevelSignature.cc (MACRO): added printSymbol
3941
3942 ===================================Maude91a===========================================
3943
3944 2008-03-23 Steven Eker <[email protected]>
3945
3946 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): deleted decl for
3947 metaXunify2()
3948
3949 * metaUnify.cc (metaXunify2): deleted
3950 (metaXunify): deleted
3951 (metaDisjointXunify): deleted
3952
3953 * descentSignature.cc (MACRO): removed metaXunify and metaDisjointXunify
3954
3955 ===================================Maude90a===========================================
3956
3957 2008-01-22 Steven Eker <[email protected]>
3958
3959 * metaUnify.cc (metaUnify2): added debug advisories to try and
3960 discover unification problem that is causing infinite looping
3961
3962 * descentSignature.cc (MACRO): metaNarrow2 now has 6 arguments
3963
3964 * metaNarrow.cc (metaNarrow2): solution # is now arg 5
3965 (makeNarrowingSequenceSearch2): handle bool arg
3966
3967 2008-01-21 Steven Eker <[email protected]>
3968
3969 * metaNarrow.cc (makeNarrowingSequenceSearch)
3970 (makeNarrowingSequenceSearch2): pass flags arg to
3971 NarrowingSequenceSearch()
3972
3973 ===================================Maude90===========================================
3974
3975 2007-12-07 Steven Eker <[email protected]>
3976
3977 * metaLevel.cc (MetaLevel): need to clear variableGenerator in
3978 renaming version of constructor
3979
3980 2007-12-05 Steven Eker <[email protected]>
3981
3982 * metaUp.cc (upVariable): deleted variable mapping code
3983
3984 * metaNarrow.cc (metaNarrow2): correct variableBase by
3985 m->getMinimumSubstitutionSize()
3986
3987 * metaLevel.hh (class MetaLevel): data member variableCounter
3988 replaced by variableBase
3989 (startVariableMapping): variableCounter replaced by variableBase
3990
3991 * metaUp.cc (upDagNode): do variable name mapping here based on
3992 the index in the VariableDagNode
3993
3994 2007-12-04 Steven Eker <[email protected]>
3995
3996 * metaLevel.hh (startVariableMapping, stopVariableMapping): added
3997
3998 * metaUp.cc (upVariable): handle variable mapping
3999
4000 * metaLevel.cc (MetaLevel): clear variableGenerator
4001
4002 * metaLevel.hh (class MetaLevel): added data members
4003 variableCounter and variableGenerator
4004
4005 * metaNarrow.cc (makeNarrowingSequenceSearch2): don't bother with
4006 Bool argument or setVariableCounter()
4007
4008 * metaLevelSignature.cc (MACRO): added failure2Symbol
4009
4010 * metaLevel.hh (class MetaLevel): added decl for upFailurePair()
4011
4012 * metaUp.cc (upFailurePair): added
4013
4014 * descentSignature.cc (MACRO): added metaNarrow2
4015
4016 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decl for
4017 makeNarrowingSequenceSearch2()
4018
4019 * metaNarrow.cc (makeNarrowingSequenceSearch): comment out dead
4020 code
4021 (makeNarrowingSequenceSearch2): added
4022 (metaNarrow2): added
4023
4024 2007-11-30 Steven Eker <[email protected]>
4025
4026 * metaApply.cc (getCachedRewriteSearchState): use new
4027 remove() semantics; changed test from < to <=
4028
4029 * metaMatch.cc (getCachedMatchSearchState): use new
4030 remove() semantics; changed test from < to <=
4031
4032 2007-11-29 Steven Eker <[email protected]>
4033
4034 * metaNarrow.cc (getCachedNarrowingSequenceSearch): use new
4035 remove() semantics; changed test from < to <=
4036
4037 * metaUnify.cc (getCachedUnificationProblem): use new remove()
4038 semantics
4039
4040 * metaOpCache.cc (remove): collapse 4 versions to a single
4041 simplified version
4042 (clear): make local_inline
4043
4044 * metaOpCache.hh (class MetaOpCache): replaced decls for insert()
4045 and remove()
4046
4047 * metaOpCache.cc (clear): simplified
4048 (insert): collapse 4 versions to a single simplified version
4049
4050 * metaOpCache.hh (class MetaOpCache): use CachableState* rather
4051 than the various specialized classes in struct Item
4052
4053 2007-11-27 Steven Eker <[email protected]>
4054
4055 * metaUnify.cc (getCachedUnificationProblem): changed test from <
4056 to <=
4057
4058 * metaOpCache.cc (insert): fix failure to clear unused entries bug
4059 in all four versions
4060
4061 * metaOpCache.hh (class MetaOpCache): bumped default cache size to 40
4062
4063 * metaUnify.cc (metaUnify2): added DebugAdvisoryCheck() to report
4064 unexpected jumps in solution number
4065
4066 2007-11-19 Steven Eker <[email protected]>
4067
4068 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decls for
4069 getCachedNarrowingSequenceSearch() and
4070 makeNarrowingSequenceSearch()
4071
4072 * metaNarrow.cc: created
4073
4074 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): updated decl for
4075 downSearchType()
4076
4077 * metaSearch.cc (downSearchType): use SequenceSearch in place of
4078 RewriteSequenceSearch
4079
4080 * metaOpCache.hh (class MetaOpCache): added narrowingSearch to
4081 struct Item
4082
4083 * metaOpCache.cc (insert, remove): added NarrowingSequenceSearch*
4084 versions
4085 (clear): delete narrowingSearch
4086
4087 * metaOpCache.hh (class MetaOpCache): added declarations for
4088 NarrowingSequenceSearch* versions of insert() and remove()
4089
4090 * descentSignature.cc (MACRO): added metaNarrow
4091
4092 2007-10-11 Steven Eker <[email protected]>
4093
4094 * metaUnify.cc (metaUnify2): use getVariableInfo()
4095 (metaXunify2): use getVariableInfo()
4096
4097 ===================================Maude89h===========================================
4098
4099 2007-08-24 Steven Eker <[email protected]>
4100
4101 * metaUnify.cc (metaXunify2): variablesOK() -> problemOK()
4102 (metaUnify2): variablesOK() -> problemOK()
4103
4104 * metaUp.cc (upResultTriple, upResult4Tuple, upUnificationPair)
4105 (upUnificationContextTriple, upMatchPair): upSubstition() ->
4106 upSubstitution()
4107 (upSubstition): becomes upSubstitution()
4108
4109 * metaMatch.cc (metaMatch): upSubstition() -> upSubstitution()
4110
4111 * metaLevel.hh (class MetaLevel): upSubstition() ->
4112 upSubstitution()
4113
4114 ===================================Maude89g===========================================
4115
4116 2007-07-09 Steven Eker <[email protected]>
4117
4118 * metaLevel.cc (MetaLevel): fix nasty bug where we weren't
4119 initializing flagVariables in the copy via SymbolMap ctor
4120
4121 2007-06-27 Steven Eker <[email protected]>
4122
4123 * metaUnify.cc (metaXunify2): pass disjoint arg to downTermPair()
4124 (metaUnify2): new downUnificationProblem() convention
4125
4126 * metaDown.cc (downUnificationProblem): moved makeDisjoint arg
4127
4128 * metaLevel.hh (class MetaLevel): deleted decl for
4129 downDisjointTermPair(); added makeDisjoint arg to downTermPair();
4130 moved makeDisjoint arg in downUnificandPair() and
4131 downUnificationProblem()
4132
4133 * metaDown.cc (downUnificandPair): moved makeDisjoint arg to last
4134 place
4135 (downTermPair): added makeDisjoint arg
4136 (downDisjointTermPair): deleted
4137
4138 * metaUnify.cc (metaXunify2): don't assume that left hand sides
4139 have had their sort information filled out
4140
4141 * metaLevelSignature.cc (MACRO): added
4142 unificationContextTripleSymbol, unificationContext4TupleSymbol,
4143 noUnifierContextTripleSymbol, noUnifierContext4TupleSymbol
4144
4145 * metaUnify.cc (metaXunify2): use upNoUnifierContext4Tuple(),
4146 upNoUnifierContextTriple(), upUnificationContext4Tuple(),
4147 upUnificationContextTriple()
4148
4149 * metaLevel.hh (class MetaLevel): added decls for
4150 upNoUnifierContextTriple() and upNoUnifierContext4Tuple()
4151
4152 * metaUp.cc (upNoUnifierContextTriple, upNoUnifierContext4Tuple):
4153 added
4154
4155 * metaLevel.hh (class MetaLevel): added decls for
4156 upUnificationContextTriple() and upUnificationContext4Tuple()
4157
4158 * metaUp.cc (upUnificationContextTriple)
4159 (upUnificationContext4Tuple): added
4160
4161 * descentSignature.cc (MACRO): added entries for metaUnify(),
4162 metaDisjointUnify()
4163
4164 * metaUnify.cc (metaUnify, metaDisjointUnify, metaXunify2): added
4165
4166 2007-06-21 Steven Eker <[email protected]>
4167
4168 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decl for
4169 metaUnify2()
4170
4171 * metaUnify.cc (metaUnify2): added
4172 (metaUnify, metaDisjointUnify): use metaUnify2()
4173
4174 2007-06-19 Steven Eker <[email protected]>
4175
4176 * descentSignature.cc (MACRO): updated nr args for metaUnify and
4177 metaDisjointUnify
4178
4179 * metaUnify.cc (metaDisjointUnify, metaUnify): use
4180 downUnificationProblem()
4181
4182 * metaLevel.hh (class MetaLevel): added decls for
4183 downUnificationProblem(), downUnificandPair()
4184
4185 * metaDown.cc (downUnificationProblem, downUnificandPair): added
4186
4187 * metaLevelSignature.cc (MACRO): added unificandPairSymbol and
4188 unificationConjunctionSymbol
4189
4190 * metaUnify.cc (metaUnify, metaDisjointUnify): use new
4191 UnificationProblem() interface
4192
4193 2007-06-14 Steven Eker <[email protected]>
4194
4195 * metaUnify.cc (metaDisjointUnify, metaUnify): check variables and
4196 don't do a reduction if a variable is unsafe
4197
4198 * descentSignature.cc (MACRO): updated entry for metaUnify()
4199
4200 * metaUnify.cc (metaUnify): rewritten for new semantics
4201
4202 * metaLevel.hh (class MetaLevel): added decls for
4203 upUnificationPair() and upNoUnifierPair()
4204
4205 * metaUp.cc (upUnificationPair): added
4206 (upNoUnifierPair): added
4207
4208 * metaLevelSignature.cc (MACRO): added unificationPairSymbol and
4209 noUnifierPairSymbol
4210
4211 2007-06-13 Steven Eker <[email protected]>
4212
4213 * metaUnify.cc (metaDisjointUnify): rewritten to respect bignum
4214 values for varIndex
4215
4216 * metaLevel.hh (isNat, getNat): added
4217
4218 2007-06-11 Steven Eker <[email protected]>
4219
4220 * metaUnify.cc (metaDisjointUnify): new UnificationProblem() and
4221 FreshVariableSource() conventions
4222
4223 2007-06-08 Steven Eker <[email protected]>
4224
4225 * metaUnify.cc (metaDisjointUnify): pass variableIndex to
4226 upUnificationTriple()
4227
4228 * metaLevel.hh (class MetaLevel): updated decl for
4229 upUnificationTriple()
4230
4231 * metaUp.cc (upUnificationTriple): handle variableIndex arg
4232
4233 * metaUnify.cc (metaDisjointUnify): pass variableIndex to
4234 UnificationProblem()
4235
4236 * metaUp.cc (upVariable): use unflaggedCode()
4237
4238 2007-06-07 Steven Eker <[email protected]>
4239
4240 * metaLevel.hh (class MetaLevel): added decls for
4241 upUnificationTriple() and upDisjointSubstitutions()
4242
4243 * metaUp.cc (upDisjointSubstitutions): added
4244 (upUnificationTriple): added
4245
4246 * metaLevel.hh (class MetaLevel): added decl for
4247 upNoUnifierTriple()
4248
4249 * metaUp.cc (upNoUnifierTriple): added
4250
4251 * metaLevelSignature.cc (MACRO): added unificationTripleSymbol and
4252 noUnifierTripleSymbol
4253
4254 * metaLevel.hh (class MetaLevel): added decl for
4255 downDisjointTermPair()
4256
4257 * metaDown.cc (downTerm): support flagVariables flag
4258 (downDisjointTermPair): added
4259
4260 * metaLevel.cc (MetaLevel): init flagVariables
4261
4262 * metaLevel.hh (class MetaLevel): added flagVariables data member
4263
4264 * metaUnify.cc (metaDisjointUnify): added
4265
4266 * descentSignature.cc (MACRO): added metaDisjointUnify
4267
4268 ===================================Maude89c===========================================
4269
4270 2007-02-13 Steven Eker <[email protected]>
4271
4272 * metaUnify.cc (metaUnify): use getSolution()
4273
4274 2007-01-17 Steven Eker <[email protected]>
4275
4276 * metaLevel.hh (class MetaLevel): added decl for new version of
4277 upConstant()
4278
4279 * metaUp.cc (upDagNode): avoid calling getSort() in variable case
4280 (upConstant): added DagNode* version that handles the not
4281 calculated sort case possible with unification
4282 (upDagNode): use new version of upConstant()
4283
4284 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decl for
4285 getCachedUnificationProblem()
4286
4287 * metaUnify.cc: created
4288
4289 * metaOpCache.cc (insert, remove): added UnificationProblem
4290 versions
4291 (insert): (non-UnificationProblem versions) clear unification
4292 field
4293 (clear): handle unification field
4294
4295 * metaOpCache.hh (class MetaOpCache): added function and data
4296 decls for UnificationProblem support
4297
4298 * descentSignature.cc (MACRO): added entry for metaUnify()
4299
4300 2006-12-07 Steven Eker <[email protected]>
4301
4302 * metaMatch.cc (metaXmatch): pass UNDEFINED index to VariableDagNode()
4303
4304 ===================================Maude88d===========================================
4305
4306 2006-11-15 Steven Eker <[email protected]>
4307
4308 * metaDownRenamings.cc: IssueAdvisory()s in the case of an
4309 unusable or nonexistent module
4310
4311 ===================================Maude88c===========================================
4312
4313 2006-10-26 Steven Eker <[email protected]>
4314
4315 * metaMatch.cc (metaXmatch): use new rebuildDag() semantics
4316
4317 * metaApply.cc (metaXapply): use new rebuildDag() semantics to fix
4318 trace bug
4319 (metaApply): use new rebuildDag() semantics
4320
4321 ===================================Maude88b===========================================
4322
4323 2006-10-05 Steven Eker <[email protected]>
4324
4325 * metaMatch.cc (makeMatchSearchState2): revert fix from 2005-02-16
4326 since requiring pattern and subject to be in the same component is
4327 too strong for metaXmatch()
4328
4329 2006-09-26 Steven Eker <[email protected]>
4330
4331 * metaUpModule.cc (upRenaming): fix bug where we weren't handling
4332 the single argument case
4333
4334 ===================================Maude88a===========================================
4335
4336 2006-07-20 Steven Eker <[email protected]>
4337
4338 * descentFunctions.cc (metaNormalize): added
4339 (metaNormalize): need to fill out sort info
4340
4341 * descentSignature.cc (MACRO): added metaNormalize
4342
4343 ===================================Maude88===========================================
4344
4345 2006-05-09 Steven Eker <[email protected]>
4346
4347 * metaSearch.cc (metaSearchPath): fix comment
4348
4349 ===================================Maude87a===========================================
4350
4351 2006-01-23 Steven Eker <[email protected]>
4352
4353 * descentFunctions.cc (metaRewrite): added DebugAdvisory()s
4354
4355 ===================================Maude87===========================================
4356
4357 2005-11-28 Steven Eker <[email protected]>
4358
4359 * metaDownOps.cc (downAttr): fix long standing bug where we were
4360 not setting PREC flag
4361
4362 ===================================Maude86e===========================================
4363
4364 2005-11-16 Steven Eker <[email protected]>
4365
4366 * descentFunctions.cc (metaLesserSorts): use downType() rather
4367 than downSimpleSort() to fix a bug
4368 (metaSortLeq): use downType() rather than downSimpleSort() (2
4369 places)
4370
4371 2005-11-14 Steven Eker <[email protected]>
4372
4373 * metaModuleCache.cc (regretToInform): fix longstanding bug where
4374 we moving cached pairs the wrong way after a deletion
4375
4376 ===================================Maude86d===========================================
4377
4378 2005-09-20 Steven Eker <[email protected]>
4379
4380 * metaDownRenamings.cc (downModuleExpression): allow bound
4381 parameters in modules that are to be renamed
4382
4383 2005-09-16 Steven Eker <[email protected]>
4384
4385 * metaDownRenamings.cc (downModuleExpression): check for
4386 instantiation having both a PEM and a theory-view
4387
4388 2005-09-15 Steven Eker <[email protected]>
4389
4390 * metaDownRenamings.cc: use parametersBound() rather than
4391 getNrBoundParameters()
4392 (downModuleExpression): use getNrParameters() rather than
4393 getNrFreeParameters()
4394 (downModuleExpression): use getParameterTheory() rather than
4395 getFreeParameterTheory() (2 places)
4396
4397 * metaDown.cc (downImport): use parametersBound() and
4398 getNrParameters() rather than getNrFreeParameters()
4399
4400 2005-07-27 Steven Eker <[email protected]>
4401
4402 * metaDownRenamings.cc (downModuleExpression): check bad flag in
4403 modules returned by interpreter member functions
4404
4405 2005-07-21 Steven Eker <[email protected]>
4406
4407 * metaLevel.hh (class MetaLevel): added decls for
4408 upParameterDecl(), upParameterDecls(), upHeader()
4409
4410 * metaUpModule.cc (upParameterDecl, upParameterDecls, upHeader):
4411 added
4412 (upModule): use upHeader()
4413
4414 * metaLevel.hh (class MetaLevel): added decl for upArguments()
4415
4416 * metaUpModule.cc (upArguments): added
4417 (upModuleExpression): support instantiation
4418
4419 2005-07-20 Steven Eker <[email protected]>
4420
4421 * metaLevel.hh (class MetaLevel): added decls for downHeader(),
4422 downParameterDeclList(), downParameterDecl()
4423
4424 * metaDown.cc (downModule): use safeCase()
4425 (downHeader): added
4426 (downParameterDeclList): added
4427 (downParameterDecl): added
4428 (downModule): handle parameter lists
4429
4430 * metaLevelSignature.cc (MACRO): added headerSymbol,
4431 parameterDeclSymbol, parameterDeclListSymbol
4432
4433 * metaDown.cc (downImport): check that we don't have free parameters
4434
4435 * metaLevel.hh (class MetaLevel): added decl for
4436 downInstantiationArguments()
4437
4438 * metaDownRenamings.cc (downModuleExpression): implemented
4439 instantiationSymbol case
4440 (downInstantiationArguments): added
4441
4442 * metaDown.cc (downImport): pass enclosingModule argument to
4443 downModuleExpression()
4444
4445 * metaLevel.hh (class MetaLevel): updated decl for
4446 downModuleExpression()
4447
4448 * metaDownRenamings.cc (downModuleExpression): don't allow modules
4449 with parameters to be summed
4450 (downModuleExpression): don't allow modules with bound parameters
4451 to be renamed
4452 (downModuleExpression): take and pass enclosingModule argument
4453
4454 2005-07-19 Steven Eker <[email protected]>
4455
4456 * metaDownRenamings.cc (downModuleExpression): added code stub for
4457 instantiationSymbol case
4458 (downModuleExpression): fixed nasty bug where we were returning
4459 the result of makeSummation() rather than assigning it to m
4460
4461 * metaLevelSignature.cc (MACRO): added instantiationSymbol
4462
4463 2005-06-07 Steven Eker <[email protected]>
4464
4465 * metaDownRenamings.cc (downRenamingType): new addType() calling
4466 convention
4467
4468 ===================================Maude86b===========================================
4469
4470 2005-04-27 Steven Eker <[email protected]>
4471
4472 * metaModule.cc (MetaModule): pass origin argument to
4473 ImportModule()
4474
4475 2005-04-19 Steven Eker <[email protected]>
4476
4477 * metaDownRenamings.cc (downRenamingType): AUX_PARAMETERIZED_SORT
4478 -> AUX_STRUCTURED_SORT
4479
4480 * metaDown.cc (downType2): AUX_PARAMETERIZED_SORT ->
4481 AUX_STRUCTURED_SORT
4482
4483 ===================================Maude86a===========================================
4484
4485 2005-03-17 Steven Eker <[email protected]>
4486
4487 * metaModuleCache.cc (regretToInform): removed removeUser() hack
4488
4489 2005-03-16 Steven Eker <[email protected]>
4490
4491 * metaModuleCache.cc (regretToInform): call removeUser()
4492
4493 * metaModule.cc (MetaModule): Parent* -> User*
4494 (MetaModule): User* -> Entity::User*
4495
4496 * metaModule.hh (class MetaModule): Parent* -> User*
4497
4498 * metaModuleCache.cc (regretToInform): need to cast doomedEntity
4499
4500 * metaModuleCache.hh (User): derive from Entity::User rather than
4501 ImportModule::Parent; update decl for regretToInform()
4502
4503 2005-03-07 Steven Eker <[email protected]>
4504
4505 * metaDownRenamings.cc (downRenamingType): handle
4506 AUX_PARAMETERIZED_SORT
4507
4508 * metaDown.cc (downType2): handle AUX_PARAMETERIZED_SORT
4509
4510 2005-02-16 Steven Eker <[email protected]>
4511
4512 * metaMatch.cc (makeMatchSearchState2): use downTermPair() to
4513 simplify and fix bug where pattern and subject are in different
4514 kinds
4515
4516 2005-01-07 Steven Eker <[email protected]>
4517
4518 * metaDown.cc (downPrintOption): support ratSymbol
4519
4520 * metaLevelSignature.cc (MACRO): added ratSymbol
4521
4522 2005-01-06 Steven Eker <[email protected]>
4523
4524 * descentSignature.cc (MACRO): metaPrettyPrint now takes 3 arguments
4525
4526 * metaLevel.hh (class MetaLevel): added decls for
4527 downPrintOptionSet() and downPrintOption()
4528
4529 * metaDown.cc (downPrintOptionSet): added
4530 (downPrintOption): added
4531
4532 * descentFunctions.cc (metaPrettyPrint): handle print options argument
4533
4534 * metaLevelSignature.cc (MACRO): added print option constructors
4535
4536 ===================================Maude86===========================================
4537
4538 2004-12-08 Steven Eker <[email protected]>
4539
4540 * metaUpModule.cc (upPolymorphDecl): handle metadata
4541
4542 * metaDownOps.cc (downOpDecl): pass metadata to addPolymorph()
4543
4544 * metaUpModule.cc (upOpDecl): handle metadata
4545
4546 * metaDownOps.cc (downAttr): handle metadata
4547
4548 * metaLevel.hh (AttributeInfo): set metadata to NONE
4549
4550 * metaDownOps.cc (downOpDecl): pass metadata to addOpDeclaration()
4551
4552 * metaLevel.hh (class MetaLevel): added metadata field to struct AttributeInfo
4553
4554 2004-12-07 Steven Eker <[email protected]>
4555
4556 * metaDownOps.cc (downOpDecl): pass dummy metadata arg to
4557 addOpDeclaration()
4558
4559 ===================================Maude85a===========================================
4560
4561 2004-12-03 Steven Eker <[email protected]>
4562
4563 * descentFunctions.cc (metaMaximalAritySet): use upTypeListSet()
4564 and getMaximalOpDeclSet()
4565
4566 * metaLevel.hh (class MetaLevel): added decls for upTypeListSet()
4567 and upTypeList()
4568
4569 * metaUp.cc (upTypeListSet): added
4570 (upTypeList): added
4571
4572 2004-12-02 Steven Eker <[email protected]>
4573
4574 * metaUp.cc (upKindSet): use SortSet ctors rather than KindSet
4575 ctors
4576
4577 * metaLevelSignature.cc (MACRO): deleted KindSet ctors (we have
4578 combined these with SortSet,TypeSet ctors)
4579
4580 2004-12-01 Steven Eker <[email protected]>
4581
4582 * metaLevel.hh (class MetaLevel): made downTypeList() public
4583
4584 * descentFunctions.cc (metaMaximalAritySet): added
4585
4586 * descentSignature.cc (MACRO): added metaMaximalAritySet
4587
4588 2004-11-17 Steven Eker <[email protected]>
4589
4590 * metaLevel.hh (class MetaLevel): added decls for upTrace() and
4591 upTraceStep()
4592
4593 * metaUp.cc (upTraceStep): added
4594 (upTrace): added
4595
4596 * metaSearch.cc (metaSearchPath): added
4597
4598 * metaLevel.hh (class MetaLevel): added decl for upFailureTrace()
4599
4600 * metaUp.cc (upFailureTrace): added
4601
4602 * descentSignature.cc (MACRO): added metaSearchPath
4603
4604 * metaLevelSignature.cc (MACRO): added traceStepSymbol,
4605 nilTraceSymbol, traceSymbol. failureTraceSymbol
4606
4607 * metaSearch.cc (makeRewriteSequenceSearch): removed local inline
4608
4609 2004-09-10 Steven Eker <[email protected]>
4610
4611 * metaUp.cc (upJoin): use KIND
4612 (upTerm): fix bug by using the exact sort for VARIABLE case rather
4613 than relying on MixfixModule::disambiguatorSort()
4614 (upType): use KIND
4615 (upSortSet): use upType() in place of upQid() so we can handle
4616 kinds
4617
4618 * descentFunctions.cc (metaGlbSorts): use downType() rather than
4619 downSimpleSort()
4620 (metaGlbSorts): simplified using new findMaximalSorts() interface
4621 (metaMinimalSorts): use KIND
4622 (metaMaximalSorts): use KIND
4623
4624 ===================================Maude85===========================================
4625
4626 2004-06-21 Steven Eker <[email protected]>
4627
4628 * metaDown.cc: print the metaterm in the "could not find an
4629 operator" advisory
4630
4631 ===================================Maude84d===========================================
4632
4633 2004-06-14 Steven Eker <[email protected]>
4634
4635 * metaApply.cc (metaApply): support tracing of meta applications
4636 (metaXapply): support tracing of meta applications
4637 (metaXapply): unprotect metamodule on abort
4638 (metaApply): unprotect metamodule on abort
4639
4640 2004-06-07 Steven Eker <[email protected]>
4641
4642 * descentFunctions.cc (metaRewrite): use saveHiddenState() and
4643 restoreHiddenState()
4644 (metaFrewrite): use saveHiddenState() and restoreHiddenState()
4645
4646 ===================================Maude84c===========================================
4647
4648 2004-05-24 Steven Eker <[email protected]>
4649
4650 * metaDownFixUps.cc (fixUpBubble): use new fixUpBubbleSpec()
4651 convention
4652
4653 2004-05-18 Steven Eker <[email protected]>
4654
4655 * metaUpModule.cc (upModule): handle theories
4656
4657 * metaDown.cc (downImport): create line number as a temporary
4658
4659 2004-05-17 Steven Eker <[email protected]>
4660
4661 * metaUpModule.cc (upImports): PROTECTING and EXTENDING now belong
4662 to ImportModule
4663
4664 * metaDown.cc (downModule): handle theories
4665 (downImport): handle import modes and new addImport() conventions
4666
4667 * metaLevelSignature.cc (MACRO): added fthSymbol and thSymbol
4668
4669 ===================================Maude84b===========================================
4670
4671 2004-04-27 Steven Eker <[email protected]>
4672
4673 * metaUpModule.cc (upImports): use getAutoImports() and handle
4674 protecting/extending
4675
4676 ===================================Maude84a===========================================
4677
4678 2004-02-27 Steven Eker <[email protected]>
4679
4680 * metaDownRenamings.cc (downModuleExpression): use interpreter
4681 inplace of moduleCache (2 places)
4682
4683 * metaDown.cc (downModule): use interpreter inplace of moduleCache
4684 (2 places)
4685
4686 * metaLevel.cc: removed moduleCache hack
4687
4688 * metaDown.cc (downImport): removed old commented out code
4689
4690 ===================================Maude84===========================================
4691
4692 2004-02-23 Steven Eker <[email protected]>
4693
4694 * metaDownFixUps.cc (handleIdentity): (polymorph version) handle
4695 the case that the idnetity has already been set
4696
4697 * metaDown.cc (downModule): added call to destructUnusedModules()
4698 in the success case as well to handle garbage from displaced meta
4699 modules and meta-meta processing
4700
4701 * metaLevel.cc: added hack to be able to acces module cache
4702
4703 * metaModuleCache.cc (regretToInform): added DebugAvisory() to
4704 check for the case that the doomed module is not in the cache
4705
4706 * metaDown.cc (downModule): call destructUnusedModules() if we
4707 fail to complete the metamodule
4708
4709 2004-02-20 Steven Eker <[email protected]>
4710
4711 * metaDown.cc (downModule): deepSelfDestruct() rather than delete
4712 partially built module on failure to ensure dependent pointer in
4713 modules we depend on don't become stale; this fixes a nasty long
4714 standing bug
4715
4716 * metaDownRenamings.cc (downRenaming): fixed bad arg #
4717
4718 * metaDown.cc (downImport): use downModuleExpression()
4719
4720 * metaLevel.hh (class MetaLevel): added decl for
4721 downModuleExpression()
4722
4723 * metaDownRenamings.cc (downModuleExpression): added
4724
4725 2004-02-19 Steven Eker <[email protected]>
4726
4727 * metaLevel.hh (class MetaLevel): added decls for
4728 convertToTokens(), downRenamings(), downRenaming(),
4729 downRenamingTypes(), downRenamingType(), downRenamingAttributes(),
4730 downRenamingAttribute()
4731
4732 * metaDownRenamings.cc: created
4733
4734 2004-02-18 Steven Eker <[email protected]>
4735
4736 * metaLevelSignature.cc (MACRO): changed owiseSymbol and
4737 nonexecSymbol from FreeSymbol to Symbol
4738
4739 * metaLevel.hh (class MetaLevel): deleted decl for
4740 upAttributeSet2()
4741
4742 * metaUpModule.cc (upImports): simplified using upGroup()
4743 (upSubsortDecls): simplified using upGroup()
4744 (upOpDecls): simplified using upGroup()
4745 (upAttributeSet): use upGroup() in place of upAttributeSet2()
4746 (upMbs): simplified using upGroup()
4747 (upEqs): simplified using upGroup()
4748 (upRls): simplified using upGroup()
4749 (upStatementAttributes): simplified using upGroup()
4750 (upStatementAttributes): don't use dummy Vector in owise and
4751 nonexec cases
4752 (upRenamingAttributeSet): use upGroup() in place of
4753 upAttributeSet2()
4754 (upAttributeSet2): deleted
4755
4756 * metaLevel.hh (upGroup): added
4757 (class MetaLevel): added decls for upModuleExpression(),
4758 upRenaming(), upTypeSorts(), upRenamingAttributeSet(),
4759 upAttributeSet2()
4760
4761 * metaUpModule.cc (upModuleExpression): added
4762 (upRenaming): added
4763 (upTypeSorts): added
4764 (upAttributeSet2): added
4765 (upAttributeSet): use upAttributeSet2()
4766 (upRenamingAttributeSet): added
4767 (upImports): use upModuleExpression()
4768
4769 2004-02-17 Steven Eker <[email protected]>
4770
4771 * metaLevelSignature.cc (MACRO): added renaming and module
4772 expression constructors
4773
4774 * metaUpModule.cc (upImports): use new getModuleName() semantics
4775
4776 ===================================Maude83a===========================================
4777
4778 2003-11-10 Steven Eker <[email protected]>
4779
4780 * metaDownFixUps.cc (downFixUps): don't try attaching hooks to
4781 symbols and polymorphs that don't take attachments
4782
4783 * metaLevel.hh (class MetaLevel): added decl for upSpecial()
4784
4785 * metaUpModule.cc (upSpecial): added
4786 (upOpDecl): use upSpecial()
4787
4788 * metaUp.cc (upTerm): use disambiguatorSort() (5 places)
4789
4790 * metaLevel.hh (class MetaLevel): added decls for
4791 upPolymorphSpecial(), upIdHook(), upOpHook(), upTermHook()
4792
4793 * metaUpModule.cc (upPolymorphDecl): pass qidMap to upQidList()
4794 (upOpDecl): pass qidMap to upQidList()
4795 (upPolymorphSpecial): added
4796 (upIdHook): added
4797 (upOpHook): added
4798 (upTermHook): added
4799 (upPolymorphDecl): use upPolymorphSpecial()
4800
4801 * metaLevel.hh (class MetaLevel): added decl for qidMap version of
4802 upQidList()
4803
4804 * metaUp.cc (upQidList): take qidMap arg
4805 (upQidList): added no qidMap version
4806
4807 2003-11-05 Steven Eker <[email protected]>
4808
4809 * metaLevel.cc (getSymbolAttachments): added
4810 (getTermAttachments): added
4811
4812 * metaLevel.hh (class MetaLevel): added decls for
4813 getSymbolAttachments(), getTermAttachments()
4814
4815 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decls for
4816 getDataAttachments(), getSymbolAttachments(), getTermAttachments()
4817
4818 * metaLevelOpSymbol.cc (attachSymbol): call FreeSymbol::attachSymbol()
4819 (attachTerm): call FreeSymbol::attachTerm()
4820 (copyAttachments): call FreeSymbol::copyAttachments()
4821 (getDataAttachments): added
4822 (getSymbolAttachments): added
4823 (getTermAttachments): added
4824 (attachData): call FreeSymbol::attachData()
4825
4826 2003-11-03 Steven Eker <[email protected]>
4827
4828 * metaLevel.hh (class MetaLevel): added decl for iterToken()
4829
4830 * metaUp.cc (iterToken): added
4831 (upContext): use iterToken() to handle iter case, fixing a bug
4832 (upDagNode): use iterToken()
4833
4834 2003-10-30 Steven Eker <[email protected]>
4835
4836 * descentSignature.cc (MACRO): added metaUpModule
4837
4838 * ascentFunctions.cc (metaUpModule): added
4839
4840 * metaLevel.hh (class MetaLevel): added decl for upModule()
4841
4842 * metaUpModule.cc (upModule): added
4843
4844 * metaLevel.hh (class MetaLevel): added declarations for
4845 upGather() and upIdentity()
4846
4847 * metaUpModule.cc (upPolymorphDecl): added support for prec,
4848 gather and id: attributes
4849 (upOpDecl): added support for prec, gather and id: attributes
4850 (upIdentity): added
4851 (upGather): added
4852
4853 2003-10-29 Steven Eker <[email protected]>
4854
4855 * metaLevel.hh (class MetaLevel): added decls for upStrat() and
4856 upFrozen()
4857
4858 * metaUpModule.cc (upStrat): added
4859 (upFrozen): added
4860 (upPolymorphDecl): handle strat, frozen, format
4861 (upOpDecl): handle strat, frozen, format
4862
4863 * metaLevel.hh (class MetaLevel): added decl for upAttributeSet()
4864
4865 * metaUpModule.cc (upAttributeSet): added
4866
4867 * metaLevel.hh (class MetaLevel): added decls for upOpDecl(),
4868 upPolymorphDecl() and upOpDecls()
4869
4870 * metaUpModule.cc (upPolymorphDecl): added
4871 (upOpDecl): added
4872
4873 * descentSignature.cc (MACRO): added metaUpOpDecls
4874
4875 * metaUpModule.cc (upOpDecls): added
4876
4877 * ascentFunctions.cc (metaUpOpDecls): added
4878
4879 * metaLevel.hh (class MetaLevel): added decl for upImports()
4880
4881 * descentSignature.cc (MACRO): added metaUpImports
4882
4883 * metaUpModule.cc (upImports): added
4884
4885 * ascentFunctions.cc (metaUpImports): added
4886
4887 2003-10-28 Steven Eker <[email protected]>
4888
4889 * descentSignature.cc (MACRO): added metaUpSubsortDecls
4890
4891 * ascentFunctions.cc (metaUpSubsortDecls): added
4892
4893 * metaLevel.hh (class MetaLevel): added decl for upSubsortDecls()
4894
4895 * metaUpModule.cc (upSubsortDecls): added
4896
4897 * metaLevel.hh (class MetaLevel): added decl for upSorts()
4898
4899 * metaUpModule.cc (upSorts): added
4900 (upSorts): added
4901
4902 * metaLevel.hh (class MetaLevel): added del for 4 arg version of
4903 upSortSet()
4904
4905 * metaUp.cc (upSortSet): added 4 arg version
4906 (upSortSet): reimplemented in terms of 4 arg version
4907
4908 * descentSignature.cc (MACRO): added metaUpSorts
4909
4910 * ascentFunctions.cc (metaUpSorts): added
4911
4912 2003-10-24 Steven Eker <[email protected]>
4913
4914 * metaLevel.hh (class MetaLevel): updated many decls
4915
4916 * metaDownFixUps.cc (fixUpIdentitySymbol): renamed to handleIdentity()
4917 (fixUpSpecialSymbol): renamed to handleSpecial()
4918 (fixUpPolymorph): renamed to handleSpecial()
4919 (handleIdentity): added polymorph version
4920
4921 * metaDownOps.cc (downOpDecl): use new addComplexSymbol() conventions
4922
4923 * metaLevel.hh (class MetaLevel): replaced IDENTITY_SYMBOL and
4924 SPECIAL_SYMBOL with REGULAR_SYMBOL in enum ComplexSymbolType
4925
4926 * metaModule.cc (addComplexSymbol): handle identity separately
4927 (both versions)
4928 (removeComplexSymbol): handle identity separately
4929
4930 * metaModule.hh (class MetaModule): updated decls for all member
4931 functions; added identity field to struct ComplexSymbol
4932
4933 2003-10-21 Steven Eker <[email protected]>
4934
4935 * metaDownFixUps.cc (downHook): use safeCast() and temp var
4936 (downOpHook): use safeCast()
4937 (fixUpBubble): use safeCast()
4938
4939 * metaDownOps.cc (downPolymorphTypeList): use polyArgs rather than
4940 wanted set
4941 (downAttr): don't subtract 1 from poly attribute numbers
4942 (downOpDecl): fixed test for range being poly
4943 (downAttr): use safeCast() (3 places)
4944 (checkHook): use safeCast()
4945
4946 * metaLevel.hh (class MetaLevel): added decl for polymorph version
4947 of downHook()
4948
4949 * metaDownFixUps.cc (downHook): added polymorph version
4950 (fixUpPolymorph): rewritten in generic way
4951
4952 * metaLevel.hh (class MetaLevel): updated decl for
4953 downPolymorphTypeList()
4954
4955 * metaDownOps.cc (downPolymorphTypeList): rewritten to handle
4956 wanted set
4957 (downOpDecl): polymorph code rewritten in generic way
4958
4959 2003-10-20 Steven Eker <[email protected]>
4960
4961 * metaDownOps.cc (downAttr): handle poly meta-attribute
4962
4963 * metaLevel.hh (class MetaLevel): added polyArgs to struct AttributeInfo
4964
4965 * metaLevelSignature.cc (MACRO): added instatiation for polySymbol
4966
4967 * metaDownOps.cc (downOpDecl): commented out UP_SYMBOL,
4968 DOWN_SYMBOL cases
4969
4970 2003-10-13 Steven Eker <[email protected]>
4971
4972 * metaDownOps.cc (downOpDecl): don't use isPolymorph(); use new
4973 addPolymorph() convention
4974
4975 ===================================Maude83===========================================
4976
4977 2003-09-30 Steven Eker <[email protected]>
4978
4979 * metaDownFixUps.cc (fixUpPolymorph): handle shareWith hook
4980
4981 * metaLevel.hh (class MetaLevel): added decl for
4982 downPolymorphTypeList()
4983
4984 * metaDownOps.cc (downPolymorphTypeList): added
4985 (downOpDecl): rewritten using downPolymorphTypeList() and handling
4986 UP_SYMBOL and DOWN_SYMBOL
4987
4988 2003-09-29 Steven Eker <[email protected]>
4989
4990 * descentFunctions.cc (metaUpTerm): added
4991 (metaDownTerm): added
4992
4993 * metaLevel.hh: made upDagNode() public
4994
4995 * metaApply.cc (getCachedRewriteSearchState): moved here
4996 (metaApply): moved here
4997 (metaXapply): moved here
4998
4999 * descentSignature.cc: added entries for metaUpTerm() and
5000 metaDownTerm()
5001
5002 * metaLevelOpSymbol.cc (eqRewrite): use safeCast()
5003 (copyAttachments): use safeCast()
5004
5005 ===================================Maude82===========================================
5006
5007 2003-05-27 Steven Eker <[email protected]>
5008
5009 * metaDown.cc (downImport): handle extendingSymbol
5010
5011 * metaLevelSignature.cc (MACRO): added extendingSymbol
5012
5013 2003-05-23 Steven Eker <[email protected]>
5014
5015 * metaUpModule.cc (upMbs): only up non-bad mbs
5016 (upEqs): only up non-bad eqs
5017 (upRls): only up non-bad rls
5018 (upStatementAttributes): handle nonexec
5019
5020 * metaDown.cc (downEquation): handle nonexec
5021 (downRule): handle nonexec
5022 (downStatementAttr): handle nonexec
5023 (downMembAx): handle nonexec
5024
5025 * metaDownOps.cc (downAttr): handle configSymbol, objectSymbol,
5026 msgSymbol
5027
5028 * metaLevelSignature.cc (MACRO): added configSymbol, objectSymbol,
5029 msgSymbol, nonexecSymbol
5030
5031 * descentFunctions.cc (metaApply): pass ALLOW_NONEXEC to
5032 RewriteSearchState()
5033 (metaXapply): pass ALLOW_NONEXEC to RewriteSearchState()
5034
5035 2003-05-22 Steven Eker <[email protected]>
5036
5037 * descentFunctions.cc (metaFrewrite): fixed nasty bug where
5038 safeCast() macro was causing the creation of 3 subcontexts rather
5039 than one
5040
5041 2003-05-21 Steven Eker <[email protected]>
5042
5043 * descentFunctions.cc (metaFrewrite): call setObjectMode()
5044
5045 2003-04-18 Steven Eker <[email protected]>
5046
5047 * metaDown.cc (downSimpleSortList): fixed != nilQidListSymbol bug
5048 that we introduced today
5049
5050 * metaDownOps.cc (checkHookList): rewritten to use
5051 DagArgumentIterator; fixed fall thru bug
5052
5053 * metaLevelSignature.cc (MACRO): got rid of AU_DagNode and
5054 ACU_DagNode
5055
5056 * metaDownOps.cc (downOpDecl): rewritten to use
5057 DagArgumentIterator
5058 (downBubbleSpec): rewritten to use DagArgumentIterator
5059
5060 * metaDownFixUps.cc (fixUpSpecialSymbol): rewritten to use
5061 DagArgumentIterator
5062 (fixUpBubble): rewritten to use DagArgumentIterator
5063 (fixUpPolymorph): rewritten to use DagArgumentIterator
5064
5065 * metaDown.cc (downSimpleSortList): rewritten to use
5066 DagArgumentIterator
5067 (downTypeList): rewritten to use DagArgumentIterator
5068 (downCondition): rewritten to use DagArgumentIterator and
5069 FOR_EACH_CONST()
5070 (downTermList): rewritten to use DagArgumentIterator and
5071 FOR_EACH_CONST()
5072 (downSubstitution): use clear()
5073
5074 2003-04-17 Steven Eker <[email protected]>
5075
5076 * metaDown.cc (downImports): use DagArgumentIterator instead of
5077 casting to AU_DagNode
5078 (downNatList): ditto
5079 (downQidList): ditto
5080
5081 ===================================Maude80===========================================
5082
5083 2003-02-26 Steven Eker <[email protected]>
5084
5085 * metaUpModule.cc (upConditionFragment): Assert() -> CantHappen()
5086
5087 * metaUp.cc (upJoin): updated Assert()
5088 (upDagNode): updated Assert()
5089 (upTerm): updated Assert()
5090 (upContext): updated Assert()
5091 (upResultPair): updated Assert() (both versions)
5092 (upResultTriple): updated Assert()
5093 (upResult4Tuple): updated Assert()
5094 (upAmbiguity): updated Assert()
5095
5096 * metaOpCache.cc: removed #pragma
5097
5098 * metaOpCache.hh: removed #pragma
5099
5100 * metaModuleCache.cc: removed #pragma
5101 (moveToFront): DebugAdvisoryCheck() -> DebugAdvisory()
5102 (insert): DebugAdvisoryCheck() -> DebugAdvisory()
5103
5104 * metaModuleCache.hh: removed #pragma
5105
5106 * metaModule.cc: removed #pragma
5107
5108 * metaModule.hh: removed #pragma
5109
5110 * metaLevelOpSymbol.cc: removed #pragma
5111 (eqRewrite): updated Assert()
5112
5113 * metaLevelOpSymbol.hh: removed #pragma
5114
5115 * metaLevel.cc: removed #pragma
5116 (bind): updated Assert() (both versions)
5117
5118 * metaLevel.hh: removed #pragma
5119
5120 ===================================Maude79===========================================
5121
5122 2003-01-08 Steven Eker <[email protected]>
5123
5124 * metaDownOps.cc (downOpDecls): use DagArgumentIterator rather
5125 than messing with ACU_DagNode
5126
5127 * metaDown.cc (downSorts): use DagArgumentIterator rather than
5128 messing with ACU_DagNode
5129 (downSubsorts): ditto
5130 (downStatementAttrSet): ditto
5131 (downMembAxs): ditto
5132 (downEquations): ditto; removed MOS hack
5133 (downRules): ditto
5134 (downSubstitution): ditto
5135
5136 ===================================Maude78==================================================
5137
5138 2002-11-19 Steven Eker <[email protected]>
5139
5140 * metaMatch.cc (makeMatchSearchState2): reverted to previous
5141 version since pattern and subject need not be in the same kind for
5142 metaXmatch()
5143
5144 2002-11-15 Steven Eker <[email protected]>
5145
5146 * metaDownFixUps.cc (downOpHook): replaced AdvisoryCheck() with
5147 new style IssueAdvisory()
5148 (fixUpBubble): use new style IssueAdvisory()
5149
5150 * metaDownOps.cc (downOpDecl): use new style IssueAdvisory()
5151 (downAttr): use new style IssueAdvisory()s
5152
5153 * metaDown.cc (downSort): use new style IssueAdvisory()
5154 (downType2): use new style IssueAdvisory()s
5155 (downSimpleSort): use new style IssueAdvisory()
5156 (downTermAndSort): use new style IssueAdvisory()
5157 (downTermPair): use new style IssueAdvisory()
5158 (downTerm): use new style IssueAdvisory()s
5159
5160 * metaLevel.cc (bind): (both versions) use new style
5161 IssueWarning()
5162
5163 2002-11-14 Steven Eker <[email protected]>
5164
5165 * metaSearch.cc (makeRewriteSequenceSearch): rewritten using
5166 downTermPair()
5167
5168 * metaMatch.cc (makeMatchSearchState): rewritten using
5169 downTermPair()
5170 (makeMatchSearchState2): rewritten using downTermPair()
5171
5172 * descentFunctions.cc (dagifySubstitution): don't check for
5173 component clash here since we always get our substitution from
5174 downSubstitution() which no longer return substitutions with
5175 component clashes
5176
5177 * metaDown.cc (downAssignment): rewritten using downTermPair()
5178
5179 * metaLevel.hh (class MetaLevel): added decl for downTermAndSort()
5180
5181 * metaDown.cc (downEquation): rewritten to be symmetric with
5182 downRule()
5183 (downConditionFragment): use downTermPair() for
5184 equality/match/rewrite cases
5185 (downTermAndSort): added
5186 (downConditionFragment): use downTermAndSort() in sort test case
5187 (downMembAx): rewritten using downTermAndSort()
5188
5189 2002-11-13 Steven Eker <[email protected]>
5190
5191 * metaDown.cc (downRule): rewritten using downTermPair() to fix
5192 kind clash bug and term memory leak
5193 (downRule): use safeCast
5194 (downRule): removed static Vector
5195
5196 * metaLevel.hh (class MetaLevel): added decl for downTermPair()
5197
5198 * metaDown.cc (downTermPair): added
5199
5200 2002-11-11 Steven Eker <[email protected]>
5201
5202 * metaUpModule.cc (upStatementAttributes): handle owise
5203
5204 * metaLevel.hh (class MetaLevel): updated decls for
5205 downStatementAttrSet() and downStatementAttr(); added enum Flags
5206
5207 * metaDown.cc (downStatementAttr): handle owiseSymbol
5208 (downStatementAttrSet): handle flags
5209 (downRule): pass flags arg to downStatementAttrSet()
5210 (downMembAx): pass flags arg to downStatementAttrSet()
5211
5212 * metaLevelSignature.cc (MACRO): added owiseSymbol
5213
5214 * metaDown.cc (downEquation): pass owise arg to Equation()
5215
5216 2002-10-11 Steven Eker <[email protected]>
5217
5218 * metaLevel.hh (class MetaLevel): updated decls for downAttrSet()
5219 and downAttr()
5220
5221 * metaDownOps.cc (downAttr): rewritten using AttributeInfo
5222 (downOpDecl): rewritten using AttributeInfo
5223 (downAttrSet): rewritten using AttributeInfo
5224
5225 * metaLevel.hh (class MetaLevel): added struct AttributeInfo
5226 (AttributeInfo): added
5227
5228 * metaLevelSignature.cc (MACRO): deleted oldFrozenSymbol
5229
5230 2002-10-10 Steven Eker <[email protected]>
5231
5232 * metaDown.cc (downQidList): use clear() instead of contractTo(0)
5233
5234 * metaDownOps.cc (downAttr): take frozen arg
5235 (downAttrSet): take and pass frozen arg
5236 (downOpDecl): handle NatSet of frozen args; fixed bug where we were
5237 not clear format Vector - actually it not a visible bug since if
5238 we set the format flag, downQidList will clear the Vector for us
5239
5240 * metaLevelSignature.cc (MACRO): frozenSymbol now take 1 arg;
5241 added oldFrozenSymbol
5242
5243 2002-10-08 Steven Eker <[email protected]>
5244
5245 * metaDownOps.cc (downOpDecl): updated frozen hack
5246
5247 2002-10-02 Steven Eker <[email protected]>
5248
5249 * metaDownOps.cc (downOpDecl): pass dummy frozen arg to
5250 addOpDeclaration() - must fix later
5251
5252 ===================================Maude76==================================================
5253
5254 2002-09-08 Steven Eker <[email protected]>
5255
5256 * metaUp.cc (upJoin): fixed bug where we were starting kind with
5257 '[ rather than `[
5258
5259 2002-08-27 Steven Eker <[email protected]>
5260
5261 * metaDownOps.cc (downAttr): handle ctor attribute
5262
5263 ===================================Maude75==================================================
5264
5265 2002-07-25 Steven Eker <[email protected]>
5266
5267 * metaUp.cc (upDagNode): deleted MACHINE_INTEGER case
5268 (upTerm): deleted MACHINE_INTEGER case
5269
5270 * metaDown.cc (downTerm): deleted SMALL_NAT, SMALL_NEG and ZERO
5271 cases since we no longer have machine ints
5272
5273 ===================================Maude74==================================================
5274
5275 2002-06-19 Steven Eker <[email protected]>
5276
5277 * descentFunctions.cc (metaFrewrite): fixd bug where we were
5278 comparing gas to 9 rather than 0 to decide if it is legal
5279
5280 * metaMatch.cc (makeMatchSearchState2): fixed symmetric bug
5281
5282 * descentFunctions.cc (metaXapply): fixed bug where we were
5283 passing NONE to RewriteSearchState() in maxDepth = unbounded case,
5284 but here NONE is interpreted as depth = 0, no extension
5285
5286 2002-06-17 Steven Eker <[email protected]>
5287
5288 * metaLevel.hh (class MetaLevel): added decl for
5289 upStatementAttributes()
5290
5291 * metaUpModule.cc (upStatementAttributes): added
5292 (upRl): rewritten to use upStatementAttributes()
5293 (upMb): rewritten to use upStatementAttributes()
5294 (upEq): rewritten to use upStatementAttributes()
5295
5296 * metaLevelSignature.cc (MACRO): added stringSymbol
5297
5298 * metaLevel.hh (class MetaLevel): updated decls for
5299 downStatementAttrSet() and downStatementAttr()
5300
5301 * metaDown.cc (downEquation): handle metadata
5302 (downRule): handle metadata
5303 (downMembAx): handle metadata
5304 (downStatementAttrSet): handle metadata
5305 (downStatementAttr): handle metadata
5306
5307 2002-06-14 Steven Eker <[email protected]>
5308
5309 * metaLevel.hh (class MetaLevel): added decls for
5310 downStatementAttrSet() and downStatementAttr()
5311
5312 * metaDown.cc (downStatementAttr): added
5313 (downStatementAttrSet): added
5314 (downMembAx): handle new mb/cmb ctors
5315 (downEquation): handle new eq/ceq ctors
5316 (downRule): handle new rl/cel ctors
5317
5318 * metaLevelSignature.cc (MACRO): added labelSymbol and
5319 metadataSymbol
5320 (MACRO): changed arities for mbSymbol, cmbSymbol, eqSymbol and
5321 ceqSymbol
5322
5323 2002-06-12 Steven Eker <[email protected]>
5324
5325 * metaDown.cc (downEquation): pass NONE as first arg of Equation()
5326 (downMembAx): pass NONE as first arg of SortConstraint()
5327
5328 * descentFunctions.cc (metaRewrite): don't allow a limit of 0
5329 (metaFrewrite): don't allow limit or gas of 0; use
5330 downSaturate64() for gas since fairRewrite() doesn't handle gas of
5331 -1
5332
5333 2002-06-10 Steven Eker <[email protected]>
5334
5335 * metaUp.cc (upTerm): MachineFloat -> Float
5336 (upDagNode): MachineFloat -> Float
5337
5338 * metaDown.cc (downTerm): MachineFloat -> Float
5339
5340 2002-06-07 Steven Eker <[email protected]>
5341
5342 * metaLevel.hh (class MetaLevel): deleted decl for
5343 downMachineInt()
5344
5345 * metaDown.cc (downMachineInt): deleted
5346
5347 * metaLevel.hh (class MetaLevel): deleted decl for upMachineInt()
5348
5349 * metaUp.cc (upNoParse): use makeNatDag()
5350 (upMachineInt): deleted
5351
5352 * metaSearch.cc (metaSearch): use downSaturate64()
5353 (makeRewriteSequenceSearch): use downBound()
5354
5355 * descentFunctions.cc (metaXapply): no need to convert a maxDepth
5356 of -1 into INT_MAX since RewriteSearchState() groks -1 as unbounded
5357
5358 * metaMatch.cc (metaMatch): use downSaturate64()
5359 (metaXmatch): use downSaturate64()
5360 (makeMatchSearchState2): use downSaturate() and downBound()
5361
5362 * metaLevel.hh (downNat): deleted
5363 (downNat64): deleted
5364
5365 * metaDown.cc (downBound): added
5366 (downSaturate): added
5367
5368 * descentFunctions.cc (metaApply): use downSaturate64()
5369 (metaXapply): use downSaturate64(), downBound(), downSaturate()
5370
5371 * metaLevel.hh (class MetaLevel): added decl for downSaturate64()
5372
5373 * metaDown.cc (downSaturate64): added
5374
5375 * descentFunctions.cc (metaRewrite): use downBound64()
5376 (metaFrewrite): use downBound64() (2 places)
5377
5378 * metaLevel.hh (class MetaLevel): added decl for downBound64()
5379
5380 * metaDown.cc (downBound64): added
5381
5382 * metaLevelSignature.cc (MACRO): added unboundedSymbol
5383
5384 * descentFunctions.cc (metaRewrite): use downNat64()
5385
5386 * metaLevel.hh (downNat): added
5387 (downNat64): added
5388
5389 * metaDownOps.cc (downAttr): use downNatList()
5390 (downAttr): use getSignedInt() and safeCast()
5391
5392 * metaLevel.hh (class MetaLevel): decl for downNatList() replaces
5393 decl for downMachineIntList()
5394
5395 * metaDown.cc (downMachineIntList): becomes downNatList()
5396
5397 * metaLevelSignature.cc (MACRO): replace machine int stuff with
5398 succSymbol and natListSymbol
5399
5400 ===================================Maude73==================================================
5401
5402 2002-05-31 Steven Eker <[email protected]>
5403
5404 * metaDownOps.cc (downAttr): support iterSymbol
5405
5406 * metaLevelSignature.cc (MACRO): added iterSymbol
5407
5408 * metaUp.cc (upDagNode): handle iter theory by creating metaterms
5409 like 'f^42[...]
5410 (upTerm): handle iter theory likewise
5411
5412 2002-05-24 Steven Eker <[email protected]>
5413
5414 * metaDown.cc (downTerm): support downing terms of the form
5415 f^42(...)
5416
5417 2002-05-22 Steven Eker <[email protected]>
5418
5419 * metaDown.cc (downTerm): added Token::ZERO case
5420
5421 2002-04-15 Steven Eker <[email protected]>
5422
5423 * metaDownOps.cc (checkHook): use
5424 SymbolType::specialNameToBasicType()
5425
5426 * descentFunctions.cc (metaSortLeq): check that sorts are in the
5427 same component - this fixes a bug.
5428
5429 2002-04-09 Steven Eker <[email protected]>
5430
5431 * metaDown.cc (downImport): use interpreter.getModule() in place
5432 of PreModule::findModule()
5433
5434 ===================================Maude72==================================================
5435
5436 2002-04-05 Steven Eker <[email protected]>
5437
5438 * metaDownOps.cc (downAttr): fix bugs where we weren't calling
5439 symbolType.setFlags(SymbolType::GATHER) and
5440 symbolType.setFlags(SymbolType::FORMAT)
5441
5442 2002-04-04 Steven Eker <[email protected]>
5443
5444 * metaLevel.hh (class MetaLevel): updated decls for downAttrSet()
5445 and downAttr()
5446
5447 * metaDownOps.cc (downOpDecl): pass format arg to downAttrSet()
5448 (downAttrSet): take format arg and pass it to downAttr()
5449 (downAttr): support format attribute
5450
5451 * metaLevelSignature.cc (MACRO): added formatSymbol
5452
5453 2002-04-03 Steven Eker <[email protected]>
5454
5455 * descentFunctions.cc (dagifySubstitution): simplified using
5456 normalize() default 2nd arg
5457 (term2RewritingContext): simplified using normalize() default 2nd
5458 arg
5459 (metaLeastSort): simplified using normalize() default 2nd arg
5460 (metaReduce): simplified using normalize() default 2nd arg
5461 (metaRewrite): simplified using normalize() default 2nd arg
5462 (metaFrewrite): simplified using normalize() default 2nd arg
5463
5464 * metaUp.cc (upContext): simplified now that makeDagNode() has a
5465 default argument
5466 (upResultTriple): deleted unused static dummy Vector
5467 (upResult4Tuple): deleted unused static dummy Vector
5468 (upSubstition): simplified now that makeDagNode() has a default
5469 argument
5470 (upFailureTriple): simplified now that makeDagNode() has a default
5471 argument
5472 (upNoMatchSubst): simplified now that makeDagNode() has a default
5473 argument
5474 (upNoMatchPair): simplified now that makeDagNode() has a default
5475 argument
5476 (upFailure4Tuple): simplified now that makeDagNode() has a default
5477 argument
5478
5479 * descentSignature.cc: added metaUpMbs, metaUpEqs
5480
5481 * ascentFunctions.cc (metaUpMbs): added
5482 (metaUpEqs): added
5483
5484 * metaLevel.hh (class MetaLevel): added decls for upMb(), upEq(),
5485 upMbs(), upEqs()
5486
5487 * metaUpModule.cc (upEqs): added
5488 (upEq): added
5489 (upMbs): added
5490 (upMb): added
5491
5492 * ascentFunctions.cc (metaUpRls): handle flat flag
5493
5494 * metaLevel.hh (class MetaLevel): added decl for downBool()
5495
5496 * metaDown.cc (downBool): added
5497
5498 * ascentFuctions.cc: created
5499
5500 * descentSignature.cc (MACRO): added metaUpRls
5501
5502 * metaLevel.hh (class MetaLevel): added decls for upRl(),
5503 upLabel(), upCondition(), upConditionFragment(), upRls()
5504
5505 * metaUpModule.cc (upRls): created
5506
5507 ===================================Maude71a==================================================
5508
5509 2002-03-22 Steven Eker <[email protected]>
5510
5511 * meta.hh: created
5512
5513 ===================================Maude71==================================================
5514
5515 2002-03-10 Steven Eker <[email protected]>
5516
5517 * metaDownOps.cc (checkHook): fixed bug where we were setting
5518 basic type even when MixfixModule::specialNameToBasicType()
5519 returned 0; this caused addition id-hooks such as exclude to
5520 overwrite the original basic type
5521
5522 2002-02-12 Steven Eker <[email protected]>
5523
5524 * metaLevelOpSymbol.cc (attachData): check arity and well as op
5525 name
5526
5527 * descentSignature.cc (MACRO): metaXmatch now has 7 args
5528
5529 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decl for
5530 makeMatchSearchState2()
5531
5532 * metaMatch.cc (makeMatchSearchState2): added
5533 (metaXmatch): simplified and support side condition using
5534 makeMatchSearchState2()
5535
5536 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): updared decls
5537 for makeRewriteSequenceSearch() and downSearchType()
5538
5539 * metaSearch.cc (makeRewriteSequenceSearch): made const
5540 (downSearchType): made const
5541
5542 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): delete static
5543 data member eagerStrategy
5544
5545 * metaLevelOpSymbol.cc (MetaLevelOpSymbol): don't pass
5546 eagerStrategy to FreeSymbol()
5547
5548 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): ma
5549 (class MetaLevelOpSymbol): made term2Dag() and
5550 term2RewritingContext() static
5551
5552 * descentSignature.cc (MACRO): metaMatch now has 5 args
5553
5554 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decl for
5555 makeMatchSearchState()
5556
5557 * metaMatch.cc (getCachedMatchSearchState): moved here
5558 (metaMatch): moved here
5559 (metaXmatch): moved here
5560 (makeMatchSearchState): added
5561 (metaMatch): simplified and support side condition using
5562 makeMatchSearchState()
5563
5564 * metaSearch.cc (downSearchType): moved here
5565 (getCachedRewriteSequenceSearch): moved here
5566 (makeRewriteSequenceSearch): moved here
5567 (metaSearch): moved here
5568
5569 2002-02-11 Steven Eker <[email protected]>
5570
5571 * metaLevel.hh (class MetaLevel): made downCondition() public
5572
5573 * descentSignature.cc (MACRO): metaSearch() now has 7 args
5574
5575 * descentFunctions.cc (makeRewriteSequenceSearch): added; handle condition
5576 (metaSearch): simplified using makeRewriteSequenceSearch()
5577
5578 * metaDown.cc (downCondition): handle noConditionSymbol; fix
5579 memory leak by deleting already downed fragments in the case of
5580 and error
5581
5582 * metaLevelSignature.cc (MACRO): added noConditionSymbol
5583
5584 * descentFunctions.cc (metaApply): use transferCount() instead of
5585 addInCount() for RewriteSearchState
5586 (metaXapply): use transferCount() instead of addInCount() for
5587 RewriteSearchState
5588 (metaMatch): use transferCount() instead of addInCount() for
5589 MatchSearchState
5590 (metaXmatch): use transferCount() instead of addInCount() for
5591 MatchSearchState
5592 (metaSearch): use transferCount() instead of addInCount() and
5593 clearCount()
5594
5595 2002-02-07 Steven Eker <[email protected]>
5596
5597 * metaLevel.cc: added #includes for new classes
5598
5599 * metaDown.cc (downConditionFragment): use classes
5600 EqualityConditionFragment, SortTestConditionFragment,
5601 AssignmentConditionFragment and RewriteConditionFragment in place
5602 of old ConditionFragment class
5603
5604 2002-02-04 Steven Eker <[email protected]>
5605
5606 * metaDownOps.cc (downOpDecl): pass dummy format to
5607 addOpDeclaration() and addPolymorph()
5608
5609 2002-01-31 Steven Eker <[email protected]>
5610
5611 * metaUp.cc (upDagNode): rewritten using class SymbolType
5612
5613 * metaLevelSignature.cc: rewritten using class SymbolType
5614
5615 * metaUp.cc (upTerm): rewritten using class SymbolType
5616
5617 * metaDownFixUps.cc (fixUpIdentitySymbol): rewritten using class
5618 SymbolType
5619
5620 * metaDownOps.cc: rewritten using class SymbolType
5621
5622 * metaDownFixUps.cc (downOpHook): use new findSymbol()
5623
5624 * metaDown.cc (downTerm): use new findSymbol() (2 places)
5625
5626 ===================================Maude70==================================================
5627
5628 2002-01-24 Steven Eker <[email protected]>
5629
5630 * descentFunctions.cc (metaSearch): added Verbose() call
5631 (metaSearch): removed const_casts
5632
5633 * metaLevel.hh (class MetaLevel): updated decls
5634
5635 * metaUp.cc (upResultTriple): made substitution & variableInfo
5636 args const
5637 (upResult4Tuple): made substitution & variableInfo args const
5638 (upSubstition): made substitution & variableInfo args const
5639 (upMatchPair): made substitution & variableInfo args const
5640
5641 2002-01-23 Steven Eker <[email protected]>
5642
5643 * metaOpCache.cc (clear): Triple -> Item
5644
5645 * metaOpCache.hh (class MetaOpCache): added search field to struct
5646 Triple and renamed it to struct Item
5647
5648 * metaOpCache.cc (insert): added RewriteSequenceSearch version
5649 (remove): added RewriteSequenceSearch version
5650 (insert): clear search field in SearchState version
5651 (clear): delete search
5652
5653 * descentFunctions.cc (downSearchType): added
5654 (getCachedRewriteSequenceSearch): added
5655 (metaSearch): added
5656
5657 * descentSignature.cc (MACRO): added metaSearch
5658
5659 2001-12-21 Steven Eker <[email protected]>
5660
5661 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): updated decls
5662 for getCachedRewriteSearchState() and getCachedMatchSearchState()
5663
5664 * descentFunctions.cc (getCachedRewriteSearchState): take context
5665 and pass it to remove()
5666 (getCachedMatchSearchState): take context and pass it to remove()
5667 (metaApply): pass context to getCachedRewriteSearchState()
5668 (metaXapply): pass context to getCachedRewriteSearchState()
5669 (metaMatch): pass context to getCachedMatchSearchState()
5670 (metaXmatch): pass context to getCachedMatchSearchState()
5671
5672 * metaOpCache.cc (remove): take parent context ptr, and if we
5673 extra a cached state, have the states context be adopted by the
5674 parent context; this fixes a nasty bug where there original parent
5675 may no longer exist and the cached states context has a stale
5676 parent pointer
5677
5678 * metaOpCache.hh (class MetaOpCache): updated decl for remove()
5679
5680 2001-04-25 Steven Eker <[email protected]>
5681
5682 * descentFunctions.cc (metaMatch): pass GC flags to
5683 MatchSearchState()
5684 (metaXmatch): pass GC flags to MatchSearchState()
5685 (metaApply): pass GC flags to RewriteSearchState()
5686 (metaXapply): pass GC flags to RewriteSearchState()
5687
5688 2001-03-29 Steven Eker <[email protected]>
5689
5690 * metaDownOps.cc (downAttr): handle frozen attribute
5691
5692 * metaLevelOpSymbol.hh (class MetaLevelOpSymbol): generate decls
5693 for desent functions by macro expansion
5694
5695 * metaLevelSignature.cc (MACRO): added decl for frozenSymbol
5696
5697 * descentSignature.cc: added MACRO for metaFrewrite; corrected
5698 MACRO for metaRewrite
5699
5700 * descentFunctions.cc (metaRewrite): use limit = NONE convention
5701 (metaFrewrite): added
5702
5703 2001-03-28 Steven Eker <[email protected]>
5704
5705 * descentFunctions.cc (metaRewrite): call resetRules()
5706
5707 2001-03-16 Steven Eker <[email protected]>
5708
5709 * descentFunctions.cc (metaLeastSort): use addInCount() instead of
5710 incrementCount() and count()
5711 (metaReduce): use addInCount() instead of incrementCount() and
5712 count()
5713 (metaRewrite): use addInCount() instead of incrementCount() and
5714 count()
5715 (metaApply): use addInCount() instead of incrementCount() and
5716 count(); use incrementRlCount()
5717 (metaXapply): use addInCount() instead of incrementCount() and
5718 count(); use incrementRlCount()
5719 (metaXmatch): use addInCount() instead of incrementCount() and
5720 count()
5721 (metaApply): use addInCount() instead of incrementCount() and
5722 count()