| 1 |
2025-07-11 Rubén Rubio <[email protected]> |
| 2 |
|
| 3 |
* makeGrammar.cc (MixfixModule::makeSpecialProductions): |
| 4 |
initialize variable to avoid reading garbage |
| 5 |
|
| 6 |
2025-06-26 Rubén Rubio <[email protected]> |
| 7 |
|
| 8 |
* view.cc (handleStratAwkwardCase): removed call to |
| 9 |
addStratMappingVarIndices |
| 10 |
|
| 11 |
2025-06-18 Saruman the White <eker@eker10> |
| 12 |
|
| 13 |
* ooProcess.cc (SyntacticPreModule::processClassSorts): use |
| 14 |
Token::isValidSortName(); use markAsBad() so module can't be |
| 15 |
imported at the metalevel |
| 16 |
|
| 17 |
* process.cc (SyntacticPreModule::processSorts): use |
| 18 |
Token::isValidSortName(); use markAsBad() so module can't be |
| 19 |
imported at the metalevel |
| 20 |
(SyntacticPreModule::getSort): symmetric changes |
| 21 |
|
| 22 |
* token.hh (isValidSortName): added |
| 23 |
|
| 24 |
* process.cc (SyntacticPreModule::getSort): check for bad sort |
| 25 |
names for sorts that get added as a fix up |
| 26 |
(SyntacticPreModule::process): update comments now that multiple |
| 27 |
calls can markAsBad |
| 28 |
|
| 29 |
* ooProcess.cc (SyntacticPreModule::processClassSorts): check that |
| 30 |
class name is also a valid sort name |
| 31 |
|
| 32 |
* process.cc (SyntacticPreModule::processSorts): check that new |
| 33 |
sort if a valid sort name |
| 34 |
|
| 35 |
2025-06-17 Saruman the White <eker@eker10> |
| 36 |
|
| 37 |
* token.cc (Token::split): don't consider : . inside correctly |
| 38 |
nested {}s as split point |
| 39 |
|
| 40 |
* makeGrammar.cc (MixfixModule::makeParameterizedSortProductions): |
| 41 |
added explanation of why nonterminals for lead tokens of |
| 42 |
structured sorts are needed |
| 43 |
(MixfixModule::makeComponentProductions): removed commented out |
| 44 |
code |
| 45 |
|
| 46 |
2025-06-16 Saruman the White <eker@eker10> |
| 47 |
|
| 48 |
* makeGrammar.cc (MixfixModule::makeComponentProductions): deleted |
| 49 |
commented out code for variableTokenCode |
| 50 |
|
| 51 |
* auxProperty.cc (Token::skipSortName): fix comment; use nullptr |
| 52 |
|
| 53 |
2025-06-16 Rubén Rubio <[email protected]> |
| 54 |
|
| 55 |
* importModule.cc (donateStatements2): deal with strat->expr |
| 56 |
mapping on the LHS of a strategy expression |
| 57 |
|
| 58 |
2025-06-15 Saruman the White <eker@eker10> |
| 59 |
|
| 60 |
* view.cc (View::evaluate): check for valid view name |
| 61 |
|
| 62 |
* token.cc (Token::isValidViewName): added |
| 63 |
|
| 64 |
* token.hh (class Token): added decl for isValidViewName() |
| 65 |
|
| 66 |
2025-06-06 Saruman the White <eker@eker10> |
| 67 |
|
| 68 |
* top.yy: added innerToken |
| 69 |
|
| 70 |
* modules.yy (sortNameFrag): clear fragment buffer before we start |
| 71 |
using it rather than after we're done with it. This fixes a bug |
| 72 |
where a parsing error leaves crap in the fragment buffer |
| 73 |
(innerToken): added |
| 74 |
(innerFrag): use innerToken |
| 75 |
|
| 76 |
* auxProperty.cc (Token::skipSortName): allow . and :: in sort |
| 77 |
names if they are inside {} so as to permit . and :: in view names |
| 78 |
used to instantiate parameterized sorts |
| 79 |
(Token::computeAuxProperty): allow . and :: in sort names if they |
| 80 |
are inside {} when checking fo AUX_CONSTANT and AUX_VARIABLE |
| 81 |
properties |
| 82 |
|
| 83 |
2025-05-30 Rubén Rubio <[email protected]> |
| 84 |
|
| 85 |
* importTranslation.cc (ImportTranslation::translateStrategy): |
| 86 |
use Sort::FIRST_USER_SORT |
| 87 |
|
| 88 |
* instantiateViewWithFreeParameters.cc (View::handleStratAwkwardCase): |
| 89 |
use Sort::KIND and variable lifting at the kind level |
| 90 |
|
| 91 |
* view.cc (View::insertStratToExprMapping): |
| 92 |
removed deletes to avoid double free |
| 93 |
|
| 94 |
2025-04-26 Saruman the White <eker@eker10> |
| 95 |
|
| 96 |
* renaming.cc (Renaming::typeMatch): converted commented out cerr |
| 97 |
<< into a DebugInfo() |
| 98 |
|
| 99 |
* importTranslation.hh (ImportTranslation::translate): use |
| 100 |
Sort::FIRST_USER_SORT |
| 101 |
|
| 102 |
* renameModule.cc (ImportModule::localSort): use |
| 103 |
Sort::FIRST_USER_SORT |
| 104 |
|
| 105 |
* view.cc (View::mapComponent): use Sort::FIRST_USER_SORT |
| 106 |
(View::typeMatch): use Sort::FIRST_USER_SORT |
| 107 |
|
| 108 |
* importTranslation.cc |
| 109 |
(ImportTranslation::translateRegularSymbol): use |
| 110 |
Sort::FIRST_USER_SORT |
| 111 |
(ImportTranslation::findTargetVersionOfSymbol): use |
| 112 |
Sort::FIRST_USER_SORT |
| 113 |
|
| 114 |
* instantiateViewWithFreeParameters.cc |
| 115 |
(View::handleInstantiationByModuleView): pass toModule rather than |
| 116 |
parameterCopyOfTheory as the parameterCopyUser |
| 117 |
addOpMappingsFromView() and addStratMappingsFromView() to avoid |
| 118 |
missing sorts in the canonicalRenaming op->op and op->term types |
| 119 |
(View::handleInstantiationByTheoryView): symmetric change, passing |
| 120 |
toModule rather than parameterCopyOfParameterTheory |
| 121 |
|
| 122 |
2025-04-24 Saruman the White <eker@eker10> |
| 123 |
|
| 124 |
* instantiateViewWithFreeParameters.cc (View::handleAwkwardCase): |
| 125 |
use liftVariablesToKind flag when synthesizing op->term mapping |
| 126 |
|
| 127 |
* importTranslation.cc (ImportTranslation::ImportTranslation): |
| 128 |
take liftVariablesToKind argument and set data member |
| 129 |
(ImportTranslation::translate): handle liftVariablesToKind flag |
| 130 |
|
| 131 |
* importTranslation.hh (class ImportTranslation): added |
| 132 |
liftVariablesToKind data member and ctor argument |
| 133 |
|
| 134 |
2025-04-22 Saruman the White <eker@eker10> |
| 135 |
|
| 136 |
* view.cc (View::insertOpToTermMapping): formatting |
| 137 |
|
| 138 |
2024-06-07 Steven M. Eker <eker@eker10> |
| 139 |
|
| 140 |
* importModule.cc (ImportModule::donateStatements2): copy |
| 141 |
extension flag for rules |
| 142 |
(ImportModule::donateStatements2): copy extension flag for |
| 143 |
equations |
| 144 |
|
| 145 |
* mixfixParser.cc (MixfixParser::makeStatementPart): set extension |
| 146 |
flag for rules |
| 147 |
(MixfixParser::makeStatementPart): set extension flag for equations |
| 148 |
(MixfixParser::makeStatementPart): warn about extension flag for |
| 149 |
membership axioms |
| 150 |
|
| 151 |
* latexModulePrint.cc (VisibleModule::latexPrintAttributes): |
| 152 |
handle extension argument |
| 153 |
(VisibleModule::latexPrintRule): pass extension flag to |
| 154 |
latexPrintAttributes() |
| 155 |
(VisibleModule::latexPrintMembershipAxiom): pass extension flag to |
| 156 |
latexPrintAttributes() |
| 157 |
(VisibleModule::latexPrintEquation): pass extension flag to |
| 158 |
latexPrintAttributes() |
| 159 |
|
| 160 |
* visibleModule.hh (class VisibleModule): updated decl for |
| 161 |
latexPrintAttributes() |
| 162 |
|
| 163 |
* mixfixParser.hh (enum Flags): added EXTENSION |
| 164 |
|
| 165 |
* mixfixParser.cc (MixfixParser::makeAttributePart): handle |
| 166 |
MAKE_EXTENSION_ATTRIBUTE |
| 167 |
|
| 168 |
* makeGrammar.cc (MixfixModule::makeAttributeProductions): handle |
| 169 |
extension |
| 170 |
|
| 171 |
* mixfixParser.hh (enum SemanticActions): added |
| 172 |
MAKE_EXTENSION_ATTRIBUTE |
| 173 |
|
| 174 |
* specialTokens.cc: added "extension" |
| 175 |
|
| 176 |
===================================Maude163=========================================== |
| 177 |
|
| 178 |
2024-05-20 Steven Eker <eker@pup> |
| 179 |
|
| 180 |
* narrowing.cc (Interpreter::showMostGeneralStates): use \/ |
| 181 |
rather than /\ |
| 182 |
(Interpreter::showFrontierStates): ditto |
| 183 |
|
| 184 |
===================================Maude162=========================================== |
| 185 |
|
| 186 |
2024-05-17 Steven Eker <eker@pup> |
| 187 |
|
| 188 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 189 |
generateStateSet() |
| 190 |
|
| 191 |
* latexResult.cc (MaudeLatexBuffer::generateStateSet): added |
| 192 |
|
| 193 |
* narrowing.cc (Interpreter::showFrontierStates): rewritten to |
| 194 |
use getUnexpandedStates() |
| 195 |
|
| 196 |
2024-05-16 Steven Eker <eker@pup> |
| 197 |
|
| 198 |
* latexCommand.cc (MaudeLatexBuffer::generateSearch): fixed |
| 199 |
missing space after filter/delay |
| 200 |
|
| 201 |
* latexResult.cc (MaudeLatexBuffer::generateNarrowingSearchPath): |
| 202 |
use generateCompoundSubstitution() |
| 203 |
|
| 204 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): adde decl for |
| 205 |
generateCompoundSubstitution() |
| 206 |
|
| 207 |
* maudeLatexBuffer.cc |
| 208 |
(MaudeLatexBuffer::generateCompoundSubstitution): added |
| 209 |
|
| 210 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 211 |
generateNarrowingSearchPath() |
| 212 |
|
| 213 |
* narrowing.cc: use generateNarrowingSearchPath() |
| 214 |
|
| 215 |
* latexResult.cc (MaudeLatexBuffer::generateNarrowingSearchPath): |
| 216 |
added |
| 217 |
|
| 218 |
* latexCommand.cc (MaudeLatexBuffer::generateSearch): echo vfold, |
| 219 |
path |
| 220 |
|
| 221 |
* search.cc (Interpreter::search): echo vfold and path flags |
| 222 |
|
| 223 |
2024-05-09 Steven Eker <eker@pup> |
| 224 |
|
| 225 |
* narrowing.cc (Interpreter::showFrontierStates): use |
| 226 |
getUnexpandedState() |
| 227 |
(Interpreter::showFrontierStates): print a message for empty |
| 228 |
frontier |
| 229 |
(Interpreter::showFrontierStates): handle the case where we |
| 230 |
have no visited but unexpanded state but still have unvisited states |
| 231 |
|
| 232 |
2024-05-08 Steven Eker <eker@pup> |
| 233 |
|
| 234 |
* interpreter.hh (class Interpreter): added decls for |
| 235 |
showFrontierStates(), showMostGeneralStates(); made |
| 236 |
showNarrowingSearchPath() private |
| 237 |
|
| 238 |
* commands.yy (command): added syntax for show frontier states |
| 239 |
and show most general states |
| 240 |
|
| 241 |
* narrowing.cc (Interpreter::showFrontierStates) |
| 242 |
(Interpreter::showMostGeneralStates): added stubs |
| 243 |
|
| 244 |
* commands.yy (option): deleted KW_INVARIANT |
| 245 |
|
| 246 |
* top.yy: deleted KW_INVARIANT; added KW_FRONTIER, KW_MOST, |
| 247 |
KW_GENERAL |
| 248 |
|
| 249 |
* lexer.ll: deleted KW_INVARIANT; added KW_FRONTIER, KW_MOST, |
| 250 |
KW_GENERAL |
| 251 |
|
| 252 |
2024-05-07 Steven Eker <eker@pup> |
| 253 |
|
| 254 |
* lexer.ll: return , in INITIAL for multiple vu-narrow options |
| 255 |
|
| 256 |
2024-05-06 Steven Eker <eker@pup> |
| 257 |
|
| 258 |
* narrowing.cc (Interpreter::showNarrowingSearchPath): use |
| 259 |
UserLevelRewritingContext::printCompoundSubstitution() to print the |
| 260 |
variant unfier used for a narrowing step |
| 261 |
|
| 262 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): added |
| 263 |
decl for printCompoundSubstitution() |
| 264 |
|
| 265 |
* userLevelRewritingContext.cc |
| 266 |
(UserLevelRewritingContext::printCompoundSubstitution): added |
| 267 |
|
| 268 |
2024-05-03 Steven Eker <eker@pup> |
| 269 |
|
| 270 |
* narrowing.cc (Interpreter::showNarrowingSearchPath): moved here |
| 271 |
|
| 272 |
* execute.cc (Interpreter::clearContinueInfo): use nullptr |
| 273 |
|
| 274 |
* narrowing.cc (Interpreter::doVuNarrowing): delete state and unprotect |
| 275 |
module on abort; always save state and module for later inspection |
| 276 |
|
| 277 |
* search.cc (Interpreter::showNarrowingSearchPath): added |
| 278 |
(Interpreter::doSearching): delete state and unprotect module on abort |
| 279 |
|
| 280 |
===================================Maude161=========================================== |
| 281 |
|
| 282 |
2024-05-02 Steven Eker <eker@pup> |
| 283 |
|
| 284 |
* search.cc (Interpreter::search): delete terms and condition fragments |
| 285 |
if term disjunction used with anything other than vu-narrow/fvu-narrow |
| 286 |
(Interpreter::search): check problemOK() in NarrowingSequenceSearch3() |
| 287 |
case |
| 288 |
|
| 289 |
2024-05-01 Steven Eker <eker@pup> |
| 290 |
|
| 291 |
* narrowing.cc (Interpreter::doVuNarrowing): pass stateNr to |
| 292 |
generateSolutionNr() |
| 293 |
(Interpreter::doVuNarrowing): print out state number if we |
| 294 |
have the KEEP_PATHS flag |
| 295 |
|
| 296 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): pass NONE by |
| 297 |
default to stateNr argument of generateSolutionNr() |
| 298 |
|
| 299 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateSolutionNr): handle |
| 300 |
stateNr argument |
| 301 |
|
| 302 |
* top.yy: added KW_VFOLD, KW_INVARIANT |
| 303 |
|
| 304 |
* lexer.ll: added invariant, vfold |
| 305 |
|
| 306 |
2024-04-24 Steven Eker <eker@pup> |
| 307 |
|
| 308 |
* narrowing.cc (Interpreter::doVuNarrowing): latex initial state |
| 309 |
if there was more than one initial state |
| 310 |
|
| 311 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): updated decl for |
| 312 |
generateState() |
| 313 |
|
| 314 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateState): take a |
| 315 |
message argument |
| 316 |
|
| 317 |
* narrowing.cc (Interpreter::doVuNarrowing): print out initial state |
| 318 |
if there was more than one initial state |
| 319 |
|
| 320 |
2024-04-22 Steven Eker <eker@pup> |
| 321 |
|
| 322 |
* search.cc (Interpreter::search): pass subjectDags to |
| 323 |
NarrowingSequenceSearch3() |
| 324 |
|
| 325 |
2024-04-19 Steven Eker <eker@pup> |
| 326 |
|
| 327 |
* commands.yy (search): fix comment |
| 328 |
(command): code cleaning |
| 329 |
|
| 330 |
2024-04-12 Steven Eker <eker@pup> |
| 331 |
|
| 332 |
* mixfixParser.hh (class MixfixParser): TERM_DISJUNCTION -> |
| 333 |
MAKE_TERM_DISJUNCTION |
| 334 |
|
| 335 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): updated decl for |
| 336 |
generateSearch() |
| 337 |
|
| 338 |
* search.cc (Interpreter::search): handle the syntax of disjuctions |
| 339 |
of initial terms |
| 340 |
|
| 341 |
* latexCommand.cc (MaudeLatexBuffer::generateSearch): handle |
| 342 |
disjuctions of subjects |
| 343 |
|
| 344 |
* makeGrammar.cc (MixfixModule::makeComponentProductions): use |
| 345 |
term disjunction for the first half of search pair |
| 346 |
|
| 347 |
* mixfixParser.cc (MixfixParser::makeTermDisjunction): added |
| 348 |
(MixfixParser::makeSearchCommand): use makeTermDisjunction() |
| 349 |
|
| 350 |
2024-04-11 Steven Eker <eker@pup> |
| 351 |
|
| 352 |
* mixfixParser.hh (class MixfixParser): added TERM_DISJUNCTION to |
| 353 |
enum SemanticActions |
| 354 |
|
| 355 |
* specialTokens.cc: added vee |
| 356 |
|
| 357 |
* makeGrammar.cc (MixfixModule::makeComponentProductions): added syntax |
| 358 |
for term disjunctions |
| 359 |
|
| 360 |
* mixfixModule.hh (class MixfixModule): added TERM_DISJUNCTION_TYPE and |
| 361 |
set COMPLEX_NUMBER_OF_TYPES = 6 |
| 362 |
|
| 363 |
2024-04-10 Steven Eker <eker@pup> |
| 364 |
|
| 365 |
* mixfixModule.hh (MixfixModule::nonTerminal): use getNumberOfTypes() |
| 366 |
|
| 367 |
* makeGrammar.cc (MixfixModule::makeGrammar): use SIMPLE_NUMBER_OF_TYPES, |
| 368 |
COMPLEX_NUMBER_OF_TYPES |
| 369 |
|
| 370 |
* mixfixModule.hh (class MixfixModule): split NUMBER_OF_TYPES into |
| 371 |
SIMPLE_NUMBER_OF_TYPES and COMPLEX_NUMBER_OF_TYPES |
| 372 |
|
| 373 |
* mixfixParser.hh (class MixfixParser): updated decl for ctor |
| 374 |
|
| 375 |
* mixfixParser.cc (MixfixParser::MixfixParser): take and store |
| 376 |
numberOfTypes |
| 377 |
|
| 378 |
* mixfixParser.hh (class MixfixParser): added data member numberOfTypes |
| 379 |
(MixfixParser::getNumberOfTypes): added |
| 380 |
|
| 381 |
* mixfixModule.hh (MixfixModule::domainComponentIndex): moved here |
| 382 |
(MixfixModule::nonTerminal): moved here (both versions) |
| 383 |
|
| 384 |
* search.cc (Interpreter::search): pass initial as a |
| 385 |
Vector<Term*>& rather than a Term*& |
| 386 |
|
| 387 |
* mixfixParser.hh (class MixfixParser): updated decl for |
| 388 |
makeSearchCommand() |
| 389 |
|
| 390 |
* mixfixParser.cc (MixfixParser::makeSearchCommand): initial is now a |
| 391 |
Vector<Term*>& rather than a Term*& |
| 392 |
|
| 393 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 394 |
parseSearchCommand() |
| 395 |
|
| 396 |
* doParse.cc (MixfixModule::parseSearchCommand): initial is now a |
| 397 |
Vector<Term*>& rather than a Term*& |
| 398 |
|
| 399 |
* makeGrammar.cc (MixfixModule::makeComplexProductions): added missing |
| 400 |
comment for get variants syntax |
| 401 |
|
| 402 |
2024-04-05 Steven Eker <eker@pup> |
| 403 |
|
| 404 |
* commutativeDecomposeEqualitySymbol.cc |
| 405 |
(CommutativeDecomposeEqualitySymbol::acProvablyUnequal): return with |
| 406 |
arguments correctly canceled |
| 407 |
(CommutativeDecomposeEqualitySymbol::acDecompose): handle the case where |
| 408 |
some arguments canceled |
| 409 |
|
| 410 |
2024-04-04 Steven Eker <eker@pup> |
| 411 |
|
| 412 |
* commutativeDecomposeEqualitySymbol.cc |
| 413 |
(CommutativeDecomposeEqualitySymbol::decompose): use acDecompose() |
| 414 |
|
| 415 |
* commutativeDecomposeEqualitySymbol.hh |
| 416 |
(class CommutativeDecomposeEqualitySymbol): added decl for acDecompose() |
| 417 |
|
| 418 |
* commutativeDecomposeEqualitySymbol.cc |
| 419 |
(CommutativeDecomposeEqualitySymbol::acDecompose): added |
| 420 |
|
| 421 |
* commutativeDecomposeEqualitySymbol.hh |
| 422 |
(CommutativeDecomposeEqualitySymbol::makeMultisetFromArguments): |
| 423 |
added |
| 424 |
(class CommutativeDecomposeEqualitySymbol): made makeMultiset() |
| 425 |
static |
| 426 |
|
| 427 |
* commutativeDecomposeEqualitySymbol.cc |
| 428 |
(CommutativeDecomposeEqualitySymbol::acProvablyUnequal): |
| 429 |
added pairing argument |
| 430 |
|
| 431 |
2024-04-03 Steven Eker <eker@pup> |
| 432 |
|
| 433 |
* commutativeDecomposeEqualitySymbol.hh |
| 434 |
(class CommutativeDecomposeEqualitySymbol): added decl for |
| 435 |
equationallyStableOrGround() |
| 436 |
|
| 437 |
* commutativeDecomposeEqualitySymbol.cc |
| 438 |
(CommutativeDecomposeEqualitySymbol::associativeDecompose): added |
| 439 |
(CommutativeDecomposeEqualitySymbol::equationallyStableOrGround): added |
| 440 |
|
| 441 |
* commutativeDecomposeEqualitySymbol.hh |
| 442 |
(class CommutativeDecomposeEqualitySymbol): added decl for |
| 443 |
acProvablyUnequal() |
| 444 |
|
| 445 |
* commutativeDecomposeEqualitySymbol.cc |
| 446 |
(CommutativeDecomposeEqualitySymbol::associativeDecompose): use |
| 447 |
makeMultiset() rather than fillSet() |
| 448 |
|
| 449 |
* commutativeDecomposeEqualitySymbol.hh |
| 450 |
(class CommutativeDecomposeEqualitySymbol): deleted decl for |
| 451 |
fillSet() |
| 452 |
|
| 453 |
* commutativeDecomposeEqualitySymbol.cc |
| 454 |
(CommutativeDecomposeEqualitySymbol::fillSet): deleted |
| 455 |
|
| 456 |
* commutativeDecomposeEqualitySymbol.hh |
| 457 |
(CommutativeDecomposeEqualitySymbol::makeMultiset): added |
| 458 |
|
| 459 |
2024-04-02 Steven Eker <eker@pup> |
| 460 |
|
| 461 |
* commutativeDecomposeEqualitySymbol.hh |
| 462 |
(class CommutativeDecomposeEqualitySymbol): added decl for fillSet() |
| 463 |
|
| 464 |
* commutativeDecomposeEqualitySymbol.cc |
| 465 |
(CommutativeDecomposeEqualitySymbol::fillSet): added |
| 466 |
|
| 467 |
* commutativeDecomposeEqualitySymbol.hh |
| 468 |
(class CommutativeDecomposeEqualitySymbol): |
| 469 |
added typedef DagNodeSet |
| 470 |
|
| 471 |
2024-03-29 Steven Eker <eker@pup> |
| 472 |
|
| 473 |
* commutativeDecomposeEqualitySymbol.hh |
| 474 |
(class CommutativeDecomposeEqualitySymbol): updated decl for |
| 475 |
decompose() |
| 476 |
|
| 477 |
* commutativeDecomposeEqualitySymbol.cc |
| 478 |
(CommutativeDecomposeEqualitySymbol::decompose) |
| 479 |
(CommutativeDecomposeEqualitySymbol::associativeDecompose) |
| 480 |
(CommutativeDecomposeEqualitySymbol::eqRewrite): use new |
| 481 |
isEquationallyStable() conventions |
| 482 |
(CommutativeDecomposeEqualitySymbol::decompose): don't take |
| 483 |
MixfixModule* argument |
| 484 |
(CommutativeDecomposeEqualitySymbol::eqRewrite): use new decompose |
| 485 |
convention |
| 486 |
|
| 487 |
* commutativeDecomposeEqualitySymbol.hh |
| 488 |
(slass CommutativeDecomposeEqualitySymbol): updated decl for |
| 489 |
isEquationallyStable(); made it static |
| 490 |
|
| 491 |
* commutativeDecomposeEqualitySymbol.cc |
| 492 |
(CommutativeDecomposeEqualitySymbol::decompose): use |
| 493 |
associativeDecompose() |
| 494 |
(CommutativeDecomposeEqualitySymbol::equationallyStable): don't |
| 495 |
take MixfixModule; renamed to isEquationallyStable() |
| 496 |
|
| 497 |
* commutativeDecomposeEqualitySymbol.hh |
| 498 |
(class CommutativeDecomposeEqualitySymbol): added decl for |
| 499 |
associativeDecompose() |
| 500 |
|
| 501 |
* commutativeDecomposeEqualitySymbol.cc |
| 502 |
(CommutativeDecomposeEqualitySymbol::associativeDecompose): |
| 503 |
split off assoc code into new function |
| 504 |
|
| 505 |
2024-03-28 Steven Eker <eker@pup> |
| 506 |
|
| 507 |
* commutativeDecomposeEqualitySymbol.cc |
| 508 |
(CommutativeDecomposeEqualitySymbol::decompose): fixed |
| 509 |
infinite loop bug |
| 510 |
|
| 511 |
2024-03-27 Steven Eker <eker@pup> |
| 512 |
|
| 513 |
* commutativeDecomposeEqualitySymbol.cc |
| 514 |
(CommutativeDecomposeEqualitySymbol::eqRewrite): rewritten |
| 515 |
using equationalStable() |
| 516 |
(CommutativeDecomposeEqualitySymbol::decompose): handle |
| 517 |
associative case |
| 518 |
|
| 519 |
* commutativeDecomposeEqualitySymbol.hh |
| 520 |
(class CommutativeDecomposeEqualitySymbol): added decl for |
| 521 |
equationallyStable() |
| 522 |
|
| 523 |
* commutativeDecomposeEqualitySymbol.cc |
| 524 |
(CommutativeDecomposeEqualitySymbol::equationallyStable): added |
| 525 |
|
| 526 |
2024-03-26 Steven Eker <eker@pup> |
| 527 |
|
| 528 |
* commutativeDecomposeEqualitySymbol.cc |
| 529 |
(CommutativeDecomposeEqualitySymbol::hasImmediateSubterm): |
| 530 |
use DagArgumentIterator to work in the general case |
| 531 |
(CommutativeDecomposeEqualitySymbol::decompose): check for |
| 532 |
the existence of a conjunction symbol here |
| 533 |
(CommutativeDecomposeEqualitySymbol::eqRewrite): don't check for |
| 534 |
the existence of a conjunctionSymbol here |
| 535 |
|
| 536 |
===================================Maude160=========================================== |
| 537 |
|
| 538 |
2024-03-15 Steven Eker <eker@pup> |
| 539 |
|
| 540 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateBanner): tweak |
| 541 |
spacing |
| 542 |
|
| 543 |
* banner.cc (printBanner): tweak spacing |
| 544 |
|
| 545 |
* latexCommon.cc (MixfixModule::latexPrintBubble): use |
| 546 |
restoreColor and latexClearColor() to fix lost color after |
| 547 |
newline bug |
| 548 |
(MixfixModule::latexPrintBubble): use \maudeHardSpace for '\s |
| 549 |
for symmetry with format, even though it doesn't seem necessary |
| 550 |
|
| 551 |
2024-03-14 Steven Eker <eker@pup> |
| 552 |
|
| 553 |
* lexer.ll: move latex from <ID_MODE> to <INITIAL,ID_MODE> |
| 554 |
|
| 555 |
* commands.yy (printOption): added latex option |
| 556 |
|
| 557 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint): |
| 558 |
only use latex attribue if the PRINT_LATEX is set |
| 559 |
|
| 560 |
* latexTermPrint.cc (MixfixModule::latexPrettyPrint): only |
| 561 |
use latex attribue if the PRINT_LATEX is set |
| 562 |
|
| 563 |
* printSettings.hh (class PrintSettings): added PRINT_LATEX |
| 564 |
and added it to DEFAULT_PRINT_FLAGS |
| 565 |
|
| 566 |
2024-03-13 Steven Eker <eker@pup> |
| 567 |
|
| 568 |
* latexCommon.cc (MixfixModule::latexFancySpace): update |
| 569 |
comment to explain why we need restoreColor |
| 570 |
|
| 571 |
===================================Maude159=========================================== |
| 572 |
|
| 573 |
2024-03-12 Steven Eker <eker@pup> |
| 574 |
|
| 575 |
* latexCommon.cc (MixfixModule::latexFancySpace): set |
| 576 |
restoreColor rather than attributeUsed |
| 577 |
(MixfixModule::latexFancySpace): use restoreColor after a |
| 578 |
newline |
| 579 |
(MixfixModule::latexPrintBubble): use latexRed etc |
| 580 |
|
| 581 |
* mixfixModule.hh (class MixfixModule): added static data |
| 582 |
member restoreColor |
| 583 |
(MixfixModule::latexClearColor): use restoreColor |
| 584 |
|
| 585 |
* latexCommon.cc: added restoreColor static data member |
| 586 |
|
| 587 |
* latexDagNodePrint.cc (MixfixModule::latexPrintDagNode): call |
| 588 |
latexClearColor() |
| 589 |
|
| 590 |
* latexTermPrint.cc (MixfixModule::latexPrettyPrint): call |
| 591 |
latexClearColor() |
| 592 |
|
| 593 |
* mixfixModule.hh (MixfixModule::latexClearColor): added |
| 594 |
|
| 595 |
* latexCommon.cc (MixfixModule::latexFancySpace): set |
| 596 |
attributeUsed and use latexClearColor(s) |
| 597 |
(MixfixModule::latexFancySpace): use latexRed etc |
| 598 |
|
| 599 |
* prettyPrint.cc (MixfixModule::prettyPrint): (dagNode version) |
| 600 |
remove unnecessary MixfixModule:: qualifications |
| 601 |
|
| 602 |
2024-03-11 Steven Eker <eker@pup> |
| 603 |
|
| 604 |
* token.cc (Token::splitKind): reimplemented to avoid |
| 605 |
const_cast<> |
| 606 |
|
| 607 |
* latexCommand.cc (MaudeLatexBuffer::generateShow): use |
| 608 |
\maudeShowSpace (all three versions) |
| 609 |
|
| 610 |
* latexModulePrint.cc (VisibleModule::latexShowOps): symmetric |
| 611 |
change |
| 612 |
|
| 613 |
* visibleModule.cc (VisibleModule::showOps): consider all |
| 614 |
ops for potential printing because we may have local declarations |
| 615 |
even if an op is imported |
| 616 |
|
| 617 |
2024-03-06 Steven Eker <eker@pup> |
| 618 |
|
| 619 |
* prettyPrint.cc (MixfixModule::prettyPrint): (Term* version) |
| 620 |
got rid of const_cast<> |
| 621 |
|
| 622 |
* quotedIdentifierOpSymbol.cc (QuotedIdentifierOpSymbol::makeQid): |
| 623 |
got rid of const_cast<> |
| 624 |
|
| 625 |
* mixfixModule.hh (class MixfixModule): updated decls for suffix(), |
| 626 |
handleIter(), handleMinus(), handleDivision(), handleFloat(), |
| 627 |
handleString(), handleQuotedIdentifier(), handleVariable(), |
| 628 |
handleSMT_Number(), prettyPrint() (Term* versions) |
| 629 |
|
| 630 |
* termPrint.cc (MixfixModule::suffix, MixfixModule::handleIter) |
| 631 |
(MixfixModule::handleMinus, MixfixModule::handleDivision) |
| 632 |
(MixfixModule::handleFloat, MixfixModule::handleString) |
| 633 |
(MixfixModule::handleQuotedIdentifier) |
| 634 |
(MixfixModule::handleVariable, MixfixModule::handleSMT_Number) |
| 635 |
(MixfixModule::prettyPrint): make Term* arg const |
| 636 |
|
| 637 |
2024-03-05 Steven Eker <eker@pup> |
| 638 |
|
| 639 |
* importTranslation.cc (ImportTranslation::translateExpr): |
| 640 |
removed const_cast<> |
| 641 |
(ImportTranslation::translateTerm): removed const_cast<> |
| 642 |
|
| 643 |
2024-03-04 Steven Eker <eker@pup> |
| 644 |
|
| 645 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint): |
| 646 |
deleted |
| 647 |
|
| 648 |
* mixfixModule.hh (class MixfixModule): deleted decl for 2 |
| 649 |
argument DagNode* version of latexPrettyPrint() |
| 650 |
|
| 651 |
2024-03-01 Steven Eker <eker@pup> |
| 652 |
|
| 653 |
* latexCommand.cc (MaudeLatexBuffer::generateCommand): print |
| 654 |
strategy in comment if non-null |
| 655 |
|
| 656 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 657 |
StrategyExpression* version of prettyPrint() |
| 658 |
|
| 659 |
* global.cc (operator<<): (StrategyExpression* version) moved |
| 660 |
here; pass interpreter |
| 661 |
|
| 662 |
* strategyPrint.cc (MixfixModule::prettyPrint): take and pass |
| 663 |
printSettings |
| 664 |
|
| 665 |
* global.cc (operator<<): reimplmented using |
| 666 |
MixfixModule::printConditionFragment() |
| 667 |
|
| 668 |
* mixfixModule.hh (class MixfixModule): deleted decls for both |
| 669 |
2 argument versions of printCondition() |
| 670 |
|
| 671 |
* prettyPrint.cc (MixfixModule::printCondition): deleted both |
| 672 |
2 argument versions |
| 673 |
|
| 674 |
* strategyPrint.cc (MixfixModule::prettyPrint): use 3 argument |
| 675 |
printCondition() |
| 676 |
|
| 677 |
* search.cc (Interpreter::search): use 3 argument printCondition() |
| 678 |
|
| 679 |
* global.cc (operator<<): (SortConstraint*, Equation*, Rule*, |
| 680 |
StrategyDefinition* versions) use 3 argument printCondition() |
| 681 |
|
| 682 |
* match.cc (Interpreter::match): use 3 argument printCondition() |
| 683 |
|
| 684 |
* mixfixModule.hh (class MixfixModule): added decl for 3 argument |
| 685 |
reEquation* version of printCondition() |
| 686 |
|
| 687 |
* prettyPrint.cc (MixfixModule::printCondition): added 3 argument |
| 688 |
PreEquation* version |
| 689 |
|
| 690 |
* latexCommand.cc (MaudeLatexBuffer::generateMatch): use 3 argument |
| 691 |
version of printCondition() with commentSettings |
| 692 |
(MaudeLatexBuffer::generateSearch): ditto |
| 693 |
|
| 694 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 695 |
printConditionFragment() and 3 argument version of printCondition() |
| 696 |
|
| 697 |
* prettyPrint.cc (MixfixModule::printConditionFragment): added |
| 698 |
(MixfixModule::printCondition): added 3 arg version |
| 699 |
|
| 700 |
2024-02-29 Steven Eker <eker@pup> |
| 701 |
|
| 702 |
* token.cc (Token::makePrettyOpName): return empty string |
| 703 |
if not prettified to alert caller |
| 704 |
|
| 705 |
* latexCommon.cc (MixfixModule::latexPrettyOpName): handle |
| 706 |
empty string as indicating that no prettification was done by |
| 707 |
Token::makePrettyOpName() and call Token::latexIdentifier() to |
| 708 |
figure out the correct font to use |
| 709 |
|
| 710 |
* prettyPrint.cc (MixfixModule::prettyOpName): handle empty |
| 711 |
string as indicating that no prettification was done by |
| 712 |
Token::makePrettyOpName() |
| 713 |
|
| 714 |
2024-02-28 Steven Eker <eker@pup> |
| 715 |
|
| 716 |
* interpreter.cc (Interpreter::quit): don't use comment |
| 717 |
environment |
| 718 |
|
| 719 |
* latexResult.cc (MaudeLatexBuffer::generateSearchPath): use |
| 720 |
startComment(), endComment() |
| 721 |
(MaudeLatexBuffer::generateSearchPathLabels): ditto |
| 722 |
(MaudeLatexBuffer::generateSearchGraph): ditto |
| 723 |
|
| 724 |
* latexCommand.cc (MaudeLatexBuffer::generateGetVariants): use |
| 725 |
startComment(), endComment(), commentTerm(), commentDagNode(); |
| 726 |
don't use Tty::blockEscapeSequences(), Tty::unblockEscapeSequences() |
| 727 |
(MaudeLatexBuffer::generateVariantMatch): use startComment(), |
| 728 |
endComment(), commentTerm(); don't use Tty::blockEscapeSequences(), |
| 729 |
Tty::unblockEscapeSequences() |
| 730 |
(MaudeLatexBuffer::generateVariantUnify): ditto |
| 731 |
(MaudeLatexBuffer::generateUnify): ditto |
| 732 |
(MaudeLatexBuffer::generateSearch): ditto |
| 733 |
(MaudeLatexBuffer::generateMatch): ditto |
| 734 |
(MaudeLatexBuffer::generateLoopTokens): don't use comment environment |
| 735 |
(MaudeLatexBuffer::generateCommand): (both versions) use startComment(), |
| 736 |
endComment() |
| 737 |
(MaudeLatexBuffer::generateContinue): use startComment(), endComment() |
| 738 |
(MaudeLatexBuffer::generateShow): (3 versions) use startComment(), |
| 739 |
endComment() |
| 740 |
|
| 741 |
* maudeLatexBuffer.hh (MaudeLatexBuffer::startComment): added |
| 742 |
(MaudeLatexBuffer::endComment): added |
| 743 |
|
| 744 |
* latexCommand.cc (MaudeLatexBuffer::generateCommand): (Term* |
| 745 |
version) use commentDagNode(); don't use Tty::blockEscapeSequences() |
| 746 |
and Tty::unblockEscapeSequences() |
| 747 |
|
| 748 |
* printSettings.hh (class PrintSettings): added PLAIN_PRINT_FLAGS |
| 749 |
to enum PrintFlags |
| 750 |
|
| 751 |
* maudeLatexBuffer.cc: init commentSettings() |
| 752 |
|
| 753 |
* latexCommand.cc (MaudeLatexBuffer::generateCommand): (DagNode* |
| 754 |
version) use commentDagNode(); don't use Tty::blockEscapeSequences() |
| 755 |
and Tty::unblockEscapeSequences() |
| 756 |
|
| 757 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): deleted |
| 758 |
commented out pendingClose data member |
| 759 |
(class MaudeLatexBuffer): added data member commentSettings; |
| 760 |
(MaudeLatexBuffer::commentTerm): added |
| 761 |
(MaudeLatexBuffer::commentDagNode): added |
| 762 |
|
| 763 |
===================================Maude158=========================================== |
| 764 |
|
| 765 |
2024-02-26 Steven Eker <eker@pup> |
| 766 |
|
| 767 |
* latexCommand.cc (MaudeLatexBuffer::generateGetVariants) |
| 768 |
(MaudeLatexBuffer::generateVariantMatch) |
| 769 |
(MaudeLatexBuffer::generateVariantUnify) |
| 770 |
(MaudeLatexBuffer::generateUnify) |
| 771 |
(MaudeLatexBuffer::generateMatch) |
| 772 |
(MaudeLatexBuffer::generateSearch) |
| 773 |
(MaudeLatexBuffer::generateLoopTokens) |
| 774 |
(MaudeLatexBuffer::generateCommand) (both versions): use |
| 775 |
pendingCloseStack |
| 776 |
(MaudeLatexBuffer::generateContinue) |
| 777 |
(MaudeLatexBuffer::generateShow) (3 versions): use |
| 778 |
pendingCloseStack |
| 779 |
|
| 780 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): pendingClose |
| 781 |
becomes pendingCloseStack |
| 782 |
(MaudeLatexBuffer::cleanUp): use pendingCloseStack |
| 783 |
|
| 784 |
2024-02-23 Steven Eker <eker@pup> |
| 785 |
|
| 786 |
* latexCommand.cc (MaudeLatexBuffer::generateGetVariants): |
| 787 |
code cleaning |
| 788 |
(MaudeLatexBuffer::generateVariantMatch): code cleaning |
| 789 |
(MaudeLatexBuffer::generateVariantUnify): code cleaning |
| 790 |
|
| 791 |
* visibleModule.cc (VisibleModule::showAttributes): use |
| 792 |
prettyOpName() for op-hooks |
| 793 |
(VisibleModule::showPolymorphAttributes): ditto |
| 794 |
|
| 795 |
2024-02-22 Steven Eker <eker@pup> |
| 796 |
|
| 797 |
* fixUp.cc (SyntacticPreModule::findHookSymbol): don't |
| 798 |
recognize colon in position 0 |
| 799 |
|
| 800 |
2024-02-21 Steven Eker <eker@pup> |
| 801 |
|
| 802 |
* view.cc (View::printViewExpression): update comment |
| 803 |
|
| 804 |
2024-02-20 Steven Eker <eker@pup> |
| 805 |
|
| 806 |
* token.hh (class Token): deleted decl for |
| 807 |
removeBoundParameterBrackets() |
| 808 |
|
| 809 |
* token.cc (Token::removeBoundParameterBrackets): deleted now |
| 810 |
that we use View::printViewExpression() and |
| 811 |
ImportModule::printModuleExpression() to handle output in a |
| 812 |
pretty way rather than trying to hack the names |
| 813 |
|
| 814 |
* syntacticView.cc (SyntacticView::showProcessedView): use |
| 815 |
printModuleExpression() on modules rather than |
| 816 |
Token::removeBoundParameterBrackets() on module names for |
| 817 |
fromTheory and toModule |
| 818 |
|
| 819 |
2024-02-19 Steven Eker <eker@pup> |
| 820 |
|
| 821 |
* moduleCache.cc (ModuleCache::showCreatedModules): use |
| 822 |
printModuleExpression() |
| 823 |
|
| 824 |
* importModule.hh (class ImportModule): deleted decl for |
| 825 |
prettyModuleExpression() |
| 826 |
|
| 827 |
* importModule.cc (ImportModule::prettyModuleExpression): |
| 828 |
deleted |
| 829 |
|
| 830 |
* view.hh (class View): deleted decl for prettyViewExpression() |
| 831 |
|
| 832 |
* view.cc (View::prettyViewExpression): deleted |
| 833 |
|
| 834 |
* visibleModule.cc (VisibleModule::showImports): use |
| 835 |
printModuleExpression() |
| 836 |
|
| 837 |
* importModule.hh (class ImportModule): added decl for |
| 838 |
printModuleExpression() |
| 839 |
|
| 840 |
* view.hh (class View): added decl for printViewExpression() |
| 841 |
|
| 842 |
* view.cc (View::printViewExpression): added |
| 843 |
|
| 844 |
* importModule.cc (ImportModule::printModuleExpression): |
| 845 |
added |
| 846 |
|
| 847 |
2024-02-16 Steven Eker <eker@pup> |
| 848 |
|
| 849 |
* view.hh (class View): added decl for prettyViewExpression() |
| 850 |
|
| 851 |
* importModule.cc (ImportModule::prettyModuleExpression): use |
| 852 |
prettyViewExpression() |
| 853 |
|
| 854 |
* view.cc (View::latexViewExpression): use \\maudeLeftBracket, |
| 855 |
\\maudeRightBracket |
| 856 |
(View::prettyViewExpression): added |
| 857 |
|
| 858 |
* visibleModule.cc(VisibleModule::showImports): use |
| 859 |
prettyModuleExpression() rather than |
| 860 |
Token::removeBoundParameterBrackets() |
| 861 |
|
| 862 |
* importModule.hh (class ImportModule): added decl for |
| 863 |
prettyModuleExpression() |
| 864 |
|
| 865 |
* importModule.cc (ImportModule::prettyModuleExpression): |
| 866 |
added |
| 867 |
|
| 868 |
* renaming.cc (Renaming::printRenaming): use |
| 869 |
MixfixModule::prettyOpName() (2 places) |
| 870 |
|
| 871 |
2024-02-15 Steven Eker <eker@pup> |
| 872 |
|
| 873 |
* visibleModule.cc (VisibleModule::showDecls): use |
| 874 |
prettyOpName() |
| 875 |
(VisibleModule::showPolymorphDecl): use prettyOpName() |
| 876 |
|
| 877 |
2024-02-14 Steven Eker <eker@pup> |
| 878 |
|
| 879 |
* command.cc (SyntacticPreModule::showModule): don't handle |
| 880 |
parameterized constants specially now that |
| 881 |
MixfixModule::prettyOpName() should do the right thing |
| 882 |
|
| 883 |
* prettyPrint.cc (MixfixModule::prettyOpName): added |
| 884 |
|
| 885 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 886 |
prettyOpName() |
| 887 |
|
| 888 |
* command.cc (SyntacticPreModule::showModule): use pretty |
| 889 |
names for ops and msgs |
| 890 |
|
| 891 |
2024-02-13 Steven Eker <eker@pup> |
| 892 |
|
| 893 |
* token.hh (class Token): deleted decl for prettyOpName() |
| 894 |
|
| 895 |
* token.cc (Token::prettyOpName): deleted |
| 896 |
|
| 897 |
* mixfixModule.hh (class MixfixModule): deleted decl for |
| 898 |
latexPrettyOp() |
| 899 |
|
| 900 |
* latexCommon.cc (MixfixModule::latexPrettyOp): deleted |
| 901 |
|
| 902 |
* latexModulePrint.cc (VisibleModule::latexShowAttributes): use |
| 903 |
latexPrettyOpName(); pass Token::BARE_COLON to latexConstant() |
| 904 |
(VisibleModule::latexShowPolymorphAttributes): symmetric changes |
| 905 |
|
| 906 |
* latexCommon.cc (MixfixModule::latexPrettyOpName): check for |
| 907 |
BARE_COLON as a signifier that we're printing an op-hook and |
| 908 |
use the single token name in that case |
| 909 |
|
| 910 |
* token.hh (class Token): added BARE_COLON to enum ProblemSituations |
| 911 |
|
| 912 |
* token.cc (Token::makePrettyOpName): handle BARE_COLON |
| 913 |
|
| 914 |
* latexRenaming.cc (Renaming::latexRenaming): cleaned up and |
| 915 |
commented op problem situation code; fix bug where we were |
| 916 |
comparing pointer typeid()s rather than underlying objects |
| 917 |
|
| 918 |
2024-02-12 Steven Eker <eker@pup> |
| 919 |
|
| 920 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 921 |
latexConstant() |
| 922 |
|
| 923 |
* latexCommon.cc (MixfixModule::latexConstant): take situations |
| 924 |
argument and pass it to latexPrettyOpName() |
| 925 |
|
| 926 |
* latexRenaming.cc (Renaming::latexRenaming) : pass situations |
| 927 |
argument to MixfixModule::latexConstant() and |
| 928 |
MixfixModule::latexPrettyOpName() (2 places) |
| 929 |
|
| 930 |
* latexModulePrint.cc (VisibleModule::latexShowPolymorphDecl) |
| 931 |
(VisibleModule::latexShowDecls): pass Token::EXPOSED_COLON to |
| 932 |
latexPrettyOpName() |
| 933 |
(VisibleModule::latexShowDecls): added comment |
| 934 |
(VisibleModule::latexShowDecls): use latexStructuredConstant() and |
| 935 |
latexPrettyOpName() in place of latexConstant() |
| 936 |
(VisibleModule::latexShowPolymorphDecl): ditto |
| 937 |
|
| 938 |
* latexPreModulePrint.cc (SyntacticPreModule::latexShowModule): |
| 939 |
pass Token::MULTIPLE_TOKENS to MixfixModule::latexPrettyOpName() |
| 940 |
in the ops/msgs case |
| 941 |
(SyntacticPreModule::latexShowModule): passs Token::EXPOSED_COLON |
| 942 |
to MixfixModule::latexPrettyOpName() |
| 943 |
|
| 944 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 945 |
latexPrettyOpName() |
| 946 |
|
| 947 |
* latexCommon.cc (MixfixModule::latexPrettyOpName): take |
| 948 |
situations arg and pass to Token::makePrettyOpName() |
| 949 |
|
| 950 |
* token.hh (class Token): updated decl for makePrettyOpName() |
| 951 |
|
| 952 |
* token.cc (Token::makePrettyOpName): rewritten to take |
| 953 |
situations argument |
| 954 |
|
| 955 |
* token.hh (class Token): added enum ProblematicSituations |
| 956 |
|
| 957 |
2024-02-09 Steven Eker <eker@pup> |
| 958 |
|
| 959 |
* latexModulePrint.cc (VisibleModule::latexShowDecls): use |
| 960 |
latexPrettyOpName() rather than latexPrettyOp() |
| 961 |
(VisibleModule::latexShowPolymorphDecl): ditto |
| 962 |
|
| 963 |
* token.cc (Token::makePrettyOpName): fix bug in test for "term" |
| 964 |
|
| 965 |
2024-02-08 Steven Eker <eker@pup> |
| 966 |
|
| 967 |
* latexRenaming.cc (Renaming::latexRenaming): replace call |
| 968 |
to MixfixModule::latexPrettyOp() with call to |
| 969 |
MixfixModule::latexPrettyOpName() (2 places) |
| 970 |
|
| 971 |
* latexCommon.cc (MixfixModule::latexConstant): use latexPrettyOpName() |
| 972 |
rather than latexPrettyOp() in the non-structured case |
| 973 |
|
| 974 |
* token.cc (Token::makePrettyOpName): check for , [ tokens in the |
| 975 |
correct branch |
| 976 |
|
| 977 |
* latexPreModulePrint.cc (SyntacticPreModule::latexShowModule): fixed |
| 978 |
bug where we were using & rather == to test auxProperty() |
| 979 |
|
| 980 |
* latexCommon.cc (MixfixModule::latexPrettyOpName): added |
| 981 |
|
| 982 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 983 |
latexPrettyOpName() |
| 984 |
|
| 985 |
* latexPreModulePrint.cc (SyntacticPreModule::latexShowModule): use |
| 986 |
MixfixModule::latexPrettyOpName(); don't prettify variable names |
| 987 |
|
| 988 |
* token.hh (class Token): updated decl for makePrettyOpName() |
| 989 |
|
| 990 |
* token.cc (Token::makePrettyOpName): check for initial |
| 991 |
"term" token and surrounding parens; always return a usable |
| 992 |
name |
| 993 |
(Token::makePrettyOpName): take wantedSingleToken argument |
| 994 |
to catch the case where we generate a multitoken name in an |
| 995 |
ops declaration |
| 996 |
|
| 997 |
2024-02-07 Steven Eker <eker@pup> |
| 998 |
|
| 999 |
* token.cc (Token::makePrettyOpName): added |
| 1000 |
|
| 1001 |
* token.hh (class Token): added decl for makePrettyOpName() |
| 1002 |
|
| 1003 |
* token.cc (Token::computeSpecialProperty): added comments |
| 1004 |
|
| 1005 |
2024-02-05 Steven Eker <eker@pup> |
| 1006 |
|
| 1007 |
* entry.cc (MixfixModule::addPolymorph): check for |
| 1008 |
Token::PAREN_MISMATCH |
| 1009 |
(MixfixModule::addOpDeclaration): check for Token::PAREN_MISMATCH |
| 1010 |
|
| 1011 |
* token.cc (Token::extractMixfix): detect parenthesis |
| 1012 |
mismatch |
| 1013 |
|
| 1014 |
* token.hh (class Token): added enum ReturnValues |
| 1015 |
|
| 1016 |
2024-02-02 Steven Eker <eker@pup> |
| 1017 |
|
| 1018 |
* latexCommon.cc: deleted cerr accidentally left in |
| 1019 |
|
| 1020 |
===================================Maude157=========================================== |
| 1021 |
|
| 1022 |
2024-01-29 Steven Eker <eker@pup> |
| 1023 |
|
| 1024 |
* latexCommon.cc (MixfixModule::latexNumber) |
| 1025 |
(MixfixModule::latexString, MixfixModule::latexQid) |
| 1026 |
(MixfixModule::latexRaw): bumped cutoff sizes by 10 |
| 1027 |
|
| 1028 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint) |
| 1029 |
(MixfixModule::latexPrintDagNode): use latexGraphPrint() |
| 1030 |
|
| 1031 |
* graphPrint.cc (MixfixModule::latexGraphPrint): added |
| 1032 |
|
| 1033 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 1034 |
latexGraphPrint() |
| 1035 |
|
| 1036 |
2024-01-26 Steven Eker <eker@pup> |
| 1037 |
|
| 1038 |
* prettyPrint.cc (MixfixModule::printStrategyTerm): removed |
| 1039 |
inline - there is no performance issue for output |
| 1040 |
|
| 1041 |
* global.cc (operator<<): NamedEntity*, Symbol*, Sort*, |
| 1042 |
ConnectedComponent*, RewriteStrategy* versions moved here for |
| 1043 |
consistancy |
| 1044 |
|
| 1045 |
* prettyPrint.cc (MixfixModule::prettyPrint): DagNode* version, |
| 1046 |
take printSettings argument |
| 1047 |
|
| 1048 |
* global.cc (operator<<): moved StrategyDefintion* version |
| 1049 |
here; pass printSettings argument to printAttributes() |
| 1050 |
replaced commented out Interpreter declaration with explanation |
| 1051 |
of why we allocate it on the heap - to check for memory leaks |
| 1052 |
|
| 1053 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 1054 |
printAttributes() |
| 1055 |
|
| 1056 |
* prettyPrint.cc (MixfixModule::printAttributes): take |
| 1057 |
printSettings argument |
| 1058 |
|
| 1059 |
* mixfixModule.hh (class MixfixModule): updated decl for Term* |
| 1060 |
version of prettyPrint() |
| 1061 |
|
| 1062 |
* prettyPrint.cc (MixfixModule::prettyPrint): Term* versions, |
| 1063 |
take printSettings argument |
| 1064 |
|
| 1065 |
* global.cc (operator<<): moved SortConstraint*, Equation*, |
| 1066 |
Rule*, ConditionFragment* versions here; pass printSettings |
| 1067 |
argument to printAttributes() |
| 1068 |
|
| 1069 |
* visibleModule.cc (VisibleModule::showPolymorphAttributes): |
| 1070 |
pass owner to Term* version of pretty print |
| 1071 |
(VisibleModule::showAttributes): ditto |
| 1072 |
|
| 1073 |
* global.cc (operator<<): Term* versions moved here; pass |
| 1074 |
printSettings argument to prettyPrint() |
| 1075 |
(operator<<): DagNode* versions moved here; pass printSettings |
| 1076 |
argument to prettyPrint() |
| 1077 |
|
| 1078 |
2024-01-19 Steven Eker <eker@pup> |
| 1079 |
|
| 1080 |
* match.cc (Interpreter::match): added comment to explain why we |
| 1081 |
don't pass the GC_SUBSTITUTION flag |
| 1082 |
|
| 1083 |
2024-01-09 Steven Eker <eker@pup> |
| 1084 |
|
| 1085 |
* latexCommand.cc (MaudeLatexBuffer::generateSearch): added support |
| 1086 |
for =># |
| 1087 |
|
| 1088 |
* search.cc (Interpreter::checkSearchRestrictions): don't allow |
| 1089 |
=># searches for narrowing and smt-search |
| 1090 |
|
| 1091 |
* makeGrammar.cc (MixfixModule::makeParameterizedSortProductions): |
| 1092 |
deleted commented out code |
| 1093 |
(MixfixModule::makeComplexProductions): added syntax for =># |
| 1094 |
|
| 1095 |
2024-01-08 Steven Eker <eker@pup> |
| 1096 |
|
| 1097 |
* specialTokens.cc: added arrowHash =># |
| 1098 |
|
| 1099 |
2024-01-05 Steven Eker <eker@pup> |
| 1100 |
|
| 1101 |
* latexCommon.cc (MixfixModule::latexPrintBubble): make spacing and |
| 1102 |
character translations congruent with Interpreter::printBubble() |
| 1103 |
(MixfixModule::latexFancySpace): use \maudeNewline |
| 1104 |
(MixfixModule::latexPrintBubble): use \maudeNewline |
| 1105 |
|
| 1106 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateBanner): update |
| 1107 |
copyright year |
| 1108 |
|
| 1109 |
* latexResult.cc (MaudeLatexBuffer::generateBubbleResult): don't |
| 1110 |
generate output for empty bubble because adjacent $s cause problems |
| 1111 |
|
| 1112 |
2024-01-04 Steven Eker <eker@pup> |
| 1113 |
|
| 1114 |
* latexCommon.cc (MixfixModule::latexFancySpace): added comment to |
| 1115 |
explain why we test PRINT_COLOR flag |
| 1116 |
|
| 1117 |
2024-01-03 Steven Eker <eker@pup> |
| 1118 |
|
| 1119 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 1120 |
generateBubbleResult() |
| 1121 |
|
| 1122 |
* latexResult.cc (MaudeLatexBuffer::generateBubbleResult): added |
| 1123 |
|
| 1124 |
* latexCommon.cc (MixfixModule::latexTokenVector): code cleaning |
| 1125 |
|
| 1126 |
* loopMode.cc (Interpreter::doLoop): call generateBubbleResult() |
| 1127 |
|
| 1128 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 1129 |
latexPrintBubble() |
| 1130 |
|
| 1131 |
* latexCommon.cc (MixfixModule::latexPrintBubble): added |
| 1132 |
|
| 1133 |
* interpreter.hh (class Interpreter): deleted commented out |
| 1134 |
printFlags data member |
| 1135 |
|
| 1136 |
* loopMode.cc (Interpreter::doLoop): call generateResult() |
| 1137 |
|
| 1138 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 1139 |
message + DagNode* version of generateResult() |
| 1140 |
|
| 1141 |
* latexResult.cc (generateResult): added message + DagNode* version |
| 1142 |
|
| 1143 |
* execute.cc (Interpreter::printStats): added comments to both |
| 1144 |
versions to explain their existence |
| 1145 |
|
| 1146 |
* loopMode.cc (Interpreter::contLoop): call generateAdvisory() |
| 1147 |
|
| 1148 |
* banner.cc (printBanner): update copyright year |
| 1149 |
|
| 1150 |
* loopMode.cc (Interpreter::contLoop2): call generateLoopTokens() |
| 1151 |
|
| 1152 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 1153 |
generateLoopTokens() |
| 1154 |
|
| 1155 |
* latexCommand.cc (MaudeLatexBuffer::generateLoopTokens): added |
| 1156 |
|
| 1157 |
2024-01-02 Steven Eker <eker@pup> |
| 1158 |
|
| 1159 |
* variantUnify.cc (Interpreter::variantUnify): pass showTiming |
| 1160 |
flag to printStats() |
| 1161 |
|
| 1162 |
* variantMatch.cc (Interpreter::variantMatch): pass showTiming |
| 1163 |
flag to printStats() |
| 1164 |
|
| 1165 |
* getVariants.cc (Interpreter::getVariants): pass showTiming |
| 1166 |
flag to printStats() |
| 1167 |
(Interpreter::doGetVariants): pass showTiming flag to |
| 1168 |
printStats() (2 places) |
| 1169 |
|
| 1170 |
* execute.cc (Interpreter::printStats): merge the 2 and 3 |
| 1171 |
arg versions |
| 1172 |
|
| 1173 |
* loopMode.cc (Interpreter::loop): support latex |
| 1174 |
(Interpreter::doLoop): call cleanUp() |
| 1175 |
|
| 1176 |
2023-12-22 Steven Eker <eker@pup> |
| 1177 |
|
| 1178 |
* smtSearch.cc (Interpreter::doSmtSearch): call |
| 1179 |
MaudeLatexBuffer::cleanup() |
| 1180 |
|
| 1181 |
* execute.cc (Interpreter::check): added latex support |
| 1182 |
|
| 1183 |
2023-12-21 Steven Eker <eker@pup> |
| 1184 |
|
| 1185 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl |
| 1186 |
for generateSmtResult() |
| 1187 |
|
| 1188 |
* smtSearch.cc (Interpreter::doSmtSearch): call |
| 1189 |
generateSmtResult() |
| 1190 |
|
| 1191 |
* latexResult.cc (MaudeLatexBuffer::generateSmtResult): added |
| 1192 |
(MaudeLatexBuffer::generateSmtResult): added |
| 1193 |
|
| 1194 |
* smtSearch.cc (Interpreter::doSmtSearch): use 4/5 argument |
| 1195 |
version of printStats() |
| 1196 |
|
| 1197 |
2023-12-20 Steven Eker <eker@pup> |
| 1198 |
|
| 1199 |
* smtSearch.cc (Interpreter::doSmtSearch): add latex support for |
| 1200 |
the no result case |
| 1201 |
|
| 1202 |
* syntacticPreModule.hh (class SyntacticPreModule): deleted |
| 1203 |
decl for latexTokenVector() |
| 1204 |
|
| 1205 |
* latexPreModulePrint.cc (SyntacticPreModule::latexShowModule): |
| 1206 |
use MixfixModule::latexTokenVector() |
| 1207 |
(SyntacticPreModule::latexAttributes): use |
| 1208 |
MixfixModule::latexTokenVector() |
| 1209 |
(SyntacticPreModule::latexAttributes): use |
| 1210 |
MixfixModule::latexTokenVector() |
| 1211 |
(SyntacticPreModule::latexTokenVector): deleted |
| 1212 |
|
| 1213 |
* latexCommon.cc (MixfixModule::latexTokenVector): treat ( like |
| 1214 |
[ and {, i.e. allow a space in front of it for consistancy with |
| 1215 |
text version |
| 1216 |
|
| 1217 |
2023-12-19 Steven Eker <eker@pup> |
| 1218 |
|
| 1219 |
* latexViewPrint.cc (SyntacticView::latexShowView): print mappings |
| 1220 |
in math mode so that maudeBigRaw{} works |
| 1221 |
|
| 1222 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 1223 |
latexRaw() |
| 1224 |
|
| 1225 |
* latexCommon.cc (MixfixModule::latexRaw): added |
| 1226 |
(MixfixModule::latexTokenVector): use latexRaw() |
| 1227 |
|
| 1228 |
* latexPreModulePrint.cc (SyntacticPreModule::latexAttributes): |
| 1229 |
don't call Token::name() |
| 1230 |
(SyntacticPreModule::latexStratDecl): ditto |
| 1231 |
|
| 1232 |
* latexModulePrint.cc (VisibleModule::latexPrintAttributes): |
| 1233 |
don't call Token::name() |
| 1234 |
(VisibleModule::latexPrintStrategyDecl): ditto |
| 1235 |
(VisibleModule::latexShowAttributes): ditto |
| 1236 |
(VisibleModule::latexShowPolymorphAttributes): ditto |
| 1237 |
|
| 1238 |
* printAttribute.cc (PrintAttribute::latexPrint): don't |
| 1239 |
call Token::name() now that this is done in latexString() |
| 1240 |
|
| 1241 |
* latexTermPrint.cc (MixfixModule::latexHandleString): don't |
| 1242 |
call Token::name() now that this is done in latexString() |
| 1243 |
|
| 1244 |
* latexDagNodePrint.cc (MixfixModule::latexHandleString): don't |
| 1245 |
call Token::name() now that this is done in latexString() |
| 1246 |
|
| 1247 |
* mixfixModule.hh (MixfixModule::latexString): added code version |
| 1248 |
|
| 1249 |
* latexCommon.cc (MixfixModule::latexString): do Token::latexName() |
| 1250 |
here rather than caller so we have the correct number of characters |
| 1251 |
to make the big string decision |
| 1252 |
|
| 1253 |
* latexTermPrint.cc (MixfixModule::latexHandleQuotedIdentifier): |
| 1254 |
use latexQid() |
| 1255 |
|
| 1256 |
* latexDagNodePrint.cc (MixfixModule::latexHandleQuotedIdentifier): |
| 1257 |
use latexQid() |
| 1258 |
|
| 1259 |
* mixfixModule.hh (class MixfixModule): added decl for latexQid() |
| 1260 |
|
| 1261 |
* latexCommon.cc (MixfixModule::latexQid): added |
| 1262 |
|
| 1263 |
* latexPreModulePrint.cc (SyntacticPreModule::latexAttributes): |
| 1264 |
use Token::latexName() rather than Token::name() for metadata |
| 1265 |
to fix bad latex bug |
| 1266 |
|
| 1267 |
2023-12-18 Steven Eker <eker@pup> |
| 1268 |
|
| 1269 |
* printAttribute.cc (PrintAttribute::latexPrint): use |
| 1270 |
MixfixModule::latexString() for text within print attribute |
| 1271 |
|
| 1272 |
* latexPreModulePrint.cc (SyntacticPreModule::latexAttributes): |
| 1273 |
use MixfixModule::latexString() for metadata |
| 1274 |
(SyntacticPreModule::latexStratDecl): use MixfixModule::latexString() |
| 1275 |
for metadata |
| 1276 |
|
| 1277 |
* latexModulePrint.cc (VisibleModule::latexPrintAttributes): |
| 1278 |
use latexString() for metadata |
| 1279 |
(VisibleModule::latexPrintStrategyDecl): use latexString() for |
| 1280 |
metadata |
| 1281 |
(VisibleModule::latexShowAttributes): use latexString() for |
| 1282 |
metadata |
| 1283 |
(VisibleModule::latexShowPolymorphAttributes): use latexString() |
| 1284 |
for metadata |
| 1285 |
|
| 1286 |
* latexTermPrint.cc: use latexString() |
| 1287 |
|
| 1288 |
* latexDagNodePrint.cc (MixfixModule::latexHandleString): use |
| 1289 |
latexString() |
| 1290 |
|
| 1291 |
* latexCommon.cc (MixfixModule::latexString): added |
| 1292 |
|
| 1293 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 1294 |
latexString() |
| 1295 |
|
| 1296 |
2023-12-15 Steven Eker <eker@pup> |
| 1297 |
|
| 1298 |
* latexTermPrint.cc (MixfixModule::latexHandleIter): use |
| 1299 |
latexNumber() |
| 1300 |
(MixfixModule::latexHandleMinus): use latexNumber() |
| 1301 |
(MixfixModule::latexHandleDivision): use latexNumber() (2 places) |
| 1302 |
(MixfixModule::latexHandleSMT_Number): use latexNumber() (3 |
| 1303 |
places) |
| 1304 |
|
| 1305 |
* latexDagNodePrint.cc (MixfixModule::latexHandleIter): |
| 1306 |
use latexNumber() |
| 1307 |
(MixfixModule::latexHandleMinus): use latexNumber() |
| 1308 |
(MixfixModule::latexHandleDivision): use latexNumber() (2 places) |
| 1309 |
(MixfixModule::latexHandleSMT_Number): use latexNumber() (3 |
| 1310 |
places) |
| 1311 |
|
| 1312 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 1313 |
latexNumber() |
| 1314 |
|
| 1315 |
* latexCommon.cc (MixfixModule::latexNumber): added |
| 1316 |
|
| 1317 |
* interpreter.cc (Interpreter::quit): pass latexStream to |
| 1318 |
MemoryCell::maybeShowResources() |
| 1319 |
|
| 1320 |
2023-12-14 Steven Eker <eker@pup> |
| 1321 |
|
| 1322 |
* interpreter.hh (class Interpreter): added decl for quit() |
| 1323 |
|
| 1324 |
* interact.cc (UserLevelRewritingContext::commandLoop): |
| 1325 |
call Interpreter::quit() |
| 1326 |
|
| 1327 |
* interpreter.cc (Interpreter::quit): added |
| 1328 |
|
| 1329 |
===================================Maude156=========================================== |
| 1330 |
|
| 1331 |
2023-12-12 Steven Eker <eker@pup> |
| 1332 |
|
| 1333 |
* lexer.ll: support big bracket commands in LATEX_MODE |
| 1334 |
|
| 1335 |
* latexCommon.cc (MixfixModule::latexFancySpace): replace |
| 1336 |
\: with \maudeHardSpace and \; with \maudeIndent so they |
| 1337 |
work at the start of a line |
| 1338 |
|
| 1339 |
2023-12-11 Steven Eker <eker@pup> |
| 1340 |
|
| 1341 |
* latexTermPrint.cc (MixfixModule::latexPrettyPrint): use |
| 1342 |
latexPrintStructuredConstant() |
| 1343 |
|
| 1344 |
* latexCommon.cc: don't use outer braces for color changes |
| 1345 |
to avoid messing up user's latex (such as \newline which |
| 1346 |
doesn't work inside braces in math mode) |
| 1347 |
|
| 1348 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint): use |
| 1349 |
latexPrintStructuredConstant() |
| 1350 |
|
| 1351 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 1352 |
latexPrintStructuredConstant() |
| 1353 |
|
| 1354 |
* latexCommon.cc (latexPrintStructuredConstant): added |
| 1355 |
|
| 1356 |
2023-12-08 Steven Eker <eker@pup> |
| 1357 |
|
| 1358 |
* latexTermPrint.cc (MixfixModule::latexPrettyPrint): use |
| 1359 |
latexAttributePrint() |
| 1360 |
(MixfixModule::latexPrettyPrint): don't handle automatic color |
| 1361 |
in the latex attribute case (don't want it affecting subterms) |
| 1362 |
|
| 1363 |
* mixfixModule.hh (class MixfixModule): added decl for Term* |
| 1364 |
version of latexAttributePrint() |
| 1365 |
|
| 1366 |
* latexTermPrint.cc (MixfixModule::latexAttributePrint): added |
| 1367 |
|
| 1368 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint): |
| 1369 |
don't pass color to latexSuffix() |
| 1370 |
(MixfixModule::latexPrettyPrint): handle color around |
| 1371 |
prefix names |
| 1372 |
(MixfixModule::latexPrettyPrint): use latexPrefix() |
| 1373 |
|
| 1374 |
* mixfixModule.hh (class MixfixModule): color = 0 default |
| 1375 |
for DagNode* version of latexSuffix() |
| 1376 |
|
| 1377 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint): |
| 1378 |
handle color around latexAttributePrint() |
| 1379 |
|
| 1380 |
2023-12-07 Steven Eker <eker@pup> |
| 1381 |
|
| 1382 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 1383 |
DagNode* version of latexAttributePrint() |
| 1384 |
|
| 1385 |
* latexDagNodePrint.cc (MixfixModule::latexAttributePrint): |
| 1386 |
added |
| 1387 |
|
| 1388 |
2023-12-06 Steven Eker <eker@pup> |
| 1389 |
|
| 1390 |
* entry.cc (MixfixModule::addOpDeclaration): use |
| 1391 |
unpackLatexMacro() |
| 1392 |
|
| 1393 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 1394 |
MixfixModule::unpackLatexMacro() |
| 1395 |
|
| 1396 |
* entry.cc (MixfixModule::unpackLatexMacro): added |
| 1397 |
|
| 1398 |
* latexToken.cc (Token::latexName): added warning comment |
| 1399 |
about the non-existence of \textasciicircum and \textbackslash |
| 1400 |
in math mode |
| 1401 |
|
| 1402 |
2023-12-05 Steven Eker <eker@pup> |
| 1403 |
|
| 1404 |
* latexModulePrint.cc |
| 1405 |
(VisibleModule::latexShowPolymorphAttributes): handle |
| 1406 |
latexMacro |
| 1407 |
(VisibleModule::latexShowAttributes): handle latexMacro; |
| 1408 |
fix bug where we were not putting space between format |
| 1409 |
and metadata attributes |
| 1410 |
|
| 1411 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 1412 |
latexPrintLatexMacro() |
| 1413 |
|
| 1414 |
* latexCommon.cc (MixfixModule::latexPrintLatexMacro): added |
| 1415 |
|
| 1416 |
* latexRenaming.cc (Renaming::latexRenaming): handle |
| 1417 |
latexMacro |
| 1418 |
|
| 1419 |
* renaming.cc (Renaming::makeCanonicalName): put |
| 1420 |
parens rather than quotes around latexMacro |
| 1421 |
(Renaming::printRenaming): handle latexMacro |
| 1422 |
|
| 1423 |
* renaming.hh (Renaming::getLatexMacro): added |
| 1424 |
|
| 1425 |
* renameModule.cc (ImportModule::donateOps2): handle |
| 1426 |
latexMacro |
| 1427 |
|
| 1428 |
* renaming.cc (Renaming::makeCanonicalName): use new |
| 1429 |
latexMacro convention |
| 1430 |
(Renaming::isIdentityOpMapping): use new latexMacro |
| 1431 |
convention (both versions) |
| 1432 |
(Renaming::addSortConstantAndLabelMappings): use new |
| 1433 |
latexMacro convention |
| 1434 |
(Renaming::setLatexMacro): use new latexMacro convention |
| 1435 |
|
| 1436 |
* renaming.hh (class Renaming): made latexMacro into an int |
| 1437 |
in struct OpMapping |
| 1438 |
|
| 1439 |
* mixfixModule.hh (MixfixModule::getLatexMacro): added |
| 1440 |
(getPolymorphLatexMacro): added |
| 1441 |
|
| 1442 |
* visibleModule.cc (VisibleModule::showAttributes): handle |
| 1443 |
latex macro |
| 1444 |
|
| 1445 |
* renameModule.cc (ImportModule::donateOps2): pass latexMacro = |
| 1446 |
NONE to addPolymorph() and addOpDeclaration() |
| 1447 |
|
| 1448 |
* process.cc (SyntacticPreModule::processOps): pass latexMacro |
| 1449 |
to addPolymorph() and addOpDeclaration() |
| 1450 |
|
| 1451 |
* ooProcess.cc (SyntacticPreModule::processClassOps): pass |
| 1452 |
latexMacro = NONE to addOpDeclaration() (2 places) |
| 1453 |
|
| 1454 |
* mixfixModule.hh (class MixfixModule): updated decls for |
| 1455 |
addOpDeclaration() and addPolymorph() |
| 1456 |
|
| 1457 |
* entry.cc (MixfixModule::addOpDeclaration): take latexMacro |
| 1458 |
argument |
| 1459 |
(MixfixModule::addPolymorph): take latexMacro argument |
| 1460 |
|
| 1461 |
* mixfixModule.hh (class MixfixModule): added data member |
| 1462 |
latexMacroUnpacked to struct SymbolInfo |
| 1463 |
|
| 1464 |
2023-12-04 Steven Eker <eker@pup> |
| 1465 |
|
| 1466 |
* syntacticPreModule.hh (class SyntacticPreModule): deleted |
| 1467 |
commented out classSymbol field from struct ClassDecl |
| 1468 |
|
| 1469 |
* syntacticPreModule.cc (SyntacticPreModule::OpDef::OpDef): |
| 1470 |
deleted |
| 1471 |
|
| 1472 |
* syntacticPreModule.hh (class SyntacticPreModule): delete |
| 1473 |
explicit ctor for OpDef and init prec and meta in the struct |
| 1474 |
definition |
| 1475 |
|
| 1476 |
* mixfixModule.hh (class MixfixModule): turn latexMacro into an |
| 1477 |
int and initialize it to NONE |
| 1478 |
|
| 1479 |
* command.cc (SyntacticPreModule::printAttributes): use new |
| 1480 |
latexMacro representation |
| 1481 |
|
| 1482 |
* ops.cc (SyntacticPreModule::setLatexMacro): use new |
| 1483 |
latexMacro representation |
| 1484 |
|
| 1485 |
* syntacticPreModule.hh (class SyntacticPreModule): made |
| 1486 |
latexMacro and int in struct OpDef |
| 1487 |
|
| 1488 |
2023-12-01 Steven Eker <eker@pup> |
| 1489 |
|
| 1490 |
* latexCommon.cc (MixfixModule::latexPrintTails): fix bug where |
| 1491 |
where we were using the wrong format word |
| 1492 |
|
| 1493 |
2023-11-30 Steven Eker <eker@pup> |
| 1494 |
|
| 1495 |
* mixfixModule.hh (class MixfixModule): added latexMacro field |
| 1496 |
to struct SymbolInfo |
| 1497 |
|
| 1498 |
* command.cc (SyntacticPreModule::printAttributes): handle |
| 1499 |
latex attribute |
| 1500 |
|
| 1501 |
===================================Maude155=========================================== |
| 1502 |
|
| 1503 |
2023-11-29 Steven Eker <eker@pup> |
| 1504 |
|
| 1505 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 1506 |
graphPrint() |
| 1507 |
|
| 1508 |
* prettyPrint.cc (MixfixModule::prettyPrint): pass printSettings |
| 1509 |
to graphPrint() |
| 1510 |
|
| 1511 |
* graphPrint.cc (MixfixModule::graphPrint): take and pass |
| 1512 |
printSettings |
| 1513 |
|
| 1514 |
* mixfixModule.hh (class MixfixModule): updated decls for |
| 1515 |
printVariable(), Term* and DagNode* to ostream& versions |
| 1516 |
of handleVariable() |
| 1517 |
|
| 1518 |
* dagNodePrint.cc (MixfixModule::handleVariable): take |
| 1519 |
printSettings and pass to printVariable() |
| 1520 |
(MixfixModule::prettyPrint): pass printSettings to |
| 1521 |
handleVariable() |
| 1522 |
|
| 1523 |
* termPrint.cc (MixfixModule::handleVariable): take printSettings |
| 1524 |
and pass to printVariable() |
| 1525 |
(MixfixModule::prettyPrint): pass printSettings to |
| 1526 |
handleVariable() |
| 1527 |
|
| 1528 |
* prettyPrint.cc (MixfixModule::printPrefixName): use |
| 1529 |
printSettings rather than interpreter |
| 1530 |
(MixfixModule::printVariable): take and use printSettings |
| 1531 |
|
| 1532 |
* mixfixModule.hh (class MixfixModule): updated decls for |
| 1533 |
handleIter(), handleMinus(), handleDivision(), handleFloat(), |
| 1534 |
handleString(),handleQuotedIdentifier(), handleVariable(), |
| 1535 |
handleSMT_Number() |
| 1536 |
|
| 1537 |
* termPrint.cc (MixfixModule::prettyPrint): use prefix() |
| 1538 |
|
| 1539 |
* latexTermPrint.cc (MixfixModule::latexPrettyPrint): fix bug |
| 1540 |
where we left (...) in code when in inserted latex version |
| 1541 |
|
| 1542 |
* termPrint.cc (MixfixModule::handleIter): don't take, use or pass |
| 1543 |
color |
| 1544 |
(MixfixModule::handleMinus): don't take or pass color |
| 1545 |
(MixfixModule::handleDivision): ditto |
| 1546 |
(MixfixModule::handleFloat): ditto |
| 1547 |
(MixfixModule::handleString): ditto |
| 1548 |
(MixfixModule::handleQuotedIdentifier): ditto |
| 1549 |
(MixfixModule::handleVariable): ditto |
| 1550 |
(MixfixModule::handleSMT_Number): ditto |
| 1551 |
(MixfixModule::prettyPrint): don't pass color to handleIter(), |
| 1552 |
handleMinus(), handleDivision(), handleFloat(), handleString(), |
| 1553 |
handleQuotedIdentifier(), handleVariable(), handleSMT_Number() |
| 1554 |
|
| 1555 |
* mixfixModule.hh (class MixfixModule): updated decl for Term* to |
| 1556 |
ostream& suffix() |
| 1557 |
(class MixfixModule): color = nullptr default argument for ostream& |
| 1558 |
prefix() |
| 1559 |
|
| 1560 |
* termPrint.cc (MixfixModule::suffix): get rid of color argument |
| 1561 |
|
| 1562 |
2023-11-28 Steven Eker <eker@pup> |
| 1563 |
|
| 1564 |
* sharedPrint.cc (MixfixModule::disambiguatorSort): moved here |
| 1565 |
|
| 1566 |
* termPrint.cc (MixfixModule::computeColor): code cleaning |
| 1567 |
|
| 1568 |
* latexTermPrint.cc (MixfixModule::latexPrettyPrint): use |
| 1569 |
latexPrefix() |
| 1570 |
|
| 1571 |
* mixfixModule.hh (class MixfixModule): updated decls for the |
| 1572 |
Term* versions of latexSuffix(), latexHandleIter(), |
| 1573 |
latexHandleMinus(), latexHandleDivision(), latexHandleFloat(), |
| 1574 |
latexHandleString(), latexHandleQuotedIdentifier(), |
| 1575 |
latexHandleVariable(),latexHandleSMT_Number() |
| 1576 |
|
| 1577 |
* latexTermPrint.cc (MixfixModule::latexSuffix): don't take color |
| 1578 |
argument |
| 1579 |
(MixfixModule::latexHandleIter): don't take, use or pass color |
| 1580 |
argument |
| 1581 |
(MixfixModule::latexHandleIter): use latexPrefix; fix bug where |
| 1582 |
we were using suffix rather than latexSuffix |
| 1583 |
(MixfixModule::latexHandleMinus): don't take or pass color |
| 1584 |
(MixfixModule::latexHandleDivision): ditto |
| 1585 |
(MixfixModule::latexHandleFloat): ditto |
| 1586 |
(MixfixModule::latexHandleString): ditto |
| 1587 |
(MixfixModule::latexHandleQuotedIdentifier): ditto |
| 1588 |
(MixfixModule::latexHandleVariable): ditto |
| 1589 |
(MixfixModule::latexHandleSMT_Number): ditto |
| 1590 |
(MixfixModule::latexPrettyPrint): don't pass color |
| 1591 |
|
| 1592 |
* mixfixModule.hh (class MixfixModule): latexPrefix() now has |
| 1593 |
default color argument |
| 1594 |
|
| 1595 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint): get |
| 1596 |
rid of unneccessary Mixfix:: qualification |
| 1597 |
(MixfixModule::latexPrintDagNode): ditto |
| 1598 |
|
| 1599 |
* mixfixModule.hh (class MixfixModule): updated decls for |
| 1600 |
latexPrintPrefixName(), latexPrintTokens(), latexPrintTails(), |
| 1601 |
latexFancySpace() |
| 1602 |
|
| 1603 |
* latexTermPrint.cc (MixfixModule::latexHandleIter): |
| 1604 |
pass printSettings to latexPrintPrefixName() |
| 1605 |
(MixfixModule::latexPrettyPrint): pass printSettings to |
| 1606 |
latexPrintPrefixName(), latexPrintTokens(), latexPrintTails() |
| 1607 |
|
| 1608 |
* latexDagNodePrint.cc (MixfixModule::latexHandleIter): |
| 1609 |
pass printSettings to latexPrintPrefixName() |
| 1610 |
(MixfixModule::latexPrettyPrint): pass printSettings to |
| 1611 |
latexPrintPrefixName(), latexPrintTokens(), latexPrintTails() |
| 1612 |
|
| 1613 |
* latexCommon.cc (MixfixModule::latexFancySpace): take |
| 1614 |
and use printSettings |
| 1615 |
(MixfixModule::latexPrintPrefixName): take, use and pass |
| 1616 |
printSettings |
| 1617 |
(MixfixModule::latexPrintTokens): ditto |
| 1618 |
(MixfixModule::latexPrintTails): ditto |
| 1619 |
Intepreter:: -> PrintSettings:: |
| 1620 |
|
| 1621 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 1622 |
Terms* version of latexHandleVariable() |
| 1623 |
|
| 1624 |
* latexTermPrint.cc (MixfixModule::latexHandleVariable): |
| 1625 |
take and use printSettings |
| 1626 |
(MixfixModule::latexPrettyPrint): pass printSettings to |
| 1627 |
latexHandleVariable() |
| 1628 |
|
| 1629 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 1630 |
DagNode* version of latexHandleVariable() |
| 1631 |
|
| 1632 |
* latexDagNodePrint.cc (MixfixModule::latexHandleVariable): |
| 1633 |
take and use printSettings |
| 1634 |
(MixfixModule::latexPrettyPrint): pass printSettings to |
| 1635 |
latexHandleVariable() |
| 1636 |
|
| 1637 |
* mixfixModule.hh (class MixfixModule): updated decls for |
| 1638 |
DagNode* versions of latexComputeColor(), latexHandleIter(), |
| 1639 |
latexHandleMinus(), latexHandleDivision(), latexHandleFloat(), |
| 1640 |
latexHandleString(), latexHandleQuotedIdentifier(), |
| 1641 |
latexHandleSMT_Number(), latexPrettyPrint() |
| 1642 |
|
| 1643 |
* latexDagNodePrint.cc: Intepreter:: -> PrintSettings:: |
| 1644 |
(MixfixModule::latexComputeColor): take and use printSettings |
| 1645 |
(MixfixModule::latexHandleIter): take, use and pass |
| 1646 |
printSettings |
| 1647 |
(MixfixModule::latexHandleMinus): take and use printSettings |
| 1648 |
(MixfixModule::latexHandleDivision): ditto |
| 1649 |
(MixfixModule::latexHandleFloat): ditto |
| 1650 |
(MixfixModule::latexHandleString): ditto |
| 1651 |
(MixfixModule::latexHandleQuotedIdentifier): ditto |
| 1652 |
(MixfixModule::latexHandleSMT_Number): ditto |
| 1653 |
(MixfixModule::latexPrettyPrint): take, use and |
| 1654 |
pass printSettings |
| 1655 |
(MixfixModule::latexPrettyPrint) |
| 1656 |
(MixfixModule::latexPrintDagNode): use clearIndent() |
| 1657 |
(MixfixModule::latexPrettyPrint) |
| 1658 |
(MixfixModule::latexPrintDagNode): pass printSettings |
| 1659 |
|
| 1660 |
* latexTermPrint.cc (MixfixModule::latexPrettyPrint): pass |
| 1661 |
printSettings to main latexPrettyPrint() call |
| 1662 |
|
| 1663 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 1664 |
Term* versions of latexHandleIter(), latexHandleMinus(), |
| 1665 |
latexHandleDivision(), latexHandleFloat(), latexHandleString(), |
| 1666 |
latexHandleQuotedIdentifier(), latexHandleSMT_Number(), |
| 1667 |
latexPrettyPrint() |
| 1668 |
|
| 1669 |
* latexTermPrint.cc (MixfixModule::latexHandleIter): take and |
| 1670 |
use printSettings; pass printSettings to latexPrettyPrint() |
| 1671 |
(MixfixModule::latexHandleMinus): take and use printSettings |
| 1672 |
(MixfixModule::latexHandleFloat): ditto |
| 1673 |
(MixfixModule::latexHandleString): ditto |
| 1674 |
(MixfixModule::latexHandleQuotedIdentifier): ditto |
| 1675 |
(MixfixModule::latexHandleSMT_Number): ditto |
| 1676 |
(MixfixModule::latexPrettyPrint): take and pass printSettings |
| 1677 |
|
| 1678 |
* mixfixModule.hh (class MixfixModule): updated decl for stream |
| 1679 |
version of printPrefixName() |
| 1680 |
(class MixfixModule): updated decl for fancySpace() |
| 1681 |
|
| 1682 |
* termPrint.cc (MixfixModule::prettyPrint): pass printSettings |
| 1683 |
to printPrefixName() |
| 1684 |
(MixfixModule::handleIter): ditto |
| 1685 |
|
| 1686 |
* dagNodePrint.cc (MixfixModule::handleIter): pass printSettings |
| 1687 |
to printPrefixName() |
| 1688 |
(MixfixModule::prettyPrint): ditto |
| 1689 |
|
| 1690 |
* prettyPrint.cc (MixfixModule::printPrefixName): take and pass |
| 1691 |
printSettings |
| 1692 |
|
| 1693 |
* mixfixModule.hh (class MixfixModule): updated decls for |
| 1694 |
stream versions of printTokens() and printTails() |
| 1695 |
|
| 1696 |
* dagNodePrint.cc (MixfixModule::prettyPrint): pass printSettings |
| 1697 |
to printTails() and printTokens() |
| 1698 |
|
| 1699 |
* termPrint.cc (MixfixModule::prettyPrint): pass printSettings |
| 1700 |
to printTails() and printTokens() |
| 1701 |
|
| 1702 |
* prettyPrint.cc (MixfixModule::fancySpace): take and use |
| 1703 |
printSettings |
| 1704 |
(MixfixModule::printTails): take, use and pass printSettings |
| 1705 |
(MixfixModule::printTokens): ditto |
| 1706 |
|
| 1707 |
2023-11-27 Steven Eker <eker@pup> |
| 1708 |
|
| 1709 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 1710 |
latexComputeColor() |
| 1711 |
|
| 1712 |
* latexTermPrint.cc (MixfixModule::latexComputeColor): take |
| 1713 |
printSettings arg |
| 1714 |
(MixfixModule::latexPrettyPrint): use latexComputeColor rather |
| 1715 |
than computeColor() |
| 1716 |
|
| 1717 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint): |
| 1718 |
use \maudeEllipsis |
| 1719 |
|
| 1720 |
* latexTermPrint.cc: Interpreter:: -> PrintSettings:: |
| 1721 |
(MixfixModule::latexPrettyPrint): handle print conceal |
| 1722 |
|
| 1723 |
* termPrint.cc (MixfixModule::suffix): formatting |
| 1724 |
|
| 1725 |
* latexTermPrint.cc (MixfixModule::latexPrettyPrint): use |
| 1726 |
clearIndent() |
| 1727 |
|
| 1728 |
* mixfixModule.hh (class MixfixModule): unfriend DagNode* |
| 1729 |
operator<< |
| 1730 |
(class MixfixModule): made StrategyExpression* prettyPrint() |
| 1731 |
public |
| 1732 |
(class MixfixModule): unfriend StrategyExpression* operator<< |
| 1733 |
|
| 1734 |
* prettyPrint.cc: (operator<<): (DagNode* version), use |
| 1735 |
new MixfixModule::prettyPrint() |
| 1736 |
|
| 1737 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 1738 |
3 argument DagNode* prettyPrint() |
| 1739 |
|
| 1740 |
* prettyPrint.cc (MixfixModule::prettyPrint): use |
| 1741 |
clearIndent(), clearColor() |
| 1742 |
(operator<<): (DagNode* version), use clearIndent(), |
| 1743 |
clearColor() |
| 1744 |
(MixfixModule::prettyPrint): added 3 argument DagNode* |
| 1745 |
version |
| 1746 |
|
| 1747 |
* mixfixModule.hh (MixfixModule::clearIndent): added |
| 1748 |
(MixfixModule::clearColor): added |
| 1749 |
|
| 1750 |
2023-11-22 Steven Eker <eker@pup> |
| 1751 |
|
| 1752 |
* bufferPrint.cc (MixfixModule::prettyPrint): support print |
| 1753 |
conceal |
| 1754 |
|
| 1755 |
* specialTokens.cc: added ellipsis |
| 1756 |
|
| 1757 |
* termPrint.cc (MixfixModule::prettyPrint): support print conceal |
| 1758 |
|
| 1759 |
2023-11-21 Steven Eker <eker@pup> |
| 1760 |
|
| 1761 |
* mixfixModule.hh (class MixfixModule): make main Term* prettyPrint |
| 1762 |
public |
| 1763 |
|
| 1764 |
2023-11-20 Steven Eker <eker@pup> |
| 1765 |
|
| 1766 |
* printSettings.hh (class PrintSettings): pass polarity = true |
| 1767 |
by default for setPrintFlag() |
| 1768 |
|
| 1769 |
* mixfixModule.hh (class MixfixModule): updated decls |
| 1770 |
for both versions of bufferPrint() |
| 1771 |
|
| 1772 |
* bufferPrint.cc (MixfixModule::bufferPrint): (StrategyExpression* |
| 1773 |
version): pass printSettings |
| 1774 |
(MixfixModule::bufferPrint): take printSettings (both versions) |
| 1775 |
|
| 1776 |
* mixfixModule.hh (class MixfixModule): updated decls |
| 1777 |
for all 3 functions used to print strategies to buffer |
| 1778 |
|
| 1779 |
* bufferPrint.cc (MixfixModule::prettyPrint): (StrategyExpression* |
| 1780 |
version): take and pass printSettings |
| 1781 |
(MixfixModule::prettyPrint): (Vector<ConditionFragment*> version): |
| 1782 |
take and pass printSettings |
| 1783 |
(MixfixModule::prettyPrint): (ConditionFragment* version): |
| 1784 |
take and pass printSettings |
| 1785 |
|
| 1786 |
* mixfixModule.hh (class MixfixModule): updated decls for |
| 1787 |
buffer versions of printTokens(), printTails(), printPrefixName() |
| 1788 |
|
| 1789 |
* bufferPrint.cc (MixfixModule::bufferPrint): pass printSettings |
| 1790 |
to prettyPrint() |
| 1791 |
|
| 1792 |
* mixfixModule.hh (class MixfixModule): updated decls for |
| 1793 |
buffer versions of suffix(), prettyPrint(), handleVariable(), |
| 1794 |
handleIter(), handleMinus(), handleDivision(), handleFloat(), |
| 1795 |
handleString(), handleQuotedIdentifier(), handleSMT_NumberSymbol(), |
| 1796 |
printKind(), printSort(), printDotSort(), printVarSort(), |
| 1797 |
printTokens(), printTails(), printPrefixName() |
| 1798 |
|
| 1799 |
* bufferPrint.cc (MixfixModule::handleIter): take |
| 1800 |
printSettings rather than printFlags |
| 1801 |
(MixfixModule::suffix): ditto |
| 1802 |
(MixfixModule::handleIter): ditto |
| 1803 |
(MixfixModule::handleMinus): ditto |
| 1804 |
(MixfixModule::handleDivision): ditto |
| 1805 |
(MixfixModule::handleFloat): ditto |
| 1806 |
(MixfixModule::handleString): ditto |
| 1807 |
(MixfixModule::handleQuotedIdentifier): ditto |
| 1808 |
(MixfixModule::handleVariable): ditto |
| 1809 |
(MixfixModule::handleSMT_NumberSymbol): ditto |
| 1810 |
(MixfixModule::prettyPrint): take, use and pass printSettings |
| 1811 |
(MixfixModule::printKind): take and pass printSettings |
| 1812 |
(MixfixModule::printSort): take printSettings |
| 1813 |
(MixfixModule::printDotSort): ditto |
| 1814 |
(MixfixModule::printVarSort): ditto |
| 1815 |
(MixfixModule::printTokens): ditto |
| 1816 |
(MixfixModule::printTails): ditto |
| 1817 |
(MixfixModule::printPrefixName): ditto |
| 1818 |
|
| 1819 |
* termPrint.cc (MixfixModule::handleIter): pass |
| 1820 |
printSettings to prettyPrint() |
| 1821 |
|
| 1822 |
* prettyPrint.cc (MixfixModule::prettyPrint): pass |
| 1823 |
printSettings to Term* -> ostream prettyPrint() |
| 1824 |
|
| 1825 |
* termPrint.cc (MixfixModule::prettyPrint): take |
| 1826 |
printSettings argument and pass it in recursive calls |
| 1827 |
|
| 1828 |
* mixfixModule.hh (class MixfixModule): updated decl |
| 1829 |
for Term* -> ostream prettyPrint() |
| 1830 |
|
| 1831 |
* latexTermPrint.cc (MixfixModule::latexPrettyPrint): pass |
| 1832 |
printSettings argument to computeColor() |
| 1833 |
|
| 1834 |
* termPrint.cc (MixfixModule::prettyPrint): pass printSettings |
| 1835 |
argument to computeColor(), handleIter(), handleMinus(), |
| 1836 |
handleDivision(), handleFloat(), handleString(), |
| 1837 |
handleQuotedIdentifier(), handleSMT_Number() |
| 1838 |
|
| 1839 |
* mixfixModule.hh (class MixfixModule): updated decls for Term* |
| 1840 |
versions of computeColor(), handleIter(), handleMinus(), |
| 1841 |
handleDivision(), handleFloat(), handleString(), |
| 1842 |
handleQuotedIdentifier(), handleSMT_Number() |
| 1843 |
|
| 1844 |
* termPrint.cc (MixfixModule::computeColor): take and |
| 1845 |
use printSettings argument |
| 1846 |
Interpreter:: -> PrintSettings:: everywhere |
| 1847 |
(MixfixModule::handleIter): take and use printSettings |
| 1848 |
argument |
| 1849 |
(MixfixModule::handleMinus): ditto |
| 1850 |
(MixfixModule::handleDivision): ditto |
| 1851 |
(MixfixModule::handleFloat): ditto |
| 1852 |
(MixfixModule::handleString): ditto |
| 1853 |
(MixfixModule::handleQuotedIdentifier): ditto |
| 1854 |
(MixfixModule::handleSMT_Number): ditto |
| 1855 |
|
| 1856 |
2023-11-17 Steven Eker <eker@pup> |
| 1857 |
|
| 1858 |
* bufferPrint.cc: Interpreter:: -> PrintSettings:: |
| 1859 |
(MixfixModule::handleIter): handle |
| 1860 |
PrintSettings::PRINT_DISAMBIG_CONST |
| 1861 |
(MixfixModule::handleMinus): ditto |
| 1862 |
(MixfixModule::handleDivision): ditto |
| 1863 |
(MixfixModule::handleFloat): ditto |
| 1864 |
(MixfixModule::handleString): ditto |
| 1865 |
(MixfixModule::handleQuotedIdentifier): ditto |
| 1866 |
(MixfixModule::handleSMT_NumberSymbol): ditto |
| 1867 |
(MixfixModule::prettyPrint): made needDisambig, argRangeKnown |
| 1868 |
calculations symmetric with ostream& case |
| 1869 |
|
| 1870 |
2023-11-16 Steven Eker <eker@pup> |
| 1871 |
|
| 1872 |
* latexTermPrint.cc (MixfixModule::latexHandleIter): |
| 1873 |
handle PrintSettings::PRINT_DISAMBIG_CONST |
| 1874 |
(MixfixModule::latexHandleMinus): ditto |
| 1875 |
(MixfixModule::latexHandleDivision): ditto |
| 1876 |
(MixfixModule::latexHandleFloat): ditto |
| 1877 |
(MixfixModule::latexHandleString): ditto |
| 1878 |
(MixfixModule::latexHandleQuotedIdentifier): ditto |
| 1879 |
(MixfixModule::latexHandleSMT_Number): ditto |
| 1880 |
|
| 1881 |
* termPrint.cc (MixfixModule::handleIter): handle |
| 1882 |
PrintSettings::PRINT_DISAMBIG_CONST |
| 1883 |
(MixfixModule::handleMinus): handle |
| 1884 |
PrintSettings::PRINT_DISAMBIG_CONST |
| 1885 |
(MixfixModule::handleDivision): handle |
| 1886 |
PrintSettings::PRINT_DISAMBIG_CONST |
| 1887 |
(MixfixModule::handleFloat): ditto |
| 1888 |
(MixfixModule::handleString): ditto |
| 1889 |
(MixfixModule::handleQuotedIdentifier): ditto |
| 1890 |
(MixfixModule::handleSMT_Number): ditto |
| 1891 |
|
| 1892 |
2023-11-15 Steven Eker <eker@pup> |
| 1893 |
|
| 1894 |
* dagNodePrint.cc (MixfixModule::prettyPrint): use |
| 1895 |
printSettings.concealSymbol() |
| 1896 |
|
| 1897 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint): use |
| 1898 |
new printConceal() convention |
| 1899 |
|
| 1900 |
* interpreter.hh (class Interpreter): deleted decl for |
| 1901 |
concealedSymbol() |
| 1902 |
|
| 1903 |
* dagNodePrint.cc (MixfixModule::prettyPrint): use new |
| 1904 |
printConceal() convention |
| 1905 |
|
| 1906 |
* printSettings.hh (class PrintSettings): added data member |
| 1907 |
concealedSymbols |
| 1908 |
|
| 1909 |
* interpreter.hh (class Interpreter): deleted data member |
| 1910 |
concealedSymbols |
| 1911 |
|
| 1912 |
* interpreter.cc (Interpreter::concealedSymbol): deleted |
| 1913 |
(Interpreter::printConceal): moved here and use insertConcealed(), |
| 1914 |
eraseConcealed() |
| 1915 |
|
| 1916 |
* printSettings.hh (PrintSettings::insertConcealed) |
| 1917 |
(PrintSettings::eraseConcealed, PrintSettings::concealedSymbol): |
| 1918 |
added |
| 1919 |
|
| 1920 |
* prettyPrint.cc: Interpreter:: -> PrintSettings:: |
| 1921 |
(operator<<): pass printSettings to prettyPrint (DagNode* |
| 1922 |
version); use safeCastNonNull() |
| 1923 |
|
| 1924 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 1925 |
prettyPrint() (DagNode* version) |
| 1926 |
|
| 1927 |
* dagNodePrint.cc (MixfixModule::handleIter): pass |
| 1928 |
printSettings to prettyPrint() |
| 1929 |
(MixfixModule::prettyPrint): take printSettings argument |
| 1930 |
|
| 1931 |
* mixfixModule.hh (class MixfixModule): update decls for |
| 1932 |
handleFloat(), handleString(), handleQuotedIdentifier(), |
| 1933 |
handleIter(), handleMinus(), handleDivision(), |
| 1934 |
handleSMT_Number() |
| 1935 |
|
| 1936 |
* dagNodePrint.cc (MixfixModule::handleIter): take |
| 1937 |
printSettings argument |
| 1938 |
(MixfixModule::handleMinus): take printSettings argument |
| 1939 |
(MixfixModule::handleDivision): take printSettings argument |
| 1940 |
(MixfixModule::handleFloat): take printSettings argument |
| 1941 |
(MixfixModule::handleQuotedIdentifier): take printSettings |
| 1942 |
argument |
| 1943 |
(MixfixModule::handleString): take printSettings argument |
| 1944 |
(MixfixModule::handleSMT_Number): take printSettings argument |
| 1945 |
(MixfixModule::prettyPrint): pass printSettings to |
| 1946 |
computeColor(), handleIter(), handleMinus(), handleDivision(), |
| 1947 |
handleFloat(), handleString(), handleQuotedIdentifier(), |
| 1948 |
handleSMT_Number(); use printSettings |
| 1949 |
|
| 1950 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 1951 |
computeColor() (DagNode* version) |
| 1952 |
|
| 1953 |
* dagNodePrint.cc: Interpreter:: -> PrintSettings:: |
| 1954 |
(MixfixModule::handleVariable): remove hack |
| 1955 |
(MixfixModule::computeColor): take printSettings argument |
| 1956 |
|
| 1957 |
* commands.yy (kw_module): Interpreter:: -> PrintSettings:: |
| 1958 |
|
| 1959 |
* interpreter.cc (Interpreter::Interpreter): initialize |
| 1960 |
PrintSettings base rather than printFlags member |
| 1961 |
(Interpreter::setPrintFlag): deleted |
| 1962 |
|
| 1963 |
* mixfix.hh: added class PrintSettings |
| 1964 |
|
| 1965 |
* interpreter.hh (class Interpreter): derive from |
| 1966 |
PrintSettings; delete enum PrintFlags |
| 1967 |
(Interpreter::getPrintFlag): deleted |
| 1968 |
|
| 1969 |
* printSettings.hh (class PrintSettings): created |
| 1970 |
|
| 1971 |
* interpreter.hh (Interpreter::getPrintFlags): deleted |
| 1972 |
|
| 1973 |
2023-11-14 Steven Eker <eker@pup> |
| 1974 |
|
| 1975 |
* latexPreModulePrint.cc |
| 1976 |
(SyntacticPreModule::latexTokenVector): symmetric change |
| 1977 |
|
| 1978 |
* token.cc (Token::printTokenVector): treat ( like [ { and |
| 1979 |
put space in front of it if needSpace |
| 1980 |
|
| 1981 |
* quotedIdentifierOpSymbol.cc |
| 1982 |
(QuotedIdentifierOpSymbol::printQid): put space before ( [ { |
| 1983 |
if needSpace true |
| 1984 |
|
| 1985 |
===================================Maude154=========================================== |
| 1986 |
|
| 1987 |
2023-11-07 Steven Eker <eker@pup> |
| 1988 |
|
| 1989 |
* latexCommon.cc (MixfixModule::latexPrintTokens): use |
| 1990 |
\maudeAllowLineBreak before ) ] } if no whitespace is |
| 1991 |
output |
| 1992 |
(MixfixModule::latexPrintTails): similar scheme to above |
| 1993 |
|
| 1994 |
2023-11-06 Steven Eker <eker@pup> |
| 1995 |
|
| 1996 |
* latexCommon.cc (MixfixModule::latexPrintTokens): ouput |
| 1997 |
\maudeAllowLineBreak after ( [ { , if they weren't followed |
| 1998 |
by a space |
| 1999 |
(MixfixModule::latexPrintTails): symmetric change for |
| 2000 |
multi-token tails |
| 2001 |
(MixfixModule::latexPrintTokens): fix bug where we were |
| 2002 |
tests comma rather than token == comma |
| 2003 |
(MixfixModule::latexPrintTails): fix symmetric bug; |
| 2004 |
allowBreak now carries over between tails |
| 2005 |
(MixfixModule::latexPrintTails): allowBreak after ) ] } |
| 2006 |
This change from the text case is avoid a huge number |
| 2007 |
of tails consisting only of these characters causing an |
| 2008 |
overfull \hbox |
| 2009 |
|
| 2010 |
2023-11-03 Steven Eker <eker@pup> |
| 2011 |
|
| 2012 |
* latexModulePrint.cc (VisibleModule::latexShowVars): |
| 2013 |
implement PRINT_COMBINE_VARS |
| 2014 |
|
| 2015 |
* commands.yy (printOption): added syntax for |
| 2016 |
set print combine vars on/off . |
| 2017 |
|
| 2018 |
* top.yy: added KW_COMBINE |
| 2019 |
|
| 2020 |
* lexer.ll: added KW_COMBINE |
| 2021 |
|
| 2022 |
* visibleModule.cc (VisibleModule::showVars): |
| 2023 |
implement PRINT_COMBINE_VARS |
| 2024 |
|
| 2025 |
* interpreter.hh (class Interpreter): added |
| 2026 |
PRINT_COMBINE_VARS to enum PrintFlags |
| 2027 |
|
| 2028 |
2023-11-02 Steven Eker <eker@pup> |
| 2029 |
|
| 2030 |
* symbolType.hh (class SymbolType): add portal to |
| 2031 |
SIMPLE_ATTRIBUTES |
| 2032 |
|
| 2033 |
* latexModulePrint.cc |
| 2034 |
(VisibleModule::latexShowAttributes): handle portal |
| 2035 |
attribute |
| 2036 |
(VisibleModule::latexShowPolymorphAttributes): |
| 2037 |
handle portal attribute |
| 2038 |
|
| 2039 |
* visibleModule.cc |
| 2040 |
(VisibleModule::showPolymorphAttributes): handle |
| 2041 |
portal attribute |
| 2042 |
(VisibleModule::showAttributes): handle portal |
| 2043 |
attribute |
| 2044 |
|
| 2045 |
* latexPreModulePrint.cc |
| 2046 |
(SyntacticPreModule::latexAttributes): handle portal |
| 2047 |
attribute |
| 2048 |
|
| 2049 |
* command.cc (SyntacticPreModule::printAttributes): |
| 2050 |
handle portal attribute |
| 2051 |
|
| 2052 |
2023-11-01 Steven Eker <eker@pup> |
| 2053 |
|
| 2054 |
* mixfixModule.cc (MixfixModule::closeSignature): call |
| 2055 |
addPortals() |
| 2056 |
(MixfixModule::closeSignature): added DebugInfo() |
| 2057 |
|
| 2058 |
* entry.cc (MixfixModule::addOpDeclaration): add |
| 2059 |
portalSymbols |
| 2060 |
(MixfixModule::addOpDeclaration): check for illegal |
| 2061 |
object & portal and msg & portal attribute combinations |
| 2062 |
|
| 2063 |
* mixfixModule.hh (class MixfixModule): added data |
| 2064 |
member portalSymbols |
| 2065 |
|
| 2066 |
* symbolType.hh (class SymbolType): added PORTAL |
| 2067 |
to enum Flags and renumbered later flags |
| 2068 |
|
| 2069 |
* modules.yy (attribute): added portal attribute |
| 2070 |
|
| 2071 |
* top.yy: added added KW_PORTAL |
| 2072 |
|
| 2073 |
* lexer.ll (id): added KW_PORTAL |
| 2074 |
|
| 2075 |
2023-10-31 Steven Eker <eker@pup> |
| 2076 |
|
| 2077 |
* latexPreModulePrint.cc |
| 2078 |
(SyntacticPreModule::latexAttributes): move ctor to after |
| 2079 |
poly; move id: and idem to after comm; move msg to after |
| 2080 |
obj; move pconst to after iter |
| 2081 |
|
| 2082 |
* latexModulePrint.cc |
| 2083 |
(VisibleModule::latexShowAttributes): move iter to |
| 2084 |
after idem; move msg to after obj |
| 2085 |
(VisibleModule::latexShowPolymorphAttributes): move |
| 2086 |
iter to after idem; move msg to after obj |
| 2087 |
|
| 2088 |
* command.cc (SyntacticPreModule::printAttributes): |
| 2089 |
move ctor to after poly; move id: and idem to after |
| 2090 |
comm; move msg to after obj; move pconst to after |
| 2091 |
iter |
| 2092 |
|
| 2093 |
* visibleModule.cc (VisibleModule::showAttributes): |
| 2094 |
move iter to after idem; move msg to after obj |
| 2095 |
|
| 2096 |
2023-10-30 Steven Eker <eker@pup> |
| 2097 |
|
| 2098 |
* prettyPrint.cc (MixfixModule::printTokens) |
| 2099 |
(MixfixModule::printTails): don't put space after comma |
| 2100 |
if an explicit format statement is in play |
| 2101 |
|
| 2102 |
* latexCommon.cc (MixfixModule::latexPrintTails) |
| 2103 |
(MixfixModule::latexPrintTokens): put space after comma |
| 2104 |
(MixfixModule::latexPrintTokens, MixfixModule::latexPrintTails): |
| 2105 |
but not if we have an explicit format statement |
| 2106 |
|
| 2107 |
* prettyPrint.cc (MixfixModule::printTokens): put |
| 2108 |
space after comma |
| 2109 |
(MixfixModule::printTails): put space after comma |
| 2110 |
|
| 2111 |
2023-10-27 Steven Eker <eker@pup> |
| 2112 |
|
| 2113 |
* latexViewPrint.cc |
| 2114 |
(SyntacticView::latexShowProcessedView): pass |
| 2115 |
showProcessed = true to latexRenaming() |
| 2116 |
|
| 2117 |
* moduleExpression.cc (ModuleExpression::latexPrint): |
| 2118 |
fix missing \maudeRightParen after renaming |
| 2119 |
|
| 2120 |
* latexViewPrint.cc (SyntacticView::latexShowView): |
| 2121 |
make expr a \maudeKeyword in strat->expr mappings |
| 2122 |
|
| 2123 |
* latexStrategyPrint.cc |
| 2124 |
(VisibleModule::latexPrintStrategy): fix stray ( after |
| 2125 |
top |
| 2126 |
|
| 2127 |
* viewExpression.cc (ViewExpression::latexPrint): make |
| 2128 |
a recursive call in the instantiation case rather than |
| 2129 |
accessing uninitialized name |
| 2130 |
|
| 2131 |
2023-10-26 Steven Eker <eker@pup> |
| 2132 |
|
| 2133 |
* latexViewPrint.cc |
| 2134 |
(SyntacticView::latexShowProcessedView): fix space after |
| 2135 |
var |
| 2136 |
(SyntacticView::latexShowView): fix spacing in op->term |
| 2137 |
and op->msg mappings |
| 2138 |
|
| 2139 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 2140 |
latexTokenVector() |
| 2141 |
|
| 2142 |
* latexCommon.cc (MixfixModule::latexTokenVector): added |
| 2143 |
|
| 2144 |
* syntacticView.hh (class SyntacticView): added decl for |
| 2145 |
latexType() |
| 2146 |
|
| 2147 |
* latexViewPrint.cc (SyntacticView::latexShowView): |
| 2148 |
handle view contents |
| 2149 |
|
| 2150 |
* latexViewPrint.cc |
| 2151 |
(SyntacticView::latexShowProcessedView): only call |
| 2152 |
latexRenaming() if there are sort mappings or op mappings |
| 2153 |
|
| 2154 |
* latexCommand.cc (MaudeLatexBuffer::generateSearch): fix |
| 2155 |
bug where filter and delay keywords were printed with |
| 2156 |
\maudeKeyWord |
| 2157 |
|
| 2158 |
2023-10-25 Steven Eker <eker@pup> |
| 2159 |
|
| 2160 |
* syntacticView.hh (class SyntacticView): added decl for |
| 2161 |
latexShowView() |
| 2162 |
|
| 2163 |
* latexViewPrint.cc (SyntacticView::latexShowView): added |
| 2164 |
stub |
| 2165 |
|
| 2166 |
* interpreter.cc (Interpreter::showView): added latex |
| 2167 |
support |
| 2168 |
|
| 2169 |
* syntacticPreModule.hh (class SyntacticPreModule): made |
| 2170 |
OpDef version of printAttributes() non-static const |
| 2171 |
|
| 2172 |
* command.cc (SyntacticPreModule::printAttributes): |
| 2173 |
support PRINT_HOOKS flag |
| 2174 |
|
| 2175 |
* latexPreModulePrint.cc |
| 2176 |
(SyntacticPreModule::latexAttributes): support PRINT_HOOKS |
| 2177 |
flag |
| 2178 |
(SyntacticPreModule::latexAttributes): use \maudeSpace |
| 2179 |
after special |
| 2180 |
|
| 2181 |
2023-10-24 Steven Eker <eker@pup> |
| 2182 |
|
| 2183 |
* latexModulePrint.cc (VisibleModule::latexShowAttributes): |
| 2184 |
support PRINT_HOOKS flag |
| 2185 |
(VisibleModule::latexShowPolymorphAttributes): ditto |
| 2186 |
|
| 2187 |
* visibleModule.cc (VisibleModule::showAttributes): support |
| 2188 |
PRINT_HOOKS flag |
| 2189 |
(VisibleModule::showPolymorphAttributes): ditto |
| 2190 |
|
| 2191 |
* latexModulePrint.cc (VisibleModule::latexPrintAttributes): |
| 2192 |
use use owner rather than global interpreter; made const |
| 2193 |
|
| 2194 |
* visibleModule.hh (class VisibleModule): made |
| 2195 |
latexPrintAttributes() non-static and const |
| 2196 |
|
| 2197 |
* latexModulePrint.cc |
| 2198 |
(VisibleModule::latexPrintMembershipAxiom): use owner rather |
| 2199 |
than global interpreter |
| 2200 |
(VisibleModule::latexPrintEquation): ditto |
| 2201 |
(VisibleModule::latexPrintRule): ditto |
| 2202 |
|
| 2203 |
* interpreter.hh (class Interpreter): make PRINT_HOOKS the |
| 2204 |
default |
| 2205 |
|
| 2206 |
* commands.yy (printOption): added print hooks |
| 2207 |
|
| 2208 |
* top.yy: added KW_HOOKS |
| 2209 |
|
| 2210 |
* lexer.ll: added KW_HOOKS |
| 2211 |
|
| 2212 |
* interpreter.hh (class Interpreter): added PRINT_HOOKS to |
| 2213 |
enum PrintFlags |
| 2214 |
|
| 2215 |
2023-10-23 Steven Eker <eker@pup> |
| 2216 |
|
| 2217 |
* interpreter.cc (Interpreter::setCurrentModule): pass |
| 2218 |
clearCaches flag to loseFocus() |
| 2219 |
|
| 2220 |
* syntacticPreModule.hh (class SyntacticPreModule): updated |
| 2221 |
decl for loseFocus() |
| 2222 |
|
| 2223 |
* command.cc (SyntacticPreModule::loseFocus): take clearCaches |
| 2224 |
flag |
| 2225 |
|
| 2226 |
* interpreter.hh (class Interpreter): make AUTO_CLEAR_CACHES |
| 2227 |
true the default |
| 2228 |
|
| 2229 |
* lexer.ll: added KW_CACHES |
| 2230 |
|
| 2231 |
* top.yy: added token KW_CACHES |
| 2232 |
|
| 2233 |
* commands.yy: added set clear module caches on/off |
| 2234 |
|
| 2235 |
* interpreter.hh (class Interpreter): added AUTO_CLEAR_CACHES |
| 2236 |
to enum Flags |
| 2237 |
|
| 2238 |
* commands.yy: added kw_module; use it for show module |
| 2239 |
|
| 2240 |
2023-10-17 Steven Eker <eker@pup> |
| 2241 |
|
| 2242 |
* moduleExpression.cc (ImportModule::latexModuleExpression): |
| 2243 |
handle RENAMING case |
| 2244 |
|
| 2245 |
* latexImportModule.cc (ImportModule::latexModuleExpression): |
| 2246 |
don't include a \maudeSpace in the seperator |
| 2247 |
|
| 2248 |
* moduleExpression.cc (ModuleExpression::latexPrint): need a |
| 2249 |
recursive call for module instantiation |
| 2250 |
|
| 2251 |
* latexPreModulePrint.cc (SyntacticPreModule::latexShowModule): |
| 2252 |
pass flatModule to ModuleExpression::latexPrint() |
| 2253 |
|
| 2254 |
* moduleExpression.hh (class ModuleExpression): updated decl |
| 2255 |
for latexPrint() |
| 2256 |
|
| 2257 |
* moduleExpression.cc (ModuleExpression::latexPrint): take |
| 2258 |
and pass enclosingModule argument |
| 2259 |
|
| 2260 |
* viewExpression.hh (class ViewExpression): updated decl |
| 2261 |
for latexPrint() |
| 2262 |
|
| 2263 |
* viewExpression.cc (ViewExpression::latexPrint): implemented; |
| 2264 |
take Module* parameter |
| 2265 |
|
| 2266 |
2023-10-16 Steven Eker <eker@pup> |
| 2267 |
|
| 2268 |
* viewExpression.hh (class ViewExpression): added decl for |
| 2269 |
latexPrint() |
| 2270 |
|
| 2271 |
* viewExpression.cc (ViewExpression::latexPrint): added stub |
| 2272 |
|
| 2273 |
* moduleExpression.cc (ModuleExpression::latexPrint): |
| 2274 |
handle the INSTANTIATION case |
| 2275 |
|
| 2276 |
* latexPreModulePrint.cc (SyntacticPreModule::latexOpDef): |
| 2277 |
use \maudeConstantDecl |
| 2278 |
|
| 2279 |
* latexModulePrint.cc (VisibleModule::latexShowDecls): use |
| 2280 |
latexConstant() |
| 2281 |
(VisibleModule::latexShowPolymorphDecl): use latexConstant() |
| 2282 |
(VisibleModule::latexShowPolymorphAttributes): use |
| 2283 |
latexConstant(), latexPrettyOp(id) for op-hook ops |
| 2284 |
(VisibleModule::latexShowAttributes): use latexConstant(), |
| 2285 |
latexPrettyOp(id) for op-hook ops |
| 2286 |
(VisibleModule::latexShowDecls) |
| 2287 |
(VisibleModule::latexShowPolymorphDecl): don't output extra |
| 2288 |
\maudeSpace in : -> case |
| 2289 |
(VisibleModule::latexShowPolymorphDecl): use |
| 2290 |
\maudeConstantDecl |
| 2291 |
(VisibleModule::latexShowDecls): use \maudeConstantDecl |
| 2292 |
|
| 2293 |
* latexCommon.cc (MixfixModule::latexConstant): call |
| 2294 |
latexStructuredConstant() |
| 2295 |
(MixfixModule::latexConstant): call latexPrettyOp() |
| 2296 |
|
| 2297 |
* latexRenaming.cc (Renaming::latexRenaming): use |
| 2298 |
MixfixModule::latexPrettyOp() for from and to operator |
| 2299 |
names |
| 2300 |
|
| 2301 |
2023-10-13 Steven Eker <eker@pup> |
| 2302 |
|
| 2303 |
* syntacticPreModule.hh (class SyntacticPreModule): added |
| 2304 |
decl for latexStratDecl() |
| 2305 |
|
| 2306 |
* latexPreModulePrint.cc (SyntacticPreModule::latexStratDecl): |
| 2307 |
added |
| 2308 |
(SyntacticPreModule::latexShowModule): use latexStratDecl |
| 2309 |
|
| 2310 |
* latexModulePrint.cc |
| 2311 |
(VisibleModule::latexShowPolymorphAttributes): use |
| 2312 |
latexPrintFormat() |
| 2313 |
(VisibleModule::latexShowPolymorphAttributes): use |
| 2314 |
latexPrintGather(() |
| 2315 |
(VisibleModule::latexShowAttributes): use latexPrintFormat() |
| 2316 |
(VisibleModule::latexShowAttributes): use latexPrintGather() |
| 2317 |
|
| 2318 |
* latexPreModulePrint.cc (SyntacticPreModule::latexShowModule): |
| 2319 |
don't put \maudeSpace before \maudeHasSort |
| 2320 |
(SyntacticPreModule::latexOpDef): don't put \maudeSpace after |
| 2321 |
\maudeHasSort |
| 2322 |
|
| 2323 |
* latexToken.cc (Token::latexName): use \maudeTilde |
| 2324 |
|
| 2325 |
* latexPreModulePrint.cc (SyntacticPreModule::latexAttributes): |
| 2326 |
use latexPrintFormat() |
| 2327 |
(SyntacticPreModule::latexAttributes): handle special |
| 2328 |
|
| 2329 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 2330 |
latexPrintFormat() |
| 2331 |
|
| 2332 |
* latexCommon.cc (SyntacticPreModule::latexPrintFormat): added |
| 2333 |
|
| 2334 |
* latexPreModulePrint.cc (SyntacticPreModule::latexAttributes): |
| 2335 |
use latexPrintGather() |
| 2336 |
|
| 2337 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 2338 |
latexPrintGather() |
| 2339 |
|
| 2340 |
* latexCommon.cc (MixfixModule::latexPrintGather): added |
| 2341 |
|
| 2342 |
2023-10-12 Steven Eker <eker@pup> |
| 2343 |
|
| 2344 |
* latexPreModulePrint.cc (SyntacticPreModule::latexShowModule): |
| 2345 |
partial support for ops/msgs/vars |
| 2346 |
|
| 2347 |
* syntacticPreModule.hh (class SyntacticPreModule): added |
| 2348 |
decl for latexAttributes() |
| 2349 |
|
| 2350 |
* latexPreModulePrint.cc (SyntacticPreModule::latexAttributes): |
| 2351 |
added |
| 2352 |
|
| 2353 |
* latexModulePrint.cc |
| 2354 |
(VisibleModule::latexShowPolymorphAttributes): fix bug where |
| 2355 |
ctor wasn't being correctly printed |
| 2356 |
|
| 2357 |
* syntacticPreModule.hh (class SyntacticPreModule): added |
| 2358 |
decl for latexOpDef() |
| 2359 |
|
| 2360 |
* latexPreModulePrint.cc (SyntacticPreModule::latexOpDef): |
| 2361 |
added |
| 2362 |
|
| 2363 |
* command.cc (SyntacticPreModule::showModule): parens around |
| 2364 |
& expression to make meaning clearer |
| 2365 |
|
| 2366 |
2023-10-11 Steven Eker <eker@pup> |
| 2367 |
|
| 2368 |
* latexModulePrint.cc |
| 2369 |
(VisibleModule::latexShowPolymorphAttributes): treat identity |
| 2370 |
range kind as known |
| 2371 |
(VisibleModule::latexShowAttributes): treat identity range |
| 2372 |
kind as known |
| 2373 |
|
| 2374 |
* visibleModule.cc (VisibleModule::showPolymorphAttributes): |
| 2375 |
treat identity range kind as known |
| 2376 |
(VisibleModule::showAttributes): treat identity range kind as |
| 2377 |
known |
| 2378 |
|
| 2379 |
* latexPreModulePrint.cc (SyntacticPreModule::latexTokenVector): |
| 2380 |
fix bug where we were checking for rightBracket and rightBrace |
| 2381 |
rather than leftBracket and leftBrace |
| 2382 |
|
| 2383 |
* command.cc (SyntacticPreModule::showModule): use subclass |
| 2384 |
or subclasses depending on the number of subclass relations |
| 2385 |
|
| 2386 |
* latexPreModulePrint.cc (SyntacticPreModule::latexShowModule): |
| 2387 |
use range-based for loop for class attributes |
| 2388 |
(SyntacticPreModule::latexType): handle kinds |
| 2389 |
(SyntacticPreModule::latexShowModule): handle subclasses |
| 2390 |
|
| 2391 |
2023-10-10 Steven Eker <eker@pup> |
| 2392 |
|
| 2393 |
* latexPreModulePrint.cc (SyntacticPreModule::latexShowModule): |
| 2394 |
handle subsorts and class declarations |
| 2395 |
|
| 2396 |
* syntacticPreModule.hh (class SyntacticPreModule): added |
| 2397 |
decl for latexType() |
| 2398 |
|
| 2399 |
* latexPreModulePrint.cc (SyntacticPreModule::latexType): added |
| 2400 |
|
| 2401 |
* command.cc (SyntacticPreModule::showModule): use pluralize() |
| 2402 |
for subsorts; use range-base for loop for sorts, subsorts |
| 2403 |
|
| 2404 |
* syntacticPreModule.hh (class SyntacticPreModule): deleted |
| 2405 |
decl for latexStatementTokenVector() |
| 2406 |
|
| 2407 |
* latexPreModulePrint.cc |
| 2408 |
(SyntacticPreModule::latexStatementTokenVector): deleted |
| 2409 |
|
| 2410 |
* syntacticPreModule.hh (class SyntacticPreModule): added |
| 2411 |
decl for latexTokenVector() |
| 2412 |
|
| 2413 |
* latexPreModulePrint.cc (Token::latexTokenVector): added |
| 2414 |
(SyntacticPreModule::latexShowModule): use latexTokenVector() |
| 2415 |
|
| 2416 |
2023-10-09 Steven Eker <eker@pup> |
| 2417 |
|
| 2418 |
* latexPreModulePrint.cc (SyntacticPreModule::latexShowModule): |
| 2419 |
first attempt at imports, sort declarations, statements |
| 2420 |
|
| 2421 |
* syntacticPreModule.hh (class SyntacticPreModule): added |
| 2422 |
decl for latexStatementTokenVector() |
| 2423 |
|
| 2424 |
* latexPreModulePrint.cc |
| 2425 |
(SyntacticPreModule::latexStatementTokenVector): added |
| 2426 |
|
| 2427 |
* command.cc (SyntacticPreModule::showModule): use pluralize() |
| 2428 |
for sorts |
| 2429 |
|
| 2430 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl |
| 2431 |
for latexSortTokenVector() |
| 2432 |
|
| 2433 |
* latexPreModulePrint.cc (SyntacticPreModule::latexSortTokenVector): |
| 2434 |
added |
| 2435 |
|
| 2436 |
* moduleExpression.cc (ModuleExpression::latexPrint): |
| 2437 |
added summation case |
| 2438 |
|
| 2439 |
2023-10-06 Steven Eker <eker@pup> |
| 2440 |
|
| 2441 |
* moduleExpression.hh (class ModuleExpression): added decl |
| 2442 |
for latexPrint() |
| 2443 |
|
| 2444 |
* moduleExpression.cc (ModuleExpression::latexPrint): added |
| 2445 |
|
| 2446 |
* syntacticPreModule.hh (class SyntacticPreModule): added |
| 2447 |
decl for latexShowModule() |
| 2448 |
|
| 2449 |
* latexPreModulePrint.cc: created |
| 2450 |
|
| 2451 |
* interpreter.cc (Interpreter::showPreModule): call |
| 2452 |
SyntacticPreModule::latexShowModule() |
| 2453 |
|
| 2454 |
* visibleModule.hh (VisibleModule::latexPrintModuleName): |
| 2455 |
deleted |
| 2456 |
|
| 2457 |
* latexModulePrint.cc (VisibleModule::latexShowModule): don't |
| 2458 |
call latexPrintModuleName() |
| 2459 |
|
| 2460 |
* syntacticPreModule.hh (class SyntacticPreModule): remove |
| 2461 |
default argument for showModule() |
| 2462 |
|
| 2463 |
* commands.yy (command): use interpreter.showPreModule() |
| 2464 |
for show module |
| 2465 |
|
| 2466 |
* interpreter.hh (class Interpreter): added decl for |
| 2467 |
showPreModule() |
| 2468 |
|
| 2469 |
* interpreter.cc (Interpreter::showPreModule): added |
| 2470 |
|
| 2471 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): updated decls |
| 2472 |
for generateModuleName() and generateShow() |
| 2473 |
|
| 2474 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateModuleName): |
| 2475 |
take NamedEntity* rather than Module* so it works for |
| 2476 |
PreModules |
| 2477 |
|
| 2478 |
* latexCommand.cc (MaudeLatexBuffer::generateShow): take |
| 2479 |
NamedEntity* rather than Module* so it works for PreModules |
| 2480 |
|
| 2481 |
* commands.yy: added comments to explain why print |
| 2482 |
attribute and print attribute new line are not |
| 2483 |
handled by printOption |
| 2484 |
|
| 2485 |
2023-10-05 Steven Eker <eker@pup> |
| 2486 |
|
| 2487 |
* commands.yy (printOption): added label attribute |
| 2488 |
|
| 2489 |
* latexModulePrint.cc (VisibleModule::latexPrintMembershipAxiom): |
| 2490 |
handle prefix labels |
| 2491 |
(VisibleModule::latexPrintEquation): ditto |
| 2492 |
(VisibleModule::latexPrintRule): ditto |
| 2493 |
|
| 2494 |
* prettyPrint.cc (MixfixModule::printAttributes): handle |
| 2495 |
PRINT_LABEL_ATTRIBUTE |
| 2496 |
(operator<<): SortConstraint* version: support prefix |
| 2497 |
labels |
| 2498 |
(operator<<): Equation* version: ditto |
| 2499 |
(operator<<): Rule* version: ditto |
| 2500 |
|
| 2501 |
* interpreter.hh (class Interpreter): added |
| 2502 |
PRINT_LABEL_ATTRIBUTE to PrintFlags |
| 2503 |
|
| 2504 |
2023-10-04 Steven Eker <eker@pup> |
| 2505 |
|
| 2506 |
* latexDagNodePrint.cc (MixfixModule::latexHandleIter): |
| 2507 |
use \maudeIter command |
| 2508 |
|
| 2509 |
* latexTermPrint.cc (MixfixModule::latexHandleIter): use |
| 2510 |
\maudeIter command |
| 2511 |
|
| 2512 |
* prettyPrint.cc (operator<<): ConditionFragment* version - |
| 2513 |
be smart about sort disambiguation |
| 2514 |
(operator<<): SortConstraint* version doesn't need sort |
| 2515 |
disambiguation for term part |
| 2516 |
(operator<<): Equation* version use |
| 2517 |
MixfixModule::prettyPrint() for the rhs |
| 2518 |
(operator<<): Rule* version ditto |
| 2519 |
|
| 2520 |
* mixfixModule.hh (class MixfixModule): Term* version of |
| 2521 |
operator<<() is no longer a friend |
| 2522 |
|
| 2523 |
* prettyPrint.cc (operator<<): reimplement Term* version |
| 2524 |
using 3 arg Term* prettyPrint() |
| 2525 |
|
| 2526 |
* mixfixModule.hh (class MixfixModule): added decl for 3 arg |
| 2527 |
Term* prettyPrint() |
| 2528 |
|
| 2529 |
* prettyPrint.cc (MixfixModule::prettyPrint): added |
| 2530 |
|
| 2531 |
* latexModulePrint.cc (VisibleModule::latexPrintEquation): |
| 2532 |
pass rangeKnown = true to latexPrettyPrint() for rhs |
| 2533 |
(VisibleModule::latexPrintRule): symmetric change |
| 2534 |
(VisibleModule::latexPrintMembershipAxiom): pass rangeKnown |
| 2535 |
= true to latexPrettyPrint() for lhs |
| 2536 |
(VisibleModule::latexPrintConditionFragment): pass rangeKnown |
| 2537 |
= true to latexPrettyPrint() (4 places) |
| 2538 |
|
| 2539 |
* mixfixModule.hh (class MixfixModule): updated |
| 2540 |
decl for Term* version of latexPrettyPrint() |
| 2541 |
|
| 2542 |
* latexTermPrint.cc (MixfixModule::latexPrettyPrint): |
| 2543 |
take and pass rangeKnown flag |
| 2544 |
|
| 2545 |
===================================Maude153=========================================== |
| 2546 |
|
| 2547 |
2023-09-26 Steven Eker <eker@pup> |
| 2548 |
|
| 2549 |
* interpreter.cc (Interpreter::parse): support latex |
| 2550 |
|
| 2551 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added |
| 2552 |
decl for Term* version of generateResult() |
| 2553 |
|
| 2554 |
* latexResult.cc (MaudeLatexBuffer::generateResult): |
| 2555 |
added Term* version |
| 2556 |
|
| 2557 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added |
| 2558 |
decl for Term* version of generateCommand() |
| 2559 |
|
| 2560 |
* latexCommand.cc (MaudeLatexBuffer::generateCommand): |
| 2561 |
added Term* version |
| 2562 |
|
| 2563 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added |
| 2564 |
decl for generateVariant() |
| 2565 |
|
| 2566 |
* getVariants.cc (Interpreter::doGetVariants): support |
| 2567 |
latex |
| 2568 |
(Interpreter::getVariantsCont): support latex |
| 2569 |
|
| 2570 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateVariant): |
| 2571 |
added |
| 2572 |
|
| 2573 |
* getVariants.cc (Interpreter::getVariants): use latex |
| 2574 |
supporting pirntStats() |
| 2575 |
|
| 2576 |
2023-09-25 Steven Eker <eker@pup> |
| 2577 |
|
| 2578 |
* getVariants.cc (Interpreter::doGetVariants): call |
| 2579 |
cleanUp() |
| 2580 |
|
| 2581 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added |
| 2582 |
decl for generateGetVariants() |
| 2583 |
|
| 2584 |
* getVariants.cc (Interpreter::getVariants): call |
| 2585 |
generateGetVaraints() |
| 2586 |
|
| 2587 |
* latexCommand.cc (MaudeLatexBuffer::generateGetVariants): |
| 2588 |
added |
| 2589 |
|
| 2590 |
2023-09-22 Steven Eker <eker@pup> |
| 2591 |
|
| 2592 |
* renaming.cc (Renaming::renameOp): DebugAlways() -> |
| 2593 |
DebugInfo() |
| 2594 |
|
| 2595 |
2023-09-21 Steven Eker <eker@pup> |
| 2596 |
|
| 2597 |
* srewrite.cc (Interpreter::sRewrite): fix bug where we |
| 2598 |
were passing depthSearch as number2 argument to |
| 2599 |
generateCommand() |
| 2600 |
|
| 2601 |
* latexStrategyPrint.cc (VisibleModule::latexPrintStrategy): |
| 2602 |
fix bug where one was printed with extra ( |
| 2603 |
|
| 2604 |
2023-09-19 Steven Eker <eker@pup> |
| 2605 |
|
| 2606 |
* interpreter.hh (class Interpreter): updated decl for |
| 2607 |
doVariantMatching() |
| 2608 |
|
| 2609 |
* variantMatch.cc (Interpreter::variantMatch): call |
| 2610 |
generateVariantMatch() |
| 2611 |
(Interpreter::variantMatch): use new printStats() function |
| 2612 |
(Interpreter::doVariantMatching): support latex |
| 2613 |
(Interpreter::doVariantMatching): don't take timer argument |
| 2614 |
(Interpreter::variantMatchCont): support latex; don't pass |
| 2615 |
timer argument to doVariantMatching() |
| 2616 |
(Interpreter::variantMatch): don't pass timer argument to |
| 2617 |
doVariantMatching() |
| 2618 |
|
| 2619 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl |
| 2620 |
for generateVariantMatch() |
| 2621 |
|
| 2622 |
* latexCommand.cc (MaudeLatexBuffer::generateVariantMatch): |
| 2623 |
added |
| 2624 |
|
| 2625 |
* interpreter.hh (class Interpreter): deleted decl for |
| 2626 |
printSearchTiming() |
| 2627 |
|
| 2628 |
* search.cc (Interpreter::doSearching): use printStats() |
| 2629 |
rather than printSearchTiming() (2 places) |
| 2630 |
(Interpreter::printSearchTiming): deleted |
| 2631 |
|
| 2632 |
* srewrite.cc (Interpreter::doStrategicSearch): code |
| 2633 |
cleaning; fix bug where we were using old showStats() which |
| 2634 |
read the timer a second time |
| 2635 |
|
| 2636 |
* latexCommand.cc (MaudeLatexBuffer::generateContinue): handle |
| 2637 |
debug flag |
| 2638 |
|
| 2639 |
* unify.cc (Interpreter::unifyCont): support latex |
| 2640 |
|
| 2641 |
* match.cc (Interpreter::matchCont): support latex |
| 2642 |
|
| 2643 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added |
| 2644 |
default debug = false to decl for generateContinue() |
| 2645 |
|
| 2646 |
* variantUnify.cc (Interpreter::variantUnifyCont): support |
| 2647 |
latex |
| 2648 |
|
| 2649 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateAdvisory): use |
| 2650 |
\textcolor rather than \color |
| 2651 |
(MaudeLatexBuffer::generateWarning): use\textcolor rather than |
| 2652 |
\color |
| 2653 |
|
| 2654 |
* latexResult.cc (MaudeLatexBuffer::generateNonResult): |
| 2655 |
check if we need a new line a clear needNewLine |
| 2656 |
|
| 2657 |
* variantUnify.cc (Interpreter::variantUnify): use new |
| 2658 |
printStats() |
| 2659 |
(Interpreter::doVariantUnification): rearrange and use new |
| 2660 |
printStats() (2 places) |
| 2661 |
|
| 2662 |
* interpreter.hh (class Interpreter): added decl for new |
| 2663 |
printStats(); removed default timingFlag value for old |
| 2664 |
decl |
| 2665 |
|
| 2666 |
* execute.cc (Interpreter::printStats): added version |
| 2667 |
with latex support |
| 2668 |
|
| 2669 |
2023-09-18 Steven Eker <eker@pup> |
| 2670 |
|
| 2671 |
* variantUnify.cc (Interpreter::doVariantUnification): |
| 2672 |
call generateWarning() and generateAdvisory() |
| 2673 |
|
| 2674 |
* unify.cc (Interpreter::doUnification): call |
| 2675 |
generateWarning() |
| 2676 |
|
| 2677 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl |
| 2678 |
for generateAdvisory() |
| 2679 |
|
| 2680 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateAdvisory): |
| 2681 |
added |
| 2682 |
|
| 2683 |
* variantUnify.cc (Interpreter::doVariantUnification): call |
| 2684 |
generateResult() and generateSubstitution() |
| 2685 |
|
| 2686 |
* latexCommand.cc (MaudeLatexBuffer::generateUnify): use |
| 2687 |
generateModifiers() |
| 2688 |
(MaudeLatexBuffer::generateMatch): use generateModifiers() |
| 2689 |
(MaudeLatexBuffer::generateCommand): use generateModifiers() |
| 2690 |
(MaudeLatexBuffer::generateSearch): use generateModifiers() |
| 2691 |
|
| 2692 |
* variantUnify.cc (Interpreter::doVariantUnification): call |
| 2693 |
cleanUp() |
| 2694 |
|
| 2695 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added |
| 2696 |
decl for generateVariantUnify() |
| 2697 |
|
| 2698 |
* latexCommand.cc (MaudeLatexBuffer::generateVariantUnify): |
| 2699 |
added |
| 2700 |
|
| 2701 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added |
| 2702 |
decl for generateModifiers() |
| 2703 |
|
| 2704 |
* latexCommand.cc (MaudeLatexBuffer::generateUnify) |
| 2705 |
(MaudeLatexBuffer::generateMatch): call |
| 2706 |
Tty::unblockEscapeSequences() after printing comment |
| 2707 |
(MaudeLatexBuffer::generateModifiers): added |
| 2708 |
|
| 2709 |
2023-09-15 Steven Eker <eker@pup> |
| 2710 |
|
| 2711 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl |
| 2712 |
for generic generateResult() |
| 2713 |
|
| 2714 |
* unify.cc (Interpreter::doUnification): call |
| 2715 |
generateResult(), generateSubstitution(), |
| 2716 |
generateNonResult() |
| 2717 |
|
| 2718 |
* latexResult.cc (MaudeLatexBuffer::generateNonResult): |
| 2719 |
added generic version |
| 2720 |
|
| 2721 |
* unify.cc (Interpreter::doUnification): call cleanUp() |
| 2722 |
|
| 2723 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl |
| 2724 |
for generateUnify() |
| 2725 |
|
| 2726 |
* latexCommand.cc (MaudeLatexBuffer::generateUnify): added |
| 2727 |
|
| 2728 |
* match.cc (Interpreter::doMatching): call |
| 2729 |
generateMatchResult() |
| 2730 |
(Interpreter::doMatching): call generateSubstitution() |
| 2731 |
|
| 2732 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl |
| 2733 |
for generateMatchResult() |
| 2734 |
|
| 2735 |
* latexResult.cc (MaudeLatexBuffer::generateDecisionTime): |
| 2736 |
fix missing closing paren |
| 2737 |
(MaudeLatexBuffer::generateMatchResult): added |
| 2738 |
|
| 2739 |
2023-09-14 Steven Eker <eker@pup> |
| 2740 |
|
| 2741 |
* match.cc (Interpreter::printDecisionTime): call |
| 2742 |
generateDecisionTime() |
| 2743 |
(Interpreter::doMatching): call generateNonResult() |
| 2744 |
|
| 2745 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decls |
| 2746 |
for generateDecisionTime(),generateNonResult() (message only |
| 2747 |
version) |
| 2748 |
|
| 2749 |
* latexResult.cc (MaudeLatexBuffer::generateDecisionTime): |
| 2750 |
added |
| 2751 |
(MaudeLatexBuffer::generateNonResult): added message only |
| 2752 |
version |
| 2753 |
|
| 2754 |
* match.cc (Interpreter::match): call generateMatch() |
| 2755 |
(Interpreter::doMatching): call cleanUp() |
| 2756 |
|
| 2757 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl |
| 2758 |
for generateMatch() |
| 2759 |
|
| 2760 |
* latexCommand.cc (MaudeLatexBuffer::generateMatch): added |
| 2761 |
|
| 2762 |
* viewDatabase.cc (ViewDatabase::latexShowNamedViews): use |
| 2763 |
latexViewExpression() |
| 2764 |
|
| 2765 |
* viewCache.cc (ViewCache::latexShowCreatedViews): use |
| 2766 |
latexViewExpression() |
| 2767 |
|
| 2768 |
* latexImportModule.cc (ImportModule::latexModuleExpression): |
| 2769 |
use latexViewExpression() |
| 2770 |
|
| 2771 |
* view.cc (View::latexViewExpression): added |
| 2772 |
|
| 2773 |
* view.hh (class View): added decl for latexViewExpression() |
| 2774 |
|
| 2775 |
2023-09-13 Steven Eker <eker@pup> |
| 2776 |
|
| 2777 |
* interpreter.cc (Interpreter::showViews): support latex |
| 2778 |
|
| 2779 |
* viewCache.cc (ViewCache::latexShowCreatedViews): added |
| 2780 |
|
| 2781 |
* viewCache.hh (class ViewCache): added decl for |
| 2782 |
latexShowCreatedViews() |
| 2783 |
|
| 2784 |
* interpreter.cc (Interpreter::showModules): call cleanUp() |
| 2785 |
|
| 2786 |
* viewDatabase.cc (ViewDatabase::latexShowNamedViews): added |
| 2787 |
|
| 2788 |
* viewDatabase.hh (class ViewDatabase): added decl for |
| 2789 |
latexShowNamedViews() |
| 2790 |
|
| 2791 |
* moduleCache.cc (ModuleCache::latexShowCreatedModules): pass |
| 2792 |
parameterBrackets = true to latexModuleExpression() |
| 2793 |
|
| 2794 |
* importModule.hh (class ImportModule): updated decl for |
| 2795 |
latexModuleExpression() |
| 2796 |
|
| 2797 |
* latexImportModule.cc (ImportModule::latexModuleExpression): |
| 2798 |
handle PARAMETER case for show modules |
| 2799 |
(ImportModule::latexModuleExpression): handle parameterBrackets |
| 2800 |
argument |
| 2801 |
|
| 2802 |
* importModule.cc (ImportModule::ImportModule): init |
| 2803 |
parameterCopyParameterName (both versions) |
| 2804 |
|
| 2805 |
* parameterization.cc (ImportModule::makeParameterCopy): set |
| 2806 |
parameterCopyParameterName |
| 2807 |
|
| 2808 |
* importModule.hh (class ImportModule): added data member |
| 2809 |
parameterCopyParameterName |
| 2810 |
|
| 2811 |
* moduleCache.cc (ModuleCache::latexShowCreatedModules): use |
| 2812 |
latexModuleExpression() |
| 2813 |
|
| 2814 |
* interpreter.cc (Interpreter::showModules): support latex |
| 2815 |
|
| 2816 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 2817 |
command only version of generateShow() |
| 2818 |
|
| 2819 |
* latexCommand.cc (MaudeLatexBuffer::generateShow): added command |
| 2820 |
only version |
| 2821 |
|
| 2822 |
* moduleCache.cc (ModuleCache::latexShowCreatedModules): added |
| 2823 |
|
| 2824 |
* moduleCache.hh (class ModuleCache): added decl for |
| 2825 |
latexShowCreatedModules() |
| 2826 |
|
| 2827 |
2023-09-12 Steven Eker <eker@pup> |
| 2828 |
|
| 2829 |
* moduleDatabase.cc (ModuleDatabase::latexShowNamedModules): |
| 2830 |
added |
| 2831 |
|
| 2832 |
* moduleDatabase.hh (class ModuleDatabase): added decl for |
| 2833 |
latexShowNamedModules() |
| 2834 |
|
| 2835 |
* latexModulePrint.cc (latexShowSortsAndSubsorts): disable |
| 2836 |
hangindent to avoid confusing tabto package and revert to |
| 2837 |
using \tab |
| 2838 |
|
| 2839 |
2023-09-11 Steven Eker <eker@pup> |
| 2840 |
|
| 2841 |
* latexModulePrint.cc (latexShowSortsAndSubsorts): try |
| 2842 |
using tabbing rather than longtable for end of line wrapping |
| 2843 |
(latexShowSortsAndSubsorts): tabbing does not wrap nicely; |
| 2844 |
try maudeShowParagraph instead |
| 2845 |
(latexShowSortsAndSubsorts): try \tab from the tabto package |
| 2846 |
(latexShowSortsAndSubsorts): use \TabPositions |
| 2847 |
|
| 2848 |
===================================Maude152=========================================== |
| 2849 |
|
| 2850 |
2023-08-11 Steven Eker <eker@pup> |
| 2851 |
|
| 2852 |
* interpreter.cc (Interpreter::showSummary): added latex |
| 2853 |
support |
| 2854 |
|
| 2855 |
* latexModulePrint.cc |
| 2856 |
(VisibleModule::latexShowSortsAndSubsorts): use longtable |
| 2857 |
rather than tabular |
| 2858 |
(VisibleModule::latexShowKinds): use \maudeBigIndent |
| 2859 |
(VisibleModule::latexShowSummary): added |
| 2860 |
|
| 2861 |
* interpreter.cc (Interpreter::showKinds): added latex |
| 2862 |
support |
| 2863 |
|
| 2864 |
* visibleModule.hh (class VisibleModule): added decl for |
| 2865 |
latexShowKinds() |
| 2866 |
|
| 2867 |
* latexModulePrint.cc (VisibleModule::latexShowKinds): |
| 2868 |
added |
| 2869 |
|
| 2870 |
* interpreter.cc (Interpreter::showStrats): added latex |
| 2871 |
support |
| 2872 |
(Interpreter::showSds): added latex support |
| 2873 |
(Interpreter::showOps): added latex support |
| 2874 |
|
| 2875 |
* latexCommand.cc (MaudeLatexBuffer::generateCommand): set |
| 2876 |
needNewline |
| 2877 |
|
| 2878 |
2023-08-10 Steven Eker <eker@pup> |
| 2879 |
|
| 2880 |
* interpreter.cc (Interpreter::showVars): support latex |
| 2881 |
|
| 2882 |
* visibleModule.hh (class VisibleModule): updated decl for |
| 2883 |
latexShowVars() and made it public |
| 2884 |
|
| 2885 |
* latexModulePrint.cc (VisibleModule::latexShowVars): take |
| 2886 |
indent arg |
| 2887 |
(VisibleModule::latexShowModule): pass indent arg to |
| 2888 |
latexShowVars() |
| 2889 |
|
| 2890 |
* interpreter.cc (showProcessedView): reimplemented using |
| 2891 |
generateShow() |
| 2892 |
|
| 2893 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl |
| 2894 |
for View* version of generateShow() |
| 2895 |
|
| 2896 |
* latexCommand.cc (MaudeLatexBuffer::generateSearch): don't |
| 2897 |
output \par at the start of command |
| 2898 |
(MaudeLatexBuffer::generateCommand): don't output \par at |
| 2899 |
the start of command |
| 2900 |
(MaudeLatexBuffer::generateContinue): don't output \par at |
| 2901 |
the start of command |
| 2902 |
(MaudeLatexBuffer::generateShow): added View* version |
| 2903 |
|
| 2904 |
* interpreter.cc (Interpreter::showModule): reimplemented |
| 2905 |
using generateShow() |
| 2906 |
(Interpreter::showSortsAndSubsorts): reimplemented using |
| 2907 |
generateShow() |
| 2908 |
(Interpreter::showMbs): ditto |
| 2909 |
(Interpreter::showEqs): ditto |
| 2910 |
(Interpreter::showRls): ditto |
| 2911 |
|
| 2912 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 2913 |
generateShow() |
| 2914 |
|
| 2915 |
* latexCommand.cc (MaudeLatexBuffer::generateShow): added |
| 2916 |
|
| 2917 |
* narrowing.cc (Interpreter::narrowingCont): pass showFlag arg |
| 2918 |
to generateContinue() |
| 2919 |
(Interpreter::vuNarrowingCont): ditto |
| 2920 |
|
| 2921 |
* search.cc (Interpreter::searchCont): pass showFlag arg |
| 2922 |
to generateContinue() |
| 2923 |
|
| 2924 |
* srewrite.cc (Interpreter::sRewriteCont): pass showFlag arg |
| 2925 |
to generateContinue() |
| 2926 |
(Interpreter::dsRewriteCont): ditto |
| 2927 |
|
| 2928 |
* erewrite.cc (Interpreter::eRewriteCont): pass showFlag arg |
| 2929 |
to generateContinue() |
| 2930 |
|
| 2931 |
* execute.cc (Interpreter::rewriteCont): pass showFlag arg |
| 2932 |
to generateContinue() |
| 2933 |
(Interpreter::fRewriteCont): ditto |
| 2934 |
|
| 2935 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): updated decl |
| 2936 |
for generateContinue() |
| 2937 |
|
| 2938 |
* latexCommand.cc (MaudeLatexBuffer::generateContinue): take |
| 2939 |
showCommand argument; set needNewline |
| 2940 |
|
| 2941 |
* latexResult.cc (MaudeLatexBuffer::generateNonResult): use |
| 2942 |
needNewline to decide whether to output a \newline |
| 2943 |
|
| 2944 |
* latexCommand.cc (MaudeLatexBuffer::generateSearch): don't |
| 2945 |
output \newline |
| 2946 |
|
| 2947 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateSolutionNr): |
| 2948 |
only output \newline if needNewline |
| 2949 |
|
| 2950 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added data |
| 2951 |
member need newline |
| 2952 |
|
| 2953 |
* maudeLatexBuffer.cc: init needNewline |
| 2954 |
|
| 2955 |
* latexCommand.cc (MaudeLatexBuffer::generateSearch): set |
| 2956 |
needNewline |
| 2957 |
|
| 2958 |
* latexResult.cc (MaudeLatexBuffer::generateSearchNonResult): |
| 2959 |
use needNewline flag to decide whether to start a newline |
| 2960 |
(MaudeLatexBuffer::generateSearchResult): ditto |
| 2961 |
|
| 2962 |
* latexCommand.cc (MaudeLatexBuffer::generateSearch): print |
| 2963 |
\newline after command |
| 2964 |
|
| 2965 |
* latexResult.cc (MaudeLatexBuffer::generateSearchResult): put |
| 2966 |
\newline after rather than before solution |
| 2967 |
(MaudeLatexBuffer::generateSearchNonResult): don't print |
| 2968 |
\newline |
| 2969 |
|
| 2970 |
* latexCommand.cc (MaudeLatexBuffer::generateSearch): handle |
| 2971 |
showCommand flag |
| 2972 |
|
| 2973 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): updated decl |
| 2974 |
for generateSearch() |
| 2975 |
|
| 2976 |
* search.cc (Interpreter::search): pass showCommand flag to |
| 2977 |
generateSearch() |
| 2978 |
|
| 2979 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): deleted decls |
| 2980 |
for generateReduce(), generateRewrite(), generateFrewrite(), |
| 2981 |
generateErewrite(), generateSrewrite() |
| 2982 |
|
| 2983 |
* latexCommand.cc (MaudeLatexBuffer::generateReduce) |
| 2984 |
(MaudeLatexBuffer::generateRewrite) |
| 2985 |
(MaudeLatexBuffer::generateFrewrite) |
| 2986 |
(MaudeLatexBuffer::generateErewrite) |
| 2987 |
(MaudeLatexBuffer::generateSrewrite): deleted |
| 2988 |
|
| 2989 |
* srewrite.cc (Interpreter::sRewrite): use generateCommand() |
| 2990 |
rather than generateSrewrite() |
| 2991 |
|
| 2992 |
* erewrite.cc (Interpreter::eRewrite): use generateCommand() |
| 2993 |
rather than generateErewrite() |
| 2994 |
|
| 2995 |
* execute.cc (Interpreter::reduce): use generateCommand() |
| 2996 |
rather than generateReduce() |
| 2997 |
(Interpreter::rewrite): use generateCommand() |
| 2998 |
rather than generateRewrite() |
| 2999 |
(Interpreter::fRewrite): use generateCommand() |
| 3000 |
rather than generateFrewrite() |
| 3001 |
|
| 3002 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): update decl |
| 3003 |
for generateCommand() and made it public |
| 3004 |
|
| 3005 |
* latexCommand.cc (MaudeLatexBuffer::generateCommand): take |
| 3006 |
showCommand argument |
| 3007 |
|
| 3008 |
2023-08-09 Steven Eker <eker@pup> |
| 3009 |
|
| 3010 |
* search.cc (Interpreter::showSearchGraph): use |
| 3011 |
generateSearchGraph() |
| 3012 |
|
| 3013 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 3014 |
generateSearchGraph() |
| 3015 |
|
| 3016 |
* latexResult.cc (MaudeLatexBuffer::generateSearchGraph): added |
| 3017 |
|
| 3018 |
* search.cc (Interpreter::showSearchPathLabels): use |
| 3019 |
generateSearchPathLabels() |
| 3020 |
|
| 3021 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl |
| 3022 |
for generateSearchPathLabels() |
| 3023 |
|
| 3024 |
* latexResult.cc (MaudeLatexBuffer::generateSearchPath): use |
| 3025 |
\maudeEndCommand |
| 3026 |
(MaudeLatexBuffer::generateSearchPathLabels): added |
| 3027 |
|
| 3028 |
2023-08-08 Steven Eker <eker@pup> |
| 3029 |
|
| 3030 |
* latexModulePrint.cc (VisibleModule::latexPrintRule): don't |
| 3031 |
enclose rule in $s if indent is null |
| 3032 |
|
| 3033 |
* search.cc (Interpreter::showSearchPath): use |
| 3034 |
generateSearchPath() |
| 3035 |
|
| 3036 |
* latexResult.cc (MaudeLatexBuffer::generateSearchPath): added |
| 3037 |
|
| 3038 |
* visibleModule.hh (class VisibleModule): updated decls for |
| 3039 |
latexPrintMembershipAxiom(), latexShowMbs(), latexPrintEquation(), |
| 3040 |
latexPrintRule(), latexShowRls() |
| 3041 |
|
| 3042 |
* latexModulePrint.cc (VisibleModule::latexPrintMembershipAxiom): |
| 3043 |
made const |
| 3044 |
(VisibleModule::latexShowMbs): made const |
| 3045 |
(VisibleModule::latexPrintEquation): made const |
| 3046 |
(VisibleModule::latexShowEqs): made const |
| 3047 |
(VisibleModule::latexPrintRule): made const |
| 3048 |
(VisibleModule::latexShowRls): made const |
| 3049 |
|
| 3050 |
* visibleModule.hh (class VisibleModule): made latexPrintRule() |
| 3051 |
public |
| 3052 |
(class VisibleModule): made latexPrintAttributes() static |
| 3053 |
|
| 3054 |
* latexModulePrint.cc (VisibleModule::latexPrintRule): only |
| 3055 |
start a new line if indent is non-null |
| 3056 |
|
| 3057 |
* commutativeDecomposeEqualitySymbol.cc |
| 3058 |
(CommutativeDecomposeEqualitySymbol::eqRewrite): check that both |
| 3059 |
symbols are non-special before returning notEqual |
| 3060 |
|
| 3061 |
* specialSymbolTypes.cc: deleted DecomposeEqualitySymbol |
| 3062 |
|
| 3063 |
* fancySymbols.cc (MixfixModule::newFancySymbol): deleted |
| 3064 |
DecomposeEqualitySymbol |
| 3065 |
|
| 3066 |
* mixfix.hh: deleted class DecomposeEqualitySymbol |
| 3067 |
|
| 3068 |
* decomposeEqualitySymbol.cc: deleted |
| 3069 |
|
| 3070 |
* decomposeEqualitySymbol.hh: deleted |
| 3071 |
|
| 3072 |
* commutativeDecomposeEqualitySymbol.cc |
| 3073 |
(CommutativeDecomposeEqualitySymbol::hasImmediateSubterm): fix |
| 3074 |
bugs where we were comparing pointers rather than using equal(); |
| 3075 |
handle iter theory |
| 3076 |
|
| 3077 |
* commutativeDecomposeEqualitySymbol.hh |
| 3078 |
(class CommutativeDecomposeEqualitySymbol): update decl for |
| 3079 |
decomose() |
| 3080 |
|
| 3081 |
* commutativeDecomposeEqualitySymbol.cc |
| 3082 |
(CommutativeDecomposeEqualitySymbol::decompose): handle iter |
| 3083 |
theory; remove const because we need to place our own symbol |
| 3084 |
in the new dag node |
| 3085 |
|
| 3086 |
2023-08-07 Steven Eker <eker@pup> |
| 3087 |
|
| 3088 |
* decomposeEqualitySymbol.cc |
| 3089 |
(DecomposeEqualitySymbol::decompose): only handle commutative |
| 3090 |
case if disjunctionSymbol is defined |
| 3091 |
|
| 3092 |
* commutativeDecomposeEqualitySymbol.cc |
| 3093 |
(CommutativeDecomposeEqualitySymbol::decompose): only handle |
| 3094 |
commutative case if disjunctionSymbol is defined |
| 3095 |
|
| 3096 |
* decomposeEqualitySymbol.hh (class DecomposeEqualitySymbol): |
| 3097 |
updated decl for decompose(); made hasImmediateSubterm() const |
| 3098 |
|
| 3099 |
* decomposeEqualitySymbol.cc (DecomposeEqualitySymbol::decompose): |
| 3100 |
handle commutative case, made const |
| 3101 |
|
| 3102 |
* commutativeDecomposeEqualitySymbol.hh |
| 3103 |
(class CommutativeDecomposeEqualitySymbol): updated decl for |
| 3104 |
decompose(); made hasImmediateSubterm() static |
| 3105 |
|
| 3106 |
* commutativeDecomposeEqualitySymbol.cc: init disjunctionSymbol |
| 3107 |
(CommutativeDecomposeEqualitySymbol::attachSymbol): attach |
| 3108 |
disjunctionSymbol |
| 3109 |
(CommutativeDecomposeEqualitySymbol::copyAttachments): copy |
| 3110 |
disjunctionSymbol |
| 3111 |
(CommutativeDecomposeEqualitySymbol::getSymbolAttachments): |
| 3112 |
handle disjunctionSymbol |
| 3113 |
(CommutativeDecomposeEqualitySymbol::decompose): added support |
| 3114 |
for CUI_Symbol |
| 3115 |
(CommutativeDecomposeEqualitySymbol::decompose): made const |
| 3116 |
|
| 3117 |
* commutativeDecomposeEqualitySymbol.hh |
| 3118 |
(class CommutativeDecomposeEqualitySymbol): added decl for |
| 3119 |
hasImmediateSubterm(), make decompose() private |
| 3120 |
(class CommutativeDecomposeEqualitySymbol): added data member |
| 3121 |
disjunctionSymbol |
| 3122 |
|
| 3123 |
* commutativeDecomposeEqualitySymbol.cc |
| 3124 |
(CommutativeDecomposeEqualitySymbol::hasImmediateSubterm): added |
| 3125 |
(CommutativeDecomposeEqualitySymbol::eqRewrite): use |
| 3126 |
hasImmediateSubterm() |
| 3127 |
|
| 3128 |
* decomposeEqualitySymbol.hh (class DecomposeEqualitySymbol): |
| 3129 |
make decompose() private |
| 3130 |
|
| 3131 |
* decomposeEqualitySymbol.cc (DecomposeEqualitySymbol): init |
| 3132 |
disjunctionSymbol |
| 3133 |
(DecomposeEqualitySymbol::attachSymbol): attach disjunctionSymbol |
| 3134 |
(DecomposeEqualitySymbol::copyAttachments): copy |
| 3135 |
disjunctionSymbol |
| 3136 |
(DecomposeEqualitySymbol::getSymbolAttachments): handle |
| 3137 |
disjunctionSymbol |
| 3138 |
(DecomposeEqualitySymbol::hasImmediateSubterm): added |
| 3139 |
(DecomposeEqualitySymbol::eqRewrite): use hasImmediateSubterm() |
| 3140 |
|
| 3141 |
* decomposeEqualitySymbol.hh (class DecomposeEqualitySymbol): |
| 3142 |
added data member disjunctionSymbol |
| 3143 |
|
| 3144 |
2023-08-04 Steven Eker <eker@pup> |
| 3145 |
|
| 3146 |
* narrowing.cc (Interpreter::doVuNarrowing): call cleanUp() |
| 3147 |
|
| 3148 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 3149 |
Vector<DagNode*>& version of generateSubstitution() |
| 3150 |
|
| 3151 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateSubstitution): |
| 3152 |
added Vector<DagNode*>& version |
| 3153 |
|
| 3154 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 3155 |
NarrowingVariableInfo& version of generateSubstitution() |
| 3156 |
|
| 3157 |
* narrowing.cc (Interpreter::doVuNarrowing): added latex support |
| 3158 |
|
| 3159 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateSubstitution): |
| 3160 |
added NarrowingVariableInfo& version |
| 3161 |
|
| 3162 |
* narrowing.cc (Interpreter::doVuNarrowing): use new printStats() |
| 3163 |
(Interpreter::vuNarrowingCont): call |
| 3164 |
MaudeLatexBuffer::generateContinue() |
| 3165 |
|
| 3166 |
* maudeLatexBuffer.hh (MaudeLatexBuffer::generateHeading): added |
| 3167 |
|
| 3168 |
* narrowing.cc (Interpreter::narrowingCont): call |
| 3169 |
MaudeLatexBuffer::generateContinue() |
| 3170 |
|
| 3171 |
* search.cc (Interpreter::searchCont): call |
| 3172 |
MaudeLatexBuffer::generateContinue() |
| 3173 |
|
| 3174 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): delete decl for |
| 3175 |
generateDag() |
| 3176 |
|
| 3177 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateDag): deleted |
| 3178 |
|
| 3179 |
* latexCommand.cc (MaudeLatexBuffer::generateCommand): don't |
| 3180 |
start pendingClose with \n |
| 3181 |
(MaudeLatexBuffer::generateContinue): don't start pending close |
| 3182 |
with \n |
| 3183 |
|
| 3184 |
* latexResult.cc (MaudeLatexBuffer::generateResult): use |
| 3185 |
MixfixModule::latexPrintDagNode() instead of generateDag() |
| 3186 |
|
| 3187 |
* latexCommand.cc (MaudeLatexBuffer::generateSearch): moved here |
| 3188 |
(MaudeLatexBuffer::generateCommand): moved here |
| 3189 |
(MaudeLatexBuffer::generateCommand): print $ after \par; use |
| 3190 |
MixfixModule::latexPrintDagNode() rather than generateDag() |
| 3191 |
(MaudeLatexBuffer::generateContinue): moved here |
| 3192 |
(MaudeLatexBuffer::generateReduce): moved here |
| 3193 |
(MaudeLatexBuffer::generateRewrite): moved here |
| 3194 |
(MaudeLatexBuffer::generateFrewrite): moved here |
| 3195 |
(MaudeLatexBuffer::generateErewrite): moved here |
| 3196 |
(MaudeLatexBuffer::generateSrewrite): moved here |
| 3197 |
|
| 3198 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): deleted decls |
| 3199 |
for generateTiming() and old version of generateStats() |
| 3200 |
|
| 3201 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateTiming): deleted |
| 3202 |
(MaudeLatexBuffer::generateStats): deleted old version |
| 3203 |
|
| 3204 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): updated decls |
| 3205 |
for generateSearchResult(), generateSearchNonResult() |
| 3206 |
|
| 3207 |
* search.cc (Interpreter::doSearching): use new |
| 3208 |
generateSearchNonResult() convention |
| 3209 |
(Interpreter::doSearching): use new generateSearchResult() |
| 3210 |
convention |
| 3211 |
|
| 3212 |
* latexResult.cc (MaudeLatexBuffer::generateStats): moved |
| 3213 |
new version here |
| 3214 |
(MaudeLatexBuffer::generateNonResult): moved here |
| 3215 |
(MaudeLatexBuffer::generateResult): moved here |
| 3216 |
(MaudeLatexBuffer::generateSearchNonResult): moved here; use new |
| 3217 |
generateStats() |
| 3218 |
(MaudeLatexBuffer::generateSearchResult): moved here; use new |
| 3219 |
generateStats() |
| 3220 |
(MaudeLatexBuffer::generateStats): output extra space after nrStates |
| 3221 |
|
| 3222 |
* narrowing.cc (Interpreter::doNarrowing): use new |
| 3223 |
generateNonResult() convention |
| 3224 |
(Interpreter::doNarrowing): use new generateStats() |
| 3225 |
(Interpreter::doNarrowing): use new printStats() (2 places) |
| 3226 |
|
| 3227 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): updated decl for |
| 3228 |
generateNonResult() |
| 3229 |
|
| 3230 |
* srewrite.cc (Interpreter::doStrategicSearch): use new |
| 3231 |
generateNonResult() convention |
| 3232 |
|
| 3233 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateNonResult): take |
| 3234 |
cpuTime and realTime; use new generateStats() |
| 3235 |
|
| 3236 |
* srewrite.cc (Interpreter::doStrategicSearch): use new printStats() |
| 3237 |
and new generateResult() convention |
| 3238 |
|
| 3239 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): updated decl for |
| 3240 |
generateResult() |
| 3241 |
|
| 3242 |
* execute.cc (Interpreter::endRewriting): call cleanUp(); use new |
| 3243 |
generateResult() conventions |
| 3244 |
|
| 3245 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateResult): redesigned |
| 3246 |
to take cpuTime and realTime rather than timer |
| 3247 |
|
| 3248 |
* execute.cc (Interpreter::endRewriting): rewritten to use |
| 3249 |
new printStats() |
| 3250 |
|
| 3251 |
* interpreter.hh (class Interpreter): added decl for new |
| 3252 |
printStats() |
| 3253 |
|
| 3254 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 3255 |
new generateStats() |
| 3256 |
|
| 3257 |
* execute.cc (Interpreter::printStats): added new version that |
| 3258 |
takes cpuTime and realTime |
| 3259 |
|
| 3260 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateTiming): fixed |
| 3261 |
bug where we were dividing real by 100 rather than 1000 |
| 3262 |
(MaudeLatexBuffer::generateStats): added new version that takes |
| 3263 |
cpuTime and realTime |
| 3264 |
|
| 3265 |
2023-08-03 Steven Eker <eker@pup> |
| 3266 |
|
| 3267 |
* narrowing.cc (Interpreter::doNarrowing): call generateStats() |
| 3268 |
|
| 3269 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): made generateStats() |
| 3270 |
public |
| 3271 |
|
| 3272 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateSearch): call |
| 3273 |
Tty::unblockEscapeSequences() |
| 3274 |
|
| 3275 |
* narrowing.cc (Interpreter::doNarrowing): call cleanUp() |
| 3276 |
|
| 3277 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 3278 |
generateState() |
| 3279 |
|
| 3280 |
* narrowing.cc (Interpreter::doNarrowing): use generateNonResult(), |
| 3281 |
generateWarning(), generateSolutionNr(), generateState(), |
| 3282 |
generateSubstitution() |
| 3283 |
|
| 3284 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateSolutionNr): use |
| 3285 |
\maudeNumber{} |
| 3286 |
(MaudeLatexBuffer::generateState): added |
| 3287 |
|
| 3288 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 3289 |
generateWarning() |
| 3290 |
|
| 3291 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateWarning): added |
| 3292 |
|
| 3293 |
* search.cc (Interpreter::doSearching): call generateSubstitution() |
| 3294 |
|
| 3295 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 3296 |
generateSubstitution() |
| 3297 |
|
| 3298 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateSearch): don't |
| 3299 |
start pendingClose with \n |
| 3300 |
(MaudeLatexBuffer::generateSearchNonResult) |
| 3301 |
(MaudeLatexBuffer::generateSearchResult): pass nrStates to |
| 3302 |
generateStats() |
| 3303 |
(MaudeLatexBuffer::generateSearch): print \begin{maudeResultParagraph} |
| 3304 |
(MaudeLatexBuffer::generateSubstitution): added |
| 3305 |
|
| 3306 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): updated decl for |
| 3307 |
generateStats() |
| 3308 |
|
| 3309 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateSearchNonResult): |
| 3310 |
added |
| 3311 |
(MaudeLatexBuffer::generateSearchResult): added |
| 3312 |
(MaudeLatexBuffer::generateSearch): \maudeKeyWord -> \maudeKeyword |
| 3313 |
(MaudeLatexBuffer::generateSearch): added \maudeSpace after : |
| 3314 |
(MaudeLatexBuffer::generateStats): handle nrStates |
| 3315 |
|
| 3316 |
* search.cc (Interpreter::doSearching): use |
| 3317 |
generateSearchNonResult(), generateSearchResult() |
| 3318 |
(Interpreter::doSearching): call cleanUp() |
| 3319 |
|
| 3320 |
2023-08-02 Steven Eker <eker@pup> |
| 3321 |
|
| 3322 |
* search.cc (Interpreter::search): use latexBuffer->generateSearch() |
| 3323 |
|
| 3324 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 3325 |
generateSearch() |
| 3326 |
|
| 3327 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateSearch): added |
| 3328 |
|
| 3329 |
* visibleModule.hh (class VisibleModule): made latexPrintCondition() |
| 3330 |
public |
| 3331 |
|
| 3332 |
* latexDagNodePrint.cc (MixfixModule::latexPrintDagNode): added |
| 3333 |
|
| 3334 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 3335 |
latexPrintDagNode() |
| 3336 |
|
| 3337 |
2023-08-01 Steven Eker <eker@pup> |
| 3338 |
|
| 3339 |
* interpreter.cc (Interpreter::updateSet): fixed bug where range |
| 3340 |
erase() was used to delete a range from a set other than *this |
| 3341 |
|
| 3342 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): deleted decl for |
| 3343 |
generateModifiers() |
| 3344 |
|
| 3345 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateCommand): use |
| 3346 |
\maudeEndCommand |
| 3347 |
(MaudeLatexBuffer::generateContinue): use \maudeEndCommand |
| 3348 |
(MaudeLatexBuffer::generateModifiers): deleted |
| 3349 |
|
| 3350 |
* latexModulePrint.cc (VisibleModule::latexPrintMembershipAxiom) |
| 3351 |
(VisibleModule::latexPrintEquation) |
| 3352 |
(VisibleModule::latexPrintRule): start math mode just after \par |
| 3353 |
(VisibleModule::latexPrintStrategyDecl) |
| 3354 |
(VisibleModule::latexPrintStrategyDefinition): start math mode just |
| 3355 |
after \par |
| 3356 |
(VisibleModule::latexShowImports): start math mode just after \par |
| 3357 |
(VisibleModule::latexShowSorts): typeset whole line in math mode |
| 3358 |
(VisibleModule::latexShowVars): start math mode just after \par |
| 3359 |
(VisibleModule::latexShowDecls): start math mode just after \par |
| 3360 |
(VisibleModule::latexShowSubsorts): typeset whole line in math mode |
| 3361 |
(VisibleModule::latexShowPolymorphDecl): start math mode just after |
| 3362 |
\par |
| 3363 |
|
| 3364 |
* srewrite.cc (Interpreter::sRewriteCont): call generateContinue() |
| 3365 |
(Interpreter::dsRewriteCont): call generateContinue() |
| 3366 |
|
| 3367 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): made generateType(), |
| 3368 |
generateDag(), generateModifiers(), generateCommand() private |
| 3369 |
|
| 3370 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateResult): use |
| 3371 |
cleanUp() |
| 3372 |
(MaudeLatexBuffer::generateNonResult): don't handle pendingClose |
| 3373 |
|
| 3374 |
* srewrite.cc (Interpreter::doStrategicSearch): call cleanUp() |
| 3375 |
|
| 3376 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): made |
| 3377 |
generateStats(), generateTiming() private |
| 3378 |
|
| 3379 |
* srewrite.cc (Interpreter::doStrategicSearch): use |
| 3380 |
MaudeLatexBuffer::generateNonResult() |
| 3381 |
|
| 3382 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateCommand): pass |
| 3383 |
command by reference |
| 3384 |
|
| 3385 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 3386 |
generateNonResult() |
| 3387 |
(class MaudeLatexBuffer): updated decl for generateCommand() |
| 3388 |
|
| 3389 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateNonResult): added |
| 3390 |
|
| 3391 |
* execute.cc (Interpreter::endRewriting): pass result to |
| 3392 |
MaudeLatexBuffer::generateResult() |
| 3393 |
|
| 3394 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): updated decl for |
| 3395 |
generateResult() |
| 3396 |
|
| 3397 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateResult): take |
| 3398 |
result argument |
| 3399 |
|
| 3400 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 3401 |
generateSrewrite() |
| 3402 |
|
| 3403 |
* srewrite.cc (Interpreter::sRewrite): add latex support |
| 3404 |
(Interpreter::doStrategicSearch): add latex support |
| 3405 |
|
| 3406 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): updated decl for |
| 3407 |
generateCommand() |
| 3408 |
|
| 3409 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateCommand): take |
| 3410 |
strategy argument |
| 3411 |
(MaudeLatexBuffer::generateSrewrite): added |
| 3412 |
|
| 3413 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): updated decl for |
| 3414 |
generateResult() |
| 3415 |
(class MaudeLatexBuffer): added decl for generateSolutionNr() |
| 3416 |
|
| 3417 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateResult): take |
| 3418 |
finished argument |
| 3419 |
(MaudeLatexBuffer::generateSolutionNr): added |
| 3420 |
|
| 3421 |
* execute.cc (Interpreter::endRewriting): deleted commented out |
| 3422 |
test of serialization code |
| 3423 |
|
| 3424 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateContinue): put |
| 3425 |
comment outside of \begin{maudeResultParagraph} |
| 3426 |
(MaudeLatexBuffer::generateCommand): put comment outside of |
| 3427 |
\begin{maudeResultParagraph} |
| 3428 |
|
| 3429 |
* execute.cc (Interpreter::endRewriting): use cleanUp() |
| 3430 |
|
| 3431 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateResult): output |
| 3432 |
pendingClose |
| 3433 |
(MaudeLatexBuffer::generateCommand): set pendingClose |
| 3434 |
(MaudeLatexBuffer::generateContinue): set pendingClose |
| 3435 |
(~MaudeLatexBuffer): output pendingClose |
| 3436 |
|
| 3437 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added data member |
| 3438 |
pendingClose |
| 3439 |
(MaudeLatexBuffer::cleanUp): added |
| 3440 |
|
| 3441 |
2023-07-31 Steven Eker <eker@pup> |
| 3442 |
|
| 3443 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): updated decls for |
| 3444 |
generateReduce(), generateContinue(), generateRewrite(), |
| 3445 |
generateFrewrite(), generateErewrite() |
| 3446 |
|
| 3447 |
* erewrite.cc (Interpreter::eRewrite): echo debug modifier, both |
| 3448 |
in regular output and latex |
| 3449 |
(Interpreter::eRewriteCont): echo debug modifier in latex |
| 3450 |
|
| 3451 |
* execute.cc (Interpreter::reduce, Interpreter::rewrite) |
| 3452 |
(Interpreter::fRewrite): echo debug modifier, both in regular |
| 3453 |
output and latex |
| 3454 |
(Interpreter::rewriteCont, Interpreter::fRewriteCont): echo debug |
| 3455 |
modifier in latex |
| 3456 |
|
| 3457 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateReduce) |
| 3458 |
(MaudeLatexBuffer::generateRewrite) |
| 3459 |
(MaudeLatexBuffer::generateFrewrite) |
| 3460 |
(MaudeLatexBuffer::generateErewrite) |
| 3461 |
(MaudeLatexBuffer::generateContinue): handle debug flag |
| 3462 |
|
| 3463 |
* visibleModule.hh (class VisibleModule): made latexPrintStrategy() |
| 3464 |
public |
| 3465 |
|
| 3466 |
* latexViewPrint.cc (SyntacticView::latexShowProcessedView): handle |
| 3467 |
strat to expr mappings |
| 3468 |
|
| 3469 |
* latexRenaming.cc (Renaming::latexRenaming): handle strat mappings; |
| 3470 |
handle attr mappings with sorts |
| 3471 |
|
| 3472 |
2023-07-28 Steven Eker <eker@pup> |
| 3473 |
|
| 3474 |
* visibleModule.hh (class VisibleModule): updated decl for |
| 3475 |
latexPrintStrategy() |
| 3476 |
|
| 3477 |
* latexStrategyPrint.cc (VisibleModule::latexPrintStrategy): made |
| 3478 |
const |
| 3479 |
|
| 3480 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 3481 |
latexPrintStrategyTerm() |
| 3482 |
|
| 3483 |
* latexTermPrint.cc (MixfixModule::latexPrintStrategyTerm): made |
| 3484 |
const |
| 3485 |
|
| 3486 |
* visibleModule.hh (class VisibleModule): made latexPrintStrategy() |
| 3487 |
non-static |
| 3488 |
|
| 3489 |
* latexStrategyPrint.cc (VisibleModule::latexPrintStrategy): finished |
| 3490 |
implementation |
| 3491 |
|
| 3492 |
* visibleModule.hh (class VisibleModule): made |
| 3493 |
latexPrintConditionFragment() and latexPrintCondition() (both |
| 3494 |
versions) static |
| 3495 |
|
| 3496 |
* latexStrategyPrint.cc (VisibleModule::latexPrintStrategy): renamed |
| 3497 |
from latexPrettyPrint and moved from class MixfixModule to class |
| 3498 |
VisibleModule |
| 3499 |
|
| 3500 |
* latexTermPrint.cc (MixfixModule::latexPrintStrategyTerm): moved |
| 3501 |
here |
| 3502 |
|
| 3503 |
* latexStrategyPrint.cc (MixfixModule::latexPrintStrategyTerm): |
| 3504 |
use simpler latexPrettyPrint() |
| 3505 |
|
| 3506 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 3507 |
latexPrettyPrint() (StrategyExpression* version) |
| 3508 |
|
| 3509 |
* latexModulePrint.cc (VisibleModule::latexPrintEquation): use |
| 3510 |
simpler latexPrettyPrint() (2 places) |
| 3511 |
(VisibleModule::latexPrintRule): use simpler latexPrettyPrint() (2 |
| 3512 |
places) |
| 3513 |
(VisibleModule::latexShowAttributes): use simpler |
| 3514 |
latexPrettyPrint() (2 places) |
| 3515 |
(VisibleModule::latexShowPolymorphAttributes): use simpler |
| 3516 |
latexPrettyPrint() (2 places) |
| 3517 |
(VisibleModule::latexPrintMembershipAxiom): use simpler |
| 3518 |
latexPrettyPrint() |
| 3519 |
(VisibleModule::latexPrintConditionFragment): use simpler |
| 3520 |
lexPrettyPrint() (7 places) |
| 3521 |
|
| 3522 |
2023-07-27 Steven Eker <eker@pup> |
| 3523 |
|
| 3524 |
* mixfixModule.hh (class MixfixModule): added decl for Strategy* |
| 3525 |
version of latexPrettyPrint() |
| 3526 |
(class MixfixModule): added decl for latexPrintStrategyTerm() |
| 3527 |
|
| 3528 |
* latexStrategyPrint.cc: created |
| 3529 |
|
| 3530 |
* visibleModule.hh (class VisibleModule): added decl for |
| 3531 |
latexPrintStrategyDefinition() |
| 3532 |
|
| 3533 |
* latexModulePrint.cc (VisibleModule::latexPrintStrategyDefinition): |
| 3534 |
added |
| 3535 |
|
| 3536 |
* visibleModule.hh (class VisibleModule): added decl for |
| 3537 |
latexPrintStrategyDecl() |
| 3538 |
|
| 3539 |
* latexModulePrint.cc (VisibleModule::latexShowRls) |
| 3540 |
(VisibleModule::latexShowEqs, VisibleModule::latexShowMbs): use |
| 3541 |
size() |
| 3542 |
(VisibleModule::latexShowDecls): code cleaning |
| 3543 |
(VisibleModule::latexShowPolymorphDecl): code cleaning |
| 3544 |
(VisibleModule::latexPrintStrategyDecl): added |
| 3545 |
(VisibleModule::latexShowImportscode): cleaning |
| 3546 |
|
| 3547 |
* visibleModule.hh (class VisibleModule): added decls for |
| 3548 |
latexShowStrats(), latexShowSds() |
| 3549 |
|
| 3550 |
* latexModulePrint.cc (VisibleModule::latexShowStrats): added |
| 3551 |
(VisibleModule::latexShowSds): added |
| 3552 |
(VisibleModule::latexShowModule): call latexShowStrats() and |
| 3553 |
latexShowSds() |
| 3554 |
|
| 3555 |
* decomposeEqualitySymbol.cc |
| 3556 |
(DecomposeEqualitySymbol::domainSortAlwaysLeqThan): added comment |
| 3557 |
(DecomposeEqualitySymbol::decompose): code cleaning |
| 3558 |
(DecomposeEqualitySymbol::attachSymbol): code cleaning |
| 3559 |
(DecomposeEqualitySymbol::postInterSymbolPass): code cleaning |
| 3560 |
|
| 3561 |
* commutativeDecomposeEqualitySymbol.cc |
| 3562 |
(CommutativeDecomposeEqualitySymbol::domainSortAlwaysLeqThan): |
| 3563 |
added comment |
| 3564 |
(CommutativeDecomposeEqualitySymbol::decompose): code cleaning |
| 3565 |
|
| 3566 |
* decomposeEqualitySymbol.cc |
| 3567 |
(DecomposeEqualitySymbol::eqRewrite): only consider decomposition |
| 3568 |
if conjunctionSymbol is defined |
| 3569 |
|
| 3570 |
* commutativeDecomposeEqualitySymbol.cc |
| 3571 |
(CommutativeDecomposeEqualitySymbol::eqRewrite): only consider |
| 3572 |
decomposition if conjunctionSymbol is defined |
| 3573 |
|
| 3574 |
2023-07-26 Steven Eker <eker@pup> |
| 3575 |
|
| 3576 |
* specialSymbolTypes.cc: added CommutativeDecomposeEqualitySymbol |
| 3577 |
|
| 3578 |
* fancySymbols.cc (MixfixModule::newFancySymbol): added |
| 3579 |
CommutativeDecomposeEqualitySymbol |
| 3580 |
|
| 3581 |
* symbolType.hh (class SymbolType): added |
| 3582 |
COMMUTATIVE_DECOMPOSE_EQUALITY_SYMBOL to BasicTypes |
| 3583 |
|
| 3584 |
* mixfix.hh: added class CommutativeDecomposeEqualitySymbol |
| 3585 |
|
| 3586 |
* commutativeDecomposeEqualitySymbol.cc: created |
| 3587 |
|
| 3588 |
* commutativeDecomposeEqualitySymbol.hh: created |
| 3589 |
|
| 3590 |
* decomposeEqualitySymbol.hh: fix comment |
| 3591 |
|
| 3592 |
2023-07-25 Steven Eker <eker@pup> |
| 3593 |
|
| 3594 |
* decomposeEqualitySymbol.cc (DecomposeEqualitySymbol::decompose): |
| 3595 |
use getPolymorphIndex() |
| 3596 |
(DecomposeEqualitySymbol::DecomposeEqualitySymbol): fix bug where |
| 3597 |
we were forgetting to initialized conjunctionSymbol |
| 3598 |
|
| 3599 |
* mixfixModule.hh (getPolymorphIndex): added |
| 3600 |
(getSymbolType): made argument const |
| 3601 |
|
| 3602 |
* decomposeEqualitySymbol.hh (class DecomposeEqualitySymbol): |
| 3603 |
added decl for decompose() |
| 3604 |
|
| 3605 |
* decomposeEqualitySymbol.cc (DecomposeEqualitySymbol::decompose): |
| 3606 |
added |
| 3607 |
|
| 3608 |
* mixfix.hh: added class DecomposeEqualitySymbol |
| 3609 |
|
| 3610 |
* decomposeEqualitySymbol.cc (DecomposeEqualitySymbol::eqRewrite): |
| 3611 |
only support standard, eager strategy |
| 3612 |
|
| 3613 |
2023-07-24 Steven Eker <eker@pup> |
| 3614 |
|
| 3615 |
* decomposeEqualitySymbol.cc: added |
| 3616 |
|
| 3617 |
* decomposeEqualitySymbol.hh: added |
| 3618 |
|
| 3619 |
* symbolType.hh (class SymbolType): added |
| 3620 |
DECOMPOSE_EQUALITY_SYMBOL |
| 3621 |
|
| 3622 |
* fancySymbols.cc (MixfixModule::newFancySymbol): added |
| 3623 |
DecomposeEqualitySymbol |
| 3624 |
|
| 3625 |
* specialSymbolTypes.cc: added DecomposeEqualitySymbol |
| 3626 |
|
| 3627 |
===================================Maude151=========================================== |
| 3628 |
|
| 3629 |
2023-07-21 Steven Eker <eker@pup> |
| 3630 |
|
| 3631 |
* latexModulePrint.cc (VisibleModule::latexShowModule): use |
| 3632 |
ImportModule:: latexModuleExpression() for parameter theories |
| 3633 |
|
| 3634 |
* latexViewPrint.cc (SyntacticView::latexShowProcessedView): use |
| 3635 |
ImportModule:: latexModuleExpression() for fromTheory and toModule |
| 3636 |
(SyntacticView::latexShowProcessedView): use |
| 3637 |
ImportModule:: latexModuleExpression() for parameter theories |
| 3638 |
|
| 3639 |
* latexRenaming.cc (Renaming::latexRenaming): handle syntactic |
| 3640 |
attributes |
| 3641 |
|
| 3642 |
* latexImportModule.cc (ImportModule::latexModuleExpression): |
| 3643 |
insert parens where needed; fix bug in SUMMATION |
| 3644 |
|
| 3645 |
* latexCommon.cc (MixfixModule::latexStructuredName): rewritten |
| 3646 |
to fix bug |
| 3647 |
|
| 3648 |
* latexModulePrint.cc (VisibleModule::latexShowImports): use |
| 3649 |
ImportModule::latexModuleExpression() |
| 3650 |
|
| 3651 |
* importModule.hh (class ImportModule): added decl for |
| 3652 |
latexImportModule() |
| 3653 |
|
| 3654 |
* latexImportModule.cc: created |
| 3655 |
|
| 3656 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 3657 |
latexConstant() |
| 3658 |
|
| 3659 |
* latexCommon.cc (MixfixModule::latexConstant): take const |
| 3660 |
Module* |
| 3661 |
|
| 3662 |
* latexRenaming.cc (Renaming::latexRenaming): made Module* |
| 3663 |
arguments const |
| 3664 |
|
| 3665 |
* renaming.hh (class Renaming): updated decl for latexRenaming() |
| 3666 |
|
| 3667 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 3668 |
latexSort() |
| 3669 |
|
| 3670 |
* latexCommon.cc (MixfixModule::latexSort): made module arg |
| 3671 |
const Module* |
| 3672 |
|
| 3673 |
* renaming.cc (Renaming::printRenamingType): remove const |
| 3674 |
qualifier |
| 3675 |
|
| 3676 |
* renaming.hh (class Renaming): added decl for |
| 3677 |
latexRenamingType(); made printRenamingType() static |
| 3678 |
|
| 3679 |
* latexRenaming.cc (Renaming::latexRenamingType): added |
| 3680 |
(Renaming::latexRenaming): use latexRenamingType() |
| 3681 |
|
| 3682 |
2023-07-20 Steven Eker <eker2@eker9> |
| 3683 |
|
| 3684 |
* latexViewPrint.cc (SyntacticView::latexShowProcessedView): |
| 3685 |
use getNrSortMappings() + getNrOpMappings() to decide whether |
| 3686 |
we need to end a line |
| 3687 |
(SyntacticView::latexShowProcessedView): handle variable |
| 3688 |
aliases |
| 3689 |
(SyntacticView::latexShowProcessedView): handle op->term |
| 3690 |
mappings |
| 3691 |
|
| 3692 |
2023-07-19 Steven Eker <eker2@eker9> |
| 3693 |
|
| 3694 |
* interpreter.cc (Interpreter::showProcessedView): echo |
| 3695 |
command |
| 3696 |
|
| 3697 |
* latexViewPrint.cc |
| 3698 |
(SyntacticView::latexShowProcessedView): call |
| 3699 |
latexRenaming() |
| 3700 |
|
| 3701 |
* renaming.hh (class Renaming): added decl for |
| 3702 |
latexRenaming() |
| 3703 |
|
| 3704 |
* latexRenaming.cc: created |
| 3705 |
|
| 3706 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 3707 |
latexConstant() |
| 3708 |
|
| 3709 |
* latexCommon.cc (MixfixModule::latexConstant): added |
| 3710 |
|
| 3711 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 3712 |
code version of latexSort() |
| 3713 |
|
| 3714 |
* latexCommon.cc (MixfixModule::latexSort): added code |
| 3715 |
version |
| 3716 |
|
| 3717 |
* latexToken.cc (Token::latexName): follow < and > with |
| 3718 |
empty group to prevent << and >> being transformed into |
| 3719 |
guillemets |
| 3720 |
|
| 3721 |
* mixfixModule.hh (class MixfixModule): deleted decls for |
| 3722 |
hasNonAlpha(), latexName() (both versions), |
| 3723 |
latexIdentifier() |
| 3724 |
|
| 3725 |
* latexCommon.cc (MixfixModule::latexStructuredConstant): |
| 3726 |
use Token::latexIdentifier() |
| 3727 |
(MixfixModule::latexPrettyOp): use Token::latexIdentifier() |
| 3728 |
(MixfixModule::latexIdentifier): deleted |
| 3729 |
(MixfixModule::hasNonAlpha): deleted |
| 3730 |
(MixfixModule::latexName): delete (both versions) |
| 3731 |
|
| 3732 |
* visibleModule.hh (VisibleModule::latexPrintModuleName): |
| 3733 |
Token::latexName() |
| 3734 |
(VisibleModule::latexPrintViewName): use Token::latexName() |
| 3735 |
|
| 3736 |
* latexModulePrint.cc (VisibleModule::latexShowVars): use |
| 3737 |
Token::latexIdentifier() |
| 3738 |
(VisibleModule::latexShowAttributes): use |
| 3739 |
Token::latexIdentifier() |
| 3740 |
(VisibleModule::latexShowPolymorphAttributes): use |
| 3741 |
Token::latexIdentifier() |
| 3742 |
|
| 3743 |
* latexTermPrint.cc (MixfixModule::latexHandleVariable): |
| 3744 |
use Token::latexIdentifier |
| 3745 |
(MixfixModule::latexPrettyPrint): use Token::latexIdentifier() |
| 3746 |
(MixfixModule::latexHandleIter): use Token::latexIdentifier() |
| 3747 |
|
| 3748 |
* latexDagNodePrint.cc (MixfixModule::latexHandleIter): |
| 3749 |
use Token::latexIdentifier() |
| 3750 |
(MixfixModule::latexHandleVariable): use |
| 3751 |
Token::latexIdentifier() |
| 3752 |
(MixfixModule::latexPrettyPrint): use Token::latexIdentifier() |
| 3753 |
|
| 3754 |
* latexCommon.cc (MixfixModule::latexStructuredName): use |
| 3755 |
Token::latexName() |
| 3756 |
(MixfixModule::latexSort): don't use Token::sortName() in |
| 3757 |
the non-Token::AUX_STRUCTURED_SORT becaue it doesn't do |
| 3758 |
anything special in this case; use Token::latexName() |
| 3759 |
(MixfixModule::latexPrettyOp): use Token::latexName() |
| 3760 |
(MixfixModule::latexPrintTokens): use Token::latexName() |
| 3761 |
|
| 3762 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateModuleName): |
| 3763 |
use Token::latexName() |
| 3764 |
(MaudeLatexBuffer::generateModifiers): use Token::latexName() |
| 3765 |
(MaudeLatexBuffer::generateCommand): use Token::latexName() |
| 3766 |
|
| 3767 |
* latexViewPrint.cc (SyntacticView::latexShowProcessedView): |
| 3768 |
use Token::latexName() (3 places) |
| 3769 |
|
| 3770 |
* latexTermPrint.cc (MixfixModule::latexHandleString): use |
| 3771 |
Token::latexName() |
| 3772 |
(MixfixModule::latexHandleQuotedIdentifier): use |
| 3773 |
Token::latexName() |
| 3774 |
|
| 3775 |
* latexModulePrint.cc (VisibleModule::latexPrintAttributes): |
| 3776 |
use Token::latexName() (2 places) |
| 3777 |
(VisibleModule::latexShowImports): use Token::latexName() |
| 3778 |
(VisibleModule::latexShowModule): use Token::latexName() (2 |
| 3779 |
places) |
| 3780 |
(VisibleModule::latexShowAttributes): use |
| 3781 |
Token::latexName() (6 places) |
| 3782 |
(VisibleModule::latexShowPolymorphAttributes): use |
| 3783 |
Token::latexName() (6 places) |
| 3784 |
|
| 3785 |
* latexDagNodePrint.cc (MixfixModule::latexHandleString): |
| 3786 |
use Token::latexName() |
| 3787 |
(MixfixModule::latexHandleQuotedIdentifier): use |
| 3788 |
Token::latexName() |
| 3789 |
|
| 3790 |
* token.hh (class Token): added decls for latexName() (4 |
| 3791 |
versions), latexIdentifier(), hasNonAlphanumeric() |
| 3792 |
|
| 3793 |
* latexToken.cc: created |
| 3794 |
|
| 3795 |
2023-07-18 Steven Eker <eker2@eker9> |
| 3796 |
|
| 3797 |
* interpreter.cc (Interpreter::showProcessedView): call |
| 3798 |
latexShowProcessedView() |
| 3799 |
|
| 3800 |
* visibleModule.hh (class VisibleModule): made |
| 3801 |
latexPrintModuleName() public |
| 3802 |
|
| 3803 |
* latexViewPrint.cc: created |
| 3804 |
|
| 3805 |
* latexModulePrint.cc (VisibleModule::latexShowPolymorphDecl): |
| 3806 |
use latexPrettyOp() |
| 3807 |
|
| 3808 |
* token.cc (Token::prettyOpName): don't remove backquotes |
| 3809 |
from ( or ) since it causes problems with op declarations |
| 3810 |
|
| 3811 |
* latexModulePrint.cc (VisibleModule::latexShowDecls): |
| 3812 |
use latexPrettyOp() |
| 3813 |
|
| 3814 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 3815 |
latexPrettyOp() |
| 3816 |
|
| 3817 |
* token.hh (class Token): added decl for prettyOpName() |
| 3818 |
|
| 3819 |
* token.cc (Token::prettyOpName): added |
| 3820 |
|
| 3821 |
* latexCommon.cc (MixfixModule::latexPrettyOp): added |
| 3822 |
|
| 3823 |
2023-07-17 Steven Eker <eker@pup> |
| 3824 |
|
| 3825 |
* latexModulePrint.cc (VisibleModule::latexShowPolymorphDecl): |
| 3826 |
call latexShowPolymorphAttributes() |
| 3827 |
|
| 3828 |
* visibleModule.hh (class VisibleModule): added decl for |
| 3829 |
latexShowPolymorphAttributes() |
| 3830 |
|
| 3831 |
* latexModulePrint.cc (VisibleModule::latexShowPolymorphAttributes): |
| 3832 |
added |
| 3833 |
|
| 3834 |
* latexCommon.cc (MixfixModule::latexPrintTails): don't |
| 3835 |
use latexIdentifier() - directly generate \maudeSymbolic{} |
| 3836 |
(MixfixModule::latexPrintTokens): ditto |
| 3837 |
|
| 3838 |
* latexTermPrint.cc (MixfixModule::latexPrettyPrint): use |
| 3839 |
latexStructuredConstant() |
| 3840 |
|
| 3841 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint): use |
| 3842 |
latexStructuredConstant() |
| 3843 |
|
| 3844 |
* latexModulePrint.cc (VisibleModule::latexShowDecls): use |
| 3845 |
latexStructuredConstant() |
| 3846 |
(VisibleModule::latexShowPolymorphDecl): use |
| 3847 |
latexStructuredConstant() |
| 3848 |
|
| 3849 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 3850 |
latexStructuredConstant() |
| 3851 |
|
| 3852 |
* latexCommon.cc (MixfixModule::latexStructuredConstant): added |
| 3853 |
|
| 3854 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 3855 |
latexStructuredName(); added decl for latexSort() |
| 3856 |
|
| 3857 |
* latexCommon.cc (MixfixModule::latexStructuredName): new |
| 3858 |
calling convention |
| 3859 |
(MixfixModule::latexSort): added |
| 3860 |
(MixfixModule::latexType): use latexSort() |
| 3861 |
|
| 3862 |
2023-07-14 Steven Eker <eker@pup> |
| 3863 |
|
| 3864 |
* latexCommon.cc (MixfixModule::latexType): use |
| 3865 |
latexStructuredName() |
| 3866 |
|
| 3867 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 3868 |
latexStructuredName() |
| 3869 |
|
| 3870 |
* latexCommon.cc (MixfixModule::latexStructuredName): added |
| 3871 |
|
| 3872 |
2023-06-26 Steven Eker <eker@pup> |
| 3873 |
|
| 3874 |
* latexModulePrint.cc (VisibleModule::latexShowAttributes): added |
| 3875 |
|
| 3876 |
* interpreter.hh (class Interpreter): updated decl for |
| 3877 |
outputBanner() |
| 3878 |
|
| 3879 |
* interpreter.cc (Interpreter::outputBanner): pass date |
| 3880 |
and time to generateBanner() |
| 3881 |
|
| 3882 |
* banner.cc (printBanner): take date and time arguments |
| 3883 |
|
| 3884 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateBanner): |
| 3885 |
take date and time arguments |
| 3886 |
|
| 3887 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): updated |
| 3888 |
decl for generateBanner() |
| 3889 |
|
| 3890 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateDag): |
| 3891 |
take seconds argument |
| 3892 |
|
| 3893 |
* interpreter.cc (Interpreter::outputBanner): pass seconds |
| 3894 |
to generateBanner() |
| 3895 |
|
| 3896 |
* interpreter.hh (class Interpreter): updated decl for |
| 3897 |
outputBanner() |
| 3898 |
|
| 3899 |
* banner.cc (printBanner): take seconds as an argument |
| 3900 |
|
| 3901 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added |
| 3902 |
decl for generateBanner() |
| 3903 |
|
| 3904 |
* interpreter.hh (class Interpreter): added decl for |
| 3905 |
outputBanner() |
| 3906 |
|
| 3907 |
* interpreter.cc (Interpreter::outputBanner): added |
| 3908 |
|
| 3909 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateBanner): |
| 3910 |
added |
| 3911 |
|
| 3912 |
2023-06-23 Steven Eker <eker@pup> |
| 3913 |
|
| 3914 |
* interpreter.cc (Interpreter::showSortsAndSubsorts): |
| 3915 |
support latex |
| 3916 |
|
| 3917 |
* visibleModule.hh (class VisibleModule): added decl for |
| 3918 |
latexShowSortsAndSubsorts() |
| 3919 |
|
| 3920 |
* latexModulePrint.cc |
| 3921 |
(VisibleModule::latexShowSortsAndSubsorts): added |
| 3922 |
|
| 3923 |
* latexCommon.cc (MixfixModule::latexPrintTokens): use |
| 3924 |
latexIdentifier() |
| 3925 |
(MixfixModule::latexPrintTails): use latexIdentifier() |
| 3926 |
|
| 3927 |
* mixfixModule.hh (class MixfixModule): deleted decl |
| 3928 |
for code version of latexName() |
| 3929 |
|
| 3930 |
* latexCommon.cc (MixfixModule::latexName): deleted code |
| 3931 |
version |
| 3932 |
|
| 3933 |
* latexDagNodePrint.cc (MixfixModule::latexSuffix): use |
| 3934 |
\maudeDisambigDot |
| 3935 |
(MixfixModule::latexHandleIter): use latexIdentifier() |
| 3936 |
(MixfixModule::latexHandleVariable): use latexIdentifier() |
| 3937 |
(MixfixModule::latexPrettyPrint): use latexIdentifier() |
| 3938 |
|
| 3939 |
* latexTermPrint.cc (MixfixModule::latexSuffix): use |
| 3940 |
\maudeDisambigDot |
| 3941 |
(MixfixModule::latexHandleIter): use latexIdentifier() |
| 3942 |
(MixfixModule::latexHandleVariable): use latexIdentifier() |
| 3943 |
(MixfixModule::latexPrettyPrint): use latexIdentifier() |
| 3944 |
|
| 3945 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint): |
| 3946 |
added Assert(), deleted #ifndef code; handle structured |
| 3947 |
constant case |
| 3948 |
|
| 3949 |
* latexTermPrint.cc (MixfixModule::latexPrettyPrint): pick |
| 3950 |
off structured constant case |
| 3951 |
|
| 3952 |
* latexModulePrint.cc (VisibleModule::latexShowVars): |
| 3953 |
use latexIdentifier() |
| 3954 |
(VisibleModule::latexShowDecls): use latexIdentifier() |
| 3955 |
instead of latexName() on token codes |
| 3956 |
(VisibleModule::latexShowPolymorphDecl): use |
| 3957 |
latexIdentifier() instead of latexName() on token codes; |
| 3958 |
use \maudeStructuredConstant |
| 3959 |
|
| 3960 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 3961 |
latexIdentifier() |
| 3962 |
|
| 3963 |
* latexCommon.cc (MixfixModule::latexIdentifier): added |
| 3964 |
|
| 3965 |
* latexModulePrint.cc (VisibleModule::latexShowDecls): use |
| 3966 |
\maudeStructuredConstant |
| 3967 |
|
| 3968 |
2023-06-22 Steven Eker <eker@pup> |
| 3969 |
|
| 3970 |
* latexModulePrint.cc (VisibleModule::latexShowPolymorphDecl): |
| 3971 |
space after poly |
| 3972 |
|
| 3973 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint): use |
| 3974 |
latexSuffix() |
| 3975 |
|
| 3976 |
* latexCommon.cc (MixfixModule::latexType): use Rope |
| 3977 |
version of latexName() |
| 3978 |
|
| 3979 |
* latexModulePrint.cc (VisibleModule::latexShowDecls): use |
| 3980 |
Token::sortName() for constants which may be parameterized |
| 3981 |
(VisibleModule::latexShowModule): use \maudeParameter |
| 3982 |
for parameter names and \maudeParameterColon for :: |
| 3983 |
|
| 3984 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 3985 |
Rope version of latexName() |
| 3986 |
|
| 3987 |
* latexCommon.cc (MixfixModule::latexName): added rope |
| 3988 |
version |
| 3989 |
|
| 3990 |
* latexModulePrint.cc |
| 3991 |
(VisibleModule::latexShowPolymorphDecl): added |
| 3992 |
(VisibleModule::latexShowPolymorphs): added |
| 3993 |
(VisibleModule::latexShowModule): use latexShowPolymorphs() |
| 3994 |
|
| 3995 |
* visibleModule.hh (class VisibleModule): updated decls for |
| 3996 |
latexShowMbs(), latexShowEqs(), latexShowRls() |
| 3997 |
|
| 3998 |
* latexModulePrint.cc (VisibleModule::latexShowEqs): don't |
| 3999 |
take endWithNewline argument |
| 4000 |
(VisibleModule::latexShowRls): don't take endWithNewline |
| 4001 |
argument |
| 4002 |
(VisibleModule::latexShowMbs): don't take endWithNewline |
| 4003 |
argument |
| 4004 |
|
| 4005 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint): |
| 4006 |
use \maudeComma |
| 4007 |
|
| 4008 |
* latexTermPrint.cc (MixfixModule::latexPrettyPrint): use |
| 4009 |
\maudeComma |
| 4010 |
|
| 4011 |
* latexModulePrint.cc (VisibleModule::latexShowModule): \n |
| 4012 |
after end module keyword |
| 4013 |
(VisibleModule::latexPrintRule): changed positions of $s |
| 4014 |
(VisibleModule::latexPrintEquation): changed positions of $s |
| 4015 |
(VisibleModule::latexPrintMembershipAxiom): changed positions |
| 4016 |
of $s |
| 4017 |
|
| 4018 |
* latexTermPrint.cc (MixfixModule::latexHandleVariable): use |
| 4019 |
\maudeVariableColon |
| 4020 |
|
| 4021 |
* latexDagNodePrint.cc (MixfixModule::latexHandleVariable): use |
| 4022 |
\maudeVariableColon |
| 4023 |
|
| 4024 |
* latexCommon.cc (MixfixModule::latexType): use \maudeComma |
| 4025 |
|
| 4026 |
* latexModulePrint.cc (VisibleModule::latexShowSubsorts): |
| 4027 |
use \maudeLessThan |
| 4028 |
(VisibleModule::latexShowModule): use \maudeComma |
| 4029 |
|
| 4030 |
* latexCommon.cc (MixfixModule::latexType): fix comma bug |
| 4031 |
|
| 4032 |
2023-06-21 Steven Eker <eker@pup> |
| 4033 |
|
| 4034 |
* latexCommon.cc (MixfixModule::latexType): use |
| 4035 |
\maudeLeftBracket, \maudeRightBracket |
| 4036 |
|
| 4037 |
* latexModulePrint.cc (VisibleModule::latexShowModule): use |
| 4038 |
latexShowOps() |
| 4039 |
|
| 4040 |
* visibleModule.hh (class VisibleModule): added decls for |
| 4041 |
latexShowOps(), latexShowDecls() |
| 4042 |
|
| 4043 |
* latexModulePrint.cc (VisibleModule::latexShowOps): added |
| 4044 |
(VisibleModule::latexShowDecls): added |
| 4045 |
|
| 4046 |
* latexDagNodePrint.cc (MixfixModule::latexHandleVariable): use |
| 4047 |
latexName() |
| 4048 |
|
| 4049 |
* latexTermPrint.cc (MixfixModule::latexHandleVariable): use |
| 4050 |
latexName() |
| 4051 |
|
| 4052 |
* latexModulePrint.cc (VisibleModule::latexShowModule): use |
| 4053 |
latexShowVars() |
| 4054 |
|
| 4055 |
* visibleModule.hh (class VisibleModule): added decl for |
| 4056 |
latexShowVars() |
| 4057 |
|
| 4058 |
* latexModulePrint.cc (VisibleModule::latexShowVars): added |
| 4059 |
|
| 4060 |
* latexModulePrint.cc (VisibleModule::latexPrintAttributes): use |
| 4061 |
\maudeLabel |
| 4062 |
(VisibleModule::latexPrintMembershipAxiom) |
| 4063 |
(VisibleModule::latexShowEqs, VisibleModule::latexShowRls): use |
| 4064 |
\par at start rather than \newline at end |
| 4065 |
(VisibleModule::latexShowImports) |
| 4066 |
(VisibleModule::latexShowSorts, VisibleModule::latexShowSubsorts): |
| 4067 |
use \par at start rather than \newline at end |
| 4068 |
(VisibleModule::latexShowModule): use \par at start rather than |
| 4069 |
\newline at end of header and tail |
| 4070 |
|
| 4071 |
* latexCommon.cc (MixfixModule::latexType): make arg const |
| 4072 |
|
| 4073 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 4074 |
latexType() |
| 4075 |
|
| 4076 |
* visibleModule.hh (class VisibleModule): added decl for |
| 4077 |
latexShowSubsorts() |
| 4078 |
|
| 4079 |
* latexModulePrint.cc (VisibleModule::latexShowSubsorts): added |
| 4080 |
(VisibleModule::latexShowModule): call latexShowSubsorts() |
| 4081 |
|
| 4082 |
* visibleModule.hh (class VisibleModule): added decl for |
| 4083 |
latexShowSorts() |
| 4084 |
|
| 4085 |
* latexModulePrint.cc (VisibleModule::latexShowSorts) |
| 4086 |
(VisibleModule::latexPrintMembershipAxiom) |
| 4087 |
(VisibleModule::latexPrintEquation) |
| 4088 |
(VisibleModule::latexPrintRule) |
| 4089 |
(VisibleModule::latexShowImports): use \maudeEndStatement |
| 4090 |
(VisibleModule::latexShowModule): call latexShowSorts |
| 4091 |
|
| 4092 |
2023-06-20 Steven Eker <eker@pup> |
| 4093 |
|
| 4094 |
* visibleModule.hh (class VisibleModule): added decl for |
| 4095 |
latexShowImports() |
| 4096 |
|
| 4097 |
* latexModulePrint.cc (VisibleModule::latexShowImports): added |
| 4098 |
|
| 4099 |
* interpreter.cc (Interpreter::showModule): added latex support |
| 4100 |
|
| 4101 |
* visibleModule.hh (VisibleModule::latexPrintModuleName): added |
| 4102 |
(VisibleModule::latexPrintViewName): added |
| 4103 |
(class VisibleModule): added decl for latexShowModule() |
| 4104 |
|
| 4105 |
* latexModulePrint.cc (VisibleModule::latexPrintConditionFragment): |
| 4106 |
\maudeSortTest -> \maudeHasSort |
| 4107 |
(VisibleModule::latexPrintMembershipAxiom): \maudeSortTest -> |
| 4108 |
\maudeHasSort |
| 4109 |
(VisibleModule::latexShowModule): added partial implementation |
| 4110 |
|
| 4111 |
* interpreter.cc (Interpreter::showMbs): added latex support |
| 4112 |
|
| 4113 |
* visibleModule.hh (class VisibleModule): added decls for |
| 4114 |
latexShowMbs(), latexPrintMembershipAxiom() |
| 4115 |
|
| 4116 |
* latexModulePrint.cc (VisibleModule::latexPrintMembershipAxiom) |
| 4117 |
(VisibleModule::latexShowMbs): added |
| 4118 |
|
| 4119 |
* interpreter.cc (Interpreter::showRls): added latex support |
| 4120 |
|
| 4121 |
* visibleModule.hh (class VisibleModule): added decls for |
| 4122 |
latexShowRls(), latexPrintRule() |
| 4123 |
|
| 4124 |
* latexModulePrint.cc (VisibleModule::latexPrintAttributes): use |
| 4125 |
latexPrint() |
| 4126 |
(VisibleModule::latexPrintRule, VisibleModule::latexShowRls): |
| 4127 |
added |
| 4128 |
|
| 4129 |
* latexTermPrint.cc (MixfixModule::latexPrettyPrint): added static |
| 4130 |
version |
| 4131 |
|
| 4132 |
* printAttribute.hh (class PrintAttribute): added decl for |
| 4133 |
latexPrint() |
| 4134 |
|
| 4135 |
* printAttribute.cc (PrintAttribute::latexPrint): added |
| 4136 |
|
| 4137 |
* mixfixModule.hh (class MixfixModule): added decl for static |
| 4138 |
Term* latexPrettyPrint() |
| 4139 |
|
| 4140 |
* latexModulePrint.cc (VisibleModule::latexPrintEquation): call |
| 4141 |
latexPrintAttributes() |
| 4142 |
|
| 4143 |
* visibleModule.hh (class VisibleModule): added decl for |
| 4144 |
latexPrintAttributes() |
| 4145 |
|
| 4146 |
* latexModulePrint.cc (MixfixModule::latexPrintAttributes): added |
| 4147 |
|
| 4148 |
2023-06-19 Steven Eker <eker@pup> |
| 4149 |
|
| 4150 |
* visibleModule.hh (class VisibleModule): added decls for |
| 4151 |
latexPrintCondition() (2 versions), latexPrintConditionFragment() |
| 4152 |
|
| 4153 |
* latexModulePrint.cc (VisibleModule::latexPrintEquation): call |
| 4154 |
latexPrintCondition() |
| 4155 |
(VisibleModule::latexPrintConditionFragment): added |
| 4156 |
(VisibleModule::latexPrintEquation): use \maudeEquals |
| 4157 |
(MixfixModule::latexPrintCondition): added 2 versions |
| 4158 |
|
| 4159 |
* visibleModule.hh (class VisibleModule): latexShowEq() -> |
| 4160 |
latexPrintEquation() |
| 4161 |
|
| 4162 |
* latexModulePrint.cc (VisibleModule::latexShowEq): becomes |
| 4163 |
latexPrintEquation |
| 4164 |
(VisibleModule::latexShowEqs): use latexPrintEquation() |
| 4165 |
|
| 4166 |
* visibleModule.hh (class VisibleModule): updated decl for |
| 4167 |
latexShowEqs() |
| 4168 |
|
| 4169 |
* latexModulePrint.cc (VisibleModule::latexShowEqs): take |
| 4170 |
endWithNewline argument |
| 4171 |
|
| 4172 |
* latexDagNodePrint.cc (MixfixModule::latexHandleVariable): use |
| 4173 |
latexType() |
| 4174 |
|
| 4175 |
* interpreter.cc (Interpreter::showEqs): show module name, generate |
| 4176 |
latex comment |
| 4177 |
|
| 4178 |
* maudeLatexBuffer.cc (~MaudeLatexBuffer): don't use flushleft |
| 4179 |
|
| 4180 |
* maudeLatexBuffer.ccM (MaudeLatexBuffer): don't use flushleft |
| 4181 |
|
| 4182 |
* interpreter.cc (Interpreter::showEqs): use maudeShowParagraph |
| 4183 |
|
| 4184 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateResult): |
| 4185 |
MaudeParagraph -> maudeResultParagraph |
| 4186 |
(MaudeLatexBuffer::generateCommand) |
| 4187 |
(MaudeLatexBuffer::generateContinue): maudeParagraph -> |
| 4188 |
maudeResultParagraph |
| 4189 |
|
| 4190 |
* latexTermPrint.cc (MixfixModule::latexHandleVariable): use |
| 4191 |
latexType() |
| 4192 |
|
| 4193 |
* mixfixModule.hh (class MixfixModule): updated decls for |
| 4194 |
latexHandleMinus(), latexHandleDivision(), latexHandleFloat(), |
| 4195 |
latexHandleString(), latexHandleQuotedIdentifier(), |
| 4196 |
latexHandleVariable() |
| 4197 |
|
| 4198 |
* latexTermPrint.cc (MixfixModule::latexHandleVariable): |
| 4199 |
\maudeIdentifer -> \maudeIdentifier |
| 4200 |
|
| 4201 |
* latexDagNodePrint.cc (MixfixModule::latexHandleVariable): |
| 4202 |
\maudeIdentifer -> \maudeIdentifier |
| 4203 |
|
| 4204 |
* visibleModule.hh (class VisibleModule): added decls for |
| 4205 |
latexShowEqs(), latexShowEq() |
| 4206 |
|
| 4207 |
* latexTermPrint.cc (MixfixModule::latexHandleMinus): made const |
| 4208 |
(MixfixModule::latexHandleDivision): made const |
| 4209 |
(MixfixModule::latexHandleFloat): made const |
| 4210 |
(MixfixModule::latexHandleString): made const |
| 4211 |
(MixfixModule::latexHandleQuotedIdentifier): made const |
| 4212 |
(MixfixModule::latexHandleVariable): made const |
| 4213 |
|
| 4214 |
* sharedPrint.cc (MixfixModule::ambiguous): made const |
| 4215 |
|
| 4216 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 4217 |
ambiguous(), latexPrintPrefixName() |
| 4218 |
* latexCommon.cc (MixfixModule::latexPrintPrefixName): made |
| 4219 |
SymbolInfo& argument const |
| 4220 |
|
| 4221 |
* mixfixModule.hh (class MixfixModule): made Term* version of |
| 4222 |
latexPrettyPrint() protected |
| 4223 |
|
| 4224 |
* interpreter.cc (Interpreter::showEqs): handle latexBuffer |
| 4225 |
|
| 4226 |
* maudeLatexBuffer.hh (MaudeLatexBuffer::getStream): added |
| 4227 |
|
| 4228 |
* latexModulePrint.cc: created |
| 4229 |
|
| 4230 |
2023-06-16 Steven Eker <eker@pup> |
| 4231 |
|
| 4232 |
* mixfixModule.hh (class MixfixModule): added decl for Term* |
| 4233 |
version of latexPrettyPrint() |
| 4234 |
|
| 4235 |
* latexTermPrint.cc (MixfixModule::latexHandleVariable): added |
| 4236 |
(MixfixModule::latexHandleSMT_Number): added |
| 4237 |
(MixfixModule::latexPrettyPrint): added |
| 4238 |
|
| 4239 |
* mixfixModule.hh (class MixfixModule): added decls for Term* |
| 4240 |
versions of latexHandleDivision(), latexHandleFloat(), |
| 4241 |
latexHandleString(), latexHandleQuotedIdentifier() |
| 4242 |
|
| 4243 |
* latexTermPrint.cc (MixfixModule::latexHandleDivision): added |
| 4244 |
(MixfixModule::latexHandleFloat): added |
| 4245 |
(MixfixModule::latexHandleString): added |
| 4246 |
(MixfixModule::latexHandleQuotedIdentifier): added |
| 4247 |
|
| 4248 |
* mixfixModule.hh (class MixfixModule): added decl for Term* version of |
| 4249 |
latexHandleIter() |
| 4250 |
|
| 4251 |
* latexTermPrint.cc (MixfixModule::latexHandleIter): added |
| 4252 |
|
| 4253 |
* termPrint.cc (MixfixModule::handleIter): use saved nat rather than |
| 4254 |
calling getNat() a second time |
| 4255 |
|
| 4256 |
* latexDagNodePrint.cc (MixfixModule::latexHandleIter): use |
| 4257 |
safeCastNonNull<>() |
| 4258 |
|
| 4259 |
* mixfixModule.hh (class MixfixModule): added decls for Term* versions |
| 4260 |
of latexComputeColor(), latexSuffix(), latexHandleMinus() |
| 4261 |
|
| 4262 |
* latexTermPrint.cc: created |
| 4263 |
|
| 4264 |
* latexCommon.cc (MixfixModule::latexPrintPrefixName): moved here |
| 4265 |
|
| 4266 |
* mixfixModule.hh (class MixfixModule): made latexPrefix(), |
| 4267 |
latexSuffix(), latexPrintTails(), latexPrintTails(), latexComputeColor() |
| 4268 |
static |
| 4269 |
|
| 4270 |
* latexCommon.cc: moved latexRed, latexGreen, latexBlue, |
| 4271 |
latexCyan, latexMagenta, latexYellow, latexResetColor definitions |
| 4272 |
here |
| 4273 |
(MixfixModule::latexPrefix): moved here |
| 4274 |
(MixfixModule::latexPrintTokens): moved here |
| 4275 |
(MixfixModule::latexPrintTails): moved here |
| 4276 |
|
| 4277 |
* mixfixModule.hh (class MixfixModule): made latexFancySpace() |
| 4278 |
static |
| 4279 |
|
| 4280 |
* latexCommon.cc (MixfixModule::latexFancySpace): moved here |
| 4281 |
|
| 4282 |
* mixfixModule.hh (class MixfixModule): hasAlpha() decl -> |
| 4283 |
hasNonAlpha() |
| 4284 |
|
| 4285 |
* latexCommon.cc (MixfixModule::latexName): moved here (both |
| 4286 |
versions) |
| 4287 |
(MixfixModule::hasAlpha): moved here and becomes hasNonAlpha() |
| 4288 |
(MixfixModule::latexName): use hasNonAlpha() |
| 4289 |
(MixfixModule::latexType): moved here |
| 4290 |
|
| 4291 |
* latexDagNodePrint.cc: made latexRed, latexGreen, latexBlue, |
| 4292 |
latexCyan, latexMagenta, latexYellow latexResetColor local to |
| 4293 |
MixfixModule |
| 4294 |
|
| 4295 |
* mixfixModule.hh (class MixfixModule): added static const for |
| 4296 |
latexRed, latexGreen, latexBlue, latexCyan, latexMagenta, |
| 4297 |
latexYellow, latexResetColor |
| 4298 |
|
| 4299 |
2023-06-15 Steven Eker <eker@pup> |
| 4300 |
|
| 4301 |
* latexDagNodePrint.cc (MixfixModule::latexName): convert ' |
| 4302 |
to \textquotesingle because '' means something different in |
| 4303 |
LaTeX |
| 4304 |
(MixfixModule::latexHandleQuotedIdentifier): use \textquotesingle |
| 4305 |
for lead quote |
| 4306 |
(MixfixModule::latexName): use \maudeSingleQuote for ' |
| 4307 |
(MixfixModule::latexHandleQuotedIdentifier): use \maudeQid; use |
| 4308 |
\maudeSingleQuote for ' |
| 4309 |
|
| 4310 |
* erewrite.cc (Interpreter::eRewriteCont): use |
| 4311 |
MaudeLatexBuffer::generateContinue() |
| 4312 |
|
| 4313 |
* execute.cc (Interpreter::fRewriteCont): use |
| 4314 |
MaudeLatexBuffer::generateContinue() |
| 4315 |
|
| 4316 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 4317 |
generateErewrite() |
| 4318 |
|
| 4319 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateErewrite): |
| 4320 |
added |
| 4321 |
|
| 4322 |
* erewrite.cc (Interpreter::eRewrite): use |
| 4323 |
MaudeLatexBuffer::generateErewrite() |
| 4324 |
|
| 4325 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateReduce) |
| 4326 |
(MaudeLatexBuffer::generateRewrite) |
| 4327 |
(MaudeLatexBuffer::generateFrewrite): use generateCommand() |
| 4328 |
|
| 4329 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 4330 |
generateCommand() |
| 4331 |
|
| 4332 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateRewrite): use |
| 4333 |
printModifiers(), generateModifiers() |
| 4334 |
(MaudeLatexBuffer::generateReduce): use printModifiers(), |
| 4335 |
generateModifiers() |
| 4336 |
(MaudeLatexBuffer::generateCommand): added |
| 4337 |
|
| 4338 |
* execute.cc (Interpreter::fRewrite): use |
| 4339 |
MaudeLatexBuffer::generateFrewrite() |
| 4340 |
|
| 4341 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decls for |
| 4342 |
generateModifiers(), generateFrewrite() |
| 4343 |
|
| 4344 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateModifiers): added |
| 4345 |
(MaudeLatexBuffer::generateFrewrite): added |
| 4346 |
|
| 4347 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 4348 |
printModifiers() |
| 4349 |
|
| 4350 |
* prettyPrint.cc (MixfixModule::printModifiers): added |
| 4351 |
|
| 4352 |
2023-06-14 Steven Eker <eker@pup> |
| 4353 |
|
| 4354 |
* execute.cc (Interpreter::rewriteCont): call generateContinue() |
| 4355 |
on latexBuffer |
| 4356 |
(Interpreter::rewrite): call generateRewrite() latexBuffer |
| 4357 |
|
| 4358 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decls for |
| 4359 |
generateStats(), generateTiming(), generateContinue(), |
| 4360 |
generateRewrite() |
| 4361 |
|
| 4362 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateStats): added |
| 4363 |
(MaudeLatexBuffer::generateTiming): added |
| 4364 |
(MaudeLatexBuffer::generateResult): call generateStats() |
| 4365 |
(MaudeLatexBuffer::generateStats): support show breakdown |
| 4366 |
(MaudeLatexBuffer::generateContinue): added |
| 4367 |
(MaudeLatexBuffer::generateContinue): added |
| 4368 |
|
| 4369 |
2023-06-13 Steven Eker <eker@pup> |
| 4370 |
|
| 4371 |
* latexDagNodePrint.cc (MixfixModule::latexPrintPrefixName): use |
| 4372 |
latexFancySpace() (2 places) |
| 4373 |
(MixfixModule::latexPrintTokens): use latexFancySpace() (2 places) |
| 4374 |
(MixfixModule::latexPrintTails): use latexFancySpace() (2 places) |
| 4375 |
(MixfixModule::latexType): don't use \left[ and \right] for kinds |
| 4376 |
use \maudeLeftParen, \maudeRightParen everywhere |
| 4377 |
(MixfixModule::latexName): treat < > as \maudeSingleChar{} |
| 4378 |
(MixfixModule::latexName): treat ; : & $ # _ as \maudeSingleChar{} |
| 4379 |
(MixfixModule::latexHandleIter): use latexName() to clean up latex |
| 4380 |
special characters |
| 4381 |
(MixfixModule::latexFancySpace): handle foreground colors |
| 4382 |
|
| 4383 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 4384 |
latexFancySpace() |
| 4385 |
|
| 4386 |
* latexDagNodePrint.cc (MixfixModule::latexHandleQuotedIdentifier): |
| 4387 |
use \maudeString{} |
| 4388 |
(MixfixModule::latexHandleString): use \maudeString{} |
| 4389 |
(MixfixModule::latexPrettyPrint): set globalIndent = 0 |
| 4390 |
(MixfixModule::latexFancySpace): added |
| 4391 |
|
| 4392 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateReduce) |
| 4393 |
(MaudeLatexBuffer::generateResult): use maudeParagraph environment |
| 4394 |
(MaudeLatexBuffer::generateReduce): use comment environment |
| 4395 |
|
| 4396 |
* mixfixModule.hh (class MixfixModule): added decl for hasAlpha() |
| 4397 |
|
| 4398 |
* latexDagNodePrint.cc (MixfixModule::latexName): use |
| 4399 |
\maudeAllowBreak |
| 4400 |
(MixfixModule::latexSuffix): use latexType() |
| 4401 |
(MixfixModule::hasAlpha): added |
| 4402 |
(MixfixModule::latexName): use hasAlpha() and \maudeSymbolic |
| 4403 |
|
| 4404 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateReduce): use |
| 4405 |
Tty::blockEscapeSequences(), Tty::unblockEscapeSequences() to avoid |
| 4406 |
escape sequences in latex comments |
| 4407 |
|
| 4408 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint): fix missing |
| 4409 |
\right) |
| 4410 |
|
| 4411 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateReduce): generate |
| 4412 |
latex comment |
| 4413 |
(MaudeLatexBuffer::MaudeLatexBuffer): use article; use geometry |
| 4414 |
|
| 4415 |
2023-06-12 Steven Eker <eker@pup> |
| 4416 |
|
| 4417 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 4418 |
generateModuleName() |
| 4419 |
|
| 4420 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateModuleName): added |
| 4421 |
(MaudeLatexBuffer::generateReduce): use generateModuleName() |
| 4422 |
|
| 4423 |
* latexDagNodePrint.cc (MixfixModule::latexName): moved |
| 4424 |
\maudeIdentifier{}, \maudeSingleChar{} code from const char* |
| 4425 |
version to int version |
| 4426 |
(MixfixModule::latexType): use \maudeSort{} |
| 4427 |
|
| 4428 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateResult): use |
| 4429 |
\newline |
| 4430 |
|
| 4431 |
* mixfixModule.hh (class MixfixModule): added decl for code |
| 4432 |
version of latexName() |
| 4433 |
|
| 4434 |
* latexDagNodePrint.cc (MixfixModule::latexType): convert rope |
| 4435 |
to C string |
| 4436 |
(MixfixModule::latexName): added code version |
| 4437 |
|
| 4438 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 4439 |
latexName() |
| 4440 |
|
| 4441 |
* latexDagNodePrint.cc (MixfixModule::latexName): take const |
| 4442 |
char* rather than token code |
| 4443 |
(MixfixModule::latexType): use Token::sortName() and new |
| 4444 |
latexName() convention |
| 4445 |
|
| 4446 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): generateSort() |
| 4447 |
-> generateType() |
| 4448 |
|
| 4449 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateSort): becomes |
| 4450 |
generateType(); use latexType() |
| 4451 |
(MaudeLatexBuffer::generateResult): use generateType() |
| 4452 |
|
| 4453 |
* mixfixModule.hh (class MixfixModule): added declaration for |
| 4454 |
latexType() |
| 4455 |
|
| 4456 |
* latexDagNodePrint.cc (MixfixModule::latexType): added |
| 4457 |
|
| 4458 |
* mixfixModule.hh (class MixfixModule): made latexName() public |
| 4459 |
and static |
| 4460 |
|
| 4461 |
* latexDagNodePrint.cc (MixfixModule::latexPrettyPrint): use |
| 4462 |
latexName() in prefix case |
| 4463 |
(MixfixModule::latexPrintTokens): use latexName() |
| 4464 |
(MixfixModule::latexName): handle 10 characters with special |
| 4465 |
meanings in latex |
| 4466 |
|
| 4467 |
* mixfixModule.hh (class MixfixModule): added decl for latexName() |
| 4468 |
|
| 4469 |
* latexDagNodePrint.cc (MixfixModule::latexComputeColor): handle |
| 4470 |
color |
| 4471 |
(MixfixModule::latexPrefix): handle color |
| 4472 |
(MixfixModule::latexSuffix): handle color |
| 4473 |
(MixfixModule::latexHandleIter): handle color |
| 4474 |
(MixfixModule::latexPrintTokens): handle color |
| 4475 |
(MixfixModule::latexPrintTails): handle color |
| 4476 |
(MixfixModule::latexPrettyPrint): handle color |
| 4477 |
(MixfixModule::latexPrintPrefixName): added |
| 4478 |
(MixfixModule::latexHandleIter): use latexPrintPrefixName() |
| 4479 |
(MixfixModule::latexPrettyPrint): use latexPrintPrefixName() (2 |
| 4480 |
places) |
| 4481 |
(MixfixModule::latexHandleDivision): use \maudeNumber{} |
| 4482 |
(MixfixModule::latexHandleIter): use \maudeNumber{} (2 places) |
| 4483 |
(MixfixModule::latexHandleMinus): use \maudeNumber{} |
| 4484 |
(MixfixModule::latexHandleSMT_Number): use \maudeNumber{} |
| 4485 |
(MixfixModule::latexPrintTokens): use \maudeSpace |
| 4486 |
(MixfixModule::latexPrintTails): use \maudeSpace |
| 4487 |
(MixfixModule::latexName): added |
| 4488 |
|
| 4489 |
2023-06-09 Steven Eker <eker@pup> |
| 4490 |
|
| 4491 |
* mixfixModule.hh (class MixfixModule): added decl for static |
| 4492 |
latexPrettyPrint() |
| 4493 |
(class MixfixModule): added decls for latexComputeColor(), |
| 4494 |
latexPrefix(), latexSuffix(), latexHandleIter(), latexHandleMinus(), |
| 4495 |
latexHandleDivision(), latexHandleFloat(), latexHandleString(), |
| 4496 |
latexHandleQuotedIdentifier(), latexHandleVariable(), |
| 4497 |
latexHandleSMT_Number(), latexPrettyPrint(), latexPrintTokens(), |
| 4498 |
latexPrintTails() |
| 4499 |
|
| 4500 |
* latexDagNodePrint.cc: created |
| 4501 |
|
| 4502 |
* maudeLatexBuffer.hh (class MaudeLatexBuffer): added decl for |
| 4503 |
generateSort() |
| 4504 |
|
| 4505 |
* maudeLatexBuffer.cc (MaudeLatexBuffer::generateSort): added |
| 4506 |
|
| 4507 |
2023-06-07 Steven Eker <eker@pup> |
| 4508 |
|
| 4509 |
* execute.cc (Interpreter::endRewriting): use latexBuffer |
| 4510 |
(Interpreter::reduce): use latexBuffer |
| 4511 |
|
| 4512 |
* interpreter.cc (Interpreter::Interpreter): init latexBuffer rather |
| 4513 |
than latexLog |
| 4514 |
|
| 4515 |
* mixfix.hh: added class MaudeLatexBuffer |
| 4516 |
|
| 4517 |
* interpreter.hh (class Interpreter): replace data member latexLog |
| 4518 |
with latexBuffer |
| 4519 |
|
| 4520 |
* interpreter.cc (Interpreter::beginLatexLog): use MaudeLatexBuffer |
| 4521 |
(Interpreter::endLatexLog): delete latexBuffer |
| 4522 |
|
| 4523 |
* maudeLatexBuffer.cc: created |
| 4524 |
|
| 4525 |
* maudeLatexBuffer.hh: created |
| 4526 |
|
| 4527 |
2023-06-06 Steven Eker <eker@pup> |
| 4528 |
|
| 4529 |
* interpreter.hh (class Interpreter): added data member latexLog |
| 4530 |
|
| 4531 |
* interpreter.cc (Interpreter::Interpreter): init latexLog |
| 4532 |
(Interpreter::beginLatexLog): added |
| 4533 |
(Interpreter::endLatexLog): added |
| 4534 |
|
| 4535 |
* interact.cc (UserLevelRewritingContext::commandLoop): call endLatexLog() |
| 4536 |
|
| 4537 |
* interpreter.hh (class Interpreter): added decls for beginLatexLog(), |
| 4538 |
endLatexLog() |
| 4539 |
|
| 4540 |
2023-06-02 Steven Eker <eker@pup> |
| 4541 |
|
| 4542 |
* importTranslation.cc (ImportTranslation::translateStrategy): replaced |
| 4543 |
FOR_EACH_CONST with regular for loop |
| 4544 |
(ImportTranslation::translateRegularSymbol): ditto |
| 4545 |
|
| 4546 |
2023-05-17 Steven Eker <eker@pup> |
| 4547 |
|
| 4548 |
* top.yy: added token KW_RESOURCES |
| 4549 |
|
| 4550 |
* commands.yy: add set show resources |
| 4551 |
|
| 4552 |
* interact.cc (UserLevelRewritingContext::commandLoop): call |
| 4553 |
MemoryCell::maybeShowResources() on normal exit |
| 4554 |
|
| 4555 |
2023-05-15 Steven Eker <eker@pup> |
| 4556 |
|
| 4557 |
* interact.cc (UserLevelRewritingContext::commandLoop): use FAST_QUIT |
| 4558 |
to determine if we delete the interpreter or not |
| 4559 |
|
| 4560 |
===================================Maude150=========================================== |
| 4561 |
|
| 4562 |
2023-05-10 Steven Eker <eker@pup> |
| 4563 |
|
| 4564 |
* specialSymbolTypes.cc: added PrngManagerSymbol |
| 4565 |
|
| 4566 |
* fancySymbols.cc (MixfixModule::newFancySymbol): added |
| 4567 |
support for PrngManagerSymbol |
| 4568 |
|
| 4569 |
* symbolType.hh (class SymbolType): added PRNG_MANAGER_SYMBOL |
| 4570 |
|
| 4571 |
2023-04-26 Steven Eker <eker@pup> |
| 4572 |
|
| 4573 |
* token.cc (Token::split): rewritten to use buffer (int& version) |
| 4574 |
(Token::splitKind): rewritten to use buffer |
| 4575 |
|
| 4576 |
2023-04-13 Steven Eker <eker@pup> |
| 4577 |
|
| 4578 |
* top.yy: deleted polarity |
| 4579 |
|
| 4580 |
* commands.yy (polarityDot): added; use to replace polarity '.' |
| 4581 |
(polarity): deleted |
| 4582 |
|
| 4583 |
* top.yy: added KW_ON_DOT KW_OFF_DOT polarityDot |
| 4584 |
|
| 4585 |
* lexer.ll: added KW_ON_DOT and KW_OFF_DOT to INITIAL mode |
| 4586 |
|
| 4587 |
===================================Maude146=========================================== |
| 4588 |
|
| 4589 |
* banner.cc (printBanner): adjust indentation for 3.3.1 |
| 4590 |
|
| 4591 |
* modules.yy (toAttribute): overparse latex attribute without string |
| 4592 |
(attribute): overparse latex attribute without string |
| 4593 |
|
| 4594 |
* termPrint.cc (MixfixModule::prettyPrint): use empty() |
| 4595 |
|
| 4596 |
* loopMode.cc (Interpreter::contLoop): use empty() |
| 4597 |
|
| 4598 |
* bufferPrint.cc (MixfixModule::prettyPrint): use empty() |
| 4599 |
|
| 4600 |
* fixUp.cc (SyntacticPreModule::fixUpSymbol): use empty() |
| 4601 |
(SyntacticPreModule::fixUpPolymorph): use empty() |
| 4602 |
|
| 4603 |
* dagNodePrint.cc (MixfixModule::prettyPrint): use empty() |
| 4604 |
|
| 4605 |
2023-04-12 Steven Eker <eker@pup> |
| 4606 |
|
| 4607 |
* syntacticPreModule.hh (class SyntacticPreModule): Bool -> bool |
| 4608 |
|
| 4609 |
* entry.cc (MixfixModule::addOpDeclaration): use empty() |
| 4610 |
(MixfixModule::addPolymorph): use empty() |
| 4611 |
|
| 4612 |
2023-04-11 Steven Eker <eker@pup> |
| 4613 |
|
| 4614 |
* quotedIdentifierSymbol.cc (QuotedIdentifierSymbol::attachData): use |
| 4615 |
empty() |
| 4616 |
|
| 4617 |
* loopSymbol.cc (LoopSymbol::attachData): use empty() |
| 4618 |
|
| 4619 |
* ops.cc (SyntacticPreModule::makeDeclsConsistent): use empty() (2 places) |
| 4620 |
|
| 4621 |
* modules.yy (attribute): overparse prec/gather/format/strat/strategy/poly |
| 4622 |
attributes without required information |
| 4623 |
(toAttribute): overparse prec/gather/format attributes without required |
| 4624 |
information |
| 4625 |
(moduleExprDot): use Token* version of operator<<() |
| 4626 |
(skipStrayArrow): use Token* version of operator<<() |
| 4627 |
(parameter): use Token* version of operator<<() |
| 4628 |
(declaration): use Token* version of operator<<() |
| 4629 |
(skipStrayColon): use Token* version of operator<<() |
| 4630 |
(domainRangeAttr): use Token* version of operator<<(); use $1 rather than |
| 4631 |
lineNumber |
| 4632 |
(viewStratMap): use Token* version of operator<<() |
| 4633 |
|
| 4634 |
* token.hh: added decl for Token* version of operator<<() |
| 4635 |
|
| 4636 |
* token.cc (operator<<): added Token* version |
| 4637 |
|
| 4638 |
* interact.cc (UserLevelRewritingContext::internalErrorHandler): call |
| 4639 |
exit() rather than _exit() to avoid losing message on Macs |
| 4640 |
(UserLevelRewritingContext::stackOverflowHandler): call exit() rather |
| 4641 |
than _exit() to avoid losing message on Macs |
| 4642 |
|
| 4643 |
2023-04-10 Steven Eker <eker@pup> |
| 4644 |
|
| 4645 |
* interact.cc (UserLevelRewritingContext::stackOverflowHandler): fix |
| 4646 |
grammar in message |
| 4647 |
|
| 4648 |
===================================Maude145=========================================== |
| 4649 |
|
| 4650 |
2023-04-07 Steven Eker <eker@pup> |
| 4651 |
|
| 4652 |
* instantiateModuleWithFreeParameters.cc |
| 4653 |
(ImportModule::handleInstantiationByParameter): added check for the |
| 4654 |
parameter clashing with one of our pseudo-parameters |
| 4655 |
(ImportModule::handleBoundParameters): added check for bound parameter |
| 4656 |
clashing with one of our pseudo-parameters |
| 4657 |
|
| 4658 |
* renameModule.cc (ImportModule::localSort2): Assert() -> AlwaysAssert() |
| 4659 |
(ImportModule::localSort2): QUOTE() copy in AlwaysAssert() |
| 4660 |
|
| 4661 |
2023-04-06 Steven Eker <eker@pup> |
| 4662 |
|
| 4663 |
* importModule.cc (ImportModule::addImport): check for pseudo-parameter |
| 4664 |
capture |
| 4665 |
|
| 4666 |
* importModule.hh (class ImportModule): added data members |
| 4667 |
pseudoParameters, pseudoParametersComputed; added decls for |
| 4668 |
accumulatePseudoParameters() and getPseudoParameters() |
| 4669 |
|
| 4670 |
* pseudoParameters.cc: created |
| 4671 |
|
| 4672 |
2023-04-04 Steven Eker <eker@pup> |
| 4673 |
|
| 4674 |
* mixfixParser.cc (MixfixParse): pass nrTokensGuess to tokenSet |
| 4675 |
|
| 4676 |
* makeGrammar.cc (MixfixModule::makeSpecialProductions): getTokenMap() |
| 4677 |
-> getTokenSet() |
| 4678 |
|
| 4679 |
* mixfixParser.cc (MixfixParser::parseSentence): use tokenSet |
| 4680 |
|
| 4681 |
* mixfixParser.hh (MixfixParser::tokenToIndex): use tokenSet |
| 4682 |
(MixfixParser::getNrTerminals): use tokenSet |
| 4683 |
(class MixfixParser): restored IntMap; use for variableTerminals, |
| 4684 |
iterSymbolTerminals |
| 4685 |
|
| 4686 |
* mixfixParser.cc (MixfixParser::translateSpecialToken): use tokenSet |
| 4687 |
|
| 4688 |
* mixfixParser.hh (class MixfixParser): TokenMap -> TokenSet, tokenMap -> |
| 4689 |
tokenSet |
| 4690 |
(MixfixParser::getTokenSet): renamed from getTokenMap(), made inline and |
| 4691 |
moved here |
| 4692 |
|
| 4693 |
2023-04-03 Steven Eker <eker@pup> |
| 4694 |
|
| 4695 |
* makeGrammar.cc (MixfixModule::makeGrammar): pass nrTokensGuess |
| 4696 |
to MixfixParser() |
| 4697 |
|
| 4698 |
* mixfixParser.hh (class MixfixParser): updated decl for ctor |
| 4699 |
|
| 4700 |
* mixfixParser.cc (MixfixParser): take nrTokensGuess and use it to |
| 4701 |
specify the initial number of buckets in tokenMap |
| 4702 |
|
| 4703 |
* instantiateModuleWithBoundParameters.cc |
| 4704 |
(ImportModule::instantiateRenaming): use instantiateSortName() to |
| 4705 |
instantiate operator names so that we catch parameterized constants |
| 4706 |
|
| 4707 |
* renaming.hh (class Renaming): updated decl for addOpMappingPartialCopy() |
| 4708 |
|
| 4709 |
* renaming.cc (Renaming::addOpMappingPartialCopy): take newFromName and |
| 4710 |
newToName parameters |
| 4711 |
|
| 4712 |
2023-03-31 Steven Eker <eker@pup> |
| 4713 |
|
| 4714 |
* instantiateViewWithFreeParameters.cc (View::makeInstantiation): added |
| 4715 |
3 DebugInfo()s |
| 4716 |
|
| 4717 |
* instantiateModuleWithFreeParameters.cc |
| 4718 |
(ImportModule::handleParameterizedConstant): handle polymorphic |
| 4719 |
parameterized constants |
| 4720 |
(ImportModule::handleParameterizedConstant): don't consider constants or |
| 4721 |
polymorphic constants from a parameter theory |
| 4722 |
|
| 4723 |
* renaming.cc (Renaming::renameOp): more detailed warning when multiple |
| 4724 |
mappings apply |
| 4725 |
(Renaming::typeMatch): fix bug where we were not checking that the |
| 4726 |
number of types matched the number of sort names |
| 4727 |
(Renaming::renameOp): added DebugInfo() |
| 4728 |
|
| 4729 |
* importTranslation.cc: more detailed AlwaysAssert() |
| 4730 |
|
| 4731 |
2023-03-30 Steven Eker <eker@pup> |
| 4732 |
|
| 4733 |
* token.hh (class Token): added decl for computeSpecialProperty() |
| 4734 |
|
| 4735 |
* token.cc (Token::computeSpecialProperty): added; fix bug where something |
| 4736 |
that starts with " but isn't a string can't be anything else |
| 4737 |
(Token::checkForSpecialProperty): use computeSpecialProperty() and |
| 4738 |
push_back() |
| 4739 |
|
| 4740 |
2023-03-28 Steven Eker <eker@pup> |
| 4741 |
|
| 4742 |
* mixfixParser.hh (class MixfixParser): deleted typedef IntMap |
| 4743 |
|
| 4744 |
* mixfixParser.cc (MixfixParser::translateSpecialToken): use auto for |
| 4745 |
result of find() on variableTerminals and iterSymbolTerminals |
| 4746 |
|
| 4747 |
* mixfixParser.hh (class MixfixParser): use TokenMap for variableTerminals |
| 4748 |
and iterSymbolTerminals |
| 4749 |
|
| 4750 |
* makeGrammar.cc (MixfixModule::makeSpecialProductions): use |
| 4751 |
getTokenMap() |
| 4752 |
|
| 4753 |
* mixfixParser.cc (MixfixParser::insertProduction): use tokenToIndex() |
| 4754 |
rather than tokens.insert() |
| 4755 |
(MixfixParser::insertBubbleProduction): use tokenToIndex() rather than |
| 4756 |
tokens.insert() (3 places) |
| 4757 |
(MixfixParser::insertSpecialTerminal) |
| 4758 |
(MixfixParser::insertVariableTerminal) |
| 4759 |
(MixfixParser::insertIterSymbolTerminal): use tokenToIndex() rather than |
| 4760 |
tokens.insert() |
| 4761 |
(MixfixParser::translateSpecialToken): use tokenMap.size() rather than |
| 4762 |
tokens.cardinality() |
| 4763 |
(MixfixParser::parseSentence): use tokenMap.find() |
| 4764 |
|
| 4765 |
* mixfixParser.hh (MixfixParser::tokenToIndex): added |
| 4766 |
|
| 4767 |
* mixfixParser.cc (MixfixParser::getTokenSet): becomes getTokenMap() |
| 4768 |
|
| 4769 |
* mixfixParser.hh (class MixfixParser): added typedef TokenMap |
| 4770 |
(class MixfixParser): replaced tokens with tokenMap |
| 4771 |
(MixfixParser::getNrTerminals): use tokenMap |
| 4772 |
|
| 4773 |
* modules.yy: store() -> tokensStore() |
| 4774 |
|
| 4775 |
* top.yy: store() -> tokensStore(); converted tokensClear(), tokensStore(), |
| 4776 |
fragClear(),fragStore(token) macros to inline functions |
| 4777 |
|
| 4778 |
* modules.yy: clear() -> tokensClear() |
| 4779 |
|
| 4780 |
* commands.yy (numbersModuleTerm4): clear() -> tokensClear() |
| 4781 |
|
| 4782 |
* top.yy: clear() macro to tokensClear() |
| 4783 |
|
| 4784 |
* entry.cc (MixfixModule::addPolymorph): contractTo(0) -> clear() |
| 4785 |
(MixfixModule::addOpDeclaration): contractTo(0) -> clear() (2 places) |
| 4786 |
|
| 4787 |
* loopSymbol.cc (LoopSymbol::extractQidList): contractTo(0) -> clear() |
| 4788 |
|
| 4789 |
* makeGrammar.cc (MixfixModule::makePolymorphProductions): contractTo(0) -> |
| 4790 |
clear() |
| 4791 |
|
| 4792 |
* compiler.cc (Compiler::inputGraph): contractTo(0) -> clear() |
| 4793 |
|
| 4794 |
* top.yy: contractTo(0) -> clear() |
| 4795 |
|
| 4796 |
* fileTable.cc (FileTable::abortEverything): contractTo(0) -> clear() (2 |
| 4797 |
places) |
| 4798 |
|
| 4799 |
* commands.yy (command): contractTo(0) -> clear() (21 places) |
| 4800 |
|
| 4801 |
* makeGrammar.cc (MixfixModule::makeStrategyLanguageProductions): use |
| 4802 |
clear() |
| 4803 |
(MixfixModule::makeSymbolProductions): use clear() |
| 4804 |
|
| 4805 |
* renaming.cc (Renaming::addStratTarget): use pop_back() |
| 4806 |
|
| 4807 |
* token.cc (Token::dropChar): use string::pop_back() |
| 4808 |
|
| 4809 |
* ops.cc (SyntacticPreModule::makeDeclsConsistent): use empty(), back() and |
| 4810 |
pop_back() |
| 4811 |
|
| 4812 |
2023-03-27 Steven Eker <eker@pup> |
| 4813 |
|
| 4814 |
* token.cc (Token::fixUp): use buffer.data() (both versions) |
| 4815 |
(Token::bubbleToPrefixNameCode): use buffer.data() |
| 4816 |
|
| 4817 |
* token.hh (class Token): buffer becomes Vector<char> |
| 4818 |
|
| 4819 |
* token.cc: buffer becomes Vector<char> |
| 4820 |
|
| 4821 |
* renaming.hh (class Renaming): use Vector<> rather than vector<> for |
| 4822 |
typedef AttrMap |
| 4823 |
|
| 4824 |
2023-03-23 Steven Eker <eker@pup> |
| 4825 |
|
| 4826 |
* entity.hh (class Entity): struct UserLt not needed because the default |
| 4827 |
std::less provides an implementation defined strict total order over pointers |
| 4828 |
(Entity::getNrUsers): remove the inefficient comment because size() is |
| 4829 |
guaranteed constant time from C++98 onwards |
| 4830 |
|
| 4831 |
===================================Maude144=========================================== |
| 4832 |
|
| 4833 |
2023-03-21 Steven Eker <eker@pup> |
| 4834 |
|
| 4835 |
* top.yy: added KW_GENERATE_BY |
| 4836 |
|
| 4837 |
* commands.yy (importMode): added generate-by |
| 4838 |
|
| 4839 |
* lexer.ll: added generate-by |
| 4840 |
|
| 4841 |
2023-03-20 Steven Eker <eker@pup> |
| 4842 |
|
| 4843 |
* dagNodePrint.cc (MixfixModule::handleVariable): added and commented out |
| 4844 |
code to print variable index and variable dag node address for debugging |
| 4845 |
purposes |
| 4846 |
|
| 4847 |
2023-03-14 Steven Eker <eker@pup> |
| 4848 |
|
| 4849 |
* banner.cc (printBanner): center name string |
| 4850 |
|
| 4851 |
* search.cc (Interpreter::showSearchPath): print rule labels when showRule |
| 4852 |
== false |
| 4853 |
|
| 4854 |
2023-03-10 Steven Eker <eker@pup> |
| 4855 |
|
| 4856 |
* importTranslation.cc (ImportTranslation::translateExpr): initialize index |
| 4857 |
to avoid compiler warning |
| 4858 |
(ImportTranslation::translateTerm): initialize index to avoid compiler warning |
| 4859 |
|
| 4860 |
* modules.yy (fromSpec): don't use domainAndRange to avoid reduce/reduce |
| 4861 |
conflict |
| 4862 |
(viewEndOpMap): don't use domainAndRange to avoid reduce/reduce |
| 4863 |
conflict |
| 4864 |
(domainAndRange): deleted |
| 4865 |
|
| 4866 |
2023-03-06 Steven Eker <eker@pup> |
| 4867 |
|
| 4868 |
* mixfixParser.cc (MixfixParser::makeTerm): fixed spelling error in |
| 4869 |
IssueWarning() |
| 4870 |
|
| 4871 |
===================================Maude143=========================================== |
| 4872 |
|
| 4873 |
2023-03-03 Steven Eker <eker@pup> |
| 4874 |
|
| 4875 |
* modules.yy (domainAndRange): added |
| 4876 |
(viewEndOpMap): use domainAndRange |
| 4877 |
(fromSpec): use domainAndRange |
| 4878 |
|
| 4879 |
* token.hh (class Token): deleted decl for reallocateBuffer() |
| 4880 |
(class Token): data member buffer becomes a vector<char>; data member |
| 4881 |
bufferLength deleted |
| 4882 |
(Token::bufferExpandTo): deleted |
| 4883 |
|
| 4884 |
* token.cc (Token::fixUp): rewritten using vector<char> buffer (both |
| 4885 |
versions) |
| 4886 |
(Token::bubbleToPrefixNameCode): rewritten using vector<char> buffer |
| 4887 |
(Token::reallocateBuffer): deleted |
| 4888 |
|
| 4889 |
* modules.yy (finalPair): use attributeName |
| 4890 |
(cPair): use attributeName |
| 4891 |
(attributeName): added |
| 4892 |
(declaration): check for null module expression |
| 4893 |
(moduleExprDot): handle missing module expression by returning null |
| 4894 |
|
| 4895 |
* top.yy: added attributeName |
| 4896 |
|
| 4897 |
* modules.yy (sortToken): refactored token types |
| 4898 |
|
| 4899 |
* top.yy: deleted nonterminals identifier inert startKeyword midKeyword |
| 4900 |
attrKeyword; '@' takes a return value |
| 4901 |
|
| 4902 |
* modules.yy (stratName): define stratName |
| 4903 |
|
| 4904 |
* top.yy: added stratName nonterminal |
| 4905 |
|
| 4906 |
* modules.yy: stragegy uses of identifier moved to stratName |
| 4907 |
|
| 4908 |
* top.yy: KW_OO no longer declared to return a value |
| 4909 |
|
| 4910 |
* lexer.ll (id): added pconst to BAR_OP_ATTRIBUTE termination |
| 4911 |
tokens; KW_OO no longer returns a value; added comment to explain |
| 4912 |
while we still need a return value for KW_VIEW |
| 4913 |
|
| 4914 |
2023-03-02 Steven Eker <eker@pup> |
| 4915 |
|
| 4916 |
* modules.yy (sortToken): use attrKeyword rather than attrKeyword2 |
| 4917 |
(sortToken): add KW_COLON2 for consistency |
| 4918 |
|
| 4919 |
* top.yy: deleted attrKeyword2 |
| 4920 |
|
| 4921 |
* modules.yy (inert): move '[' | ']' here |
| 4922 |
(attrKeyword2): merged with attrKeyword |
| 4923 |
|
| 4924 |
* top.yy: deleted startKeyword2 |
| 4925 |
|
| 4926 |
* modules.yy (inert): moved ',' | KW_TO here from identifier |
| 4927 |
(tokenBarDot): no longer need ',' | KW_TO |
| 4928 |
(startKeyword2): merged into startKeyword |
| 4929 |
|
| 4930 |
* interpreter.cc (Interpreter::makeModule): added comment to explain |
| 4931 |
why we don't leak memory on failure |
| 4932 |
|
| 4933 |
* variantUnify.cc (Interpreter::variantUnify): use range-based for |
| 4934 |
loops |
| 4935 |
|
| 4936 |
* variantMatch.cc (Interpreter::variantMatch): use range-based for |
| 4937 |
loops |
| 4938 |
|
| 4939 |
* syntacticView.cc (SyntacticView::handleVarDecls): use |
| 4940 |
range-based for loop |
| 4941 |
|
| 4942 |
* search.cc (Interpreter::search): use range-based for loop |
| 4943 |
|
| 4944 |
* interpreter.cc (Interpreter::updateSet): use range erase() |
| 4945 |
(Interpreter::makeModule): use range-based for loop |
| 4946 |
|
| 4947 |
* getVariants.cc (Interpreter::getVariants): use range-based for |
| 4948 |
loops |
| 4949 |
|
| 4950 |
* instantiateViewWithFreeParameters.cc |
| 4951 |
(View::handleInstantiationByModuleView): use range-based for loop |
| 4952 |
and safeCastNonNull<>() |
| 4953 |
(View::handleOpToTermMappings): use range-based for loop |
| 4954 |
(View::handleStratToExprMappings): use range-based for loop |
| 4955 |
|
| 4956 |
* moduleExpression.cc (ModuleExpression::deepSelfDestruct): use |
| 4957 |
range-based for loops |
| 4958 |
(operator<<):use range-based for loop |
| 4959 |
|
| 4960 |
* instantiateModuleWithFreeParameters.cc |
| 4961 |
(ImportModule::handleInstantiationByParameter): use range-based for |
| 4962 |
loop |
| 4963 |
(ImportModule::handleRegularImports): use Index and range-based |
| 4964 |
for loop |
| 4965 |
|
| 4966 |
* instantiateModuleWithBoundParameters.cc |
| 4967 |
(ImportModule::handleSummation): use Index and range-based for loop |
| 4968 |
|
| 4969 |
* mixfixModule.cc (MixfixModule::checkFreshVariableNames): use |
| 4970 |
range-based for loops |
| 4971 |
(~MixfixModule): use range-based for loops |
| 4972 |
(MixfixModule::getSMT_Info): use range-based for loops |
| 4973 |
(MixfixModule::validForSMT_Rewriting): use Index and range-based for |
| 4974 |
loops |
| 4975 |
|
| 4976 |
* entry.cc (MixfixModule::checkIterated): use range-based for loop |
| 4977 |
|
| 4978 |
2023-03-01 Steven Eker <eker@pup> |
| 4979 |
|
| 4980 |
* modules.yy (kind): added |
| 4981 |
(typeName1Dot): use kind |
| 4982 |
(typeName1): use kind |
| 4983 |
|
| 4984 |
* top.yy: added type decl for typeName1Dot |
| 4985 |
|
| 4986 |
* modules.yy (moduleExprDot): use tokenDot |
| 4987 |
(sortDot): use tokenDot |
| 4988 |
(endBubble): use tokenDot |
| 4989 |
(dot): use tokenDot |
| 4990 |
(endSortNameList): use tokenDot |
| 4991 |
(classDecl): don't parse period here |
| 4992 |
(classDef): use expectedDot |
| 4993 |
(cPairList): rewritten to have dangling comma and allow empty list |
| 4994 |
(typeName1Dot): added |
| 4995 |
(finalPair): use typeName1Dot |
| 4996 |
|
| 4997 |
* top.yy: added type decl for tokenDot |
| 4998 |
|
| 4999 |
* modules.yy (endSortNameList): added |
| 5000 |
(declaration): use endSortNameList for sort |
| 5001 |
(endSubsortList): added |
| 5002 |
(declaration): use endSubsortList for subsort |
| 5003 |
(declaration): use endSubsortList for subclass |
| 5004 |
(subsortList): redefined to have trailing '<' |
| 5005 |
(tokenDot): added |
| 5006 |
(classDecl): added |
| 5007 |
(declaration): use classDecl |
| 5008 |
|
| 5009 |
* command.cc (SyntacticPreModule::showModule): only use sortName() |
| 5010 |
for constants that have Token::AUX_STRUCTURED_SORT |
| 5011 |
(SyntacticPreModule::showModule): put parens around parameterized |
| 5012 |
constant names in ops declaration |
| 5013 |
|
| 5014 |
2023-02-28 Steven Eker <eker@pup> |
| 5015 |
|
| 5016 |
* makeGrammar.cc (MixfixModule::makeParameterizedSortProductions): |
| 5017 |
use range-based for loop |
| 5018 |
(MixfixModule::makeLabelProductions): use range-based for loop |
| 5019 |
(MixfixModule::makeSpecialProductions): use range-based for loop; |
| 5020 |
deleted commented out print statement |
| 5021 |
|
| 5022 |
* interpreter.cc (Interpreter::cleanCaches): added comment to |
| 5023 |
explain the need to iterate |
| 5024 |
|
| 5025 |
* modules.yy (view): call cleanCaches() if we displace a view |
| 5026 |
|
| 5027 |
* syntacticPreModule.cc (SyntacticPreModule::finishModule): call |
| 5028 |
cleanCaches() rather than destructUnusedModules() |
| 5029 |
(SyntacticPreModule::finishModule): only call cleanCaches() if we |
| 5030 |
displaced a module. |
| 5031 |
|
| 5032 |
* interpreter.hh (class Interpreter): added decl for |
| 5033 |
cleanCaches() |
| 5034 |
|
| 5035 |
* interpreter.cc (Interpreter::cleanCaches): added |
| 5036 |
|
| 5037 |
* moduleCache.cc (ModuleCache::regretToInform): use |
| 5038 |
safeCastNonNull<>() |
| 5039 |
|
| 5040 |
* viewCache.hh (class ViewCache): updated decl for |
| 5041 |
destructUnusedViews() |
| 5042 |
|
| 5043 |
* viewCache.cc (ViewCache::destructUnusedViews): rewritten |
| 5044 |
(ViewCache::regretToInform): use safeCastNonNull<>() |
| 5045 |
|
| 5046 |
* moduleCache.cc (ModuleCache::destructUnusedModules): rewritten |
| 5047 |
to work in forwards direction after all |
| 5048 |
|
| 5049 |
* viewCache.cc (ViewCache::destructUnusedViews): added |
| 5050 |
DebugAdvisory() |
| 5051 |
|
| 5052 |
* moduleCache.hh (class ModuleCache): updated decl for |
| 5053 |
destructUnusedModules() |
| 5054 |
|
| 5055 |
* moduleCache.cc (ModuleCache::destructUnusedModules): return |
| 5056 |
number of destructed modules |
| 5057 |
|
| 5058 |
* moduleCache.hh (class ModuleCache): updated decl for |
| 5059 |
destructUnusedModules() |
| 5060 |
|
| 5061 |
* moduleCache.cc (ModuleCache::destructUnusedModules): |
| 5062 |
reimplemented; make a since reverse pass through the cache and |
| 5063 |
return a true if we destructed a module |
| 5064 |
|
| 5065 |
2023-02-27 Steven Eker <eker@pup> |
| 5066 |
|
| 5067 |
* lexerAux.hh: added decl for missingToken() |
| 5068 |
|
| 5069 |
* lexerAux.cc (bubbleEofError): call analyzeEofError() |
| 5070 |
(analyzeEofError): count parentheses |
| 5071 |
(missingToken): added |
| 5072 |
|
| 5073 |
* lexerAux.hh: added decls for startOfStatement(), |
| 5074 |
analyzeEofError() |
| 5075 |
|
| 5076 |
* sharedTokens.hh (class SharedTokens): added analyzeEofError() |
| 5077 |
as a friend |
| 5078 |
|
| 5079 |
* lexerAux.cc (startOfStatement): added |
| 5080 |
(analyzeEofError): added |
| 5081 |
|
| 5082 |
* lexer.ll (id): added gb and generated-by to <END_STATEMENT_MODE> |
| 5083 |
|
| 5084 |
* top.yy: added KW_STATE |
| 5085 |
|
| 5086 |
* lexer.ll: added KW_STATE |
| 5087 |
|
| 5088 |
* commands.yy (command): new showSearchPath; added show path |
| 5089 |
state command |
| 5090 |
|
| 5091 |
* interpreter.hh (class Interpreter): updated decl for |
| 5092 |
showSearchPath(); |
| 5093 |
|
| 5094 |
* search.cc (Interpreter::showSearchPath): take showRule |
| 5095 |
argument |
| 5096 |
|
| 5097 |
* preModule.cc (~PreModule): use range-based for loop (2 places) |
| 5098 |
(PreModule::processParameters): use range-based for loop |
| 5099 |
(PreModule::processExplicitImports): use range-based for loop |
| 5100 |
|
| 5101 |
* viewExpression.cc (ViewExpression::deepSelfDestruct): use |
| 5102 |
range-based for loop |
| 5103 |
|
| 5104 |
* bottom.yy (deepSelfDestructViewExpressionVector): use |
| 5105 |
range-based for loop |
| 5106 |
|
| 5107 |
* enclosingObject.cc (EnclosingObject::findFirstClash): use |
| 5108 |
range-based for loop |
| 5109 |
(EnclosingObject::addConflictsWithBoundParameters): use |
| 5110 |
range-based for loop |
| 5111 |
|
| 5112 |
* command.cc (SyntacticPreModule::printAttributes): use |
| 5113 |
range-based for loop |
| 5114 |
|
| 5115 |
* bufferPrint.cc (MixfixModule::printSort): use range-based for |
| 5116 |
loop |
| 5117 |
(MixfixModule::printDotSort): use range-based for loop |
| 5118 |
(MixfixModule::printVarSort): use range-based for loop |
| 5119 |
|
| 5120 |
* auxProperty.cc (Token::joinParameterList): use range-based |
| 5121 |
for loop |
| 5122 |
|
| 5123 |
* importModule.cc (ImportModule::importSorts): use range-based |
| 5124 |
for loop (2 places) |
| 5125 |
(ImportModule::donateSorts): use range-based for loop |
| 5126 |
(ImportModule::importOps): use range-based for loop (2 places) |
| 5127 |
(ImportModule::donateOps): use range-based for loop |
| 5128 |
(ImportModule::fixUpImportedOps): use range-based for loop (2 |
| 5129 |
places) |
| 5130 |
(ImportModule::fixUpDonatedOps): use range-based for loop |
| 5131 |
(ImportModule::importStatements): use range-based for loop (2 |
| 5132 |
places) |
| 5133 |
(ImportModule::donateStatements): use range-based for loop |
| 5134 |
|
| 5135 |
===================================Maude142=========================================== |
| 5136 |
|
| 5137 |
2023-02-24 Steven Eker <eker@pup> |
| 5138 |
|
| 5139 |
* renaming.hh (class Renaming): added override annotations for |
| 5140 |
addParameter2(), addVarDecl(), addType() |
| 5141 |
|
| 5142 |
* lexerAux.cc (bubbleEofError): give both line number of EOF and |
| 5143 |
line number of first token in the bubble |
| 5144 |
|
| 5145 |
* top.yy (top): don't recognize empty sentence anymore; it only |
| 5146 |
arises with ^C and yyterminate() will force parser to exit |
| 5147 |
|
| 5148 |
* ooSorts.cc (ImportModule::uniqueClassIdSortCandidate): use |
| 5149 |
ContinueWarning() |
| 5150 |
(ImportModule::findAtttributeSort): use ContinueWarning() |
| 5151 |
|
| 5152 |
* modules.yy (viewDeclaration): handle END_OF_INPUT and |
| 5153 |
CHANGE_FILE error inside a view |
| 5154 |
|
| 5155 |
* top.yy (item): clear suppressParserErrorMessage if CHANGE_FILE |
| 5156 |
was benign |
| 5157 |
|
| 5158 |
* bottom.yy (yyerror): only check suppressParserErrorMessage |
| 5159 |
now that it subsumes UserLevelRewritingContext::interrupted() |
| 5160 |
|
| 5161 |
* lexer.ll (id): HARD_EOF -> END_OF_INPUT |
| 5162 |
|
| 5163 |
* modules.yy (declaration): HARD_EOF -> END_OF_INPUT |
| 5164 |
|
| 5165 |
* top.yy (top): recognize error followed by HARD_EOF or |
| 5166 |
CHANGE_FILE |
| 5167 |
HARD_EOF -> END_OF_INPUT |
| 5168 |
|
| 5169 |
* modules.yy (declaration): recognise error followed by |
| 5170 |
CHANGE_FILE; call fileTable.endModule() in the two YYABORT cases |
| 5171 |
to keep lineNumber to module mapping straight |
| 5172 |
|
| 5173 |
* interact.cc (UserLevelRewritingContext::commandLoop): bump |
| 5174 |
lineNumber on interrupt or error if interactiveFlag is set |
| 5175 |
|
| 5176 |
* interpreter.cc (Interpreter::makeClean): take line number from |
| 5177 |
currentview and print currentView name in message |
| 5178 |
|
| 5179 |
* interact.cc (UserLevelRewritingContext::commandLoop): don't |
| 5180 |
print \n after parseError or ctrlC_Flag |
| 5181 |
|
| 5182 |
2023-02-24 Steven Eker <[email protected]> |
| 5183 |
|
| 5184 |
* top.yy (top): treat HARD_EOF as a quit directive; tread |
| 5185 |
CHANGE_FILE as a no-op |
| 5186 |
|
| 5187 |
* lexer.ll (id): use CHANGE_FILE token |
| 5188 |
|
| 5189 |
* top.yy: added CHANGE_FILE token |
| 5190 |
|
| 5191 |
2023-02-23 Steven Eker <[email protected]> |
| 5192 |
|
| 5193 |
* bottom.yy (yyerror): honor suppressParserErrorMessage |
| 5194 |
(cleanUpParser): clear suppressParserErrorMessage |
| 5195 |
|
| 5196 |
* top.yy: added global variable suppressParserErrorMessage |
| 5197 |
|
| 5198 |
* lexerAux.cc (bubbleEofError): set suppressParserErrorMessage |
| 5199 |
to true |
| 5200 |
|
| 5201 |
* lexer.ll: added extern for suppressParserErrorMessage |
| 5202 |
|
| 5203 |
* lexerAux.cc (bubbleEofError): added |
| 5204 |
|
| 5205 |
* lexer.ll (id): call bubbleEorError() if we see an actual EOF |
| 5206 |
inside a bubble and then yyterminate() |
| 5207 |
|
| 5208 |
* interpreter.cc (makeClean): use currentModule for the |
| 5209 |
line number |
| 5210 |
(addSelected): deleted commented out code |
| 5211 |
|
| 5212 |
* modules.yy (declaration): recognize error followed by HARD_EOF |
| 5213 |
|
| 5214 |
* interact.cc (commandLoop): yyparse() returns int, not bool |
| 5215 |
|
| 5216 |
* top.yy (item): allow HARD_EOF as a top item |
| 5217 |
|
| 5218 |
* lexer.ll (id): return HARD_EOF when an actual end-of-file is |
| 5219 |
seen |
| 5220 |
|
| 5221 |
* top.yy: added token HARD_EOF |
| 5222 |
|
| 5223 |
* syntacticPreModule.cc (finishModule): insert OO includes |
| 5224 |
into autImports |
| 5225 |
|
| 5226 |
* syntacticPreModule.hh (SyntacticPreModule): deleted data |
| 5227 |
member ooIncludes |
| 5228 |
|
| 5229 |
* process.cc (processImports): don't use ooIncludes |
| 5230 |
|
| 5231 |
* moduleDatabase.cc (setOoInclude): use ImportMap rather than |
| 5232 |
ImportSet |
| 5233 |
|
| 5234 |
* moduleDatabase.hh (ModuleDatabase): use ImportMap rather than |
| 5235 |
ImportSet for OO includes |
| 5236 |
|
| 5237 |
2023-02-22 Steven Eker <[email protected]> |
| 5238 |
|
| 5239 |
* syntaxContainer.hh (SyntaxContainer): put |
| 5240 |
attributeSuffixLength = 3 since I'm sure sure that strlen() |
| 5241 |
is constexpr |
| 5242 |
|
| 5243 |
* ooProcess.cc (addHonoraryAttributeSymbols): use |
| 5244 |
hasAttributeSuffix(); added DebugInfo() |
| 5245 |
|
| 5246 |
* syntacticPreModule.cc (stripAttributeSuffix): added Assert |
| 5247 |
|
| 5248 |
* syntaxContainer.hh (SyntaxContainer): added constexpr |
| 5249 |
attributeSuffixLength |
| 5250 |
|
| 5251 |
* syntacticPreModule.hh (SyntacticPreModule): added decl for |
| 5252 |
hasAttributeSuffix() |
| 5253 |
|
| 5254 |
* syntacticPreModule.cc (hasAttributeSuffix): added |
| 5255 |
|
| 5256 |
* ooProcess.cc (processClassSorts): use findClassIdSort() |
| 5257 |
instead of findClassIdSortName() |
| 5258 |
(findClassIdSortName): deleted |
| 5259 |
|
| 5260 |
* syntacticPreModule.hh (SyntacticPreModule): added decl for |
| 5261 |
findClassIdSort() |
| 5262 |
|
| 5263 |
* importModule.hh (ImportModule): added decls for |
| 5264 |
insertClassIdSortCandidates() and uniqueClassIdSortCandidate() |
| 5265 |
|
| 5266 |
* ooProcess.cc (findClassIdSort): added |
| 5267 |
|
| 5268 |
* ooSorts.cc (insertClassIdSortCandidates): added |
| 5269 |
(uniqueClassIdSortCandidate): added |
| 5270 |
(findClassIdSort): reimplemented using |
| 5271 |
insertClassIdSortCandidates() and uniqueClassIdSortCandidate() |
| 5272 |
|
| 5273 |
2023-02-21 Steven Eker <[email protected]> |
| 5274 |
|
| 5275 |
* syntacticPreModule.cc (stripAttributeSuffix): added |
| 5276 |
|
| 5277 |
* syntacticPreModule.hh (SyntacticPreModule): added decl for |
| 5278 |
stripAttributeSuffix() |
| 5279 |
|
| 5280 |
* ooProcess.cc (checkAttributes): use ATTRIBUTE() |
| 5281 |
|
| 5282 |
* ooTransform.cc (analyzeAttributeSetArgument): use ATTRIBUTE() |
| 5283 |
|
| 5284 |
* syntacticPreModule.hh (SyntacticPreModule): updated decl for |
| 5285 |
analyzeAttributeSetArgument() |
| 5286 |
(ATTRIBUTE): added |
| 5287 |
|
| 5288 |
* ooTransform.cc (analyzeAttributeSetArgument): take classSort |
| 5289 |
argument and check attributes of a pure class |
| 5290 |
(gatherObjects): pass classSort (or null) to |
| 5291 |
analyzeAttributeSetArgument() (2 places) |
| 5292 |
|
| 5293 |
* process.cc (process): call purgeImpureClasses() after |
| 5294 |
checkAttributes() |
| 5295 |
|
| 5296 |
* syntacticPreModule.hh (SyntacticPreModule): added decl for |
| 5297 |
checkAttributes() |
| 5298 |
|
| 5299 |
* process.cc (process): call checkAttributes(); don't call |
| 5300 |
purgeImpureClasses() |
| 5301 |
|
| 5302 |
* ooProcess.cc (processClassSorts): pureClasses -> localClasses |
| 5303 |
(processClassOps): keep track of the attribute symbols we add |
| 5304 |
for each class |
| 5305 |
(checkAttributes): added |
| 5306 |
|
| 5307 |
* syntacticPreModule.hh (SyntacticPreModule): added decl for |
| 5308 |
purgeImpureClasses(); pureClasses -> localClasses |
| 5309 |
|
| 5310 |
* process.cc (process): call purgeImpureClasses() |
| 5311 |
|
| 5312 |
* ooProcess.cc (purgeImpureClasses): added |
| 5313 |
|
| 5314 |
* syntacticPreModule.hh (SyntacticPreModule): deleted data member |
| 5315 |
classSymbol from struct ClassDecl |
| 5316 |
|
| 5317 |
* ooProcess.cc (processClassSorts): record unproblematic local |
| 5318 |
classes in pureClasses |
| 5319 |
(processClassOps): don't record classSymbol |
| 5320 |
|
| 5321 |
* process.cc (process): clear pureClasses |
| 5322 |
|
| 5323 |
* syntacticPreModule.hh (SyntacticPreModule): added typedef |
| 5324 |
SymbolSet; use for data member attributeSymbols; added typedef |
| 5325 |
ClassAttrMap; use IdSet for data member classNames; added data member |
| 5326 |
pureClasses |
| 5327 |
|
| 5328 |
* process.cc (process): deleted commented out attributeSetSort = 0 |
| 5329 |
|
| 5330 |
* ooProcess.cc (processClassSorts): delete commented out |
| 5331 |
set<int> classNames |
| 5332 |
|
| 5333 |
2023-02-21 Steven Eker <eker@pup> |
| 5334 |
|
| 5335 |
* instantiateViewWithFreeParameters.cc (View::handleAwkwardCase): |
| 5336 |
added DebugEnter(); changed DebugNew() to DebugExit() |
| 5337 |
|
| 5338 |
* visibleModule.cc (VisibleModule::showKinds): use Sort::KIND rather |
| 5339 |
than 0 |
| 5340 |
|
| 5341 |
* mixfixModule.cc (MixfixModule::instantiateSortTest): use Sort::KIND |
| 5342 |
rather than 0 |
| 5343 |
|
| 5344 |
* instantiateViewWithFreeParameters.cc (View::handleAwkwardCase): fix |
| 5345 |
comment |
| 5346 |
|
| 5347 |
* syntaxContainer.hh (class SyntaxContainer): added decl for |
| 5348 |
default virtual destructor |
| 5349 |
|
| 5350 |
* renaming.hh (class Renaming): update decl for ~Renaming() |
| 5351 |
|
| 5352 |
* renaming.cc (~Renaming): added |
| 5353 |
|
| 5354 |
* parameterization.cc (ImportModule::addOpMappingsFromView): pass |
| 5355 |
gcTargetTerm arg to addOpTargetTerm() |
| 5356 |
|
| 5357 |
* renaming.hh (class Renaming): updated decl for addOpTargetTerm() |
| 5358 |
|
| 5359 |
* renaming.cc (Renaming::printRenaming): term -> toTerm |
| 5360 |
(Renaming::addSortConstantAndLabelMappings): term -> toTerm |
| 5361 |
(Renaming::addOpTargetTerm): term -> toTerm |
| 5362 |
(Renaming::addOpTargetTerm): take and store gcTargetTerm arg |
| 5363 |
|
| 5364 |
* renaming.hh (class Renaming): added member gcToTerm to struct |
| 5365 |
struct OpMapping |
| 5366 |
(Renaming::getOpTargetTerm): term -> toTerm |
| 5367 |
|
| 5368 |
2023-02-20 Steven Eker <eker@pup> |
| 5369 |
|
| 5370 |
* instantiateViewWithFreeParameters.cc |
| 5371 |
(View::handleInstantiationByTheoryView): |
| 5372 |
parameterCopyOfArgumentViewToTheory no longer const |
| 5373 |
|
| 5374 |
* importModule.hh (class ImportModule): updated decl for |
| 5375 |
addOpMappingsFromView() - targetTheoryParameterCopy cannot be const |
| 5376 |
because translating into it may instantiate sort test symbols for example |
| 5377 |
|
| 5378 |
* parameterization.cc (ImportModule::addOpMappingsFromView): don't look |
| 5379 |
for other mappings for an op, once we've seen an op->term mapping for |
| 5380 |
it in the view |
| 5381 |
(ImportModule::addOpMappingsFromView): make a deepCopy() of toTerm if |
| 5382 |
we're handling a theory-view |
| 5383 |
|
| 5384 |
* importTranslation.cc (ImportTranslation::ImportTranslation): handle |
| 5385 |
preserveVariableIndicesFlag argument |
| 5386 |
(ImportTranslation::preserveVariableIndices): added |
| 5387 |
(ImportTranslation::findTargetVersionOfSymbol): added DebugAdvisory() |
| 5388 |
for variable case since we don't expect it to be used. |
| 5389 |
|
| 5390 |
* importTranslation.hh (class ImportTranslation): added member function |
| 5391 |
preserveVariableIndices(), data member preserveVariableIndicesFlag, |
| 5392 |
ctor argument preserveVariableIndicesFlag |
| 5393 |
|
| 5394 |
* importTranslation.cc (ImportTranslation::findTargetVersionOfSymbol): |
| 5395 |
use safeCastNonNull<>(), Assert() that we translated the sort for |
| 5396 |
sort test |
| 5397 |
(ImportTranslation::findTargetVersionOfSymbol): use safeCastNonNull<>(), |
| 5398 |
Assert() that we translated the sort for variable; added DebugInfo()s |
| 5399 |
(ImportTranslation::findTargetVersionOfSymbol): added more Assert()s |
| 5400 |
(ImportTranslation::findTargetVersionOfSymbol): use safeCastNonNull<>() |
| 5401 |
to recover the fromModule |
| 5402 |
|
| 5403 |
2023-02-17 Steven Eker <eker@pup> |
| 5404 |
|
| 5405 |
* syntacticPreModule.hh (class SyntacticPreModule): deleted decls for |
| 5406 |
findAtttributeSetSort(), findAtttributeSort() |
| 5407 |
(class SyntacticPreModule): deleted attributeSetSort data member |
| 5408 |
|
| 5409 |
* ooProcess.cc (SyntacticPreModule::findAtttributeSetSort): deleted |
| 5410 |
(SyntacticPreModule::findAtttributeSort): deleted |
| 5411 |
(SyntacticPreModule::processClassOps): use |
| 5412 |
ImportModule::findAtttributeSort(); don't call findAtttributeSetSort() |
| 5413 |
|
| 5414 |
* process.cc (SyntacticPreModule::process): comment out clearing of |
| 5415 |
attributeSetSort |
| 5416 |
|
| 5417 |
* ooTransform.cc (SyntacticPreModule::transformPatternAttributes): get |
| 5418 |
attributeSetSort from attributeSetSymbol |
| 5419 |
|
| 5420 |
* ooRenaming.cc (Renaming::convertAttrMappings): use getLineNr() in |
| 5421 |
IssueAdvisory() |
| 5422 |
(Renaming::convertClassMappings): use getLineNr() in 4 IssueAdvisory()s |
| 5423 |
|
| 5424 |
* token.hh (Token::getLineNr): added |
| 5425 |
|
| 5426 |
* token.cc (Token::removeBoundParameterBrackets): fix bug where we were |
| 5427 |
falling into '{' case and removing brackets from renamings |
| 5428 |
|
| 5429 |
* renaming.hh (class Renaming): deleted ATTR from enum class MappingType |
| 5430 |
|
| 5431 |
* renaming.cc (Renaming::printRenaming): don't check for MappingType::ATTR |
| 5432 |
(Renaming::canonicalizeOpMappings): don't check for MappingType::ATTR (3 |
| 5433 |
places) |
| 5434 |
(Renaming::renameOp): don't check for MappingType::ATTR |
| 5435 |
(Renaming::renameOp): deleted Assert() for MappingType::ATTR |
| 5436 |
|
| 5437 |
* renaming.hh (Renaming::isAttrMapping): deleted |
| 5438 |
|
| 5439 |
* ooView.cc (View::handleAttrMappings): rewritten to use AttrMap |
| 5440 |
|
| 5441 |
* ooRenaming.cc (Renaming::convertAttrMappings): rewritten to use AttrMap |
| 5442 |
(Renaming::addClassMapping): moved here |
| 5443 |
|
| 5444 |
* modules.yy (fromAttrSpec): use typeName1 and addAttrType() |
| 5445 |
|
| 5446 |
* renaming.cc (Renaming::printRenaming): handle attr mappings separately |
| 5447 |
|
| 5448 |
* ooRenaming.cc (Renaming::convertClassMappings): moved here |
| 5449 |
(Renaming::convertAttrMappings): moved here |
| 5450 |
(Renaming::addAttrType): added |
| 5451 |
(Renaming::addAttrMapping): moved here; rewritten |
| 5452 |
(Renaming::addAttrTarget): moved here; rewritten |
| 5453 |
|
| 5454 |
* renaming.hh (class Renaming): added struct AttrMapping, typedef |
| 5455 |
AttrMap, data member attrMap |
| 5456 |
(Renaming::getNrAttrMappings): added |
| 5457 |
(Renaming::getFromAttr): added |
| 5458 |
(Renaming::getAttrTypeSorts): added |
| 5459 |
(Renaming::getToAttr): added |
| 5460 |
|
| 5461 |
2023-02-16 Steven Eker <eker@pup> |
| 5462 |
|
| 5463 |
* importTranslation.cc (ImportTranslation::translate): RewriteStrategy* |
| 5464 |
version, use strategyMap |
| 5465 |
(ImportTranslation::translate): use range-based for loop |
| 5466 |
(ImportTranslation::translateLabel): use range-based for loop |
| 5467 |
(ImportTranslation::translateRegularSymbol): deleted commented out |
| 5468 |
and unreachable code |
| 5469 |
|
| 5470 |
* importTranslation.hh (class ImportTranslation): added typedef |
| 5471 |
StrategyMap and data member strategyMap; deleted data member directMap |
| 5472 |
|
| 5473 |
* importTranslation.cc (ImportTranslation::translate): Symbol* version, |
| 5474 |
use symbolMap |
| 5475 |
|
| 5476 |
* importTranslation.hh (class ImportTranslation): added typedef |
| 5477 |
SymbolPointerMap and data member symbolMap |
| 5478 |
|
| 5479 |
* syntacticPreModule.hh (class SyntacticPreModule): use Symbol::LessThan |
| 5480 |
for typedef AttributeMap, so the user visible ordering doesn't depend |
| 5481 |
on the vagaries of the memory allocator |
| 5482 |
(class SyntacticPreModule): update comment on struct ObjectOccurrence |
| 5483 |
|
| 5484 |
2023-02-15 Steven Eker <eker@pup> |
| 5485 |
|
| 5486 |
* lexer.ll (<END_STATEMENT_MODE>): fix bug where we omitted endoth |
| 5487 |
and an end of mixfix statement symbol |
| 5488 |
|
| 5489 |
===================================Maude141=========================================== |
| 5490 |
|
| 5491 |
2023-02-14 Steven Eker <eker@pup> |
| 5492 |
|
| 5493 |
* renaming.cc (Renaming::printRenaming): Token::sortName for |
| 5494 |
constant mappings |
| 5495 |
|
| 5496 |
* visibleModule.cc (VisibleModule::showPolymorphDecl): use |
| 5497 |
Token::sortName for constants |
| 5498 |
|
| 5499 |
* viewDatabase.cc (ViewDatabase::showNamedViews): use range-based |
| 5500 |
for loop |
| 5501 |
|
| 5502 |
* visibleModule.cc (VisibleModule::showVars): use range-based for |
| 5503 |
loop |
| 5504 |
|
| 5505 |
* moduleDatabase.cc (ModuleDatabase::showNamedModules): use |
| 5506 |
range-based for loop |
| 5507 |
|
| 5508 |
* syntacticView.cc (SyntacticView::showView): don't use static_cast |
| 5509 |
(SyntacticView::showProcessedView): don't use static_cast |
| 5510 |
|
| 5511 |
* ooSorts.cc (ImportModule::findClassIdSort): improve warning messages |
| 5512 |
(ImportModule::findAtttributeSort): improve warning messages |
| 5513 |
|
| 5514 |
* syntacticView.cc (SyntacticView::showView): print bubbles |
| 5515 |
for strat->expr mappings |
| 5516 |
|
| 5517 |
* token.hh (class Token): deleted commented out declaration for |
| 5518 |
splitParameterInstanceName() |
| 5519 |
|
| 5520 |
* token.cc (Token::codeToRope): deleted commented out function |
| 5521 |
(Token::printTokenVector): don't put space in front of ( in |
| 5522 |
fancySpacing mode |
| 5523 |
(Token::splitParameterInstanceName): deleted commented out function |
| 5524 |
|
| 5525 |
* syntacticView.cc (SyntacticView::showView): print bubbles |
| 5526 |
rather than terms for op->term and msg->term mappings |
| 5527 |
|
| 5528 |
* visibleModule.cc (VisibleModule::showImports): use |
| 5529 |
removeBoundParameterBrackets() |
| 5530 |
|
| 5531 |
* syntacticView.cc (SyntacticView::showProcessedView): use |
| 5532 |
removeBoundParameterBrackets() |
| 5533 |
|
| 5534 |
* token.hh (class Token): added decl for removeBoundParameterBrackets() |
| 5535 |
|
| 5536 |
* token.cc (Token::removeBoundParameterBrackets): added |
| 5537 |
|
| 5538 |
* moduleCache.cc (ModuleCache::showCreatedModules): removed #if 0'd |
| 5539 |
out code |
| 5540 |
|
| 5541 |
* renaming.hh (class Renaming): made isAttrMapping() public |
| 5542 |
|
| 5543 |
2023-02-13 Steven Eker <eker@pup> |
| 5544 |
|
| 5545 |
* renaming.cc (Renaming::renameOp): ignore attr mappings in concrete |
| 5546 |
version and Assert() they never arise in abstract version |
| 5547 |
|
| 5548 |
* renaming.hh (class Renaming): updated decl for printRenaming() |
| 5549 |
(class Renaming): init nrUserSortMappings and nrUserOpMappings to NONE |
| 5550 |
|
| 5551 |
* renaming.cc (printRenaming): take showProcesed argument and use it to |
| 5552 |
decide whether to print class/attr/msg mappings or generated sort/op |
| 5553 |
mappings |
| 5554 |
|
| 5555 |
* interpreter.cc (showProcessedView): added |
| 5556 |
|
| 5557 |
* interpreter.hh (class Interpreter): added decl for |
| 5558 |
showProcessedView() |
| 5559 |
|
| 5560 |
* commands.yy (command): added show processed view |
| 5561 |
|
| 5562 |
* top.yy: added KW_PROCESSED |
| 5563 |
|
| 5564 |
* lexer.ll: added processed |
| 5565 |
|
| 5566 |
* syntacticView.hh (class SyntacticView): added decl for |
| 5567 |
showProcessedView |
| 5568 |
|
| 5569 |
* syntacticView.cc (SyntacticView::showProcessedView): added |
| 5570 |
|
| 5571 |
* ooProcess.cc: use getParameterTheoryCopy() |
| 5572 |
|
| 5573 |
* importModule.hh (ImportModule::getParameterTheoryCopy): added |
| 5574 |
|
| 5575 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for |
| 5576 |
ImportModule* version of addHonoraryClassNames() |
| 5577 |
|
| 5578 |
* ooProcess.cc (SyntacticPreModule::addHonoraryClassNames): added |
| 5579 |
ImportModule* version |
| 5580 |
(SyntacticPreModule::addHonoraryClassNames): use ImportModule* |
| 5581 |
version; handle parameter theories as well. |
| 5582 |
|
| 5583 |
* renaming.hh (class Renaming): move typeMatch() con set<int> from |
| 5584 |
private: to protected: |
| 5585 |
|
| 5586 |
* ooView.cc (View::handleAttrMappings): implemented |
| 5587 |
|
| 5588 |
* renaming.hh (Renaming::isAttrMapping): added |
| 5589 |
(class Renaming): made isMsgMapping() protected |
| 5590 |
|
| 5591 |
* view.cc (View::evaluate): call recordUserMappings() if it is the |
| 5592 |
first time we evaluate this view |
| 5593 |
|
| 5594 |
* view.hh (View::finishView): don't call recordUserMappings() here |
| 5595 |
|
| 5596 |
2023-02-10 Steven Eker <eker@pup> |
| 5597 |
|
| 5598 |
* view.cc (View::regretToInform): call purgeGeneratedMappings() |
| 5599 |
|
| 5600 |
* view.hh (View::finishView): call recordUserMappings() |
| 5601 |
|
| 5602 |
* renaming.hh (class Renaming): added decl for purgeGeneratedMappings() |
| 5603 |
|
| 5604 |
* renaming.cc (Renaming:: purgeGeneratedMappings): added |
| 5605 |
|
| 5606 |
* renaming.hh (Renaming::startAddingGeneratedMappings): added |
| 5607 |
|
| 5608 |
* ooView.cc (View::handleClassMappings): use hasSortMapping() |
| 5609 |
|
| 5610 |
* renaming.hh (hasSortMapping): added |
| 5611 |
|
| 5612 |
* view.cc (View::evaluate): call handleClassMappings() and |
| 5613 |
handleAttrMappings() |
| 5614 |
|
| 5615 |
* view.hh (class View): added decls for getClassSortAndSymbol(), |
| 5616 |
handleClassMappings(), handleAttrMappings() |
| 5617 |
|
| 5618 |
* ooView.cc: created |
| 5619 |
|
| 5620 |
* renaming.hh (Renaming::getFromClass): added |
| 5621 |
(Renaming::getToClass): added |
| 5622 |
|
| 5623 |
* view.cc (View::checkSorts): use range-based for loop |
| 5624 |
|
| 5625 |
2023-02-09 Steven Eker <eker@pup> |
| 5626 |
|
| 5627 |
* importModule.cc (ImportModule::importModeString): use switch rather |
| 5628 |
than constant array for robustness |
| 5629 |
|
| 5630 |
* syntacticPreModule.cc (SyntacticPreModule::addImport): added gb |
| 5631 |
and generatedBy |
| 5632 |
|
| 5633 |
* specialTokens.cc: added gb and generatedBy |
| 5634 |
|
| 5635 |
* lexer.ll (id): added gb and generated-by |
| 5636 |
|
| 5637 |
* importModule.cc (ImportModule::importModeString): add generated-by |
| 5638 |
|
| 5639 |
* importModule.hh (class ImportModule): added GENERATED_BY to |
| 5640 |
enum ImportMode |
| 5641 |
|
| 5642 |
2023-02-08 Steven Eker <eker@pup> |
| 5643 |
|
| 5644 |
* instantiateViewWithFreeParameters.cc (View::makeInstantiation): |
| 5645 |
call handleParameterizedConstants() |
| 5646 |
|
| 5647 |
* prettyPrint.cc (operator<<): added Symbol* version which handles |
| 5648 |
parameterized constants |
| 5649 |
|
| 5650 |
* command.cc (SyntacticPreModule::showModule): use sortName() for |
| 5651 |
symbols whose prefix name has the AUX_STRUCTURED_SORT property |
| 5652 |
(SyntacticPreModule::showModule): print constants using sortName() |
| 5653 |
to handle parameterization |
| 5654 |
|
| 5655 |
* importModule.hh (class ImportModule): added decl for |
| 5656 |
handleParameterizedConstants() |
| 5657 |
|
| 5658 |
* instantiateModuleWithFreeParameters.cc: |
| 5659 |
(ImportModule::handleParameterizedConstants): added |
| 5660 |
(ImportModule::makeInstantiation): call handleParameterizedConstants() |
| 5661 |
|
| 5662 |
* renaming.cc (Renaming::addSortMapping): add \n before this |
| 5663 |
|
| 5664 |
* instantiateViewWithFreeParameters.cc |
| 5665 |
(View::handleInstantiationByTheoryView) |
| 5666 |
(View::handleInstantiationByParameter) |
| 5667 |
(View::handleInstantiationByModuleView): added DebugEnter()/DebugExit() |
| 5668 |
(View::handleInstantiationByModuleView): added DebugInfo() |
| 5669 |
(View::handleInstantiationByModuleView): fix bug where we were checking |
| 5670 |
our toModule rather than the argument view's toModule to see if was a |
| 5671 |
theory |
| 5672 |
(View::handleInstantiationByTheoryView): parameterCopyOfTheory -> |
| 5673 |
parameterCopyOfParameterTheory |
| 5674 |
(View::handleInstantiationByTheoryView): pass |
| 5675 |
parameterCopyOfArgumentViewToTheory to addOpMappingsFromView() |
| 5676 |
|
| 5677 |
* renaming.cc (Renaming::addSortMapping): more detailed Assert() |
| 5678 |
|
| 5679 |
2023-02-07 Steven Eker <eker@pup> |
| 5680 |
|
| 5681 |
* instantiateViewWithFreeParameters.cc |
| 5682 |
(View::handleInstantiationByParameter): |
| 5683 |
call addConstantRenamingsForParameterChange() |
| 5684 |
(View::handleInstantiationByParameter): pass toModule rather than |
| 5685 |
parameterCopyOfTheory to addConstantRenamingsForParameterChange() as the |
| 5686 |
user of parameterCopyOfTheory |
| 5687 |
|
| 5688 |
* ooProcess.cc (SyntacticPreModule::processClassOps): use PCONST |
| 5689 |
flag for class symbols in a theory |
| 5690 |
|
| 5691 |
* syntacticPreModule.cc (SyntacticPreModule::finishModule): use |
| 5692 |
PreModule::isTheory() |
| 5693 |
|
| 5694 |
* preModule.cc (PreModule::addParameter): use PreModule::isTheory() |
| 5695 |
|
| 5696 |
* preModule.hh (PreModule::isTheory): added |
| 5697 |
|
| 5698 |
* parameterization.cc: |
| 5699 |
(ImportModule::addOpMappingsFromView): take targetTheoryParameterCopy |
| 5700 |
argument |
| 5701 |
(ImportModule::addOpMappingsFromView): handle the theory-view case where |
| 5702 |
the parameter copy of the target theory might map newName to X$newName |
| 5703 |
|
| 5704 |
* importModule.hh (class ImportModule): addOpMappingsFromView() now takes |
| 5705 |
an argument targetTheoryParameterCopy |
| 5706 |
|
| 5707 |
* instantiateModuleWithFreeParameters.cc (ImportModule::makeInstantiation): |
| 5708 |
use range-based for loop |
| 5709 |
(ImportModule::handleInstantiationByTheoryView): parameterTheory -> |
| 5710 |
targetTheoryParameterCopy; pass targetTheoryParameterCopy to |
| 5711 |
addOpMappingsFromView() |
| 5712 |
|
| 5713 |
* parameterization.cc: |
| 5714 |
(ImportModule::addOpMappingsFromView): rewritten to look at mapped-to name |
| 5715 |
in parameter copy rather than PCONST |
| 5716 |
|
| 5717 |
2023-02-06 Steven Eker <eker@pup> |
| 5718 |
|
| 5719 |
* instantiateModuleWithFreeParameters.cc: |
| 5720 |
(ImportModule::handleInstantiationByParameter): call |
| 5721 |
addConstantRenamingsForParameterChange() |
| 5722 |
|
| 5723 |
* importModule.hh (class ImportModule): deleted decl for |
| 5724 |
addConstantMappingsFromModuleView() |
| 5725 |
(class ImportModule): added decl for addConstantRenamingsForParameterChange() |
| 5726 |
|
| 5727 |
* parameterization.cc: |
| 5728 |
(ImportModule::addConstantMappingsFromModuleView): deleted |
| 5729 |
|
| 5730 |
* instantiateModuleWithFreeParameters.cc: |
| 5731 |
(ImportModule::handleInstantiationByModuleView): don't call |
| 5732 |
addConstantMappingsFromModuleView() |
| 5733 |
|
| 5734 |
* parameterization.cc |
| 5735 |
(ImportModule::addConstantRenamingsForParameterChange): added |
| 5736 |
(ImportModule::translateComponent): fix wrong comment; we find a connected |
| 5737 |
component in parameterCopyUser |
| 5738 |
(ImportModule::addFromPartOfRenaming): handle pconst case |
| 5739 |
(ImportModule::addOpMappingsFromView): handle pconst constants after all |
| 5740 |
|
| 5741 |
* instantiateModuleWithFreeParameters.cc |
| 5742 |
(ImportModule::handleInstantiationByModuleView): use range-based for loop |
| 5743 |
|
| 5744 |
* parameterization.cc (ImportModule::addOpMappingsFromView): don't handle |
| 5745 |
constanst with pconst here |
| 5746 |
|
| 5747 |
* instantiateModuleWithFreeParameters.cc |
| 5748 |
(ImportModule::handleInstantiationByModuleView): use Index and |
| 5749 |
getNrParameters() |
| 5750 |
|
| 5751 |
* parameterization.cc (ImportModule::makeParameterCopy): |
| 5752 |
addSortAndLabelMappings() -> addSortConstantAndLabelMappings() |
| 5753 |
(ImportModule::makeParameterCopy): handle pconsts before imported |
| 5754 |
modules since addSortConstantAndLabelMappings() can handle dups |
| 5755 |
|
| 5756 |
* renaming.hh (class Renaming): addSortAndLabelMappings() -> |
| 5757 |
addSortConstantAndLabelMappings() |
| 5758 |
|
| 5759 |
* renaming.cc (Renaming::addSortAndLabelMappings): becomes |
| 5760 |
addSortConstantAndLabelMappings(); handle constant mappings generated |
| 5761 |
by pconst |
| 5762 |
|
| 5763 |
* entry.cc (MixfixModule::addPolymorph): use nrArgs rather than |
| 5764 |
domainAndRange.length() - 1; |
| 5765 |
|
| 5766 |
* validateAttributes.cc (MixfixModule::validateAttributes): don't allow |
| 5767 |
pconst for polymorphic constants |
| 5768 |
|
| 5769 |
* entry.cc (MixfixModule::addPolymorph): don't test for iter because we |
| 5770 |
already do this in validateAttributes() |
| 5771 |
|
| 5772 |
2023-02-03 Steven Eker <eker@pup> |
| 5773 |
|
| 5774 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByModuleView): |
| 5775 |
call addConstantMappingsFromModuleView() |
| 5776 |
|
| 5777 |
* importModule.hh (class ImportModule): added decl for |
| 5778 |
addConstantMappingsFromModuleView() |
| 5779 |
|
| 5780 |
* parameterization.cc (ImportModule::makeParameterCopy): use range-base for |
| 5781 |
loop (2 places) |
| 5782 |
(ImportModule::makeSummation): use range-base for loop |
| 5783 |
(ImportModule::makeParameterCopy): map pconst constants c -> X$c |
| 5784 |
(ImportModule::addConstantMappingsFromModuleView): added |
| 5785 |
|
| 5786 |
* visibleModule.cc (VisibleModule::showPolymorphAttributes): added pconst |
| 5787 |
|
| 5788 |
* command.cc (SyntacticPreModule::printAttributes): added pconst |
| 5789 |
|
| 5790 |
* visibleModule.cc (VisibleModule::showAttributes): added pconst |
| 5791 |
|
| 5792 |
* lexer.ll (id): added KW_PCONST |
| 5793 |
|
| 5794 |
* modules.yy (attribute): added KW_PCONST |
| 5795 |
(attrKeyword): added KW_PCONST |
| 5796 |
|
| 5797 |
* top.yy: added KW_PCONST |
| 5798 |
|
| 5799 |
* symbolType.hh (class SymbolType): added PCONST to enum Flags |
| 5800 |
|
| 5801 |
* syntacticPreModule.hh (class SyntacticPreModule): updated decls of |
| 5802 |
checkVariables() and :analyzeAttributeSetArgument() (both versions) |
| 5803 |
|
| 5804 |
* ooTransform.cc (SyntacticPreModule::StatementInfo::checkVariables): moved |
| 5805 |
from outer class |
| 5806 |
(SyntacticPreModule::transformSortConstraint) |
| 5807 |
(SyntacticPreModule::transformEquation) |
| 5808 |
(SyntacticPreModule::transformRule): new checkVariables() convention |
| 5809 |
(SyntacticPreModule::garbageCollectAttributeSet): fixed comment |
| 5810 |
(SyntacticPreModule::analyzeAttributeSetArgument): fixed missing space in |
| 5811 |
IssueAdvisory() |
| 5812 |
(SyntacticPreModule::gatherObjects): made const (both versions) |
| 5813 |
|
| 5814 |
* symbolType.hh (class SymbolType): added ITER to SIMPLE_ATTRIBUTES to fix a |
| 5815 |
bug where we were not printing a warning if the attribute was given twice |
| 5816 |
|
| 5817 |
===================================Maude140=========================================== |
| 5818 |
|
| 5819 |
2023-02-02 Steven Eker <eker@pup> |
| 5820 |
|
| 5821 |
* ooTransform.cc (SyntacticPreModule::gatherObjects): give full list intialization |
| 5822 |
in push_back() to appease clang |
| 5823 |
(SyntacticPreModule::gatherObjects): use default ctor and manually assign |
| 5824 |
field to appease clang |
| 5825 |
|
| 5826 |
* syntacticPreModule.hh (class SyntacticPreModule): add missing overrides |
| 5827 |
|
| 5828 |
* ooTransform.cc (SyntacticPreModule::StatementInfo::chooseFreshVariableName): |
| 5829 |
start numbered variables at 2 |
| 5830 |
|
| 5831 |
* ooProcess.cc (SyntacticPreModule::processClassOps): use attributeSuffix |
| 5832 |
|
| 5833 |
* renaming.cc (Renaming::convertAttrMappings): use attributeSuffix (2 places) |
| 5834 |
|
| 5835 |
* syntaxContainer.hh (class SyntaxContainer): added attributeSuffix |
| 5836 |
|
| 5837 |
* renaming.cc (Renaming::convertAttrMappings): ":_" -> "`:_" (2 places) |
| 5838 |
|
| 5839 |
* ooProcess.cc (SyntacticPreModule::processClassOps): ":_" -> "`:_" |
| 5840 |
|
| 5841 |
* ooTransform.cc (SyntacticPreModule::gatherObjects): use CONDITION_SUBJECT |
| 5842 |
and CONDITION_PATTERN |
| 5843 |
(SyntacticPreModule::gatherObjects): quietly ignore new objects in SUBJECT |
| 5844 |
and CONDITION_SUBJECT positions |
| 5845 |
|
| 5846 |
* syntacticPreModule.hh (class SyntacticPreModule): remove DISALLOW from |
| 5847 |
enum class GatherMode, add CONDITION_SUBJECT and CONDITION_PATTERN |
| 5848 |
|
| 5849 |
* modules.yy (cPair): detect missing colon |
| 5850 |
|
| 5851 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for |
| 5852 |
addAttributePairNoColon() |
| 5853 |
|
| 5854 |
* syntacticPreModule.cc (SyntacticPreModule::addAttributePairNoColon): added |
| 5855 |
|
| 5856 |
2023-02-01 Steven Eker <eker@pup> |
| 5857 |
|
| 5858 |
* view.cc (View::checkSorts): fix warning text in the case a module declared |
| 5859 |
sort in implicitly mapped to a sort declared in the target theory |
| 5860 |
|
| 5861 |
* importModule.hh (ImportModule::moduleDeclared): fix bug where we were not |
| 5862 |
considering local declared sorts in a module |
| 5863 |
|
| 5864 |
* renameModule.cc (ImportModule::donateSorts2): removed commented out code |
| 5865 |
and added comment about the 5/2/19 change |
| 5866 |
|
| 5867 |
* view.cc (View): use range-based for loop |
| 5868 |
(~View): use range-based for loop (2 places) |
| 5869 |
(View::clearOpTermMap): use range-based for loop |
| 5870 |
(View::clearStratExprMap): use range-based for loop |
| 5871 |
(View::insertStratToExprMapping): use range-based for loop (3 places) |
| 5872 |
|
| 5873 |
2023-01-31 Steven Eker <eker@pup> |
| 5874 |
|
| 5875 |
* ooTransform.cc (SyntacticPreModule::transformEquation): symmetric changes |
| 5876 |
(SyntacticPreModule::transformSortConstraint): symmetric changes |
| 5877 |
(SyntacticPreModule::checkVariables): don't set si.ignore = true after advisory |
| 5878 |
since we're returning false which will stop progress (5 places) |
| 5879 |
|
| 5880 |
* syntacticPreModule.hh (class SyntacticPreModule): updated decls for |
| 5881 |
doTransformation(), transformPatternAttributes(), transformSubjectAttributes() |
| 5882 |
|
| 5883 |
* ooTransform.cc (SyntacticPreModule::garbageCollectAttributeSet): fixed bug |
| 5884 |
where we were not immediately returning after deleting attributeSet |
| 5885 |
(SyntacticPreModule::transformSubjectAttributes): added DebugInfo()s |
| 5886 |
(SyntacticPreModule::transformRule): call Verbose() |
| 5887 |
(SyntacticPreModule::doTransformation): return bool to indicate if anything |
| 5888 |
was transformed |
| 5889 |
(SyntacticPreModule::transformPatternAttributes): return bool to indicate |
| 5890 |
if transform took place |
| 5891 |
(SyntacticPreModule::transformSubjectAttributes): return bool to indicate |
| 5892 |
if transform took place |
| 5893 |
(SyntacticPreModule::transformRule): use doTransformation() return value |
| 5894 |
|
| 5895 |
* syntacticPreModule.hh (class SyntacticPreModule): updated decls for |
| 5896 |
transformSortConstraint(), transformEquation(), transformRule() |
| 5897 |
|
| 5898 |
* entry.cc (MixfixModule::handleSortConstraint) |
| 5899 |
(MixfixModule::handleEquation, MixfixModule::handleRule): use new |
| 5900 |
StatementTransformer convention |
| 5901 |
|
| 5902 |
* ooTransform.cc (SyntacticPreModule::transformSortConstraint) |
| 5903 |
(SyntacticPreModule::transformEquation) |
| 5904 |
(SyntacticPreModule::transformRule): return StatementTransformer::Outcome |
| 5905 |
|
| 5906 |
* statementTransformer.hh (class StatementTransformer): added enum class Outcome |
| 5907 |
(class StatementTransformer): virtual functions now return Outcome |
| 5908 |
|
| 5909 |
* mixfixParser.cc (MixfixParser::makeStatementPart): call handleSortConstraint(), |
| 5910 |
handleEquation(), handleRule() before adding print attribute because we need |
| 5911 |
to know what variables are bound |
| 5912 |
|
| 5913 |
* entry.cc (MixfixModule::handleSortConstraint): don't call |
| 5914 |
insertSortConstraint() |
| 5915 |
(MixfixModule::handleEquation): don't call insertEquation() |
| 5916 |
(MixfixModule::handleRule): don't call insertRule() |
| 5917 |
|
| 5918 |
* mixfixParser.cc (MixfixParser::makeStatementPart): call insertSortConstraint(); |
| 5919 |
call handleSortConstraint() after attributes inserted; call insertEquation(); |
| 5920 |
call handleEquation() after attributes inserted; call client.insertRule(rl); |
| 5921 |
call handleRule() after attributes inserted |
| 5922 |
|
| 5923 |
* importModule.cc (ImportModule::donateStatements2): call checkSortConstraint() |
| 5924 |
(ImportModule::donateStatements2): call checkEquation() |
| 5925 |
|
| 5926 |
* entry.cc (MixfixModule::handleSortConstraint): call checkSortConstraint() |
| 5927 |
(MixfixModule::handleEquation): call checkEquation() |
| 5928 |
(MixfixModule::handleRule): call checkRule() |
| 5929 |
|
| 5930 |
* ooProcess.cc (SyntacticPreModule::addHonoraryAttributeSymbols): rewritten |
| 5931 |
to allow multiple declarations for an attribute operator |
| 5932 |
|
| 5933 |
* syntacticPreModule.hh (class SyntacticPreModule): transformOccurrence() |
| 5934 |
-> transformClassArgument() |
| 5935 |
|
| 5936 |
* ooTransform.cc (SyntacticPreModule::transformPatternAttributes): "Attrs" |
| 5937 |
-> "Atts" |
| 5938 |
(SyntacticPreModule::garbageCollectAttributeSet): added |
| 5939 |
(SyntacticPreModule::transformSubjectAttributes): call |
| 5940 |
garbageCollectAttributeSet() |
| 5941 |
(SyntacticPreModule::transformPatternAttributes): call |
| 5942 |
garbageCollectAttributeSet() |
| 5943 |
(SyntacticPreModule::transformOccurrence): DebugAlways() -> DebugAdvisory() |
| 5944 |
(SyntacticPreModule::doTransformation): DebugAlways() -> DebugAdvisory() |
| 5945 |
(SyntacticPreModule::transformEquation): call checkVariables() and |
| 5946 |
doTransformation() |
| 5947 |
(SyntacticPreModule::transformSortConstraint): call checkVariables() and |
| 5948 |
doTransformation() |
| 5949 |
(SyntacticPreModule::gatherObjects): added Assert()s |
| 5950 |
(SyntacticPreModule::transformOccurrence): becomes transformClassArgument() |
| 5951 |
(SyntacticPreModule::doTransformation): transformOccurrence() -> |
| 5952 |
transformClassArgument() |
| 5953 |
|
| 5954 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for |
| 5955 |
transformSubjectAttributes() |
| 5956 |
|
| 5957 |
* ooTransform.cc (SyntacticPreModule::analyzeAttributeSetArgument): |
| 5958 |
check for second variable |
| 5959 |
(SyntacticPreModule::transformSubjectAttributes): added |
| 5960 |
(SyntacticPreModule::doTransformation): call transformSubjectAttributes() |
| 5961 |
on each subject occurrence |
| 5962 |
|
| 5963 |
2023-01-30 Steven Eker <eker@pup> |
| 5964 |
|
| 5965 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for |
| 5966 |
transformPatternAttributes() |
| 5967 |
|
| 5968 |
* ooTransform.cc (analyzeAttributeSetArgument): check for duplicate |
| 5969 |
attributes |
| 5970 |
(SyntacticPreModule::checkVariables): check consistancy of attribute set |
| 5971 |
variables |
| 5972 |
(SyntacticPreModule::gatherObjects): deepSelfDestruct() objectName as |
| 5973 |
soon as we know we don't need it |
| 5974 |
(SyntacticPreModule::transformPatternAttributes): added |
| 5975 |
(SyntacticPreModule::doTransformation): call transformPatternAttributes() |
| 5976 |
|
| 5977 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for |
| 5978 |
analyzeAttributeSetArgument() |
| 5979 |
|
| 5980 |
* ooTransform.cc (analyzeAttributeSetArgument): added |
| 5981 |
|
| 5982 |
* syntacticPreModule.hh (class SyntacticPreModule): added variableTerm |
| 5983 |
data member to struct ObjectOccurrence |
| 5984 |
|
| 5985 |
* ooTransform.cc (SyntacticPreModule::transformRule): call checkVariables() |
| 5986 |
(SyntacticPreModule::StatementInfo::chooseFreshVariableName): fix bug |
| 5987 |
where we had + rather that += |
| 5988 |
|
| 5989 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for |
| 5990 |
transformOccurrence() |
| 5991 |
|
| 5992 |
* ooTransform.cc (SyntacticPreModule::transformOccurrence): added |
| 5993 |
|
| 5994 |
* syntacticPreModule.hh (class SyntacticPreModule): patternOccurrence data |
| 5995 |
member in struct ObjectInfo is now an ObjectOccurrence |
| 5996 |
|
| 5997 |
* ooTransform.cc (SyntacticPreModule::gatherObjects): use new |
| 5998 |
patternOccurrence data type |
| 5999 |
(SyntacticPreModule::checkVariables): use new patternOccurrence data type |
| 6000 |
|
| 6001 |
* syntacticPreModule.hh: moved here |
| 6002 |
|
| 6003 |
* ooTransform.cc (SyntacticPreModule::gatherObjects): use push_back() for |
| 6004 |
subjectOccurrences |
| 6005 |
(SyntacticPreModule::checkVariables): added |
| 6006 |
|
| 6007 |
* syntacticPreModule.hh (class SyntacticPreModule): added struct |
| 6008 |
ObjectOccurrence |
| 6009 |
(class SyntacticPreModule): added typedef ObjectOccurrences |
| 6010 |
(class SyntacticPreModule): use ObjectOccurrences for subjectOccurrences |
| 6011 |
in struct ObjectInfo |
| 6012 |
|
| 6013 |
* ooProcess.cc (SyntacticPreModule::processClassOps): call |
| 6014 |
addHonoraryAttributeSymbols(); accumulate attribute symbols we generate |
| 6015 |
|
| 6016 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for |
| 6017 |
addHonoraryAttributeSymbols() |
| 6018 |
|
| 6019 |
* ooProcess.cc (SyntacticPreModule::addHonoraryAttributeSymbols): added |
| 6020 |
|
| 6021 |
* process.cc (SyntacticPreModule::process): clear object-oriented processing |
| 6022 |
data after we're done |
| 6023 |
|
| 6024 |
* syntacticPreModule.hh (class SyntacticPreModule): added data member |
| 6025 |
attributeSymbols |
| 6026 |
|
| 6027 |
2023-01-27 Steven Eker <eker@pup> |
| 6028 |
|
| 6029 |
* ooTransform.cc (SyntacticPreModule::transformRule): use doTransformation() |
| 6030 |
|
| 6031 |
* syntacticPreModule.hh (class SyntacticPreModule): deleted decls for |
| 6032 |
transformStatements(), classComplete(); added decl for doTransformation() |
| 6033 |
|
| 6034 |
* ooTransform.cc (SyntacticPreModule::transformStatements): deleted |
| 6035 |
(SyntacticPreModule::classComplete): deleted |
| 6036 |
(SyntacticPreModule::doTransformation): added |
| 6037 |
|
| 6038 |
* entry.cc (MixfixModule::handleSortConstraint): moved here |
| 6039 |
(MixfixModule::handleEquation): moved here |
| 6040 |
(MixfixModule::handleRule): moved here |
| 6041 |
|
| 6042 |
* mixfixModule.hh (MixfixModule::handleSortConstraint): added AdvisoryCheck() |
| 6043 |
(MixfixModule::handleEquation): added AdvisoryCheck() |
| 6044 |
(MixfixModule::handleEquation): added AdvisoryCheck() |
| 6045 |
|
| 6046 |
* process.cc (SyntacticPreModule::process): call installStatementTransformer(); |
| 6047 |
don't call transformStatements() |
| 6048 |
|
| 6049 |
* ooTransform.cc (SyntacticPreModule::transformSortConstraint): added |
| 6050 |
(SyntacticPreModule::transformEquation): added |
| 6051 |
(SyntacticPreModule::transformRule): added |
| 6052 |
|
| 6053 |
* syntacticPreModule.hh (class SyntacticPreModule): derive from |
| 6054 |
StatementTransformer |
| 6055 |
(class SyntacticPreModule): added override declarations for |
| 6056 |
transformSortConstraint(), transformEquation(), transformRule() |
| 6057 |
|
| 6058 |
* mixfixParser.hh (class MixfixParser): deleted static constexpr int DNT_FLAG |
| 6059 |
|
| 6060 |
* mixfixParser.cc (MixfixParser::makeStatementPart): use |
| 6061 |
handleSortConstraint() don't use DNT_FLAG |
| 6062 |
(MixfixParser::makeStatementPart): use handleEquation(), don't use |
| 6063 |
DNT_FLAG |
| 6064 |
(MixfixParser::makeStatementPart): use handleRule(), don't use DNT_FLAG |
| 6065 |
|
| 6066 |
* mixfixModule.hh (class MixfixModule): added data member |
| 6067 |
statementTransformer |
| 6068 |
(MixfixModule::installStatementTransformer): added |
| 6069 |
(MixfixModule::handleRule): added |
| 6070 |
(MixfixModule::handleEquation): added |
| 6071 |
(MixfixModule::handleSortConstraint): added |
| 6072 |
|
| 6073 |
* mixfix.hh: added class StatementTransformer |
| 6074 |
|
| 6075 |
* statementTransformer.hh (class StatementTransformer): created |
| 6076 |
|
| 6077 |
* ooTransform.cc (SyntacticPreModule::gatherObjects): do class argument |
| 6078 |
checking |
| 6079 |
(SyntacticPreModule::recordClassArgument): added |
| 6080 |
(SyntacticPreModule::isClassSort): added |
| 6081 |
(SyntacticPreModule::findCorrespondingClassSort): added |
| 6082 |
(SyntacticPreModule::gatherObjects): fix bug where I was using the Symbol |
| 6083 |
id rather than the VariableTerm id to keep track of variable names |
| 6084 |
|
| 6085 |
* renameModule.cc (ImportModule::makeRenamedCopy): use Index, range-based |
| 6086 |
for loop |
| 6087 |
(ImportModule::localStatementsComplete): use range-base for loop (5 places); |
| 6088 |
removed comment abut transitive imports |
| 6089 |
(ImportModule::donateSorts2): use Index (5 places) |
| 6090 |
(ImportModule::localSort2): removed commented out DebugAdvisoryCheck() now |
| 6091 |
it is an Assert() |
| 6092 |
(ImportModule::donateOps2): use Index and size() many places; remove old BUG |
| 6093 |
comment; domainAndRangeLength -> domainAndRangeSize |
| 6094 |
(ImportModule::fixUpDonatedOps2): use Index and size(); domainAndRangeLength |
| 6095 |
-> domainAndRangeSize |
| 6096 |
(ImportModule::localStatementsComplete): use range-based for loop for |
| 6097 |
parameters and removed comment about checking whether collecting parameter |
| 6098 |
labels is necessary |
| 6099 |
|
| 6100 |
2023-01-26 Steven Eker <eker@pup> |
| 6101 |
|
| 6102 |
* process.cc (SyntacticPreModule::process): call processingComplete() |
| 6103 |
(SyntacticPreModule::process): pass unmodified type to VisibleModule() |
| 6104 |
|
| 6105 |
* mixfixModule.hh (MixfixModule::processingComplete): added |
| 6106 |
|
| 6107 |
* mixfixParser.cc (MixfixParser::makeAttributePart): use member function |
| 6108 |
verion of isObjectOriented() |
| 6109 |
|
| 6110 |
* mixfixModule.hh (class MixfixModule): moduleType is no longer a const |
| 6111 |
(MixfixModule::isObjectOriented): added member function |
| 6112 |
|
| 6113 |
* ooTransform.cc (SyntacticPreModule::transformStatements): respect |
| 6114 |
ixfixParser::DNT_FLAG |
| 6115 |
|
| 6116 |
* mixfixParser.cc (MixfixParser::makeStatementPart): place DNT_FLAG in |
| 6117 |
statement if DNT set |
| 6118 |
|
| 6119 |
* mixfixParser.hh (class MixfixParser): added static constexpr DNT_FLAG |
| 6120 |
|
| 6121 |
* lexer.ll (id): remove classes from list of keywords detected as ending |
| 6122 |
current statement |
| 6123 |
|
| 6124 |
* mixfixParser.cc (MixfixParser::makeAttributePart): handle dnt attribute |
| 6125 |
|
| 6126 |
* mixfixParser.hh (class MixfixParser): added MAKE_DNT_ATTRIBUTE to |
| 6127 |
enum SemanticActions |
| 6128 |
(class MixfixParser): added DNT to enum Flags |
| 6129 |
|
| 6130 |
* makeGrammar.cc (MixfixModule::makeAttributeProductions): added dnt |
| 6131 |
attribute |
| 6132 |
|
| 6133 |
* specialTokens.cc: added dnt |
| 6134 |
|
| 6135 |
2023-01-25 Steven Eker <eker@pup> |
| 6136 |
|
| 6137 |
* ooTransform.cc (SyntacticPreModule::classComplete): added |
| 6138 |
|
| 6139 |
* syntacticPreModule.hh (class SyntacticPreModule): deleted data member |
| 6140 |
ignore from struct ObjectInfo |
| 6141 |
(class SyntacticPreModule): added classNames data member |
| 6142 |
|
| 6143 |
* ooTransform.cc (SyntacticPreModule::gatherObjects): count the number of |
| 6144 |
occurrences of each variable |
| 6145 |
|
| 6146 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for |
| 6147 |
chooseFreshVariableName() |
| 6148 |
(class SyntacticPreModule): added typedef VarCountMap |
| 6149 |
(class SyntacticPreModule): added data member varCountMap to struct |
| 6150 |
StatementInfo |
| 6151 |
|
| 6152 |
* ooTransform.cc (SyntacticPreModule::StatementInfo::chooseFreshVariableName): |
| 6153 |
added |
| 6154 |
|
| 6155 |
2023-01-24 Steven Eker <eker@pup> |
| 6156 |
|
| 6157 |
* ooTransform.cc (SyntacticPreModule::gatherObjects): accumulate forbiddenNames |
| 6158 |
|
| 6159 |
* syntacticPreModule.hh (class SyntacticPreModule): added struct |
| 6160 |
StatementInfo |
| 6161 |
(SyntacticPreModule::StatementInfo::~StatementInfo): added |
| 6162 |
(class SyntacticPreModule): added typedef IdSet; added forbiddenNames |
| 6163 |
data member to StatementInfo |
| 6164 |
|
| 6165 |
* process.cc (SyntacticPreModule::process): use transformStatements() |
| 6166 |
|
| 6167 |
* ooTransform.cc: created |
| 6168 |
|
| 6169 |
* syntacticPreModule.hh (class SyntacticPreModule): added typedef ObjectMap |
| 6170 |
(class SyntacticPreModule): added decls for transformStatements(), |
| 6171 |
gatherObjects() (2 versions); added enum class GatherMode |
| 6172 |
|
| 6173 |
* view.cc (View::checkPolymorphicOps): check that if a msg mapping is used, |
| 6174 |
both the from and to polymorphic symbols have the msg attribute |
| 6175 |
(View::checkOps): include line number of view in msg advisories |
| 6176 |
|
| 6177 |
* renaming.cc (Renaming::renameOp): deleted commented out statements |
| 6178 |
(renamePolymorph): check for multiple applicable mappings |
| 6179 |
|
| 6180 |
2023-01-23 Steven Eker <eker@pup> |
| 6181 |
|
| 6182 |
* view.cc (View::checkOps): check that if a msg mapping is used, both the from |
| 6183 |
and to symbols have the msg attribute |
| 6184 |
|
| 6185 |
* renaming.hh (Renaming::isMsgMapping): added |
| 6186 |
|
| 6187 |
* syntacticView.cc (SyntacticView::handleTermAndExprMappings): track messages |
| 6188 |
(SyntacticView::showView): rewrote op->term loop to handle msg->term |
| 6189 |
mappings |
| 6190 |
(SyntacticView::handleTermAndExprMappings): added AdvisoryCheck()s that the |
| 6191 |
from and to symbols have the msg attribute if this is a msg mapping |
| 6192 |
|
| 6193 |
* syntacticView.hh (class SyntacticView): added typedef MessageSet and |
| 6194 |
data member messages |
| 6195 |
|
| 6196 |
* syntacticView.cc (SyntacticView::handleTermAndExprMappings) |
| 6197 |
(SyntacticView::addOpTermMapping): use OpTermMapping |
| 6198 |
(SyntacticView::handleTermAndExprMappings): use range-based for loop |
| 6199 |
|
| 6200 |
* syntacticView.hh (class SyntacticView): added struct OpTermMapping |
| 6201 |
(class SyntacticView): updated typedef OpTermList |
| 6202 |
|
| 6203 |
* syntacticView.cc (SyntacticView::showView): use range-based for loop (two |
| 6204 |
places) |
| 6205 |
|
| 6206 |
* syntacticView.hh (class SyntacticView): updated decl for addOpTermMapping() |
| 6207 |
|
| 6208 |
* syntacticView.cc (SyntacticView::addOpTermMapping): take and store msgFlag |
| 6209 |
argument |
| 6210 |
|
| 6211 |
* syntacticView.hh (class SyntacticView): added msg flag to struct |
| 6212 |
BubblePair |
| 6213 |
|
| 6214 |
* modules.yy (endMsgMap): added |
| 6215 |
(viewDeclaration): use endMsgMap |
| 6216 |
|
| 6217 |
* renaming.cc (Renaming::addOpMapping): rely on default initializer for |
| 6218 |
prec (both versions) |
| 6219 |
(Renaming::addAttrMapping): rely on default initializer for prec |
| 6220 |
(Renaming::addOpTarget): reply on default initializers for fromTerm, |
| 6221 |
toTerm (both versions) |
| 6222 |
(Renaming::addOpTargetTerm): reply on default initializers for fromTerm, |
| 6223 |
toTerm |
| 6224 |
(Renaming::addAttrTarget): reply on default initializers for fromTerm, |
| 6225 |
toTerm |
| 6226 |
|
| 6227 |
* modules.yy (viewDeclaration): use viewEndOpMap for msg mapping so |
| 6228 |
that msg->term mapping syntax is supported |
| 6229 |
(viewFromSpec): deleted |
| 6230 |
|
| 6231 |
2023-01-20 Steven Eker <eker@pup> |
| 6232 |
|
| 6233 |
* modules.yy (viewDeclaration): added syntax for attr mappings |
| 6234 |
(viewDeclaration): added syntax for msg mappings |
| 6235 |
|
| 6236 |
* syntacticView.cc (SyntacticView::showView): use getNrClassMappings() |
| 6237 |
to figure out how to end view |
| 6238 |
|
| 6239 |
* renaming.hh (Renaming::getNrClassMappings): added |
| 6240 |
|
| 6241 |
* modules.yy (mapping): restrict class mappings in renaming to sortName rather |
| 6242 |
than token |
| 6243 |
(viewDeclaration): added syntax for class mappings |
| 6244 |
|
| 6245 |
2023-01-19 Steven Eker <eker@pup> |
| 6246 |
|
| 6247 |
* syntacticPreModule.hh (class SyntacticPreModule): added struct ObjectInfo |
| 6248 |
stub |
| 6249 |
|
| 6250 |
* renaming.hh (class Renaming): deleted commented out declaration for |
| 6251 |
addOpMappingSimpleCopy() |
| 6252 |
|
| 6253 |
* renaming.cc (Renaming::canonicalizeOpMappings): check for polymorphs |
| 6254 |
without the attribute being mapped by msg mappin |
| 6255 |
(Renaming::addOpMappingPartialCopy): rely on default initialization of term |
| 6256 |
(Renaming::addOpMapping): rely on default initialization of term |
| 6257 |
(Renaming::addAttrMapping): rely on default initialization of term |
| 6258 |
(Renaming::addOpMappingSimpleCopy): deleted commented out function |
| 6259 |
|
| 6260 |
* renaming.hh (class Renaming): added decl for polymorph version of |
| 6261 |
isIdentityOpMapping() |
| 6262 |
|
| 6263 |
* renaming.cc (Renaming::isIdentityOpMapping): added polymorph version |
| 6264 |
(Renaming::canonicalizeOpMappings): check for identity mapping on polymorphs |
| 6265 |
|
| 6266 |
* mixfixModule.hh (MixfixModule::getPrec): make arg const |
| 6267 |
(MixfixModule::getFormat): make arg const |
| 6268 |
(MixfixModule::getGather): make arg const |
| 6269 |
|
| 6270 |
* renaming.cc (Renaming::canonicalizeStrategyMappings): use range-based for |
| 6271 |
loop (2 places); fix missing strategy name in specific advisory |
| 6272 |
(Renaming::isIdentityOpMapping): added |
| 6273 |
(Renaming::canonicalizeOpMappings): use isIdentityOpMapping(); rely on default |
| 6274 |
initializer for term data member |
| 6275 |
|
| 6276 |
2023-01-18 Steven Eker <eker@pup> |
| 6277 |
|
| 6278 |
* renaming.cc (Renaming::canonicalizeOpMappings): issue advisory if generic or |
| 6279 |
specific msg mapping renames an op without the msg attribute |
| 6280 |
|
| 6281 |
* renaming.hh (class Renaming): added decl for equal() |
| 6282 |
|
| 6283 |
* renaming.cc (Renaming::convertClassMappings): quietly skip identity mappings |
| 6284 |
(Renaming::convertAttrMappings): quietly skip identity mappings |
| 6285 |
(Renaming::pruneSortMappings): quietly skip identity mappings |
| 6286 |
(Renaming::pruneLabelMappings): quietly skip identity mappings |
| 6287 |
(Renaming::canonicalizeOpMappings): quietly skip identity mappings |
| 6288 |
(Renaming::equal): added |
| 6289 |
|
| 6290 |
* renaming.hh (class Renaming): added decl for canonicalizeStrategyMappings() |
| 6291 |
|
| 6292 |
* renaming.cc (Renaming::canonicalizeOpMappings): restructured nested ifs |
| 6293 |
to avoid spurious advisory |
| 6294 |
(Renaming::canonicalizeStrategyMappings): added |
| 6295 |
(Renaming::makeCanonicalVersion): use canonicalizeStrategyMappings() |
| 6296 |
|
| 6297 |
* modules.yy (sortToken): allow KW_FROM as a sort name/fragment |
| 6298 |
|
| 6299 |
2023-01-17 Steven Eker <eker@pup> |
| 6300 |
|
| 6301 |
* renaming.cc: use convertAttrMappings() |
| 6302 |
|
| 6303 |
* renaming.hh (class Renaming): added decl for convertAttrMappings() |
| 6304 |
|
| 6305 |
* renaming.cc (convertAttrMappings): added |
| 6306 |
|
| 6307 |
* mixfixModule.hh (class MixfixModule): added decls for findFirstUnarySymbol(), |
| 6308 |
findNextUnarySymbol() |
| 6309 |
|
| 6310 |
* mixfixModule.cc (MixfixModule::findFirstUnarySymbol): added |
| 6311 |
(MixfixModule::findNextUnarySymbol): added |
| 6312 |
|
| 6313 |
* renaming.cc (Renaming::canonicalizeOpMappings): use Index, ignore attr |
| 6314 |
mapppings, use range-based for loop |
| 6315 |
|
| 6316 |
* renaming.hh (class Renaming): added decl for canonicalizeOpMappings() |
| 6317 |
|
| 6318 |
* renaming.cc (Renaming::canonicalizeOpMappings): added |
| 6319 |
(Renaming::makeCanonicalVersion): use canonicalizeOpMappings() |
| 6320 |
|
| 6321 |
* renaming.hh (class Renaming): added decls for convertClassMappings(), |
| 6322 |
pruneSortMappings() |
| 6323 |
|
| 6324 |
* renaming.cc (Renaming::makeCanonicalVersion): check and convert class mappings |
| 6325 |
(Renaming::convertClassMappings): added |
| 6326 |
(Renaming::makeCanonicalVersion): use convertClassMappings() |
| 6327 |
(Renaming::convertClassMappings): make sure sorts are in the same component before |
| 6328 |
we compare them |
| 6329 |
(Renaming::pruneSortMappings): added; changed Assert() to AdvisoryCheck() for the |
| 6330 |
duplicate case |
| 6331 |
(Renaming::pruneLabelMappings): added |
| 6332 |
(Renaming::makeCanonicalVersion): use pruneSortMappings(), pruneLabelMappings() |
| 6333 |
|
| 6334 |
* renaming.hh (class Renaming): provide default initializers for fromTerm |
| 6335 |
and term in struct OpMapping |
| 6336 |
(class Renaming): provide default initializer OpMapping::prec |
| 6337 |
|
| 6338 |
* importModule.hh (class ImportModule): added decl for findClassIdSort() |
| 6339 |
|
| 6340 |
* ooSorts.cc (SyntacticPreModule::findClassIdSort): added |
| 6341 |
|
| 6342 |
* renaming.cc (Renaming::addSortAndLabelMappings): use range-based for |
| 6343 |
loop (2 places) |
| 6344 |
(Renaming::makeCanonicalVersion): use range-based for loop (2 places) |
| 6345 |
|
| 6346 |
* importModule.hh (class ImportModule): added decl for findAtttributeSort() |
| 6347 |
|
| 6348 |
* ooSorts.cc: created |
| 6349 |
|
| 6350 |
2023-01-13 Steven Eker <eker@pup> |
| 6351 |
|
| 6352 |
* renaming.cc (Renaming::printRenaming): print msg and attr mappings |
| 6353 |
|
| 6354 |
* top.yy: moved KW_ATTR to start keywords block |
| 6355 |
|
| 6356 |
* modules.yy (startKeyword2): moved KW_ATTR from inert to startKeyword2 |
| 6357 |
|
| 6358 |
* renaming.hh (Renaming::markAsMsg): added |
| 6359 |
|
| 6360 |
* modules.yy (mapping): added syntax for msg mappings |
| 6361 |
|
| 6362 |
* renaming.cc (Renaming::printRenamingType): use range-based for loop |
| 6363 |
(Renaming::setFormat): use range-based for loop |
| 6364 |
(Renaming::setGather): use range-based for loop |
| 6365 |
(Renaming::addType): (const Vector<Token>& tokens version) use range-based for loop |
| 6366 |
(Renaming::setType): added comment to explain why we need to add all sorts |
| 6367 |
to the type and not just the maximal ones. |
| 6368 |
(Renaming::makeTypeName): use range-base for loop |
| 6369 |
(Renaming::makeCanonicalName): use range-base for loop (4 places) |
| 6370 |
|
| 6371 |
* syntacticView.cc (SyntacticView::addParameter2): removed commented out |
| 6372 |
IssueAdvisory() |
| 6373 |
|
| 6374 |
* renaming.cc (Renaming::printRenaming): print classMap; use range-based for loop |
| 6375 |
to print sortMap, opMap, labelMap |
| 6376 |
|
| 6377 |
* renaming.hh (class Renaming): added struct ClassMapping; typedef ClassMap and |
| 6378 |
data member classMap; |
| 6379 |
(Renaming::addClassMapping): added |
| 6380 |
|
| 6381 |
* modules.yy (mapping): added class mapping syntax |
| 6382 |
|
| 6383 |
2023-01-12 Steven Eker <eker@pup> |
| 6384 |
|
| 6385 |
* lexer.ll: added attr as a keyword for scanning modules |
| 6386 |
|
| 6387 |
* top.yy: declare KW_ATTR |
| 6388 |
|
| 6389 |
* modules.yy (inert): added KW_ATTR |
| 6390 |
|
| 6391 |
* renaming.hh (class Renaming): deleted decl for setOpMsgFlag(); added decls for |
| 6392 |
addAttrMapping() and addAttrTarget() |
| 6393 |
|
| 6394 |
* renaming.cc (Renaming::setOpMsgFlag): deleted |
| 6395 |
(Renaming::addAttrMapping): added |
| 6396 |
(Renaming::addAttrTarget): added |
| 6397 |
|
| 6398 |
* modules.yy (fromAttrSpec): added |
| 6399 |
(mapping): removed opOrMsg; added attr mapping |
| 6400 |
|
| 6401 |
* top.yy: deleted opOrMsg |
| 6402 |
|
| 6403 |
* modules.yy (opOrMsg): deleted |
| 6404 |
|
| 6405 |
* renaming.hh (class Renaming): replaced msgFlag with MappingType; added enum class |
| 6406 |
MappingType |
| 6407 |
|
| 6408 |
2023-01-11 Steven Eker <eker@pup> |
| 6409 |
|
| 6410 |
* top.yy: added opOrMsg to nonterminals that return yyBool |
| 6411 |
|
| 6412 |
* modules.yy (opOrMsg): added |
| 6413 |
(mapping): use opOrMsg and call setOpMsgFlag() |
| 6414 |
|
| 6415 |
* renaming.hh (class Renaming): added decl for setOpMsgFlag() |
| 6416 |
|
| 6417 |
* renaming.cc (Renaming::setOpMsgFlag): added |
| 6418 |
|
| 6419 |
* renaming.hh (class Renaming): added data member msgFlag to struct OpMapping |
| 6420 |
|
| 6421 |
* syntacticPreModule.hh (class SyntacticPreModule): processClassSorts() -> |
| 6422 |
processClassTypes(); added decl for computeAttributeTypes() |
| 6423 |
|
| 6424 |
* process.cc (SyntacticPreModule::process): call processAttributeTypes() |
| 6425 |
|
| 6426 |
* ooProcess.cc (SyntacticPreModule::computeAttributeTypes): added |
| 6427 |
(SyntacticPreModule::processClassOps): use sort data member |
| 6428 |
(SyntacticPreModule::checkAttributeTypes): use checkType() |
| 6429 |
|
| 6430 |
* process.cc (SyntacticPreModule::process): call checkAttributeTypes() rather |
| 6431 |
than checkAttributeSorts() |
| 6432 |
|
| 6433 |
* syntacticPreModule.cc (SyntacticPreModule::addAttributePair): pass initializer |
| 6434 |
for sort data member |
| 6435 |
|
| 6436 |
* syntacticPreModule.hh (class SyntacticPreModule): added sort data member |
| 6437 |
to struct AttributePair |
| 6438 |
|
| 6439 |
* ooProcess.cc (SyntacticPreModule::checkAttributeSorts): becomes |
| 6440 |
checkAttributesTypes() |
| 6441 |
|
| 6442 |
* modules.yy (cPair): pass kind flag to addAttributePair() |
| 6443 |
|
| 6444 |
* syntacticPreModule.hh (class SyntacticPreModule): struct AttributePair |
| 6445 |
now has a Type |
| 6446 |
|
| 6447 |
* ooProcess.cc (SyntacticPreModule::checkAttributeSorts): use type |
| 6448 |
(SyntacticPreModule::processClassOps): use type |
| 6449 |
|
| 6450 |
* syntacticPreModule.hh (class SyntacticPreModule): updated decl for |
| 6451 |
addAttributePair() |
| 6452 |
|
| 6453 |
* syntacticPreModule.cc (SyntacticPreModule::addAttributePair): take kind flag |
| 6454 |
|
| 6455 |
* command.cc (SyntacticPreModule::showModule): use type rather than sortName |
| 6456 |
|
| 6457 |
* ooProcess.cc (SyntacticPreModule::processClassOps): use attribute typeName |
| 6458 |
(SyntacticPreModule::checkAttributeSorts): moved here; use typeName |
| 6459 |
|
| 6460 |
* syntacticPreModule.hh (class SyntacticPreModule): updated decl for |
| 6461 |
addAttributePair() |
| 6462 |
(class SyntacticPreModule): updated struct AttributePair |
| 6463 |
|
| 6464 |
* syntacticPreModule.cc (SyntacticPreModule::addAttributePair): take typeName |
| 6465 |
rather than sortName |
| 6466 |
|
| 6467 |
* modules.yy (cPair): use typeName1 |
| 6468 |
|
| 6469 |
* top.yy: added typeName1 to nonterminals that return yyBool |
| 6470 |
|
| 6471 |
* modules.yy (typeName1): added |
| 6472 |
|
| 6473 |
2023-01-10 Steven Eker <eker@pup> |
| 6474 |
|
| 6475 |
* process.cc (SyntacticPreModule::processImports): don't check for theories |
| 6476 |
when handling autoImports since in the theory case this will be empty |
| 6477 |
following the change below |
| 6478 |
|
| 6479 |
* syntacticPreModule.cc (SyntacticPreModule::finishModule): don't copy |
| 6480 |
autoImports for theories; we tried this before and it seemed to break |
| 6481 |
strategies, but in fact it fixes a bug in all theories at the metalevel, |
| 6482 |
and the old test output was bad |
| 6483 |
|
| 6484 |
* process.cc (SyntacticPreModule::checkType): use range-based for loop |
| 6485 |
(SyntacticPreModule::checkOpTypes): use range-based for loop |
| 6486 |
(SyntacticPreModule::computeOpTypes): use range-based for loop |
| 6487 |
(SyntacticPreModule::processOps): use range-based for loop |
| 6488 |
(SyntacticPreModule::computeType): use Index |
| 6489 |
(SyntacticPreModule::processStatements): use range-based for loop |
| 6490 |
|
| 6491 |
* command.cc (SyntacticPreModule::printAttributes): don't print ctor in |
| 6492 |
msg statement |
| 6493 |
|
| 6494 |
* ops.cc (SyntacticPreModule::endMsg): messages are automatically ctors |
| 6495 |
|
| 6496 |
* ooProcess.cc (SyntacticPreModule::addHonoraryClassNames) |
| 6497 |
(SyntacticPreModule::findClassIdSortName) |
| 6498 |
(SyntacticPreModule::findAtttributeSetSort) |
| 6499 |
(SyntacticPreModule::findAtttributeSort) |
| 6500 |
(SyntacticPreModule::processClassSorts) |
| 6501 |
(SyntacticPreModule::processClassOps): moved here |
| 6502 |
|
| 6503 |
* process.cc (SyntacticPreModule::processSubsorts): major simplification now that |
| 6504 |
surface parser enforces good syntax for subsort declarations |
| 6505 |
(SyntacticPreModule::processClassSorts): simplify subclass processing now that |
| 6506 |
surface parser enforces good syntax for subclass declaration |
| 6507 |
|
| 6508 |
* syntacticPreModule.hh (SyntacticPreModule::addSortDecl): don't check for empty |
| 6509 |
sortDecl since surface syntax no longer allows this |
| 6510 |
|
| 6511 |
* modules.yy (sortNameList): make nonempty |
| 6512 |
(subsortList): enforce sortName+ < sortName+ (< sortName)* |
| 6513 |
|
| 6514 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for processSubsorts() |
| 6515 |
|
| 6516 |
* process.cc (SyntacticPreModule::insertSubsorts): switch nesting since smaller is |
| 6517 |
more likely to be empty |
| 6518 |
(SyntacticPreModule::processSubsorts): reimplemented subsort code and moved it here |
| 6519 |
|
| 6520 |
2023-01-09 Steven Eker <eker@pup> |
| 6521 |
|
| 6522 |
* process.cc (SyntacticPreModule::processClassSorts): don't create class sort |
| 6523 |
for class names that contain an underscore |
| 6524 |
(SyntacticPreModule::processClassOps): don't process classes whose name contains |
| 6525 |
an underscore; don't add ops for attributes whose name contains an underscrore |
| 6526 |
(SyntacticPreModule::processSorts): use range based loop (2 places) |
| 6527 |
|
| 6528 |
* token.hh (Token::containsUnderscore): added |
| 6529 |
|
| 6530 |
* makeGrammar.cc (MixfixModule::makeSymbolProductions): only make empty |
| 6531 |
attribute set production if attributeSetSymbol has correct attributes |
| 6532 |
|
| 6533 |
* mixfixParser.cc (MixfixParser::makeTerm): don't allow empty attribute set |
| 6534 |
syntax in operator declarations and create a fake term in the case it occurs |
| 6535 |
|
| 6536 |
2023-01-06 Steven Eker <eker@pup> |
| 6537 |
|
| 6538 |
* ops.cc (SyntacticPreModule::endMsg): remove bad msg(s) from opDefs and opDecls |
| 6539 |
(SyntacticPreModule::setMetadata): deleted commented out setting of flag |
| 6540 |
SymbolType::METADATA since this flag no longer exists |
| 6541 |
|
| 6542 |
* modules.yy (declaration): call endMsg() at the end of a msg or msgs declaration |
| 6543 |
|
| 6544 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for endMsg() |
| 6545 |
|
| 6546 |
* ops.cc (SyntacticPreModule::endMsg): added |
| 6547 |
|
| 6548 |
2023-01-05 Steven Eker <eker@pup> |
| 6549 |
|
| 6550 |
* syntacticPreModule.cc (SyntacticPreModule::addClassDecl): moved here |
| 6551 |
(SyntacticPreModule::addAttributePair): moved here |
| 6552 |
(SyntacticPreModule::addClassDecl): only allow class declaration in omod or oth |
| 6553 |
(SyntacticPreModule::addAttributePair): ignore attribute pair unless we are an |
| 6554 |
omod or an oth |
| 6555 |
(SyntacticPreModule::addSubclassDecl): moved here; only allow subclass declaration |
| 6556 |
in omod or oth |
| 6557 |
|
| 6558 |
* command.cc (SyntacticPreModule::showModule): use Token::sortName() for printing |
| 6559 |
class names and attribute sorts |
| 6560 |
|
| 6561 |
* modules.yy (cPair): use sortName rather than token for attribute sorts |
| 6562 |
(declaration): use sortName rather than token for class names |
| 6563 |
|
| 6564 |
* makeGrammar.cc (MixfixModule::makeSymbolProductions): added production for |
| 6565 |
AKE_OBJECT_WITH_EMPTY_ATTRIBUTE_SET for ObjectConstructorSymbol symbols |
| 6566 |
|
| 6567 |
* mixfixParser.cc (MixfixParser::makeTerm): handle |
| 6568 |
MAKE_OBJECT_WITH_EMPTY_ATTRIBUTE_SET case |
| 6569 |
|
| 6570 |
* objectConstructorSymbol.hh (ObjectConstructorSymbol::getAttributeSetSymbol): |
| 6571 |
added |
| 6572 |
|
| 6573 |
* mixfixParser.hh (class MixfixParser): added MAKE_OBJECT_WITH_EMPTY_ATTRIBUTE_SET |
| 6574 |
to semantic actions |
| 6575 |
|
| 6576 |
* process.cc (SyntacticPreModule::addHonoraryClassNames): only look at system |
| 6577 |
modules and theories; require that sort have a constant of the same name with |
| 6578 |
a single decl that is a ctor |
| 6579 |
|
| 6580 |
* mixfixModule.hh (MixfixModule::isSystem): added static and non-static versions |
| 6581 |
|
| 6582 |
* banner.cc (printBanner): update year |
| 6583 |
|
| 6584 |
2023-01-04 Steven Eker <eker@pup> |
| 6585 |
|
| 6586 |
* process.cc (SyntacticPreModule::processClassOps): use findAtttributeSort(); insert |
| 6587 |
attribute operators |
| 6588 |
(SyntacticPreModule::processClassOps): use gather (&) for attribute operators; use |
| 6589 |
ctor for class and attribute operators |
| 6590 |
(SyntacticPreModule::checkAttributeSorts): added |
| 6591 |
(SyntacticPreModule::findClassIdSortName): only consider ops with ctor attribute |
| 6592 |
(SyntacticPreModule::findAtttributeSetSort): only consider ops with ctor attribute |
| 6593 |
(SyntacticPreModule::addHonoraryClassNames): added |
| 6594 |
(SyntacticPreModule::processClassSorts): use addHonoraryClassNames |
| 6595 |
|
| 6596 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for findAtttributeSort() |
| 6597 |
|
| 6598 |
* process.cc (SyntacticPreModule::processClassSorts): use classIdSort data member |
| 6599 |
(SyntacticPreModule::processClassOps): use attributeSetSort data member |
| 6600 |
(SyntacticPreModule::findAtttributeSort): added |
| 6601 |
|
| 6602 |
* syntacticPreModule.hh (class SyntacticPreModule): added data members classIdSort, |
| 6603 |
attributeSetSort, attributeSort |
| 6604 |
|
| 6605 |
* process.cc (SyntacticPreModule::processClassSorts): use new findClassIdSortName() |
| 6606 |
convention |
| 6607 |
|
| 6608 |
* syntacticPreModule.hh (class SyntacticPreModule): updated decl for |
| 6609 |
findClassIdSortName() |
| 6610 |
|
| 6611 |
* process.cc (SyntacticPreModule::findClassIdSortName): return sort rather |
| 6612 |
than name code |
| 6613 |
|
| 6614 |
2023-01-03 Steven Eker <eker@pup> |
| 6615 |
|
| 6616 |
* mixfix.hh: added class ObjectConstructorSymbol |
| 6617 |
|
| 6618 |
* process.cc (SyntacticPreModule::findClassIdSortName): made const |
| 6619 |
(SyntacticPreModule::processClassOps): call findAtttributeSetSort() |
| 6620 |
|
| 6621 |
* syntacticPreModule.hh (class SyntacticPreModule): updated decl for |
| 6622 |
findClassIdSortName() |
| 6623 |
|
| 6624 |
* process.cc (SyntacticPreModule::processClassSorts): mark module as bad if we can't |
| 6625 |
find the Cid sort |
| 6626 |
(SyntacticPreModule::findClassIdSortName): only consider symbols with the |
| 6627 |
ObjectConstructorSymbol id-hook |
| 6628 |
(SyntacticPreModule::findAtttributeSetSort): added |
| 6629 |
|
| 6630 |
* fancySymbols.cc (MixfixModule::newFancySymbol): added ObjectConstructorSymbol |
| 6631 |
|
| 6632 |
* specialSymbolTypes.cc: added ObjectConstructorSymbol |
| 6633 |
|
| 6634 |
* objectConstructorSymbol.cc: created |
| 6635 |
|
| 6636 |
* objectConstructorSymbol.hh: created |
| 6637 |
|
| 6638 |
* symbolType.hh (class SymbolType): added OBJECT_CONSTRUCTOR_SYMBOL to enum BasicTypes |
| 6639 |
|
| 6640 |
2022-12-23 Steven Eker <eker@pup> |
| 6641 |
|
| 6642 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for processClassOps() |
| 6643 |
|
| 6644 |
* process.cc (SyntacticPreModule::processClassOps): added |
| 6645 |
|
| 6646 |
* syntacticPreModule.hh (class SyntacticPreModule): added data member classSymbol |
| 6647 |
to struct ClassDecl |
| 6648 |
|
| 6649 |
* process.cc (SyntacticPreModule::process): use processClassOps() |
| 6650 |
|
| 6651 |
* syntacticPreModule.hh (class SyntacticPreModule): added data member classSort to |
| 6652 |
struct ClassDecl |
| 6653 |
|
| 6654 |
* process.cc (SyntacticPreModule::processClassSorts): handle subclasses |
| 6655 |
(SyntacticPreModule::insertSubsorts): added |
| 6656 |
(SyntacticPreModule::processClassSorts): use insertSubsorts() |
| 6657 |
(SyntacticPreModule::processClassSorts): save sort for each class |
| 6658 |
|
| 6659 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for |
| 6660 |
processClassSorts() |
| 6661 |
|
| 6662 |
* process.cc (SyntacticPreModule::process): use findClassIdSortName(); |
| 6663 |
try to add subsorts for class names |
| 6664 |
(SyntacticPreModule::processClassSorts): added |
| 6665 |
(SyntacticPreModule::process): use processClassSorts() |
| 6666 |
|
| 6667 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for |
| 6668 |
findClassIdSortName() |
| 6669 |
|
| 6670 |
* process.cc (SyntacticPreModule::findClassIdSortName): added |
| 6671 |
|
| 6672 |
* mixfixModule.hh (getObjectSymbols): added |
| 6673 |
|
| 6674 |
2022-12-22 Steven Eker <eker@pup> |
| 6675 |
|
| 6676 |
* process.cc (SyntacticPreModule::processOps): clear SymbolType::MSG_STATEMENT |
| 6677 |
before passing symbolType to flatModule |
| 6678 |
|
| 6679 |
===================================Maude139=========================================== |
| 6680 |
|
| 6681 |
* lexer.ll: %option noyy_top_state |
| 6682 |
|
| 6683 |
* deserializer.ll: option noinput |
| 6684 |
|
| 6685 |
* tokenizer.ll: option noinput |
| 6686 |
|
| 6687 |
* deserializer.ll: %option nounput |
| 6688 |
|
| 6689 |
* tokenizer.ll: %option nounput |
| 6690 |
|
| 6691 |
* lexer.ll: %option nounput |
| 6692 |
|
| 6693 |
* top.yy: fix decl for yyerror() |
| 6694 |
|
| 6695 |
* bottom.yy (yyerror): make second argument const |
| 6696 |
|
| 6697 |
2022-12-21 Steven Eker <eker@pup> |
| 6698 |
|
| 6699 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): added OUT_OF_MEMORY |
| 6700 |
to enum ExitCodes |
| 6701 |
|
| 6702 |
* interact.cc (UserLevelRewritingContext::setHandlers): malloc() rather than statically |
| 6703 |
allocate alt stack, because SIGSTKSZ may not be known at compile time |
| 6704 |
|
| 6705 |
2022-12-16 Steven Eker <eker@pup> |
| 6706 |
|
| 6707 |
* syntacticPreModule.hh (SyntacticPreModule::addAttributePair): removed commented |
| 6708 |
out code |
| 6709 |
|
| 6710 |
* syntaxContainer.cc (operator<<): fix bug where first token in kind was printed |
| 6711 |
directly rather than with Token::sortName() |
| 6712 |
|
| 6713 |
* command.cc (SyntacticPreModule::printAttributes): use range-based for loop rather |
| 6714 |
than FOR_EACH_CONST() |
| 6715 |
|
| 6716 |
2022-12-15 Steven Eker <eker@pup> |
| 6717 |
|
| 6718 |
* process.cc (SyntacticPreModule::process): convert omods to mods and oths to ths |
| 6719 |
|
| 6720 |
2022-12-14 Steven Eker <eker@pup> |
| 6721 |
|
| 6722 |
* command.cc (SyntacticPreModule::showModule): print classDecls |
| 6723 |
(SyntacticPreModule::showModule): print subclassDecls |
| 6724 |
|
| 6725 |
* modules.yy (declaration): use addClassDecl() |
| 6726 |
(cPair): use addAttributePair() |
| 6727 |
|
| 6728 |
* syntacticPreModule.hh (class SyntacticPreModule): added structs AttributePair |
| 6729 |
and ClassDecl; added data member classDecls |
| 6730 |
(SyntacticPreModule::addClassDecl): added |
| 6731 |
(SyntacticPreModule::addAttributePair): added |
| 6732 |
|
| 6733 |
2022-12-13 Steven Eker <eker@pup> |
| 6734 |
|
| 6735 |
* command.cc (SyntacticPreModule::showModule): handle SymbolType::MSG_STATEMENT |
| 6736 |
(SyntacticPreModule::printAttributes): handle SymbolType::MSG_STATEMENT |
| 6737 |
|
| 6738 |
* modules.yy (declaration): set SymbolType::MSG_STATEMENT for operators that get their |
| 6739 |
SymbolType::MESSAGE flag from a msg or msgs statement rather than an attribute |
| 6740 |
|
| 6741 |
* symbolType.hh (class SymbolType): added MSG_STATEMENT to enum Flags |
| 6742 |
|
| 6743 |
* modules.yy (classDef): allow class C . rather than class C | . |
| 6744 |
|
| 6745 |
2022-12-08 Steven Eker <eker@pup> |
| 6746 |
|
| 6747 |
* viewCache.cc (ViewCache::makeViewInstantiation): DebugAlways() -> DebugInfo() (2 places) |
| 6748 |
(ViewCache::showCreatedViews): DebugAlways() -> DebugInfo() |
| 6749 |
|
| 6750 |
* visibleModule.cc: DebugAlways() -> DebugInfo() |
| 6751 |
|
| 6752 |
* viewCache.cc (ViewCache::makeViewInstantiation): get the actual characters |
| 6753 |
of cleanName from Token; fixes a longstanding bug where views that were |
| 6754 |
instantiated twice got a bad cleanName |
| 6755 |
|
| 6756 |
* moduleCache.cc (ModuleCache::showCreatedModules): use range-based for loop |
| 6757 |
|
| 6758 |
* viewCache.cc (ViewCache::showCreatedViews): use range-based for loop |
| 6759 |
|
| 6760 |
2022-12-07 Steven Eker <eker@pup> |
| 6761 |
|
| 6762 |
* viewCache.cc: added DebugAlways() so I can see the internal name of |
| 6763 |
instantiated view |
| 6764 |
(ViewCache::makeViewInstantiation): added DebugAlways()s so I can see the |
| 6765 |
name and clean name being built |
| 6766 |
(ViewCache::makeViewInstantiation): start cleanName from view->getCleanName() |
| 6767 |
|
| 6768 |
* visibleModule.cc: added DebugAlway()s so I can see the internal name of |
| 6769 |
each sort |
| 6770 |
|
| 6771 |
===================================Maude138=========================================== |
| 6772 |
|
| 6773 |
2022-02-21 Steven Eker <eker@pup> |
| 6774 |
|
| 6775 |
* banner.cc (printBanner): tweak spacing |
| 6776 |
|
| 6777 |
===================================Maude137b=========================================== |
| 6778 |
|
| 6779 |
2022-01-25 Steven Eker <eker@pup> |
| 6780 |
|
| 6781 |
* banner.cc (printBanner): updated copyright year |
| 6782 |
|
| 6783 |
2021-10-01 Steven Eker <eker@pup> |
| 6784 |
|
| 6785 |
* loopMode.cc (Interpreter::contLoop2): fix bug where we were not checking |
| 6786 |
that savedState was actually a CacheableRewritingContext |
| 6787 |
|
| 6788 |
2021-09-09 Steven Eker <eker@pup> |
| 6789 |
|
| 6790 |
* yices2_Bindings.cc (VariableGenerator::assertDag): fix bug where |
| 6791 |
we were calling yices_assert_formula(smtContext, t) twice |
| 6792 |
|
| 6793 |
2021-07-20 Steven Eker <eker2@eker10> |
| 6794 |
|
| 6795 |
* process.cc (SyntacticPreModule::processImports): removed |
| 6796 |
unnecessary if statement |
| 6797 |
|
| 6798 |
* syntacticPreModule.cc (SyntacticPreModule::finishModule): make |
| 6799 |
deep copies for autoImports and ooIncludes conditional |
| 6800 |
(SyntacticPreModule::finishModule): reverted change for |
| 6801 |
autoImports because it is breaking strategies |
| 6802 |
|
| 6803 |
* syntacticPreModule.hh (class SyntacticPreModule): added data |
| 6804 |
member ooIncludes |
| 6805 |
|
| 6806 |
* syntacticPreModule.cc (SyntacticPreModule::finishModule): copy |
| 6807 |
object-oriented includes |
| 6808 |
|
| 6809 |
* process.cc (SyntacticPreModule::processImports): handle default |
| 6810 |
object-oriented includes |
| 6811 |
|
| 6812 |
* mixfixModule.hh (MixfixModule::isObjectOriented): added |
| 6813 |
|
| 6814 |
* moduleDatabase.hh (class ModuleDatabase): setOmodInclude() -> |
| 6815 |
setOoInclude() |
| 6816 |
|
| 6817 |
* commands.yy: use setOoInclude() |
| 6818 |
|
| 6819 |
* moduleDatabase.cc (ModuleDatabase::setOmodInclude): becomes |
| 6820 |
setOoInclude(); use defaultOpIncludes |
| 6821 |
|
| 6822 |
* moduleDatabase.hh (getOmodIncludes): becomes getOoIncludes(); |
| 6823 |
use defaultOoIncludes |
| 6824 |
(class ModuleDatabase): data member defaultOmodIncludes becomes |
| 6825 |
defaultOoIncludes |
| 6826 |
|
| 6827 |
* process.cc (SyntacticPreModule::processImports): use range-based |
| 6828 |
for loop instead of FOR_EACH_CONST |
| 6829 |
|
| 6830 |
* syntacticPreModule.cc (SyntacticPreModule::compatible): added |
| 6831 |
oth/endoth |
| 6832 |
|
| 6833 |
* specialTokens.cc: added oth and endoth |
| 6834 |
|
| 6835 |
* syntacticPreModule.cc (SyntacticPreModule::SyntacticPreModule): |
| 6836 |
support OBJECT_ORIENTED_THEORY, OBJECT_ORIENTED_MODULE |
| 6837 |
|
| 6838 |
* top.yy: delete startModule |
| 6839 |
|
| 6840 |
* modules.yy (startModule): deleted |
| 6841 |
(module): use KW_MOD rather than startModule |
| 6842 |
|
| 6843 |
* top.yy: KW_OMOD changed to KW_OO |
| 6844 |
|
| 6845 |
* commands.yy: use KW_OO rather than KW_OMOD |
| 6846 |
|
| 6847 |
* lexer.ll: make omod return KW_MOD and add oo |
| 6848 |
|
| 6849 |
2021-07-19 Steven Eker <eker2@eker10> |
| 6850 |
|
| 6851 |
* lexer.ll (id): recognise oth and endoth |
| 6852 |
|
| 6853 |
* mixfixModule.cc (MixfixModule::moduleTypeString): handle oth and |
| 6854 |
omod |
| 6855 |
(MixfixModule::moduleEndString): handle endoth and endom |
| 6856 |
|
| 6857 |
* mixfixModule.hh (class MixfixModule): added OBJECT_ORIENTED to |
| 6858 |
enum Bits, and OBJECT_ORIENTED_MODULE, OBJECT_ORIENTED_THEORY to |
| 6859 |
enum ModuleType |
| 6860 |
|
| 6861 |
* lexer.ll: added comment to explain why omod is separated out |
| 6862 |
|
| 6863 |
2021-07-16 Steven Eker <eker2@eker10> |
| 6864 |
|
| 6865 |
* command.cc (SyntacticPreModule::showModule): use |
| 6866 |
importModeString() |
| 6867 |
|
| 6868 |
* mixfixModule.cc (MixfixModule::moduleTypeString): made |
| 6869 |
typeStrings const |
| 6870 |
(MixfixModule::moduleEndString): made typeStrings const |
| 6871 |
|
| 6872 |
* visibleModule.cc: use importModeString() and getImportMode() |
| 6873 |
|
| 6874 |
* importModule.hh (class ImportModule): added decl for |
| 6875 |
importModeString() |
| 6876 |
|
| 6877 |
* importModule.cc (ImportModule::importModeString): added |
| 6878 |
|
| 6879 |
* importModule.hh (class ImportModule): added data member |
| 6880 |
importModes |
| 6881 |
(ImportModule::getImportMode): added |
| 6882 |
|
| 6883 |
* importModule.cc (ImportModule::addImport): set mode to INCLUDING |
| 6884 |
for theories imported by other modes; store imporation mode |
| 6885 |
|
| 6886 |
* visibleModule.hh (class VisibleModule): added decl for |
| 6887 |
showImports() |
| 6888 |
|
| 6889 |
* visibleModule.cc: added |
| 6890 |
|
| 6891 |
* importModule.hh (ImportModule::getNrImports): added |
| 6892 |
(ImportModule::getImportedModule): added |
| 6893 |
|
| 6894 |
2021-07-15 Steven Eker <eker2@eker10> |
| 6895 |
|
| 6896 |
* commands.yy (command): added show desugared <identifier> . |
| 6897 |
|
| 6898 |
* top.yy: added KW_DESUGARED |
| 6899 |
|
| 6900 |
* lexer.ll: added desuguared to INITIAL |
| 6901 |
|
| 6902 |
2021-06-29 Steven Eker <eker2@eker10> |
| 6903 |
|
| 6904 |
* modules.yy (declaration): use addSubclassDecl() |
| 6905 |
|
| 6906 |
* syntacticPreModule.hh (class SyntacticPreModule): added data |
| 6907 |
member subclassDecls |
| 6908 |
(SyntacticPreModule::addSubclassDecl): added |
| 6909 |
|
| 6910 |
===================================Maude137=========================================== |
| 6911 |
|
| 6912 |
2021-04-27 Steven Eker <eker2@eker10> |
| 6913 |
|
| 6914 |
* specialSymbolTypes.cc: added DirectoryManagerSymbol |
| 6915 |
|
| 6916 |
* symbolType.hh (class SymbolType): added STREAM_MANAGER_SYMBOL to |
| 6917 |
enum BasicTypes |
| 6918 |
|
| 6919 |
* fancySymbols.cc (MixfixModule::newFancySymbol): handle case |
| 6920 |
DIRECTORY_MANAGER_SYMBOL |
| 6921 |
|
| 6922 |
===================================Maude136=========================================== |
| 6923 |
|
| 6924 |
2021-03-24 Steven Eker <eker2@eker10> |
| 6925 |
|
| 6926 |
* interact.cc (UserLevelRewritingContext::interruptSeen): added |
| 6927 |
|
| 6928 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 6929 |
added decl for interruptSeen() |
| 6930 |
|
| 6931 |
2021-03-10 Steven Eker <eker2@eker10> |
| 6932 |
|
| 6933 |
* global.hh: added decl for setDebugMode() |
| 6934 |
|
| 6935 |
* interact.cc (UserLevelRewritingContext::changePrompt): call |
| 6936 |
setDebugMode() |
| 6937 |
|
| 6938 |
* commands.yy: handle KW_IMPLIED_STEP |
| 6939 |
|
| 6940 |
* top.yy: added KW_IMPLIED_STEP |
| 6941 |
|
| 6942 |
* lexer.ll: handle implied step commands |
| 6943 |
|
| 6944 |
* lexerAux.hh: added decl for generateImpliedStep() |
| 6945 |
|
| 6946 |
* lexerAux.cc: added variable debugMode |
| 6947 |
(setDebugMode): added |
| 6948 |
(generateImpliedStep): added |
| 6949 |
|
| 6950 |
2021-03-09 Steven Eker <eker2@eker10> |
| 6951 |
|
| 6952 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 6953 |
added static data member timeAtLastInterrupt |
| 6954 |
|
| 6955 |
* interact.cc (UserLevelRewritingContext::handleInterrupt): check |
| 6956 |
for two interrupts happening in the space of a second |
| 6957 |
|
| 6958 |
===================================Maude135=========================================== |
| 6959 |
|
| 6960 |
2021-03-01 Steven Eker <eker2@eker10> |
| 6961 |
|
| 6962 |
* symbolType.hh (class SymbolType): added TIME_MANAGER_SYMBOL |
| 6963 |
|
| 6964 |
* fancySymbols.cc (MixfixModule::newFancySymbol): handle |
| 6965 |
TimeManagerSymbol |
| 6966 |
|
| 6967 |
* specialSymbolTypes.cc: added TimeManagerSymbol |
| 6968 |
|
| 6969 |
===================================Maude134=========================================== |
| 6970 |
|
| 6971 |
2021-02-19 Steven Eker <eker2@eker10> |
| 6972 |
|
| 6973 |
* unify.cc (Interpreter::unify): pass destructiveUpdates = true to |
| 6974 |
UnificationProblem() |
| 6975 |
(Interpreter::unify): unmade previoius change now that we're doing |
| 6976 |
away with destructive updates because they don't normalize bindings |
| 6977 |
|
| 6978 |
2021-02-10 Steven Eker <eker2@eker10> |
| 6979 |
|
| 6980 |
* top.yy: replaced %pure-parser with %define api.pure |
| 6981 |
|
| 6982 |
2021-02-09 Steven Eker <eker2@eker10> |
| 6983 |
|
| 6984 |
* Makefile.am (surface.h): now depends on surface.cc rather than |
| 6985 |
surface.yy in order that parallel builds don't run bison twice |
| 6986 |
|
| 6987 |
2021-02-03 Steven Eker <eker2@eker10> |
| 6988 |
|
| 6989 |
* unify.cc (Interpreter::unify): fix bug where we were not echoing |
| 6990 |
irredundant prefix |
| 6991 |
|
| 6992 |
2021-01-04 Rubén Rubio <[email protected]> |
| 6993 |
|
| 6994 |
* instantiateViewWithFreeParameters.cc (View::handleStratMappings): |
| 6995 |
fixed some bugs, getOpTo was used instead of getStratTo, etc. |
| 6996 |
|
| 6997 |
* parameterization.cc (addStratMappingsFromView): use range-based |
| 6998 |
for loop |
| 6999 |
|
| 7000 |
===================================Maude133=========================================== |
| 7001 |
|
| 7002 |
2020-12-10 Steven Eker <eker2@eker10> |
| 7003 |
|
| 7004 |
* top.yy: optOptions, optionsList, option now have type yyInt64 |
| 7005 |
|
| 7006 |
* commands.yy (optOptions, optionsList, option): pass flag(s) back |
| 7007 |
via $$ rather than variantOptions variable |
| 7008 |
|
| 7009 |
* search.cc (Interpreter::checkSearchRestrictions): deleted |
| 7010 |
VU_NARROW_WITH_FILTERED_VU, FVU_NARROW_WITH_FILTERED_VU cases |
| 7011 |
(Interpreter::search): deleted VU_NARROW_WITH_FILTERED_VU, |
| 7012 |
FVU_NARROW_WITH_FILTERED_VU cases |
| 7013 |
|
| 7014 |
* interpreter.hh (class Interpreter): deleted |
| 7015 |
VU_NARROW_WITH_FILTERED_VU and FVU_NARROW_WITH_FILTERED_VU from |
| 7016 |
enum SearchKind |
| 7017 |
|
| 7018 |
* commands.yy (search): delete filtered vu-narrow and filtered |
| 7019 |
fvu-narrow commands |
| 7020 |
|
| 7021 |
* top.yy: added KW_FOLD |
| 7022 |
|
| 7023 |
* commands.yy (command): use optOptions for vu-narrow |
| 7024 |
|
| 7025 |
* lexer.ll: added KW_FOLD |
| 7026 |
|
| 7027 |
* commands.yy (optOptions, optionsList, option): added |
| 7028 |
|
| 7029 |
* lexer.ll: return { } in INTIAL mode |
| 7030 |
|
| 7031 |
2020-12-09 Steven Eker <eker2@eker10> |
| 7032 |
|
| 7033 |
* search.cc (Interpreter::search): take variantFlags argument; |
| 7034 |
handle printing of variantFlags |
| 7035 |
|
| 7036 |
* interpreter.hh (class Interpreter): updated decl for search() |
| 7037 |
|
| 7038 |
* commands.yy (command): pass variantOptions to search() |
| 7039 |
|
| 7040 |
* top.yy: added type decl for cTokenBarDotOptionToken |
| 7041 |
|
| 7042 |
* commands.yy (cTokenBarDotOptionToken): added |
| 7043 |
(optionsNumbersModuleTerm1): use cTokenBarDotOptionToken |
| 7044 |
|
| 7045 |
* top.yy: added variable variantOptions |
| 7046 |
|
| 7047 |
* commands.yy (optionsNumbersModuleTerm2): handle , |
| 7048 |
(optionsNumbersModuleTerm1): hande cOptionsToken |
| 7049 |
|
| 7050 |
* top.yy: added type for cOptionToken |
| 7051 |
|
| 7052 |
* commands.yy (cOptionToken): added; use whereever IDENTIFIER is used |
| 7053 |
|
| 7054 |
* top.yy: added KW_FILTER and KW_DELAY |
| 7055 |
|
| 7056 |
* lexer.ll: added filter and delay to CMD_MODE |
| 7057 |
|
| 7058 |
* commands.yy (search): remove VU_NARROW |
| 7059 |
(command): addd VU_NARROW as a separate command |
| 7060 |
(command): use optionsNumbersModuleTerm for VU_NARROW |
| 7061 |
|
| 7062 |
* top.yy: added types for cTokenBarOpenLeftIn, |
| 7063 |
cTokenBarDotCommaClose |
| 7064 |
|
| 7065 |
* commands.yy: added '{' | '}' to all existing |
| 7066 |
cToken nonterminals |
| 7067 |
(cTokenBarOpenLeftIn): added |
| 7068 |
(cTokenBarDotCommaClose): added |
| 7069 |
|
| 7070 |
* lexer.ll: return { and } as characters rather than identifiers |
| 7071 |
in CMD_MODE |
| 7072 |
|
| 7073 |
2020-12-08 Steven Eker <eker2@eker10> |
| 7074 |
|
| 7075 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 7076 |
added SOCKET_CLOSED to enum ExitCodes |
| 7077 |
|
| 7078 |
2020-12-04 Steven Eker <eker2@eker10> |
| 7079 |
|
| 7080 |
* deserializer.ll: allow null Qid |
| 7081 |
|
| 7082 |
2020-12-03 Steven Eker <eker2@eker10> |
| 7083 |
|
| 7084 |
* commands.yy (search): support support VU_NARROW_WITH_FILTERED_VU and |
| 7085 |
FVU_NARROW_WITH_FILTERED_VU |
| 7086 |
|
| 7087 |
* search.cc (Interpreter::checkSearchRestrictions) |
| 7088 |
(Interpreter::search): support VU_NARROW_WITH_FILTERED_VU and |
| 7089 |
FVU_NARROW_WITH_FILTERED_VU |
| 7090 |
|
| 7091 |
* interpreter.hh (class Interpreter): added |
| 7092 |
VU_NARROW_WITH_FILTERED_VU and FVU_NARROW_WITH_FILTERED_VU to enum |
| 7093 |
SearchKind |
| 7094 |
|
| 7095 |
* search.cc (Interpreter::search): put variantFlags in an explicit |
| 7096 |
variable |
| 7097 |
|
| 7098 |
2020-12-02 Steven Eker <eker2@eker10> |
| 7099 |
|
| 7100 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 7101 |
added decl for ignoreCtrlC() |
| 7102 |
|
| 7103 |
* interact.cc (UserLevelRewritingContext::internalErrorHandler): |
| 7104 |
exit with INTERNAL_ERROR |
| 7105 |
(UserLevelRewritingContext::stackOverflowHandler): exit with |
| 7106 |
STACK_OVERFLOW |
| 7107 |
(UserLevelRewritingContext::commandLoop): exit with NORMAL_EXIT |
| 7108 |
(UserLevelRewritingContext::ignoreCtrlC): added |
| 7109 |
|
| 7110 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 7111 |
added enum ExitCodes |
| 7112 |
|
| 7113 |
2020-11-13 Steven Eker <eker2@eker10> |
| 7114 |
|
| 7115 |
* deserializer.ll: absorb trailing \n from previous line in |
| 7116 |
INITIAL |
| 7117 |
|
| 7118 |
2020-11-10 Steven Eker <eker2@eker10> |
| 7119 |
|
| 7120 |
* mixfixModule.hh (class MixfixModule): made vists() private |
| 7121 |
|
| 7122 |
* serialize.cc (MixfixModule::visit): use get_str() for getting |
| 7123 |
string representation of GMP integers and rationals to avoid |
| 7124 |
explicit calls to free() |
| 7125 |
|
| 7126 |
* deserializer.ll: added decl for makeSMT_NumberDagNode() |
| 7127 |
|
| 7128 |
* deserializerAux.cc (makeSMT_NumberDagNode): added |
| 7129 |
|
| 7130 |
* deserializer.ll: recognize SMT numbers |
| 7131 |
|
| 7132 |
* serialize.cc (MixfixModule::visit): handle polymorph instances |
| 7133 |
(MixfixModule::visit): handle SymbolType::SMT_NUMBER_SYMBOL |
| 7134 |
|
| 7135 |
* mixfixModule.cc (MixfixModule::createInternalTupleSymbol): set |
| 7136 |
si.polymorphIndex to NONE |
| 7137 |
(MixfixModule::instantiateVariable): set si.polymorphIndex to NONE |
| 7138 |
(MixfixModule::instantiateSortTest): set si.polymorphIndex to NONE |
| 7139 |
|
| 7140 |
* entry.cc (MixfixModule::addOpDeclaration): set si.polymorphIndex |
| 7141 |
to NONE |
| 7142 |
(MixfixModule::addPolymorph): set polymorphIndex to our own index |
| 7143 |
|
| 7144 |
* mixfixModule.hh (class MixfixModule): made SymbolInfo::prec and |
| 7145 |
short and added SymbolInfo::polymorphInstance |
| 7146 |
|
| 7147 |
2020-11-09 Steven Eker <eker2@eker10> |
| 7148 |
|
| 7149 |
* mixfixModule.hh (deserialize): added |
| 7150 |
|
| 7151 |
* deserializerAux.cc (makeDagNode): don't handle string case here |
| 7152 |
anymore |
| 7153 |
|
| 7154 |
* deserializer.ll: added decl for makeStringDagNode(); use |
| 7155 |
makeStringDagNode(); deleted static data member savedRope |
| 7156 |
|
| 7157 |
* deserializerAux.cc (makeDagNode): handle polymorphs |
| 7158 |
(makeStringDagNode): added |
| 7159 |
|
| 7160 |
* deserializer.ll: added syntax for polymorphs; added static data |
| 7161 |
member savedKindIndex |
| 7162 |
|
| 7163 |
2020-11-06 Steven Eker <eker2@eker10> |
| 7164 |
|
| 7165 |
* makeGrammar.cc (MixfixModule::makePolymorphProductions): use |
| 7166 |
MAKE_POLYMORPH_ITER |
| 7167 |
(MixfixModule::makeSymbolProductions): use gatherPrefixPrefix for |
| 7168 |
the iter case |
| 7169 |
|
| 7170 |
* mixfixParser.cc (MixfixParser::makeTerm): added semantics for |
| 7171 |
MAKE_POLYMORPH_ITER |
| 7172 |
|
| 7173 |
* mixfixParser.hh (class MixfixParser): added MAKE_POLYMORPH_ITER |
| 7174 |
to enum SemanticActions |
| 7175 |
|
| 7176 |
* makeGrammar.cc (MixfixModule::makePolymorphProductions): added |
| 7177 |
syntax for iter polymorphs |
| 7178 |
(MixfixModule::makeGrammar): switch order of |
| 7179 |
makePolymorphProductions() and makeSpecialProductions(); |
| 7180 |
|
| 7181 |
2020-11-05 Steven Eker <eker2@eker10> |
| 7182 |
|
| 7183 |
* fixUp.cc (SyntacticPreModule::fixUpSymbol): don't deal with |
| 7184 |
empty identity case since this doesn't even parse at the surface |
| 7185 |
syntax level. |
| 7186 |
(SyntacticPreModule::fixUpSymbol): pull symbolType from flatModule |
| 7187 |
because validateAttributes may have cleared some attribute flags |
| 7188 |
(SyntacticPreModule::fixUpSymbol): need to check for empty |
| 7189 |
identity after all, because of ditto attributes |
| 7190 |
(SyntacticPreModule::fixUpPolymorph): similar check for empty |
| 7191 |
identity needed |
| 7192 |
|
| 7193 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for |
| 7194 |
fixUpSymbol() |
| 7195 |
|
| 7196 |
* fixUp.cc (SyntacticPreModule::fixUpSymbol): added |
| 7197 |
(SyntacticPreModule::fixUpSymbols): use fixUpSymbol() |
| 7198 |
|
| 7199 |
* syntacticPreModule.hh (class SyntacticPreModule): added decl for |
| 7200 |
fixUpPolymorph() |
| 7201 |
|
| 7202 |
* fixUp.cc (SyntacticPreModule::fixUpSymbols): replace check that |
| 7203 |
identity exists with check of SymbolType::LEFT_ID | |
| 7204 |
SymbolType::RIGHT_ID; change check for illegal polymorphic arg to |
| 7205 |
an Assert() since we should have removed the offending attribute |
| 7206 |
in validateAttributes() and we don't want to generatl a second |
| 7207 |
warning |
| 7208 |
(SyntacticPreModule::fixUpSymbols): use safeCast() as we still |
| 7209 |
have an id flag, we assume we made a BinarySymbol() |
| 7210 |
(SyntacticPreModule::fixUpPolymorph): added |
| 7211 |
(SyntacticPreModule::fixUpSymbols): use fixUpPolymorph() to handle |
| 7212 |
polymorphs |
| 7213 |
|
| 7214 |
* validateAttributes.cc (MixfixModule::validateAttributes): don't |
| 7215 |
allow left id with left arg polymorphic or right id with right arg |
| 7216 |
polymorphic because we don't have polymorphic terms and we're not |
| 7217 |
going to delay the parsing of identity terms until polymorphic |
| 7218 |
operator instantiation; updated comments |
| 7219 |
|
| 7220 |
2020-11-03 Steven Eker <eker2@eker10> |
| 7221 |
|
| 7222 |
* mixfixModule.hh (class MixfixModule): updated decls for |
| 7223 |
newAssociativeSymbol(), newAxiomSymbol() |
| 7224 |
|
| 7225 |
* fancySymbols.cc (MixfixModule::newFancySymbol): use |
| 7226 |
newAxiomSymbol() |
| 7227 |
(MixfixModule::newAssociativeSymbol): take int rather than Token |
| 7228 |
for name |
| 7229 |
(MixfixModule::newAxiomSymbol): take int rather than Token for |
| 7230 |
name |
| 7231 |
(MixfixModule::newFancySymbol): new newAssociativeSymbol(), |
| 7232 |
newAxiomSymbol() calling conventions; reorganize if statements |
| 7233 |
|
| 7234 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 7235 |
newAxiomSymbol() |
| 7236 |
|
| 7237 |
* fancySymbols.cc (MixfixModule::newAxiomSymbol): added |
| 7238 |
|
| 7239 |
* validateAttributes.cc (MixfixModule::validateAttributes): |
| 7240 |
validate left and right identity axioms |
| 7241 |
|
| 7242 |
* mixfixModule.hh (class MixfixModule): deleted decl for |
| 7243 |
newIterSymbol() |
| 7244 |
|
| 7245 |
* fancySymbols.cc (MixfixModule::newFancySymbol): moved here |
| 7246 |
(MixfixModule::newAssociativeSymbol): rewrite to Assert() |
| 7247 |
requirements rather than warn about them not beeing satisfied |
| 7248 |
(MixfixModule::newFancySymbol): don't use newIterSymbol() |
| 7249 |
(MixfixModule::newIterSymbol): deleted |
| 7250 |
|
| 7251 |
2020-11-02 Steven Eker <eker2@eker10> |
| 7252 |
|
| 7253 |
* entry.cc (MixfixModule::addOpDeclaration): call |
| 7254 |
validateAttributes() |
| 7255 |
(MixfixModule::addPolymorph): call validateAttributes() |
| 7256 |
|
| 7257 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 7258 |
validateAttributes() |
| 7259 |
|
| 7260 |
* validateAttributes.cc: created |
| 7261 |
|
| 7262 |
2020-10-29 Steven Eker <eker2@eker10> |
| 7263 |
|
| 7264 |
* entry.cc (MixfixModule::newFancySymbol): use newIterSymbol() |
| 7265 |
|
| 7266 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 7267 |
newIterSymbol() |
| 7268 |
|
| 7269 |
* fancySymbols.cc (MixfixModule::newIterSymbol): added |
| 7270 |
|
| 7271 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 7272 |
newAssociativeSymbol() |
| 7273 |
|
| 7274 |
* entry.cc (MixfixModule::newFancySymbol): use |
| 7275 |
newAssociativeSymbol() |
| 7276 |
|
| 7277 |
* fancySymbols.cc (MixfixModule::newAssociativeSymbol): code for |
| 7278 |
assoc symbols from newFancySymbol() moved here; handle the case |
| 7279 |
where iter flag is given as well |
| 7280 |
|
| 7281 |
* mixfixModule.cc (MixfixModule::instantiatePolymorph): clear |
| 7282 |
SymbolType::ITER flag if newFancySymbol() fails |
| 7283 |
(MixfixModule::instantiatePolymorph): use reference so actual |
| 7284 |
stored flags are cleared |
| 7285 |
|
| 7286 |
* entry.cc (MixfixModule::addOpDeclaration): clear |
| 7287 |
SymbolType::ITER flag if newFancySymbol() fails |
| 7288 |
|
| 7289 |
2020-10-27 Steven Eker <eker2@eker10> |
| 7290 |
|
| 7291 |
* mixfixParser.cc (MixfixParser::makeTerm): use makeAssocList() |
| 7292 |
both for regular MAKE_TERM and MAKE_POLYMORPH |
| 7293 |
|
| 7294 |
* mixfixParser.hh (class MixfixParser): added decl for |
| 7295 |
makeAssocList() |
| 7296 |
|
| 7297 |
* mixfixParser.cc (MixfixParser::makeAssocList): added |
| 7298 |
|
| 7299 |
* makeGrammar.cc (MixfixModule::makePolymorphProductions): support |
| 7300 |
polymorphs with associative flattening for prefix syntax |
| 7301 |
|
| 7302 |
2020-10-26 Steven Eker <eker2@eker10> |
| 7303 |
|
| 7304 |
* deserializerAux.cc (makeDagNode): handle sort tests |
| 7305 |
|
| 7306 |
* deserializer.ll: support sort tests |
| 7307 |
|
| 7308 |
* serialize.cc (MixfixModule::visit): support floats; updated |
| 7309 |
encoding of sort tests |
| 7310 |
|
| 7311 |
* deserializer.ll: support floats |
| 7312 |
|
| 7313 |
* deserializerAux.cc (makeFloatDagNode): added |
| 7314 |
|
| 7315 |
2020-10-23 Steven Eker <eker2@eker10> |
| 7316 |
|
| 7317 |
* deserializer.ll: handle qids |
| 7318 |
|
| 7319 |
* deserializerAux.cc (makeQuotedIdentifierDagNode): added |
| 7320 |
|
| 7321 |
* serialize.cc (MixfixModule::visit): new encoding for variables |
| 7322 |
because we can't assume that the base symbol nor the name token |
| 7323 |
exist in the other process |
| 7324 |
|
| 7325 |
* deserializerAux.cc (makeDagNode): support strings |
| 7326 |
(makeVariableDagNode): added |
| 7327 |
|
| 7328 |
* token.hh (Token::codeToRope): moved here and implemented by call |
| 7329 |
to stringToRope() |
| 7330 |
(class Token): added decl for stringToRope() |
| 7331 |
|
| 7332 |
* token.cc (Token::stringToRope): added |
| 7333 |
|
| 7334 |
* deserializerAux.cc: created |
| 7335 |
|
| 7336 |
* deserializer.ll: support iterated function symbols |
| 7337 |
|
| 7338 |
2020-10-22 Steven Eker <eker2@eker10> |
| 7339 |
|
| 7340 |
* deserializer.ll: created |
| 7341 |
|
| 7342 |
2020-10-21 Steven Eker <eker2@eker10> |
| 7343 |
|
| 7344 |
* serialize.cc (MixfixModule::visit): added support for sort test |
| 7345 |
operators |
| 7346 |
|
| 7347 |
2020-10-20 Steven Eker <eker2@eker10> |
| 7348 |
|
| 7349 |
* mixfixModule.hh (class MixfixModule): added decls for |
| 7350 |
serialize(), visit() |
| 7351 |
|
| 7352 |
* serialize.cc: created |
| 7353 |
|
| 7354 |
===================================Maude132=========================================== |
| 7355 |
|
| 7356 |
2020-10-12 Steven Eker <eker2@eker10> |
| 7357 |
|
| 7358 |
* entity.hh (class Entity): made UserLt::operator() const to fix |
| 7359 |
clang warning |
| 7360 |
|
| 7361 |
2020-10-09 Steven Eker <eker2@eker10> |
| 7362 |
|
| 7363 |
* interact.cc (UserLevelRewritingContext::handleInterrupt): more |
| 7364 |
detail messages |
| 7365 |
|
| 7366 |
===================================Maude130a=========================================== |
| 7367 |
|
| 7368 |
2020-10-05 Steven Eker <eker2@eker10> |
| 7369 |
|
| 7370 |
* variantMatch.cc (Interpreter::variantMatch): check problemOK() |
| 7371 |
before proceeding |
| 7372 |
|
| 7373 |
* getVariants.cc (Interpreter::getVariants): check problemOK() |
| 7374 |
before proceeding |
| 7375 |
|
| 7376 |
* variantUnify.cc (Interpreter::variantUnify): check problemOK() |
| 7377 |
before proceeding |
| 7378 |
|
| 7379 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 7380 |
added static data member rewriteCountAtLastInterrupt |
| 7381 |
|
| 7382 |
* interact.cc (UserLevelRewritingContext::beginCommand): |
| 7383 |
initialize rewriteCountAtLastInterrupt to -1 |
| 7384 |
(UserLevelRewritingContext::handleInterrupt): two ctrl-C events |
| 7385 |
without intervening rewrite to abort |
| 7386 |
|
| 7387 |
2020-09-17 Steven Eker <eker2@eker10> |
| 7388 |
|
| 7389 |
* variantMatch.cc (Interpreter::variantMatchCont): ignore debug |
| 7390 |
flag and added comment to explain why we do so |
| 7391 |
|
| 7392 |
2020-09-15 Steven Eker <eker2@eker10> |
| 7393 |
|
| 7394 |
* search.cc (Interpreter::search): new calling convention for |
| 7395 |
NarrowingSequenceSearch3() |
| 7396 |
|
| 7397 |
2020-09-11 Steven Eker <eker2@eker10> |
| 7398 |
|
| 7399 |
* getVariants.cc (Interpreter::doGetVariants): rewritten to use |
| 7400 |
findNextVariant() and getCurrentVariant() |
| 7401 |
|
| 7402 |
2020-09-10 Steven Eker <eker2@eker10> |
| 7403 |
|
| 7404 |
* variantUnify.cc (Interpreter::variantUnify): fix memory leak and |
| 7405 |
bug where we were not checking variables names by passing |
| 7406 |
DELETE_FRESH_VARIABLE_GENERATOR and CHECK_VARIABLE_NAMES to |
| 7407 |
FilteredVariantUnifierSearch |
| 7408 |
|
| 7409 |
2020-09-09 Rubén Rubio <[email protected]> |
| 7410 |
|
| 7411 |
* bufferPrint.cc (prettyPrint): fixed erratum, leftBrace was used |
| 7412 |
when leftParen was required |
| 7413 |
|
| 7414 |
===================================Maude130=========================================== |
| 7415 |
|
| 7416 |
2020-09-08 Steven Eker <eker2@eker10> |
| 7417 |
|
| 7418 |
* variantUnify.cc (Interpreter::variantUnify): print timing here |
| 7419 |
in filtered case because all the reducing and variant narrowing is |
| 7420 |
done upfront |
| 7421 |
(Interpreter::doVariantUnification): computed filteredState; only |
| 7422 |
print stats if !filteredState (2 places) |
| 7423 |
|
| 7424 |
2020-09-04 Steven Eker <eker2@eker10> |
| 7425 |
|
| 7426 |
* variantMatch.cc (Interpreter::doVariantMatching): added Advisory |
| 7427 |
if fresh variable(s) introduced |
| 7428 |
(Interpreter::variantMatch): printStats() here |
| 7429 |
(Interpreter::doVariantMatching): deleted 2 calls to printStats() |
| 7430 |
(Interpreter::variantMatch): addInCount() from subjectContext |
| 7431 |
(Interpreter::variantMatch): subjectContext to |
| 7432 |
makeVariantMatchingProblem() |
| 7433 |
|
| 7434 |
2020-09-01 Steven Eker <eker2@eker10> |
| 7435 |
|
| 7436 |
* variantUnify.cc (Interpreter::variantUnify): pass IRREDUNDANT |
| 7437 |
flag to FilteredVariantUnifierSearch() in preparation for a change |
| 7438 |
in semantics |
| 7439 |
|
| 7440 |
2020-08-28 Steven Eker <eker2@eker10> |
| 7441 |
|
| 7442 |
* variantUnify.cc (Interpreter::doVariantUnification): warn user |
| 7443 |
about incomplete filtering and advise user of complete filtering |
| 7444 |
|
| 7445 |
* freshVariableSource.cc |
| 7446 |
(FreshVariableSource::isFreshVariableName): added |
| 7447 |
|
| 7448 |
2020-08-25 Steven Eker <eker2@eker10> |
| 7449 |
|
| 7450 |
* variantMatch.cc (Interpreter::variantMatch): reduce subject dag |
| 7451 |
before using it |
| 7452 |
|
| 7453 |
2020-08-21 Steven Eker <eker2@eker10> |
| 7454 |
|
| 7455 |
* interpreter.hh (class Interpreter): added decls for |
| 7456 |
doVariantMatching(), variantMatchCont() |
| 7457 |
|
| 7458 |
* variantMatch.cc (Interpreter::doVariantMatching) |
| 7459 |
(Interpreter::variantMatchCont): added |
| 7460 |
|
| 7461 |
* variantUnify.cc (Interpreter::variantUnify): fix stray space in |
| 7462 |
echoing variant unify commands |
| 7463 |
|
| 7464 |
* variantMatch.cc (Interpreter::variantMatch): use |
| 7465 |
parseVariantMatchCommand() |
| 7466 |
|
| 7467 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 7468 |
parseVariantMatchCommand() |
| 7469 |
|
| 7470 |
* doParse.cc (MixfixModule::parseVariantMatchCommand): added |
| 7471 |
|
| 7472 |
* mixfixParser.cc (MixfixParser::makeUnifyCommand): UNIFY_LIST -> |
| 7473 |
PAIR_LIST |
| 7474 |
|
| 7475 |
* makeGrammar.cc (MixfixModule::makeComplexProductions): |
| 7476 |
UNIFY_LIST -> PAIR_LIST |
| 7477 |
|
| 7478 |
* mixfixParser.cc (MixfixParser::makeVariantUnifyOrMatchCommand): |
| 7479 |
UNIFY_LIST -> PAIR_LIST |
| 7480 |
|
| 7481 |
* mixfixParser.hh (class MixfixParser): UNIFY_LIST -> PAIR_LIST |
| 7482 |
|
| 7483 |
* doParse.cc (MixfixModule::parseVariantUnifyCommand): use |
| 7484 |
makeVariantUnifyOrMatchCommand() |
| 7485 |
|
| 7486 |
* mixfixParser.hh (class MixfixParser): makeVariantUnifyCommand() |
| 7487 |
becomes makeVariantUnifyOrMatchCommand() |
| 7488 |
|
| 7489 |
* mixfixParser.cc (MixfixParser::makeVariantUnifyCommand): becomes |
| 7490 |
makeVariantUnifyOrMatchCommand() |
| 7491 |
|
| 7492 |
* makeGrammar.cc (MixfixModule::makeComplexProductions): use |
| 7493 |
MAKE_TERM_LIST for irreducible case of get variants/variant |
| 7494 |
unify/variant match |
| 7495 |
|
| 7496 |
* mixfixParser.cc (MixfixParser::makeGetVariantsCommand) |
| 7497 |
(MixfixParser::makeVariantUnifyCommand): use MAKE_TERM_LIST for |
| 7498 |
irreducible case |
| 7499 |
|
| 7500 |
* makeGrammar.cc (MixfixModule::makeComplexProductions): added two |
| 7501 |
rules VARIANT_MATCH_COMMAND |
| 7502 |
|
| 7503 |
* mixfixModule.hh (class MixfixModule): added |
| 7504 |
MULTI_MATCH_COMMAND to enum NonTerminal |
| 7505 |
|
| 7506 |
* makeGrammar.cc (MixfixModule::makeComplexProductions): added two |
| 7507 |
ruls for MULT_MATCH_COMMAND |
| 7508 |
|
| 7509 |
* mixfixModule.hh (class MixfixModule): added |
| 7510 |
VARIANT_MATCH_COMMAND to enum NonTerminal |
| 7511 |
|
| 7512 |
2020-08-20 Steven Eker <eker2@eker10> |
| 7513 |
|
| 7514 |
* variantMatch.cc: created |
| 7515 |
|
| 7516 |
* top.yy: deleted optFiltered |
| 7517 |
|
| 7518 |
* commands.yy (command): split variant unify into two rules and |
| 7519 |
removed optFiltered to avoid a shift/reduce conflict |
| 7520 |
|
| 7521 |
* interpreter.hh (class Interpreter): added decl for |
| 7522 |
variantMatch() |
| 7523 |
|
| 7524 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 7525 |
makeMatchProblemDags() |
| 7526 |
|
| 7527 |
* mixfixModule.cc (MixfixModule::makeMatchProblemDags): added |
| 7528 |
|
| 7529 |
* commands.yy (command): added variant match |
| 7530 |
|
| 7531 |
2020-08-06 Steven Eker <eker2@eker10> |
| 7532 |
|
| 7533 |
* variantUnify.cc (Interpreter::variantUnify): create timer before |
| 7534 |
creating FilteredVariantUnifierSearch object because the latter |
| 7535 |
does almost all of its work at creation |
| 7536 |
|
| 7537 |
* commands.yy (command): use filtered rather than irredundant for |
| 7538 |
variant unify because we may not generate irredundant unifiers |
| 7539 |
(command): removed the duplicated coded need to fix the |
| 7540 |
shift/reduce conflict now that we are using filtered rather than |
| 7541 |
irredundant |
| 7542 |
|
| 7543 |
* top.yy: added optFiltered |
| 7544 |
|
| 7545 |
* commands.yy (optFiltered): added |
| 7546 |
|
| 7547 |
* top.yy: added KW_FILTERED |
| 7548 |
|
| 7549 |
* lexer.ll: added KW_FILTERED |
| 7550 |
|
| 7551 |
2020-08-05 Steven Eker <eker2@eker10> |
| 7552 |
|
| 7553 |
* variantUnify.cc (Interpreter::variantUnify): use |
| 7554 |
FilteredVariantUnifierSearch() |
| 7555 |
|
| 7556 |
2020-08-04 Steven Eker <eker2@eker10> |
| 7557 |
|
| 7558 |
* variantUnify.cc (Interpreter::doVariantUnification): rewritten |
| 7559 |
to use findNextUnifier(), getCurrentUnifier() rather than |
| 7560 |
getNextUnifier() |
| 7561 |
|
| 7562 |
2020-07-24 Steven Eker <eker2@eker10> |
| 7563 |
|
| 7564 |
* mixfixModule.cc (MixfixModule::createInternalTupleSymbol): use |
| 7565 |
range-based for loop |
| 7566 |
|
| 7567 |
2020-07-22 Steven Eker <eker2@eker10> |
| 7568 |
|
| 7569 |
* variantUnify.cc (Interpreter::variantUnify): use new |
| 7570 |
VariantSearch calling conventions |
| 7571 |
|
| 7572 |
* getVariants.cc (Interpreter::getVariants): use new VariantSearch |
| 7573 |
calling conventions |
| 7574 |
|
| 7575 |
2020-07-17 Steven Eker <eker2@eker10> |
| 7576 |
|
| 7577 |
* commands.yy (command): separate dubug variant unify rule to |
| 7578 |
resolve a shift reduce conflict - when parser sees irredundant |
| 7579 |
it doesn't know whether it is about to see regular unification |
| 7580 |
or whether is should do an empty reduce for optDebug in |
| 7581 |
preparation for variant unification |
| 7582 |
|
| 7583 |
2020-07-16 Steven Eker <eker2@eker10> |
| 7584 |
|
| 7585 |
* lexer.ll: add irred as an abbreviation for irredundant |
| 7586 |
|
| 7587 |
* interpreter.hh (class Interpreter): updated decl for |
| 7588 |
variantUnify() |
| 7589 |
|
| 7590 |
* variantUnify.cc (Interpreter::variantUnify): take irredundant |
| 7591 |
flag |
| 7592 |
(Interpreter::variantUnify): pass irredundant flag to |
| 7593 |
VariantSearch() to see why this isn't good enough |
| 7594 |
|
| 7595 |
* commands.yy (command): added optIrredundant to variant unify |
| 7596 |
|
| 7597 |
2020-07-15 Steven Eker <eker2@eker10> |
| 7598 |
|
| 7599 |
* variantUnify.cc (Interpreter::doVariantUnification): Unifier #n |
| 7600 |
-> Unifier n |
| 7601 |
|
| 7602 |
* getVariants.cc (Interpreter::doGetVariants): Variant #n -> |
| 7603 |
Variant n |
| 7604 |
|
| 7605 |
* unify.cc (Interpreter::doUnification): Solution n -> Unifier n |
| 7606 |
|
| 7607 |
* match.cc (Interpreter::doMatching): Solution n -> Matcher n |
| 7608 |
|
| 7609 |
2020-07-10 Steven Eker <eker2@eker10> |
| 7610 |
|
| 7611 |
* interpreter.hh (class Interpreter): updated decl for unify() |
| 7612 |
|
| 7613 |
* commands.yy (command): allow irredundant prefix; pass flag to |
| 7614 |
Intepreter::Unify() |
| 7615 |
|
| 7616 |
* unify.cc (Interpreter::unify): take irredundant and use |
| 7617 |
IrredundantUnificationProblem |
| 7618 |
|
| 7619 |
===================================Maude129=========================================== |
| 7620 |
|
| 7621 |
2020-06-09 Steven Eker <eker2@eker10> |
| 7622 |
|
| 7623 |
* renameModule.cc (ImportModule::donateOps2): DebugNew() -> |
| 7624 |
DebugOld() (2 places) |
| 7625 |
|
| 7626 |
2020-05-28 Steven Eker <eker2@eker10> |
| 7627 |
|
| 7628 |
* mixfixModule.cc (MixfixModule::nonTerminal): comment out |
| 7629 |
DebugInfo() because it producing voluminous output |
| 7630 |
|
| 7631 |
2020-05-05 Steven Eker <eker2@eker10> |
| 7632 |
|
| 7633 |
* interact.cc (UserLevelRewritingContext::setHandlers): ignore |
| 7634 |
SIGPIPE |
| 7635 |
|
| 7636 |
2020-04-14 Steven Eker <eker2@eker9> |
| 7637 |
|
| 7638 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 7639 |
added decl for blockAndHandleInterrupts() |
| 7640 |
|
| 7641 |
2020-04-08 Steven Eker <eker2@eker9> |
| 7642 |
|
| 7643 |
* makeGrammar.cc (MixfixModule::makeParameterizedSortProductions): |
| 7644 |
use MixfixParser::newNonTerminal() |
| 7645 |
(MixfixModule::makeSymbolProductions): use |
| 7646 |
MixfixParser::newNonTerminal() |
| 7647 |
|
| 7648 |
* mixfixModule.hh (class MixfixModule): deleted decl for |
| 7649 |
newNonTerminal() |
| 7650 |
|
| 7651 |
* mixfixModule.cc (MixfixModule::newNonTerminal): deleted |
| 7652 |
|
| 7653 |
* mixfixParser.hh (MixfixParser::newNonTerminal): added |
| 7654 |
|
| 7655 |
* doParse.cc (MixfixModule::getParserStats): use getNrTerminals(), |
| 7656 |
getNrNonTerminals() |
| 7657 |
|
| 7658 |
* mixfixParser.hh (MixfixParser::getComponentNonTerminalBase): |
| 7659 |
added |
| 7660 |
(MixfixParser::getNrNonTerminals) added |
| 7661 |
(MixfixParser::getNrTerminals) added |
| 7662 |
|
| 7663 |
* mixfixModule.cc (MixfixModule::nonTerminal): use |
| 7664 |
getComponentNonTerminalBase() |
| 7665 |
|
| 7666 |
* mixfixModule.hh (class MixfixModule): deleted data members |
| 7667 |
complexParser, componentNonTerminalBase, nextNonTerminal |
| 7668 |
|
| 7669 |
* makeGrammar.cc (MixfixModule::makeComponentProductions): use |
| 7670 |
isComplex() |
| 7671 |
(MixfixModule::makeGrammar): use isComplex() |
| 7672 |
|
| 7673 |
* mixfixParser.hh (class MixfixParser): updated decl |
| 7674 |
for MixfixParser() |
| 7675 |
(MixfixParser::isComplex): added |
| 7676 |
(MixfixParser::getNrProductions): made const |
| 7677 |
|
| 7678 |
* mixfixParser.cc (MixfixParser::MixfixParser): take |
| 7679 |
complexFlag, componentNonTerminalBase, nextNonTerminalCode |
| 7680 |
|
| 7681 |
* mixfixParser.hh (class MixfixParser): added data |
| 7682 |
members complexParser, componentNonTerminalBase, |
| 7683 |
nextNonTerminal |
| 7684 |
|
| 7685 |
* makeGrammar.cc (MixfixModule::makeGrammar): pass |
| 7686 |
complexFlag, componentNonTerminalBase and |
| 7687 |
nextNonTerminal to MixfixParser() rather than storing |
| 7688 |
them locally. |
| 7689 |
|
| 7690 |
* mixfixModule.hh (class MixfixModule): added comment |
| 7691 |
about transitory nature of iterSymbols, leadTokens |
| 7692 |
|
| 7693 |
* mixfixParser.cc (MixfixParser): added for debugging |
| 7694 |
purposes |
| 7695 |
|
| 7696 |
* mixfixParser.hh (class MixfixParser): added decl |
| 7697 |
for ~MixfixParser() |
| 7698 |
|
| 7699 |
2020-04-07 Steven Eker <eker2@eker9> |
| 7700 |
|
| 7701 |
* mixfixModule.cc (MixfixModule::economize): change |
| 7702 |
to DebugInfo() |
| 7703 |
|
| 7704 |
* makeGrammar.cc (MixfixModule::makeGrammar): added |
| 7705 |
DebugInfo()s |
| 7706 |
|
| 7707 |
* mixfixModule.cc (MixfixModule::economize): added |
| 7708 |
DebugAdvisory() |
| 7709 |
(MixfixModule::nonTerminal): added DebugAdvisory() |
| 7710 |
|
| 7711 |
* doParse.cc (MixfixModule::parseStatement): changed |
| 7712 |
local variable from complexParser to complexFlag to |
| 7713 |
avoid confusion with object member |
| 7714 |
|
| 7715 |
2020-03-31 Steven Eker <eker2@eker9> |
| 7716 |
|
| 7717 |
* symbolType.hh (class SymbolType): added |
| 7718 |
PROCESS_MANAGER_SYMBOL |
| 7719 |
|
| 7720 |
* entry.cc (MixfixModule::newFancySymbol): add |
| 7721 |
ProcessMangagerSymbol |
| 7722 |
|
| 7723 |
* specialSymbolTypes.cc: added ProcessMangagerSymbol |
| 7724 |
|
| 7725 |
2020-03-10 Rubén Rubio <[email protected]> |
| 7726 |
|
| 7727 |
* mixfixModule.cc (donateStatements2): copy nonexec attribute |
| 7728 |
|
| 7729 |
* mixfixParser.cc (makeStatementPart): handle nonexec attribute |
| 7730 |
|
| 7731 |
===================================Maude128a=========================================== |
| 7732 |
|
| 7733 |
2020-02-19 Steven Eker <eker@mu> |
| 7734 |
|
| 7735 |
* variantUnify.cc (doVariantUnification): test for interrupted |
| 7736 |
before checking for no result |
| 7737 |
|
| 7738 |
* unify.cc (doUnification): test for interrupted before |
| 7739 |
checking for no result |
| 7740 |
|
| 7741 |
* interact.cc (infoHandler): added comments; deleted commented |
| 7742 |
out code |
| 7743 |
(interruptHandler): added comments |
| 7744 |
|
| 7745 |
* userLevelRewritingContext.hh (ObjectSystemRewritingContext): |
| 7746 |
commented out declaration for clearInterrupt() |
| 7747 |
|
| 7748 |
* interact.cc (clearInterrupt): commented out |
| 7749 |
|
| 7750 |
* userLevelRewritingContext.cc (tracePreEqRewrite): added comments |
| 7751 |
to explain what situations are handled |
| 7752 |
|
| 7753 |
* interact.cc (handleInterrupt): move comment to head of function |
| 7754 |
and deleted commented out code |
| 7755 |
|
| 7756 |
* match.cc (doMatching): rearrange statements so that we abort |
| 7757 |
before trying to print a matcher |
| 7758 |
|
| 7759 |
* unify.cc (doUnification): added comment to explain rearranged |
| 7760 |
statement order |
| 7761 |
|
| 7762 |
2020-02-18 Steven Eker <eker@mu> |
| 7763 |
|
| 7764 |
* unify.cc (doUnification): check for ^C interrupt before printing |
| 7765 |
solution number to avoid garbage solutions being printed |
| 7766 |
|
| 7767 |
2020-02-13 Steven Eker <eker@mu> |
| 7768 |
|
| 7769 |
* syntacticPreModule.cc (getFlatModule): rewritten; we no longer |
| 7770 |
expect importStatements() to be able to set the bad flag |
| 7771 |
|
| 7772 |
* importModule.cc (resetImportPhase): use range-based for loop; |
| 7773 |
deleted commented out call to resetImports() |
| 7774 |
(dumpImports): use range-based for loops |
| 7775 |
(deepSelfDestruct): range-based for loops |
| 7776 |
|
| 7777 |
* syntacticPreModule.cc (getFlatModule): added comment to explain |
| 7778 |
checkFreshVariableNames(); deleted commented out IssueWarning()s |
| 7779 |
|
| 7780 |
2020-02-12 Steven Eker <eker@mu> |
| 7781 |
|
| 7782 |
* interpreter.cc (setCurrentModule): updated comment |
| 7783 |
(makeModule): deleted commented out IssueAdvisory() for renaming |
| 7784 |
of modules with bound parameters since it will never be a cause |
| 7785 |
for concern as prelude makes heavy use of this feature; updated |
| 7786 |
comment |
| 7787 |
|
| 7788 |
2020-02-11 Steven Eker <eker@mu> |
| 7789 |
|
| 7790 |
* interpreter.cc (~Interpreter): updated comment |
| 7791 |
|
| 7792 |
* viewDatabase.cc (~ViewDatabase): updated comment |
| 7793 |
|
| 7794 |
* moduleCache.cc (~ModuleCache): moved here |
| 7795 |
|
| 7796 |
* viewCache.hh (User): added decl for ~ViewCache() |
| 7797 |
|
| 7798 |
* viewCache.cc (ViewCache): added |
| 7799 |
|
| 7800 |
* moduleCache.hh (~ModuleCache): added |
| 7801 |
|
| 7802 |
2020-02-07 Steven Eker <eker@mu> |
| 7803 |
|
| 7804 |
* commands.yy (command): allow module name in do clear memo and make |
| 7805 |
use of setCurrentModule() to check validity of the module |
| 7806 |
|
| 7807 |
* interpreter.cc (setCurrentModule): code cleaning; added comments |
| 7808 |
(parse): fixed comment |
| 7809 |
|
| 7810 |
2020-02-05 Steven Eker <eker@mu> |
| 7811 |
|
| 7812 |
* syntacticPreModule.cc (getFlatModule): partially fix bug where we |
| 7813 |
importStatements() into a bad module (moves breakage elsewhere) |
| 7814 |
|
| 7815 |
2020-02-04 Steven Eker <eker@mu> |
| 7816 |
|
| 7817 |
* importModule.cc (importStatements, donateStatements): added DebugEnter() |
| 7818 |
|
| 7819 |
* process.cc (process): do closeSortSet() early in the hope of unifying |
| 7820 |
common code |
| 7821 |
(checkOpTypes): added comment to explain what it does |
| 7822 |
(checkType): added comment to explain what it does |
| 7823 |
(getSort): added comment to explain what it does |
| 7824 |
|
| 7825 |
* preModule.cc (processExplicitImports): added comments to explain |
| 7826 |
why we don't bail on first error |
| 7827 |
|
| 7828 |
* process.cc (processImports): added comment to explain why we don't |
| 7829 |
bail on first error |
| 7830 |
|
| 7831 |
===================================Maude128=========================================== |
| 7832 |
|
| 7833 |
2019-12-16 Steven Eker <eker@mu> |
| 7834 |
|
| 7835 |
* auxProperty.cc: added missing copyright notice |
| 7836 |
|
| 7837 |
===================================Maude127a=========================================== |
| 7838 |
|
| 7839 |
2019-12-05 Steven Eker <eker@mu> |
| 7840 |
|
| 7841 |
* compiler.cc (runExecutable): use returnValueDump to avoid |
| 7842 |
unused result warning in GCC |
| 7843 |
|
| 7844 |
* interact.cc (internalErrorHandler): use returnValueDump |
| 7845 |
to avoid unused result warning in GCC (3 places) |
| 7846 |
(stackOverflowHandler): ditto |
| 7847 |
|
| 7848 |
* top.yy (directive): use returnValueDump rather than (void) to |
| 7849 |
avoid GCC's unused result warning (2 places) |
| 7850 |
|
| 7851 |
* lexer.ll: added KW_LL |
| 7852 |
|
| 7853 |
* top.yy: added KW_LL; semantics for KW_LL |
| 7854 |
|
| 7855 |
2019-12-04 Steven Eker <eker@mu> |
| 7856 |
|
| 7857 |
* yices2_Bindings.cc (pop): use DebugSave() to avoid unused variable |
| 7858 |
warnings |
| 7859 |
(makeVariable): add default: to case SMT_Info::REAL: to avoid |
| 7860 |
spurious uninitialized variable warning |
| 7861 |
|
| 7862 |
* mixfixParser.cc (makeTerms, makeStrategyExprs): use DebugSave() |
| 7863 |
to avoid unused variable warnings |
| 7864 |
|
| 7865 |
* interact.cc (sigsegvHandler): commented out fault_address to |
| 7866 |
indicate we don't use it |
| 7867 |
|
| 7868 |
2019-12-03 Steven Eker <eker@mu> |
| 7869 |
|
| 7870 |
* mixfixParser.cc (insertProduction): fix comparison between signed |
| 7871 |
and unsigned integer expressions warning |
| 7872 |
|
| 7873 |
===================================Maude127=========================================== |
| 7874 |
|
| 7875 |
2019-12-02 Rubén Rubio <[email protected]> |
| 7876 |
|
| 7877 |
* interpreter.cc: included (fair/depthFirst)FirstStrategicSearch.hh |
| 7878 |
|
| 7879 |
* srewrite.cc (sRewrite): constructs FairStrategicSearch or |
| 7880 |
DepthFirstStrategicSearch depending on the depthFirst parameter |
| 7881 |
(doStategicSearch): removed call to findNextSolutionInDepth |
| 7882 |
|
| 7883 |
|
| 7884 |
2019-11-22 Steven Eker <eker@mu> |
| 7885 |
|
| 7886 |
* lexerAux.cc (eatComment): treat NUL as EOF to patch around |
| 7887 |
what appears to be a flex bug |
| 7888 |
|
| 7889 |
* dagNodePrint.cc (handleDivision): respect PRINT_DISAMBIG_CONST |
| 7890 |
(handleFloat): ditto |
| 7891 |
(handleString): ditto |
| 7892 |
(handleIter): ditto |
| 7893 |
(handleSMT_Number): ditto |
| 7894 |
(handleQuotedIdentifier): ditto |
| 7895 |
(handleMinus): ditto |
| 7896 |
|
| 7897 |
* top.yy: added KW_CONST |
| 7898 |
|
| 7899 |
* lexer.ll: added KW_CONST |
| 7900 |
|
| 7901 |
* commands.yy (printOption): added syntax for disambig const |
| 7902 |
|
| 7903 |
* dagNodePrint.cc (prettyPrint): respect PRINT_DISAMBIG_CONST for |
| 7904 |
regular constants |
| 7905 |
|
| 7906 |
* termPrint.cc (prettyPrint): respect PRINT_DISAMBIG_CONST for |
| 7907 |
regular constants |
| 7908 |
|
| 7909 |
* interpreter.hh (ParameterDatabase): added PRINT_DISAMBIG_CONST |
| 7910 |
to enum PrintFlags |
| 7911 |
|
| 7912 |
2019-11-21 Steven Eker <eker@mu> |
| 7913 |
|
| 7914 |
* interpreter.hh (ParameterDatabase): updated decl for doLoop() |
| 7915 |
|
| 7916 |
* loopMode.cc (loop): create context here rather than in doLoop(); set |
| 7917 |
object mode if EREWRITE_LOOP_MODE flag set |
| 7918 |
(contLoop2): reuse savedState in order to keep external objects; delete |
| 7919 |
savedState on failure |
| 7920 |
(contLoop): create context and possibly with object mode set |
| 7921 |
if we reinitialize loop |
| 7922 |
(doLoop): take context; don't make context |
| 7923 |
(doLoop): use chosen rewrite algorithm; set appropriate continuation |
| 7924 |
function |
| 7925 |
|
| 7926 |
* loopSymbol.hh (FreeSymbol): updated decl for injectInput() |
| 7927 |
|
| 7928 |
* loopSymbol.cc (injectInput): do in-place replacement of |
| 7929 |
original node rather than returning a pointer to a new one |
| 7930 |
|
| 7931 |
* mixfixModule.hh (SharedTokens): deleted decl for 1 arg version |
| 7932 |
of swapVariableAliasMap() |
| 7933 |
|
| 7934 |
* mixfixModule.cc (swapVariableAliasMap): deleted less general |
| 7935 |
1 arg version |
| 7936 |
|
| 7937 |
* interpreter.hh (ParameterDatabase): deleted decl for |
| 7938 |
doExternalRewriting() |
| 7939 |
|
| 7940 |
* erewrite.cc (doExternalRewriting): deleted |
| 7941 |
|
| 7942 |
* interpreter.hh (ParameterDatabase): added EREWRITE_LOOP_MODE |
| 7943 |
to enum Flags |
| 7944 |
|
| 7945 |
===================================Maude126=========================================== |
| 7946 |
|
| 7947 |
2019-11-14 Rubén Rubio <[email protected]> |
| 7948 |
|
| 7949 |
* bufferPrint.cc (prettyPrint): solved bug when printing the top |
| 7950 |
combinator, reported by Paco |
| 7951 |
|
| 7952 |
2019-11-05 Rubén Rubio <[email protected]> |
| 7953 |
|
| 7954 |
* syntacticPreModule.cc (addStatement): allow mb/eq/rl in smod/sth |
| 7955 |
|
| 7956 |
* syntacticPreModule.hh (addSortDecl, addSubsortDecl): allow |
| 7957 |
sorts/subsorts in smod/sth |
| 7958 |
|
| 7959 |
* ops.cc (addOpDecl): allow op in smod/sth |
| 7960 |
(addStratDecl): warning message rewritten |
| 7961 |
|
| 7962 |
* mixfixModule.hh (insertPotentialRuleLabels): bugfix: insert() rather |
| 7963 |
than assignment |
| 7964 |
|
| 7965 |
* makeGrammar.cc (makeGrammar): bugfix: call to makeLabelProductions |
| 7966 |
unconditionally since now makeStrategyLanguageProductions only generate |
| 7967 |
RULE_LABEL |
| 7968 |
|
| 7969 |
2019-11-05 Steven Eker <eker@mu> |
| 7970 |
|
| 7971 |
* mixfixModule.hh (SharedTokens): made buffer version of handleVariable() |
| 7972 |
non-static |
| 7973 |
|
| 7974 |
* bufferPrint.cc (handleVariable): handle variable aliases |
| 7975 |
|
| 7976 |
2019-11-01 Steven Eker <eker@mu> |
| 7977 |
|
| 7978 |
* syntacticView.cc (handleTermAndExprMappings): save and restore original |
| 7979 |
parsers; delete any newly created parsers when we're done |
| 7980 |
(showView): save and restore original parsers; check for unexpected |
| 7981 |
parser creation |
| 7982 |
|
| 7983 |
* mixfixModule.cc (swapVariableAliasMap): added two arg version |
| 7984 |
|
| 7985 |
* mixfixModule.hh (SharedTokens): added decl for two arg version |
| 7986 |
of swapVariableAliasMap() |
| 7987 |
|
| 7988 |
2019-10-29 Steven Eker <eker@mu> |
| 7989 |
|
| 7990 |
* mixfixParser.hh (CacheableState): undid derivation from CacheableState |
| 7991 |
|
| 7992 |
2019-10-28 Steven Eker <eker@mu> |
| 7993 |
|
| 7994 |
* mixfixParser.hh (CacheableState): derive from CacheableState |
| 7995 |
|
| 7996 |
===================================Maude125=========================================== |
| 7997 |
|
| 7998 |
2019-10-10 Rubén Rubio <[email protected]> |
| 7999 |
|
| 8000 |
* bufferPrint.cc (prettyPrint): use ruleLabels instead of potentialLabels |
| 8001 |
to decide whether there is a homonym rule in the module. The loop did not |
| 8002 |
work when the arity was zero. |
| 8003 |
|
| 8004 |
* doParse.cc (parseStrategyExpr): now receives the beginning and end of |
| 8005 |
the tokens to be parsed |
| 8006 |
|
| 8007 |
* importModule.cc (closeSortSet): set nrUserComponents |
| 8008 |
(importRuleLabels): renamed from importLabels and range-based loops |
| 8009 |
|
| 8010 |
* importModule.hh: added attribute nrUserComponents |
| 8011 |
(getNrUserComponents): added |
| 8012 |
(importRuleLabels): renamed from importLabels |
| 8013 |
|
| 8014 |
* lexer.ll: "to-expr" changed to "to expr" |
| 8015 |
|
| 8016 |
* makeGrammar.cc (makeStrategyLanguageProductions): use RULE_LABEL instead |
| 8017 |
of LABEL for rule application labels. |
| 8018 |
|
| 8019 |
* maudemlBuffer.cc (branchAction): removed |
| 8020 |
(generate): calculate the type of the strategy according to its actions |
| 8021 |
|
| 8022 |
* mixfixModule.cc (MixfixModule): set strategyRangeSort to null |
| 8023 |
|
| 8024 |
* mixfixModule.hh (parseStrategyExpr): now receives the beginning and end of |
| 8025 |
the tokens to be parsed |
| 8026 |
(insertPotentialRuleLabels): added |
| 8027 |
(NonTerminal): added RULE_LABEL |
| 8028 |
|
| 8029 |
* modules.yy (viewStratMap): "to-expr" changed to "to expr" |
| 8030 |
(inert): removed "to-expr" |
| 8031 |
|
| 8032 |
* parameterization.cc (makeSummation): importLabels renamed to |
| 8033 |
importRuleLabels |
| 8034 |
|
| 8035 |
* prettyPrint.cc (printStrategyTerm): become method of MixfixModule, |
| 8036 |
parentheses are printed in calls to strategies with homonym rule. |
| 8037 |
(operator<<): call printStrategyTerm as a method |
| 8038 |
|
| 8039 |
* process.cc (process): importLabels renamed to importRuleLabels, |
| 8040 |
call to insertPotentialRuleLabels |
| 8041 |
|
| 8042 |
* profileModule.cc (profileSdRewrite): added |
| 8043 |
|
| 8044 |
* profileModule.hh (profileSdRewrite): added |
| 8045 |
|
| 8046 |
* renameModule.cc (finishCopy): importLabels renamed to importRuleLabels |
| 8047 |
|
| 8048 |
* srewrite.cc (sRewrite): removed argument to TermSet, free subject term |
| 8049 |
when the strategy expression is wrong, print "No solutions" instead of |
| 8050 |
"No more solutions" if there are no solutions at all. |
| 8051 |
|
| 8052 |
* syntacticView.cc (handleTermAndExprMappings): call parseStrategyExpr |
| 8053 |
withe begin=1 to skip the expr keyword |
| 8054 |
|
| 8055 |
* strategyPrint.cc (prettyPrint): call printStrategyTerm as a method |
| 8056 |
|
| 8057 |
* syntacticPreModule.cc (addStatement): insert to potentialRuleLabels |
| 8058 |
|
| 8059 |
* syntacticPreModule.hh (potentialRuleLabels): added |
| 8060 |
|
| 8061 |
* top.yy: removed "to-expr" token declaration |
| 8062 |
|
| 8063 |
* userLevelRewritingContext.cc (traceStrategyCall): call profileSdRewrite |
| 8064 |
|
| 8065 |
* view.cc (insertStratToExprMapping): removed argument to TermSet |
| 8066 |
|
| 8067 |
* viewCache.cc (viewCompare): become method of ViewCache |
| 8068 |
|
| 8069 |
* visibleModule.cc (showKinds): call getNrUserKinds |
| 8070 |
|
| 8071 |
2019-10-08 Steven Eker <eker@mu> |
| 8072 |
|
| 8073 |
* trial.cc (traceEndFragment): reverted change from Alpha95b |
| 8074 |
that broke fragment profiling |
| 8075 |
(traceEndFragment): added comment to explain why we can't |
| 8076 |
rely on trialRef to decide if this fragment is profileable |
| 8077 |
(traceEndFragment): do a getModule() on the preEquation to |
| 8078 |
decide if a fragment is profileable |
| 8079 |
|
| 8080 |
===================================Maude124=========================================== |
| 8081 |
|
| 8082 |
2019-09-19 Rubén Rubio <[email protected]> |
| 8083 |
|
| 8084 |
* bufferPrint.cc (prettyPrint): solved a bug in the matchrew case |
| 8085 |
|
| 8086 |
2019-07-15 Rubén Rubio <[email protected]> |
| 8087 |
|
| 8088 |
* modules.yy: renamed makeOpDeclsConsistent to makeDeclsConsistent |
| 8089 |
|
| 8090 |
* ops.cc (makeDeclsConsistent): renamed from makeOpDeclsConsistent |
| 8091 |
and handle strategy declarations |
| 8092 |
|
| 8093 |
* strategyTranslation.cc (getStratToExprMapping, getStratToExprMapping): |
| 8094 |
label renamings were not applied to rule application strategies |
| 8095 |
|
| 8096 |
* syntacticPreModule.hh (makeDeclsConsistent): renamed from |
| 8097 |
makeOpDeclsConsistent |
| 8098 |
|
| 8099 |
2019-07-12 Steven Eker <eker@mu> |
| 8100 |
|
| 8101 |
* importTranslation.cc (translateRegularSymbol): use AlwaysAssert() |
| 8102 |
|
| 8103 |
2019-07-11 Steven Eker <eker@mu> |
| 8104 |
|
| 8105 |
* parameterization.cc (addOpMappingsFromView): pass parameterCopyUser to |
| 8106 |
addFromPartOfRenaming() |
| 8107 |
|
| 8108 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByModuleView): pass |
| 8109 |
extra arument to addOpMappingsFromView() |
| 8110 |
(handleInstantiationByTheoryView): pass extra argument to addOpMappingsFromView() |
| 8111 |
|
| 8112 |
* instantiateViewWithFreeParameters.cc (handleInstantiationByTheoryView): pass |
| 8113 |
extra arument to addOpMappingsFromView() |
| 8114 |
(handleInstantiationByModuleView): pass extra argument to addOpMappingsFromView() |
| 8115 |
|
| 8116 |
* importModule.hh (EnclosingObject): updated decls for |
| 8117 |
translateComponent() and addFromPartOfRenaming() |
| 8118 |
|
| 8119 |
* parameterization.cc (addFromPartOfRenaming) |
| 8120 |
(translateComponent): take parameterCopyUser argument |
| 8121 |
|
| 8122 |
* importModule.hh (EnclosingObject): updated decl for |
| 8123 |
addOpMappingsFromView() |
| 8124 |
|
| 8125 |
* parameterization.cc (addOpMappingsFromView): take parameterCopyUser |
| 8126 |
argument; use it to ensure op mapping get added with the potentially |
| 8127 |
larger components belonging to the user of the parameterCopy |
| 8128 |
|
| 8129 |
2019-06-03 Rubén Rubio <[email protected]> |
| 8130 |
|
| 8131 |
* importModule.cc (importLabels): use importedRuleLabels set |
| 8132 |
(donateStrategies): adapted to changes in alpha121. |
| 8133 |
|
| 8134 |
* instantiateModuleWithBoundParameters.cc (instatiateRenaming): |
| 8135 |
handle strategy mappings |
| 8136 |
|
| 8137 |
* instantiateModuleWithFreeParameteres.cc |
| 8138 |
(handleInstantiationByModuleView): call to addStratMappings |
| 8139 |
|
| 8140 |
* instantiateViewWithFreeParameters.cc (makeInstantiation): |
| 8141 |
call to handleStratMappings and handleStratToExprMappings |
| 8142 |
(handleInstantiationByTheoryView): call to addStratMappingsFromView |
| 8143 |
(handleInstantiationByModuleView): call to addStratMappingsFromView |
| 8144 |
(handleStratMappings, handleStratAkwardCase): added |
| 8145 |
(handleStratToExprMappings): added |
| 8146 |
|
| 8147 |
* parameterization.cc (addStratMappingsFromView): used |
| 8148 |
getStratToExprMappings |
| 8149 |
|
| 8150 |
* renaming.cc (addStratMappingPartialCopy): added |
| 8151 |
(addStratTargetExpr): now receives and stores the left-hand side |
| 8152 |
expression |
| 8153 |
|
| 8154 |
* renaming.hh (addStratMappingPartialCopy): added |
| 8155 |
(addStratTargetExpr): now receives the left-hand side expression |
| 8156 |
(getStratFromCall): added |
| 8157 |
(StratMapping): added fromCall attribute |
| 8158 |
|
| 8159 |
* syntacticView.cc (handleTermAndExprMappings): adapted |
| 8160 |
insertStratToExprMapping to the changes of alpha121 |
| 8161 |
(getTargetExprModule): removed |
| 8162 |
|
| 8163 |
* view.cc (insertStratToExprMapping): adapted to the changes |
| 8164 |
of alpha121 |
| 8165 |
(getStratMapExpr, getStratMapVarIndices): removed |
| 8166 |
(getStratToExprMapping): added |
| 8167 |
(checkStrats): call to getStratToExprMapping |
| 8168 |
|
| 8169 |
* view.hh (insertStratToExprMapping): adapted to the changes |
| 8170 |
of alpha121 |
| 8171 |
(handleStratMappings, handleStratAkwardCase): added |
| 8172 |
(handleStratToExprMappings, getStratToExprMapping): added |
| 8173 |
(getTargetExprModule): removed |
| 8174 |
|
| 8175 |
2019-05-28 Steven Eker <[email protected]> |
| 8176 |
|
| 8177 |
* instantiateViewWithFreeParameters.cc (makeInstantiation): use new |
| 8178 |
makeToModule() semantics |
| 8179 |
|
| 8180 |
* view.hh (EnclosingObject): updated decl for makeToModule() |
| 8181 |
|
| 8182 |
* instantiateViewWithFreeParameters.cc (makeToModule): return targetInstance |
| 8183 |
rather than insert it |
| 8184 |
|
| 8185 |
* instantiateModuleWithBoundParameters.cc (handleFinalInstantiation): added |
| 8186 |
defensive code in case v->instantiateBoundParameters() returns null |
| 8187 |
|
| 8188 |
2019-05-25 Rubén Rubio <[email protected]> |
| 8189 |
|
| 8190 |
* command.cc (printStratDecl): call to printAttributes |
| 8191 |
(printAttributes): added for strategy declarations |
| 8192 |
|
| 8193 |
* commands.yy: added show sds and show strats commands |
| 8194 |
|
| 8195 |
* entry.cc (addStrategy): added metadata parameter. Call |
| 8196 |
findStrategy and insertMetadata |
| 8197 |
|
| 8198 |
* importModule.cc (donateStrategies2): donate metadata |
| 8199 |
(donateStatements2): donate attributes of strategy definitions |
| 8200 |
|
| 8201 |
* interpreter.cc (showStrats, showSds): added |
| 8202 |
|
| 8203 |
* interpreter.hh (showStrats, showSds): added |
| 8204 |
|
| 8205 |
* lexer.ll: added lexemes for show sds/strats commands |
| 8206 |
|
| 8207 |
* metadataStore.hh (ItemType): added STRAT_DECL and STRAT_DEF |
| 8208 |
|
| 8209 |
* mixfixModule.hh (addStrategy): added metadata parameter |
| 8210 |
|
| 8211 |
* mixfixParser.cc (makeStatementPart): handle metadata and print |
| 8212 |
attribute in strategy definitions |
| 8213 |
|
| 8214 |
* modules.yy: added strategy declaration attributes syntax |
| 8215 |
|
| 8216 |
* prettyPrint.cc (operator<<): print metadata in strategy declarations |
| 8217 |
|
| 8218 |
* process.cc (processStrategies): handle metadata |
| 8219 |
|
| 8220 |
* syntacticPreModule.hh (printAttributes): added for strategy decls |
| 8221 |
|
| 8222 |
* top.yy: added KW_STRATS |
| 8223 |
|
| 8224 |
* userLevelRewritingContext.cc (traceStrategyCall): handle print |
| 8225 |
attribute and corrected an erratum in traces (too many line breaks) |
| 8226 |
|
| 8227 |
* view.cc (evaluate): moved a check about strategy mappings in views |
| 8228 |
(insertStratToExprMapping): solved some memory leaks |
| 8229 |
|
| 8230 |
* visibleModule.cc (showSummary): added strategy declarations and |
| 8231 |
definitions to the summary |
| 8232 |
(showModule): call to showSds |
| 8233 |
(showStrats): moved code showing strategy definitions to showSds |
| 8234 |
(showSds): added from showStrats |
| 8235 |
|
| 8236 |
* visibleModule.hh (showSds): added |
| 8237 |
|
| 8238 |
2019-05-24 Steven Eker <[email protected]> |
| 8239 |
|
| 8240 |
* view.hh (EnclosingObject): added decl for makeToModule() |
| 8241 |
|
| 8242 |
* instantiateViewWithFreeParameters.cc (makeToModule): added |
| 8243 |
(makeInstantiation): use makeToModule() but make sure this happens |
| 8244 |
after parameters instantiated by theory-views have been checked for |
| 8245 |
conflicts |
| 8246 |
|
| 8247 |
* syntacticView.hh (_syntacticView_hh_): fix header guard |
| 8248 |
|
| 8249 |
* interpreter.cc (makeModule): commented out advisory about renaming |
| 8250 |
module with bound parameters |
| 8251 |
|
| 8252 |
2019-05-23 Steven Eker <[email protected]> |
| 8253 |
|
| 8254 |
* quotedIdentifierOpSymbol.cc (eqRewrite): use new tokenizeRope() |
| 8255 |
convention |
| 8256 |
|
| 8257 |
* tokenizer.ll (Rope): pass back pointer than reference from |
| 8258 |
tokenizeRope() to avoid an issue with yyterminate()/YY_NULL |
| 8259 |
|
| 8260 |
* mixfixParser.cc (insertProduction): made check for bad gather |
| 8261 |
size #ifndef NO_ASSERT |
| 8262 |
|
| 8263 |
* view.cc (insertOpToTermMapping): deleted unused variable i |
| 8264 |
|
| 8265 |
2019-05-22 Steven Eker <[email protected]> |
| 8266 |
|
| 8267 |
* view.hh (operator<<): needed in the NO_ASSERT case also |
| 8268 |
|
| 8269 |
* token.cc (splitParameterInstanceName): commented out |
| 8270 |
|
| 8271 |
* renaming.hh (SyntaxContainer): commented out decl for |
| 8272 |
addOpMappingSimpleCopy() |
| 8273 |
|
| 8274 |
* renaming.cc (addOpMappingSimpleCopy): commented out |
| 8275 |
|
| 8276 |
* token.hh (T): commented out decl for splitParameterInstanceName() |
| 8277 |
|
| 8278 |
* syntacticView.cc (addParameter2): comment out experimental advisory |
| 8279 |
for parameterized views |
| 8280 |
|
| 8281 |
* interpreter.cc (handleArgument): comment out experimental advisory |
| 8282 |
for view instantiation |
| 8283 |
|
| 8284 |
* modules.yy (view): don't hand responsibility for deleted |
| 8285 |
fromTheory/toModule expressions until the production has succeed and |
| 8286 |
their no longer on the bision stack |
| 8287 |
(instantExpr): delete vector after passing its contents to ModuleExpression() |
| 8288 |
|
| 8289 |
2019-05-21 Steven Eker <[email protected]> |
| 8290 |
|
| 8291 |
* instantiateModuleWithFreeParameters.cc (makeInstantiation): DebugAdvisory() |
| 8292 |
-> DebugInfo() |
| 8293 |
|
| 8294 |
* instantiateViewWithFreeParameters.cc (makeInstantiation): set copy |
| 8295 |
status to BAD rather than using markAsBad() |
| 8296 |
|
| 8297 |
* view.hh (isBad): added |
| 8298 |
(EnclosingObject): don't derive from BadFlag |
| 8299 |
|
| 8300 |
* view.cc (evaluate): check for recursive use; set status |
| 8301 |
to PROCESSING |
| 8302 |
|
| 8303 |
* process.cc (process): added closeSortSet() hack to that |
| 8304 |
SyntacticPreModule::getFlatSignature() won't get confused |
| 8305 |
|
| 8306 |
* syntacticPreModule.cc (getFlatSignature): added DebugNew() |
| 8307 |
|
| 8308 |
2019-05-20 Steven Eker <[email protected]> |
| 8309 |
|
| 8310 |
* importModule.hh (EnclosingObject): added decl for |
| 8311 |
checkForPolymorphOperatorClash() |
| 8312 |
|
| 8313 |
* importModule.cc (checkForPolymorphOperatorClash): added |
| 8314 |
|
| 8315 |
* moduleCache.cc (makeSummation): deleted commented out code |
| 8316 |
|
| 8317 |
2019-05-16 Steven Eker <[email protected]> |
| 8318 |
|
| 8319 |
* view.hh (EnclosingObject): deleted decl for recoverVariableNames() |
| 8320 |
|
| 8321 |
* instantiateViewWithFreeParameters.cc (handleOpMappings): pass |
| 8322 |
fromTerm to handleAwkwardCase() |
| 8323 |
(handleAwkwardCase): simplified using fromTerm argument |
| 8324 |
(recoverVariableNames): deleted |
| 8325 |
|
| 8326 |
* view.cc (checkOps): getOpMapTerm() -> getOpToTermMapping() |
| 8327 |
(2 places) |
| 8328 |
|
| 8329 |
* instantiateViewWithFreeParameters.cc (handleOpMappings): |
| 8330 |
getOpMapTerm() -> getOpToTermMapping() |
| 8331 |
|
| 8332 |
* parameterization.cc (addOpMappingsFromView): getOpMapTerm() |
| 8333 |
-> getOpToTermMapping() |
| 8334 |
|
| 8335 |
* view.hh (EnclosingObject): getOpMapTerm() -> getOpToTermMapping() |
| 8336 |
|
| 8337 |
* view.cc (getOpMapTerm): becomes getOpToTermMapping() |
| 8338 |
|
| 8339 |
* view.hh (EnclosingObject): updated decl for getOpMapTerm() |
| 8340 |
|
| 8341 |
* view.cc (getOpMapTerm): new semantics |
| 8342 |
|
| 8343 |
* parameterization.cc (addOpMappingsFromView): propagate fromTerm |
| 8344 |
for op->term mappings |
| 8345 |
|
| 8346 |
* renaming.cc (addOpTargetTerm): store fromTerm |
| 8347 |
(addOpTarget): zero fromTerm (both versions) |
| 8348 |
|
| 8349 |
* renaming.hh (SyntaxContainer): updated decl for addOpTargetTerm() |
| 8350 |
(SyntaxContainer): added fromTerm field to struct OpMapping |
| 8351 |
(getFromTerm): added |
| 8352 |
|
| 8353 |
2019-05-15 Steven Eker <[email protected]> |
| 8354 |
|
| 8355 |
* instantiateViewWithFreeParameters.cc (makeInstantiation): use |
| 8356 |
handlePolymorphMappings() |
| 8357 |
|
| 8358 |
* view.hh (EnclosingObject): deleted decl for old handleOpMappings(); |
| 8359 |
added decl for handlePolymorphMappings() |
| 8360 |
|
| 8361 |
* instantiateViewWithFreeParameters.cc (handleOpMappings): deleted |
| 8362 |
old version |
| 8363 |
(handlePolymorphMappings): added |
| 8364 |
|
| 8365 |
* view.hh (EnclosingObject): added decls for handleAwkwardCase(), |
| 8366 |
recoverVariableNames() |
| 8367 |
|
| 8368 |
* instantiateViewWithFreeParameters.cc (recoverVariableNames) |
| 8369 |
(handleAwkwardCase): added |
| 8370 |
(handleOpMappings): use handleAwkwardCase() |
| 8371 |
|
| 8372 |
* renaming.cc (printRenaming): replaced Assert() that op->term |
| 8373 |
mappings aren't printable with debug code that prints a |
| 8374 |
syntactically illegal representation |
| 8375 |
|
| 8376 |
2019-05-14 Steven Eker <[email protected]> |
| 8377 |
|
| 8378 |
* instantiateViewWithFreeParameters.cc (makeInstantiation): use new |
| 8379 |
version of handleOpMappings() |
| 8380 |
(handleOpMappings): check for the existence of an op->term mapping |
| 8381 |
and don't general mapping for such operators |
| 8382 |
|
| 8383 |
* view.hh (EnclosingObject): delete decl for old handleSortMappings(); |
| 8384 |
add decl for new handleOpMappings() |
| 8385 |
|
| 8386 |
* instantiateViewWithFreeParameters.cc (handleOpMappings): added |
| 8387 |
canonicalRenaming base version |
| 8388 |
|
| 8389 |
2019-05-13 Steven Eker <[email protected]> |
| 8390 |
|
| 8391 |
* view.cc (checkSorts): check for case where module declared sort is |
| 8392 |
implicitly mapped to a sort derived from a parameter theory |
| 8393 |
(checkSorts): added check for sort mapping from nonexistent sort |
| 8394 |
|
| 8395 |
* instantiateViewWithFreeParameters.cc (makeInstantiation): delete |
| 8396 |
canonicaRenaming once we are done with it; use new handleSortMappings() |
| 8397 |
(handleSortMappings): handle pathological case |
| 8398 |
(handleSortMappings): deleted old version |
| 8399 |
|
| 8400 |
* view.hh (EnclosingObject): added decl for new version of handleSortMappings() |
| 8401 |
|
| 8402 |
* renaming.hh (SyntaxContainer): added comment to explain that terms are never |
| 8403 |
owned nor deleted and the semantics of using Renaming means that dangling Term* |
| 8404 |
pointers are never dereferenced |
| 8405 |
|
| 8406 |
* parameterization.cc (addOpMappingsFromView): added comment to the effect that |
| 8407 |
the renaming borrows toTerm |
| 8408 |
|
| 8409 |
* instantiateViewWithFreeParameters.cc (handleOpToTermMappings): fixed comments |
| 8410 |
(handleSortMappings): added simpler version base on canonicalRenaming |
| 8411 |
|
| 8412 |
2019-05-10 Steven Eker <[email protected]> |
| 8413 |
|
| 8414 |
* view.hh (EnclosingObject): deleted decl for old version of |
| 8415 |
handleOpToTermMappings() |
| 8416 |
|
| 8417 |
* instantiateViewWithFreeParameters.cc (handleInstantiationByParameter): use |
| 8418 |
addSortRenamingsForParameterChange() to update canonical if the parameter |
| 8419 |
name changes |
| 8420 |
(handleInstantiationByModuleView): use addSortMappingsFromModuleView(), |
| 8421 |
addOpMappingsFromView() |
| 8422 |
(makeInstantiation): use handleParameterizedSorts() |
| 8423 |
(makeInstantiation): use new handleOpToTermMappings() |
| 8424 |
(handleOpMappings): adde new version |
| 8425 |
(handleOpMappings): deleted old version |
| 8426 |
|
| 8427 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByModuleView): use |
| 8428 |
addSortMappingsFromModuleView() |
| 8429 |
|
| 8430 |
* importModule.hh (EnclosingObject): added decl for addSortMappingsFromModuleView() |
| 8431 |
|
| 8432 |
* parameterization.cc (addSortMappingsFromModuleView): added |
| 8433 |
|
| 8434 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByParameter): use |
| 8435 |
addSortRenamingsForParameterChange() |
| 8436 |
|
| 8437 |
* importModule.hh (EnclosingObject): added decl for |
| 8438 |
addSortRenamingsForParameterChange() |
| 8439 |
|
| 8440 |
* parameterization.cc (addSortRenamingsForParameterChange): added |
| 8441 |
|
| 8442 |
* instantiateViewWithFreeParameters.cc (handleInstantiationByTheoryView): use |
| 8443 |
new addOpMappingsFromView() |
| 8444 |
|
| 8445 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByTheoryView): use |
| 8446 |
new addOpMappingsFromView() |
| 8447 |
(handleInstantiationByModuleView): use new addOpMappingsFromView() |
| 8448 |
(addOpMappingsFromView, translateComponent): deleted |
| 8449 |
|
| 8450 |
* importModule.hh (EnclosingObject): added decls for new versions of |
| 8451 |
addOpMappingsFromView(), translateComponent(); deleted decls for old |
| 8452 |
verions of addOpMappingsFromView(), translateComponent(); adde decl |
| 8453 |
for addFromPartOfRenaming() |
| 8454 |
|
| 8455 |
* parameterization.cc (translateComponent): added |
| 8456 |
(translateComponent, addFromPartOfRenaming) |
| 8457 |
(addOpMappingsFromView): added |
| 8458 |
|
| 8459 |
* importModule.hh (EnclosingObject): deleted decl for old version of |
| 8460 |
addSortMappingsFromTheoryView() |
| 8461 |
|
| 8462 |
* instantiateModuleWithFreeParameters.cc (addSortMappingsFromTheoryView): deleted |
| 8463 |
|
| 8464 |
* instantiateViewWithFreeParameters.cc (handleInstantiationByTheoryView): use |
| 8465 |
new version of addSortMappingsFromTheoryView() |
| 8466 |
|
| 8467 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByTheoryView): use |
| 8468 |
new version of addSortMappingsFromTheoryView() |
| 8469 |
|
| 8470 |
* importModule.hh (EnclosingObject): added decl for new |
| 8471 |
addSortMappingsFromTheoryView() |
| 8472 |
|
| 8473 |
* parameterization.cc (addSortMappingsFromTheoryView): added version that |
| 8474 |
takes parameterCopyOfTheory as object |
| 8475 |
|
| 8476 |
2019-05-09 Steven Eker <[email protected]> |
| 8477 |
|
| 8478 |
* instantiateViewWithFreeParameters.cc (handleInstantiationByTheoryView): use |
| 8479 |
ImportModule::addSortMappingsFromTheoryView() |
| 8480 |
|
| 8481 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByTheoryView): use |
| 8482 |
addSortMappingsFromTheoryView() |
| 8483 |
|
| 8484 |
* importModule.hh (EnclosingObject): added decl for addSortMappingsFromTheoryView() |
| 8485 |
|
| 8486 |
* instantiateModuleWithFreeParameters.cc (addSortMappingsFromTheoryView): added |
| 8487 |
|
| 8488 |
2019-05-08 Steven Eker <[email protected]> |
| 8489 |
|
| 8490 |
* view.hh (EnclosingObject): updated decls for handleInstantiationByTheoryView(), |
| 8491 |
handleInstantiationByParameter(), handleInstantiationByModuleView() |
| 8492 |
|
| 8493 |
* instantiateViewWithFreeParameters.cc (handleInstantiationByTheoryView): made const |
| 8494 |
(handleInstantiationByParameter): made const |
| 8495 |
(handleInstantiationByModuleView): made const |
| 8496 |
|
| 8497 |
* importModule.hh (EnclosingObject): make addOpMappingsFromView() public |
| 8498 |
|
| 8499 |
* instantiateViewWithFreeParameters.cc (makeInstantiation): no longer |
| 8500 |
deal with the case that our toModule has no parameters since |
| 8501 |
each of our free parameters is required to be bound in toModule |
| 8502 |
(makeInstantiation): make toModule instantiation before worrying about |
| 8503 |
the rest of the view |
| 8504 |
(handleInstantiationByTheoryView): call addOpMappingsFromView() |
| 8505 |
|
| 8506 |
* view.cc (evaluate): make having parameters that are not bound |
| 8507 |
in the toModule illegal - this greatly simplifies handling parameters |
| 8508 |
since now we can rely on the toModule machinery for much of the heavy lifting |
| 8509 |
(regretToInform): don't do the pretend self-destruct now that we |
| 8510 |
rely on our toModule to trigger the invalidation cascade |
| 8511 |
|
| 8512 |
2019-05-07 Steven Eker <[email protected]> |
| 8513 |
|
| 8514 |
* instantiateViewWithFreeParameters.cc (handleInstantiationByTheoryView): added |
| 8515 |
some of the code to make a canonical renaming |
| 8516 |
|
| 8517 |
* importModule.hh (getCanonicalRenaming): added |
| 8518 |
|
| 8519 |
* view.hh (EnclosingObject): updated decls for handleInstantiationByTheoryView() |
| 8520 |
handleInstantiationByParameter(), handleInstantiationByModuleView() |
| 8521 |
|
| 8522 |
2019-05-06 Steven Eker <[email protected]> |
| 8523 |
|
| 8524 |
* importModule.hh (EnclosingObject): added decls for handleSummation(), |
| 8525 |
handleRenaming(), handleFinalInstantiation() |
| 8526 |
(EnclosingObject): updated comment on parameter theories and imports |
| 8527 |
now that this are kept in separate data structures |
| 8528 |
|
| 8529 |
* instantiateModuleWithBoundParameters.cc (instantiateRenaming): use |
| 8530 |
DebugEnter()/DebugExit() |
| 8531 |
(handleSummation, handleRenaming, handleFinalInstantiation): addes |
| 8532 |
(instantiateBoundParameters): rewritten using handleSummation(), |
| 8533 |
handleRenaming(), handleFinalInstantiation() |
| 8534 |
|
| 8535 |
2019-05-03 Steven Eker <[email protected]> |
| 8536 |
|
| 8537 |
* instantiateModuleWithBoundParameters.cc (instantiateBoundParameters): handle |
| 8538 |
summation |
| 8539 |
|
| 8540 |
* importModule.hh (EnclosingObject): deleted VIEW_LOCAL from enum Origin |
| 8541 |
|
| 8542 |
* interpreter.cc (makeModule): check for free parameters in sum |
| 8543 |
rather than any parameters |
| 8544 |
|
| 8545 |
* parameterization.cc (makeSummation): handle bound parameters |
| 8546 |
|
| 8547 |
* instantiateModuleWithFreeParameters.cc (handleBoundParameters): updated |
| 8548 |
comment about the existence of parameter theory copies |
| 8549 |
|
| 8550 |
* moduleCache.cc (makeSummation): use ImportModule::makeSummation() |
| 8551 |
|
| 8552 |
* importModule.hh (EnclosingObject): added decl for makeSummation() |
| 8553 |
|
| 8554 |
* parameterization.cc (makeParameterCopy): use DebugEnter()/DebugExit() |
| 8555 |
(makeSummation): added |
| 8556 |
|
| 8557 |
* instantiateModuleWithFreeParameters.cc (handleRegularImports): use |
| 8558 |
DebugInfo() |
| 8559 |
(makeInstantiation): use DebugEnter() |
| 8560 |
(makeInstantiation): use DebugExit() |
| 8561 |
|
| 8562 |
* view.hh (EnclosingObject): added comments for enum Status |
| 8563 |
|
| 8564 |
* interpreter.cc (showView): don't call SyntacticView::showView() unless |
| 8565 |
the view is in a GOOD state |
| 8566 |
|
| 8567 |
* importModule.hh (EnclosingObject): updated decls for |
| 8568 |
handleInstantiationByModuleView(), handleBoundParameters() |
| 8569 |
|
| 8570 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByParameter): code |
| 8571 |
cleaning |
| 8572 |
(handleBoundParameters): check for null from makeParameterCopy() |
| 8573 |
(handleInstantiationByModuleView): check for failure from handleBoundParameters() |
| 8574 |
(makeInstantiation): check for failure from handleInstantiationByModuleView() |
| 8575 |
|
| 8576 |
* process.cc (processImports): check bad flag after processing parameters |
| 8577 |
and quit if bad so we don't get spurious warnings about missing parameters |
| 8578 |
|
| 8579 |
* renameModule.cc (donateSorts2): complain about the renamed sort rather |
| 8580 |
than the original name since that's where the clash occurs; this should |
| 8581 |
only affect parameter theory copies since in other cases we form the |
| 8582 |
renamed theory or module first |
| 8583 |
|
| 8584 |
* process.cc (process): check for badness after doing parameters/imports |
| 8585 |
|
| 8586 |
* preModule.cc (processExplicitImports): mark import as bad if import |
| 8587 |
couldn't be constructed or had free parameters |
| 8588 |
(processParameters): mark flat module as bad if parameter couldn't be |
| 8589 |
constructed or parameter was illegal |
| 8590 |
|
| 8591 |
* process.cc (processImports): mark importer as bad if import failed |
| 8592 |
|
| 8593 |
2019-05-02 Steven Eker <[email protected]> |
| 8594 |
|
| 8595 |
* importModule.hh (EnclosingObject): updated decl for handleInstantiationByModuleView(); |
| 8596 |
added decl for handleBoundParameters() |
| 8597 |
|
| 8598 |
* instantiateModuleWithFreeParameters.cc (handleBoundParameters): added |
| 8599 |
(handleInstantiationByModuleView): use handleBoundParameters() |
| 8600 |
(handleInstantiationByModuleView): don't keep track of bound parameters |
| 8601 |
or return a bool |
| 8602 |
|
| 8603 |
* view.hh (EnclosingObject): added decl for handleOpToTermMappings() |
| 8604 |
|
| 8605 |
* instantiateViewWithFreeParameters.cc (handleOpToTermMappings): added |
| 8606 |
(makeInstantiation): use handleOpToTermMappings() |
| 8607 |
|
| 8608 |
* view.hh (EnclosingObject): added decl for handleOpMappings() |
| 8609 |
|
| 8610 |
* instantiateViewWithFreeParameters.cc (handleSortMappings): rewritten |
| 8611 |
to check for sorts from parameter theory that actually came from a |
| 8612 |
module originally |
| 8613 |
(handleOpMappings): added |
| 8614 |
(makeInstantiation): use handleOpMappings() |
| 8615 |
|
| 8616 |
* preModule.cc (processParameters): handle makeParameterCopy() returning |
| 8617 |
null |
| 8618 |
|
| 8619 |
* parameterization.cc (makeParameterCopy): check for makeParameterCopy() |
| 8620 |
returning null |
| 8621 |
|
| 8622 |
* importModule.hh (EnclosingObject): updated decl for |
| 8623 |
handleInstantiationByParameter() |
| 8624 |
|
| 8625 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByTheoryView): check |
| 8626 |
for makeParameterCopy() returning null |
| 8627 |
(handleInstantiationByParameter): check for makeParameterCopy() returning null |
| 8628 |
(makeInstantiation): handle return value from handleInstantiationByParameter() |
| 8629 |
|
| 8630 |
* moduleCache.cc (makeParameterCopy): handle the possibility of a |
| 8631 |
bad parameter copy under weird circumstances |
| 8632 |
|
| 8633 |
* renameModule.cc (donateSorts2): set sortDeclaredInModule even for |
| 8634 |
module->module importations |
| 8635 |
|
| 8636 |
* instantiateViewWithFreeParameters.cc (handleInstantiationByModuleView): added |
| 8637 |
comment to explain why copying conflicts from argument is currently needed |
| 8638 |
(handleInstantiationByParameter): added comment to explain why propagating |
| 8639 |
conflicts on bare parameters is unnecessary |
| 8640 |
(makeInstantiation): use handleSortMappings() |
| 8641 |
|
| 8642 |
2019-05-01 Steven Eker <[email protected]> |
| 8643 |
|
| 8644 |
* instantiateViewWithFreeParameters.cc (handleInstantiationByModuleView): add |
| 8645 |
conflicts between bare parameters and bound parameters in module-view |
| 8646 |
(handleInstantiationByModuleView): copy in conflicts from argument - but need |
| 8647 |
to check if this is really needed |
| 8648 |
|
| 8649 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByModuleView): fix |
| 8650 |
bug where we were doing conflict generation and propagation even for theory-view |
| 8651 |
because we had if-nesting wrong |
| 8652 |
|
| 8653 |
* instantiateViewWithFreeParameters.cc (handleInstantiationByParameter): record |
| 8654 |
positionsInstantiatedParameter |
| 8655 |
|
| 8656 |
* view.cc (evaluate): use setToModule() |
| 8657 |
|
| 8658 |
* instantiateViewWithFreeParameters.cc (makeInstantiation): use setToModule() |
| 8659 |
|
| 8660 |
* view.hh (setToModule): added |
| 8661 |
|
| 8662 |
* instantiateViewWithFreeParameters.cc (makeInstantiation): add in conflicts |
| 8663 |
from targetInstance |
| 8664 |
|
| 8665 |
* viewCache.cc (makeViewInstantiation): check for bad view returned from |
| 8666 |
makeInstantiation() |
| 8667 |
|
| 8668 |
* view.hh (EnclosingObject): updated decl for handleInstantiationByTheoryView() |
| 8669 |
(BadFlag): add BadFlag as a public base |
| 8670 |
|
| 8671 |
* instantiateViewWithFreeParameters.cc (makeInstantiation): use |
| 8672 |
handleInstantiationByTheoryView(), handleInstantiationByParameter(), |
| 8673 |
handleInstantiationByModuleView() |
| 8674 |
(handleInstantiationByTheoryView): check for conflict |
| 8675 |
(makeInstantiation): check for failure from handleInstantiationByTheoryView() |
| 8676 |
|
| 8677 |
* view.hh (EnclosingObject): added decls for handleInstantiationByTheoryView(), |
| 8678 |
handleInstantiationByParameter(), handleInstantiationByModuleView() |
| 8679 |
|
| 8680 |
* instantiateViewWithFreeParameters.cc (handleInstantiationByTheoryView) |
| 8681 |
(handleInstantiationByParameter) |
| 8682 |
(handleInstantiationByModuleView): added |
| 8683 |
|
| 8684 |
2019-04-30 Steven Eker <[email protected]> |
| 8685 |
|
| 8686 |
* instantiateViewWithFreeParameters.cc (makeInstantiation): handle the case |
| 8687 |
where a sort is mapped to a sort from a parameter theory |
| 8688 |
(makeInstantiation): fix bug where we were using the wrong iterator variable for |
| 8689 |
bound parameters in a module-view arugment |
| 8690 |
|
| 8691 |
* token.hh (T): decl for parameterRename() becomes makeParameterInstanceName() |
| 8692 |
|
| 8693 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByTheoryView): |
| 8694 |
parameterRename() -> makeParameterInstanceName() |
| 8695 |
(handleInstantiationByParameter): parameterRename() -> makeParameterInstanceName() |
| 8696 |
|
| 8697 |
* parameterization.cc (makeParameterCopy): parameterRename() -> |
| 8698 |
makeParameterInstanceName() (2 places) |
| 8699 |
|
| 8700 |
* token.cc (splitParameterInstanceName): added |
| 8701 |
(parameterRename): becomes makeParameterInstanceName() |
| 8702 |
|
| 8703 |
* token.hh (T): added decl for splitParameterInstanceName() |
| 8704 |
|
| 8705 |
* auxProperty.cc (splitParameterizedSort): added comment to explain |
| 8706 |
what it does |
| 8707 |
(splitParameterList): added comment to explain what it does |
| 8708 |
(joinParameterList): added comment to explain what it does |
| 8709 |
|
| 8710 |
2019-04-29 Steven Eker <[email protected]> |
| 8711 |
|
| 8712 |
* instantiateViewWithFreeParameters.cc (makeInstantiation): moved here |
| 8713 |
|
| 8714 |
* instantiateViewWithBoundParameters.cc (instantiateBoundParameters): moved |
| 8715 |
here |
| 8716 |
|
| 8717 |
2019-04-26 Steven Eker <[email protected]> |
| 8718 |
|
| 8719 |
* interpreter.cc (makeModule): check for theory-view and view with |
| 8720 |
bound parameters in the same instantiation |
| 8721 |
(handleArgument): check for theory-view and view with bound |
| 8722 |
parameters in the same instantiation |
| 8723 |
|
| 8724 |
* importModule.cc (addImport): propagate conflicts here |
| 8725 |
|
| 8726 |
* instantiateModuleWithFreeParameters.cc (handleRegularImports): don't |
| 8727 |
propagate conflicts here |
| 8728 |
|
| 8729 |
* enclosingObject.cc (addConflict, addInAllConflicts) |
| 8730 |
(hasConflict, findFirstClash): added |
| 8731 |
|
| 8732 |
* instantiateModuleWithFreeParameters.cc (handleRegularImports): add in |
| 8733 |
conflicts from imports |
| 8734 |
|
| 8735 |
* importModule.hh (EnclosingObject): update decl for |
| 8736 |
handleInstantiationByModuleView() |
| 8737 |
|
| 8738 |
* instantiateModuleWithFreeParameters.cc (makeInstantiation): pass |
| 8739 |
positionsInstantiatedParameter to handleInstantiationByModuleView() |
| 8740 |
|
| 8741 |
* enclosingObject.hh (E): added decl for hasConflict() |
| 8742 |
|
| 8743 |
* instantiateModuleWithFreeParameters.cc (makeInstantiation): handle new |
| 8744 |
handleInstantiationByParameter() semantics |
| 8745 |
|
| 8746 |
* importModule.hh (EnclosingObject): updated decl for |
| 8747 |
handleInstantiationByParameter() |
| 8748 |
|
| 8749 |
* instantiateModuleWithFreeParameters.cc (makeInstantiation): handle |
| 8750 |
failure from handleInstantiationByTheoryView() |
| 8751 |
(handleInstantiationByParameter): propagate conflicts from us |
| 8752 |
to our instantiation at positions instantiated by parameter |
| 8753 |
(handleInstantiationByParameter): take positionsInstantiatedParameter as |
| 8754 |
an argmuent |
| 8755 |
|
| 8756 |
* enclosingObject.hh (E): added decls for addInAllConflicts() and |
| 8757 |
makeConflictsWithBoundParameters() |
| 8758 |
|
| 8759 |
* importModule.hh (EnclosingObject): updated decl for |
| 8760 |
handleInstantiationByTheoryView() |
| 8761 |
|
| 8762 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByTheoryView): check |
| 8763 |
for conflicts between parameters and return bool |
| 8764 |
|
| 8765 |
* enclosingObject.hh (E): added decls for addConflict() and |
| 8766 |
firstClash() |
| 8767 |
|
| 8768 |
2019-04-23 Steven Eker <[email protected]> |
| 8769 |
|
| 8770 |
* importModule.cc (donateSorts): don't make recursive call on |
| 8771 |
parameterTheories - the importer will alrady have these |
| 8772 |
(donateOps): symmetric change |
| 8773 |
(fixUpDonatedOps): symmetric change |
| 8774 |
(donateStatements): symmetric change |
| 8775 |
(resetImportPhase): call self rather than resetImports() because |
| 8776 |
there is no need to reset parameterTheories because we won't have |
| 8777 |
imported from them. |
| 8778 |
|
| 8779 |
2019-04-22 Steven Eker <[email protected]> |
| 8780 |
|
| 8781 |
* renameModule.cc (makeRenamedCopy): rewritten for |
| 8782 |
parameterTheories/importedModules split |
| 8783 |
|
| 8784 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByParameter): use |
| 8785 |
parameterTheories |
| 8786 |
(handleInstantiationByTheoryView): use parameterTheories |
| 8787 |
(handleInstantiationByModuleView): use parameterTheories |
| 8788 |
(handleRegularImports): don't skip first entries as they are no longer |
| 8789 |
parameter theories |
| 8790 |
|
| 8791 |
* importModule.cc (deepSelfDestruct): remove ourself as user of parameter |
| 8792 |
theories |
| 8793 |
(importSorts): rewritten for parameterTheories/importedModules split |
| 8794 |
(donateSorts): rewritten for parameterTheories/importedModules split |
| 8795 |
(importOps): rewritten for parameterTheories/importedModules split |
| 8796 |
(donateOps): rewritten for parameterTheories/importedModules split |
| 8797 |
(fixUpImportedOps): rewritten for parameterTheories/importedModules split |
| 8798 |
(importStatements): rewritten for parameterTheories/importedModules split |
| 8799 |
(fixUpDonatedOps): rewritten for parameterTheories/importedModules split |
| 8800 |
(addParameter): use parameterTheories |
| 8801 |
(resetImports): rewritten for parameterTheories/importedModules split |
| 8802 |
(dumpImports): rewritten for parameterTheories/importedModules split |
| 8803 |
(donateStatements): rewritten for parameterTheories/importedModules split |
| 8804 |
|
| 8805 |
* importModule.hh (EnclosingObject): added data member parameterTheories |
| 8806 |
|
| 8807 |
* importModule.cc (addParameter): more detailed warning message |
| 8808 |
(addImport): more detailed warning message |
| 8809 |
|
| 8810 |
* instantiateModuleWithFreeParameters.cc (makeInstantiation): do parameters |
| 8811 |
from enclosing objects last |
| 8812 |
(handleInstantiationByTheoryView): code cleaning |
| 8813 |
(handleInstantiationByParameter): code cleaning |
| 8814 |
|
| 8815 |
* instantiateView.cc (makeInstantiation): toModule -> viewToModule |
| 8816 |
in view arugment code to avoid confusing overloading |
| 8817 |
|
| 8818 |
2019-04-19 Steven Eker <[email protected]> |
| 8819 |
|
| 8820 |
* instantiateView.cc (makeInstantiation): make parameterizedSortRenaming |
| 8821 |
|
| 8822 |
* importModule.hh (EnclosingObject): make handleParameterizedSorts() |
| 8823 |
public so we can call it from View |
| 8824 |
|
| 8825 |
* instantiateModuleWithFreeParameters.cc (handleParameterizedSorts): don't |
| 8826 |
sorts from parameter theories |
| 8827 |
|
| 8828 |
2019-04-18 Steven Eker <[email protected]> |
| 8829 |
|
| 8830 |
* importTranslation.cc (translateTerm): added comment to explain |
| 8831 |
why skipping translation of toTerm during instantiation is a fail |
| 8832 |
|
| 8833 |
2019-04-17 Steven Eker <[email protected]> |
| 8834 |
|
| 8835 |
* importTranslation.cc (translateTerm): added comments to explain |
| 8836 |
how it works |
| 8837 |
|
| 8838 |
* syntacticView.cc (handleOpTermMappings): take responsibility |
| 8839 |
for deepSelfDestruct()ing fromTerm and toTerm if |
| 8840 |
insertOpToTermMapping() fails |
| 8841 |
|
| 8842 |
* view.cc (insertOpToTermMapping): make caller responsible for |
| 8843 |
deepSelfDestruct()ing term on error |
| 8844 |
|
| 8845 |
* syntacticView.cc (handleOpTermMappings): don't pass line numbers |
| 8846 |
to insertOpToTermMapping() |
| 8847 |
(handleOpTermMappings): propagate errors from insertOpToTermMapping() |
| 8848 |
|
| 8849 |
* view.hh (EnclosingObject): updated decl for insertOpToTermMapping() |
| 8850 |
|
| 8851 |
* view.cc (insertOpToTermMapping): use line number from term for |
| 8852 |
warning about too many arguments in lhs; improve warning message |
| 8853 |
(insertOpToTermMapping): use line number from term for warning about |
| 8854 |
non-variable arugments in lhs; improve the warning message |
| 8855 |
(insertOpToTermMapping): use line number from term for warning |
| 8856 |
about repeated use of variable in lhs; improve warning message |
| 8857 |
(insertOpToTermMapping): don't take line number arguments |
| 8858 |
|
| 8859 |
* view.hh (EnclosingObject): updated decl for indexRhsVariables() |
| 8860 |
|
| 8861 |
* view.cc (indexRhsVariables): don't take lineNr; use *term instead; |
| 8862 |
better warning message |
| 8863 |
(insertOpToTermMapping): don't pass lineNumber to indexRhsVariables() |
| 8864 |
|
| 8865 |
* view.hh (EnclosingObject): updated decl for insertOpToTermMapping() |
| 8866 |
|
| 8867 |
* view.cc (insertOpToTermMapping): don't take targetModule; don't |
| 8868 |
pass module to mapSort() |
| 8869 |
|
| 8870 |
* syntacticView.cc (handleOpTermMappings): don't pass toModule |
| 8871 |
to insertOpToTermMapping() |
| 8872 |
|
| 8873 |
* view.hh (EnclosingObject): updated decl for mapSort() |
| 8874 |
|
| 8875 |
* view.cc (mapComponent): don't take module argument |
| 8876 |
(checkOps): don't pass module argument to mapComponent() |
| 8877 |
(mapSort): don't take or pass module argument |
| 8878 |
|
| 8879 |
* view.hh (EnclosingObject): updated decl for mapComponent() |
| 8880 |
|
| 8881 |
* syntacticView.cc (handleOpTermMappings): don't pass toModule |
| 8882 |
to mapComponent() |
| 8883 |
|
| 8884 |
* view.hh (EnclosingObject): LocalParameter->ParameterDecl |
| 8885 |
|
| 8886 |
* view.cc: LocalParameter->ParameterDecl |
| 8887 |
|
| 8888 |
* view.hh (EnclosingObject): updated comments |
| 8889 |
|
| 8890 |
2019-04-16 Steven Eker <[email protected]> |
| 8891 |
|
| 8892 |
* syntacticView.cc (handleOpTermMappings): code cleaning |
| 8893 |
|
| 8894 |
* mixfixModule.hh (SharedTokens): deleted decls for |
| 8895 |
pushVariableAliases(), popVariableAliases() |
| 8896 |
(SharedTokens): deleted data member savedVariableAliases |
| 8897 |
|
| 8898 |
* mixfixModule.cc (pushVariableAliases, popVariableAliases): deleted |
| 8899 |
|
| 8900 |
* syntacticView.cc (handleVarDecls): put alias info in |
| 8901 |
fromTheoryVariableAliases and toModuleVariableAliases |
| 8902 |
(handleOpTermMappings): rewritten to use fromTheoryVariableAliases |
| 8903 |
and toModuleVariableAliases |
| 8904 |
(showView): swap variable aliases before and after printing out |
| 8905 |
op->term mappings |
| 8906 |
(handleVarDecls): clear fromTheoryVariableAliases and |
| 8907 |
toModuleVariableAliases in case we are reexamining this view |
| 8908 |
|
| 8909 |
* syntacticView.hh (View): added data members toModuleVariableAliases, |
| 8910 |
fromModuleVariableAliases |
| 8911 |
|
| 8912 |
* mixfixModule.hh (SharedTokens): added decl for swapVariableAliasMap() |
| 8913 |
|
| 8914 |
* mixfixModule.cc (swapVariableAliasMap): added |
| 8915 |
|
| 8916 |
* syntacticView.hh (View): deleted data members newFromTheory, |
| 8917 |
newToModule; deleted decls for ~SyntacticView(), regretToInform(), |
| 8918 |
finishModule() |
| 8919 |
|
| 8920 |
* syntacticView.cc (handleOpTermMappings): simplified using |
| 8921 |
pushVariableAliases()/popVariableAliases() |
| 8922 |
(SyntacticView): don't init newFromTheory, newToModule |
| 8923 |
(~SyntacticView): deleted |
| 8924 |
(regretToInform): deleted |
| 8925 |
(finishModule): deleted |
| 8926 |
(handleVarDecls): use original fromTheory/toModule rather than |
| 8927 |
newFromTheory/newToModule |
| 8928 |
|
| 8929 |
* mixfixModule.hh (SharedTokens): added data member savedVariableAliases; |
| 8930 |
added decls for pushVariableAliases(), popVariableAliases() |
| 8931 |
|
| 8932 |
* mixfixModule.cc (pushVariableAliases): added |
| 8933 |
(popVariableAliases): added |
| 8934 |
|
| 8935 |
2019-04-15 Steven Eker <[email protected]> |
| 8936 |
|
| 8937 |
* moduleExpression.cc (deepSelfDestruct): get rid of RENAMING fall thru |
| 8938 |
now that INSTANTIATION has to deepSelfDestruct() ViewExpressions |
| 8939 |
|
| 8940 |
* viewExpression.cc (deepSelfDestruct): delete self |
| 8941 |
|
| 8942 |
* interpreter.cc (handleArgument): fixed warning so they don't refer |
| 8943 |
to enclosing expressions (which is unavailable) |
| 8944 |
|
| 8945 |
2019-04-12 Steven Eker <[email protected]> |
| 8946 |
|
| 8947 |
* view.cc: struct Parameter -> struct LocalParameter throughout |
| 8948 |
file |
| 8949 |
|
| 8950 |
* view.hh (EnclosingObject): updated decl for 2nd ctor |
| 8951 |
(EnclosingObject): struct Parameter -> struct LocalParameter |
| 8952 |
|
| 8953 |
* viewCache.hh (User): updated decl for makeViewInstantiation() |
| 8954 |
|
| 8955 |
* viewCache.cc (makeViewInstantiation): use Argument* |
| 8956 |
|
| 8957 |
* view.hh (EnclosingObject): updated decls for makeInstantiation() |
| 8958 |
and instantiateBoundParameters() |
| 8959 |
|
| 8960 |
* instantiateView.cc (makeInstantiation): use Argument* |
| 8961 |
(instantiateBoundParameters): rewritten to use Argumetn* |
| 8962 |
|
| 8963 |
* view.cc (View): use Argument* |
| 8964 |
(~View): use savedArguments |
| 8965 |
|
| 8966 |
* view.hh (EnclosingObject): deleted data members savedViewArgs, |
| 8967 |
savedParameterArgs; added data member savedArguments |
| 8968 |
|
| 8969 |
* importModule.cc (deepSelfDestruct): need to check savedArguments for |
| 8970 |
views that we're no longer a user of |
| 8971 |
|
| 8972 |
* importModule.hh (EnclosingObject): updated decl for instantiateBoundParameters() |
| 8973 |
|
| 8974 |
* instantiateModuleWithBoundParameters.cc (instantiateBoundParameters): rewritten |
| 8975 |
to handle Argument* |
| 8976 |
|
| 8977 |
* importModule.hh (EnclosingObject): updated decls for makeInstantiation(), |
| 8978 |
handleInstantiationByParameter(), handleInstantiationByTheoryView(), |
| 8979 |
handleInstantiationByModuleView(), handleRegularImports() |
| 8980 |
(EnclosingObject): deleted data members savedViewArgs, savedParameterArgs; |
| 8981 |
added data member savedArguments |
| 8982 |
|
| 8983 |
* instantiateModuleWithFreeParameters.cc (makeInstantiation): don't pass |
| 8984 |
parameterArgs to handleInstantiationByParameter() |
| 8985 |
(handleInstantiationByParameter): handle Argument* |
| 8986 |
(handleInstantiationByTheoryView): handle Argument* |
| 8987 |
(handleInstantiationByModuleView): handle Argument* |
| 8988 |
(makeInstantiation): don't pass parameterArgs to handleRegularImports() |
| 8989 |
(handleRegularImports): handle Argument* |
| 8990 |
|
| 8991 |
* moduleCache.hh (User): added decl for makeModuleInstatiation() |
| 8992 |
|
| 8993 |
* moduleCache.cc (makeModuleInstatiation): added |
| 8994 |
|
| 8995 |
* interpreter.hh (ParameterDatabase): updated decl for handleArgument |
| 8996 |
|
| 8997 |
* interpreter.cc (handleArgument): rewritten to use Argument* |
| 8998 |
(makeModule): use makeModuleInstantiation |
| 8999 |
|
| 9000 |
* parameterDatabase.cc (getParameter): added |
| 9001 |
|
| 9002 |
* interpreter.cc (makeModule): use Argument* for passing arguments |
| 9003 |
rather that View* and parameter names |
| 9004 |
|
| 9005 |
* interpreter.hh: inherit from ParameterDatabase |
| 9006 |
|
| 9007 |
* mixfix.hh: added class ParameterDatabase |
| 9008 |
|
| 9009 |
* parameterDatabase.cc: created |
| 9010 |
|
| 9011 |
* parameterDatabase.hh: created |
| 9012 |
|
| 9013 |
* interpreter.cc (makeModule): arguments -> argumentExpressions |
| 9014 |
(handleArgument): arguments -> argumentExpressions |
| 9015 |
|
| 9016 |
* enclosingObject.hh (E): make hasBoundParameters() public |
| 9017 |
|
| 9018 |
* importModule.hh (hasBoundParameters): deleted |
| 9019 |
|
| 9020 |
* renameModule.cc (makeRenamedCopy): use copyBoundParameters() |
| 9021 |
|
| 9022 |
* enclosingObject.hh (copyBoundParameters): added |
| 9023 |
|
| 9024 |
* importModule.hh (hasBoundParameters): use |
| 9025 |
EnclosingObject::hasBoundParameters() |
| 9026 |
|
| 9027 |
* view.hh (hasBoundParameters): deleted |
| 9028 |
|
| 9029 |
* enclosingObject.hh (hasBoundParameters): added |
| 9030 |
|
| 9031 |
* instantiateView.cc (makeInstantiation): call addBoundParameter() (2 places) |
| 9032 |
|
| 9033 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByParameter): |
| 9034 |
call addBoundParameter() |
| 9035 |
(handleInstantiationByModuleView): call addBoundParameter() |
| 9036 |
|
| 9037 |
* enclosingObject.hh (E): added data member boundParameters |
| 9038 |
(addBoundParameter): added |
| 9039 |
|
| 9040 |
* view.cc (View): pass name to Argument ctor rather than |
| 9041 |
NamedEntity ctor |
| 9042 |
|
| 9043 |
* view.hh (EnclosingObject): derive from Argument rather |
| 9044 |
than NamedEntity |
| 9045 |
|
| 9046 |
* mixfix.hh: added class Argument and class Parameter |
| 9047 |
|
| 9048 |
* argument.hh: created |
| 9049 |
|
| 9050 |
* parameter.hh: created |
| 9051 |
|
| 9052 |
2019-04-10 Steven Eker <[email protected]> |
| 9053 |
|
| 9054 |
* instantiateView.cc (makeInstantiation): use DebugEnter() and |
| 9055 |
DebugExit() |
| 9056 |
(instantiateBoundParameters): use DebugEnter() and DebugExit() |
| 9057 |
(makeInstantiation): use DebugInfo() |
| 9058 |
|
| 9059 |
2019-04-09 Steven Eker <[email protected]> |
| 9060 |
|
| 9061 |
* instantiateView.cc (makeInstantiation): handle general |
| 9062 |
and specific op->op mappings |
| 9063 |
(instantiateBoundParameters): remove FIXME because we are handling |
| 9064 |
the case where the are bound parameters in a savedViewArgument |
| 9065 |
|
| 9066 |
* renaming.hh (SyntaxContainer): added decl for |
| 9067 |
addOpMappingSimpleCopy() |
| 9068 |
|
| 9069 |
* renaming.cc (addOpMappingSimpleCopy): added |
| 9070 |
|
| 9071 |
* instantiateView.cc (makeInstantiation): handle the dubious |
| 9072 |
case where the toModule has no parameters |
| 9073 |
|
| 9074 |
* view.hh (setCleanName): deleted |
| 9075 |
(EnclosingObject): updated decls for ctor and |
| 9076 |
makeInstantiation() |
| 9077 |
|
| 9078 |
* view.cc (View): take and set cleanName |
| 9079 |
|
| 9080 |
* instantiateView.cc (makeInstantiation): take cleanName |
| 9081 |
argument and pass it to View ctor |
| 9082 |
|
| 9083 |
* viewCache.cc (makeViewInstantiation): pass cleanName to |
| 9084 |
makeInstantiation rather than using setCleanName() |
| 9085 |
|
| 9086 |
* view.hh (EnclosingObject): updated decl for instantiation |
| 9087 |
version of ctor |
| 9088 |
|
| 9089 |
* instantiateView.cc (makeInstantiation): pass viewArgs to ctor |
| 9090 |
(makeInstantiation): don't add copy as a user since this |
| 9091 |
is already done in the ctor for view instantiations |
| 9092 |
|
| 9093 |
* view.cc (View): (instantiation version) take and save view |
| 9094 |
arguments; add ourselves as a user of each such argument |
| 9095 |
(~View): remove ourselves as a user of each view argument |
| 9096 |
|
| 9097 |
* view.hh (EnclosingObject): updated comments |
| 9098 |
|
| 9099 |
2019-04-08 Steven Eker <[email protected]> |
| 9100 |
|
| 9101 |
* instantiateView.cc (makeInstantiation): get nrBoundParameters |
| 9102 |
from argumentView rather than toModule to handle the case |
| 9103 |
where not all of the parameters appear in toModule |
| 9104 |
|
| 9105 |
* view.hh (EnclosingObject): make baseView const so it can |
| 9106 |
only be set in the ctor |
| 9107 |
|
| 9108 |
* instantiateView.cc (makeInstantiation): updated comment |
| 9109 |
(makeInstantiation): clean up instantiation by parameter from |
| 9110 |
an enclosing object case |
| 9111 |
(makeInstantiation): don't set pointer to baseView in bound |
| 9112 |
argument case since this is already done in the View() ctor |
| 9113 |
that is used for instantiations |
| 9114 |
|
| 9115 |
2019-04-05 Steven Eker <[email protected]> |
| 9116 |
|
| 9117 |
* view.cc (regretToInform): call informUsers() if we become |
| 9118 |
stale to catch an edge case |
| 9119 |
(evaluate): issue an advisory for view parameters that are |
| 9120 |
not bound in the target module |
| 9121 |
|
| 9122 |
* interpreter.cc (handleArgument): check for free parameters |
| 9123 |
in view argument |
| 9124 |
|
| 9125 |
* view.hh (hasBoundParameters, hasFreeParameters): added |
| 9126 |
|
| 9127 |
* interpreter.cc (makeModule): check for free parameters in |
| 9128 |
view argument |
| 9129 |
|
| 9130 |
2019-04-03 Steven Eker <[email protected]> |
| 9131 |
|
| 9132 |
* interpreter.cc (handleArgument): warning should refer to view |
| 9133 |
instantiation rather than module instantiation (2 places) |
| 9134 |
(handleArgument): more detailed warning |
| 9135 |
(makeModule): allow renaming of modules with bound parameters |
| 9136 |
but issue an advisory |
| 9137 |
|
| 9138 |
2019-04-02 Steven Eker <[email protected]> |
| 9139 |
|
| 9140 |
* view.cc (View): add self as user of baseView |
| 9141 |
(~View): remove self as user of baseView |
| 9142 |
(View): add our interpreters viewCache as a user |
| 9143 |
|
| 9144 |
* view.hh (EnclosingObject): added decl for new ctor |
| 9145 |
|
| 9146 |
* view.cc (View): added version of instantiations |
| 9147 |
|
| 9148 |
2019-03-29 Steven Eker <[email protected]> |
| 9149 |
|
| 9150 |
* instantiateView.cc (makeInstantiation): use hasFreeParameters() |
| 9151 |
|
| 9152 |
* instantiateModuleWithFreeParameters.cc (handleRegularImports): use |
| 9153 |
hasFreeParameters() |
| 9154 |
|
| 9155 |
* view.cc (evaluate): use hasFreeParameters() |
| 9156 |
|
| 9157 |
* preModule.cc (processExplicitImports): use hasFreeParameters() |
| 9158 |
|
| 9159 |
* importModule.hh (parametersBound): deleted |
| 9160 |
(hasFreeParameters): added |
| 9161 |
|
| 9162 |
* interpreter.cc (makeModule): use hadBoundParameters(); remove |
| 9163 |
NEED TO FIX comment |
| 9164 |
|
| 9165 |
* preModule.cc (processExplicitImports): use hasBoundParameters() |
| 9166 |
|
| 9167 |
* instantiateView.cc (makeInstantiation): use hasBoundParameters() |
| 9168 |
|
| 9169 |
* view.cc (evaluate): use hasBoundParameters() |
| 9170 |
|
| 9171 |
* instantiateModuleWithBoundParameters.cc (instantiateBoundParameters): use |
| 9172 |
hasBoundParameters() |
| 9173 |
|
| 9174 |
* instantiateModuleWithFreeParameters.cc (makeInstantiation): use |
| 9175 |
hasBoundParameters() |
| 9176 |
(handleRegularImports): use hasBoundParameters() (2 places) |
| 9177 |
|
| 9178 |
* importModule.hh (hasBoundParameters): added |
| 9179 |
(EnclosingObject): deleted commented out ParameterMap, ParameterSet |
| 9180 |
|
| 9181 |
* view.cc (addParameter): call addUser() to add self to theories |
| 9182 |
users |
| 9183 |
(View): init fromExpr, toExpr |
| 9184 |
(~View): check for non-null before deepSelfDestruct()ing module |
| 9185 |
expressions |
| 9186 |
|
| 9187 |
* importModule.cc (deepSelfDestruct): viewArgs -> savedViewArgs |
| 9188 |
|
| 9189 |
* instantiateModuleWithFreeParameters.cc (makeInstantiation): paramArgs -> |
| 9190 |
savedParameterArgs |
| 9191 |
(makeInstantiation): viewArgs -> savedViewArgs |
| 9192 |
|
| 9193 |
* instantiateModuleWithBoundParameters.cc (instantiateBoundParameters): viewArgs |
| 9194 |
-> savedViewArgs |
| 9195 |
(instantiateBoundParameters): paramArgs -> savedParameterArgs |
| 9196 |
|
| 9197 |
* importModule.hh (EnclosingObject): viewArgs -> savedViewArgs; paramArgs -> |
| 9198 |
savedParameterArgs |
| 9199 |
(parametersBound): paramArgs -> savedParameterArgs |
| 9200 |
(parametersBound): viewArgs -> savedViewArgs |
| 9201 |
|
| 9202 |
2019-03-28 Steven Eker <[email protected]> |
| 9203 |
|
| 9204 |
* importModule.hh (parametersBound): moved here; make OK to call on |
| 9205 |
all modules, even ones without parameters |
| 9206 |
|
| 9207 |
* interpreter.cc (makeModule): don't allow renaming of modules with bound |
| 9208 |
parameters |
| 9209 |
|
| 9210 |
2019-03-27 Steven Eker <[email protected]> |
| 9211 |
|
| 9212 |
* instantiateView.cc (makeInstantiation): use boundParameter flag |
| 9213 |
to insure we keep baseView, savedViewArgs, savedParameterArgs, |
| 9214 |
even if bound parameters come from our arguments |
| 9215 |
|
| 9216 |
* view.hh (EnclosingObject): added comments |
| 9217 |
|
| 9218 |
2019-03-26 Steven Eker <[email protected]> |
| 9219 |
|
| 9220 |
* instantiateView.cc (makeInstantiation): use cleanName() for view |
| 9221 |
arguments; first attempt at handling arguments that are view instantiations |
| 9222 |
with bound parameters |
| 9223 |
|
| 9224 |
* syntacticView.cc (addParameter2): changed advisory message |
| 9225 |
|
| 9226 |
* instantiateView.cc (instantiateBoundParameters): moved here |
| 9227 |
(makeInstantiation): moved here |
| 9228 |
|
| 9229 |
2019-03-25 Steven Eker <[email protected]> |
| 9230 |
|
| 9231 |
* importModule.cc (importSorts): fix longstanding bug where we didn't set |
| 9232 |
nrSortsFromParameters unless we had at least one regular importation of |
| 9233 |
a module |
| 9234 |
(importOps): fix symmetric bugs with nrSymbolsFromParameters and |
| 9235 |
nrPolymorphsFromParameters |
| 9236 |
|
| 9237 |
* renameModule.cc (makeRenamedCopy): added comment; deleted commented out |
| 9238 |
Assert() because we do allow the renaming of modules with bound parameters |
| 9239 |
|
| 9240 |
* renaming.cc (makeCanonicalVersion): added DebugAdvisory()s |
| 9241 |
|
| 9242 |
* renameModule.cc (localSort2): turn Assert() into a DebugAdvisoryCheck() |
| 9243 |
(localSort2): reverted |
| 9244 |
|
| 9245 |
2019-03-22 Steven Eker <[email protected]> |
| 9246 |
|
| 9247 |
* instantiateModuleWithFreeParameters.cc (makeInstantiation): pass moduleCache |
| 9248 |
to handleInstantiationByModuleView() |
| 9249 |
|
| 9250 |
* importModule.hh (EnclosingObject): updated decl for handleInstantiationByModuleView() |
| 9251 |
|
| 9252 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByModuleView): take |
| 9253 |
moduleCache argument |
| 9254 |
|
| 9255 |
* importModule.cc (getParameterTheory): moved here because it is virtual in |
| 9256 |
base class EnclosingObject |
| 9257 |
|
| 9258 |
* importModule.hh (EnclosingObject): added more explanation of how parameter theories |
| 9259 |
are stored |
| 9260 |
|
| 9261 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByParameter): toModule -> |
| 9262 |
baseParameterTheory |
| 9263 |
|
| 9264 |
* importModule.hh (getParameterTheory): added comment to explain why |
| 9265 |
it works the way it does |
| 9266 |
|
| 9267 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByParameter): added |
| 9268 |
DebugAdvisory() to check change in parameter theory name |
| 9269 |
|
| 9270 |
* moduleCache.cc (showCreatedModules): call dumpImports() |
| 9271 |
|
| 9272 |
* importModule.cc (dumpImports): added |
| 9273 |
|
| 9274 |
* importModule.hh (EnclosingObject): added decl for dumpImports() |
| 9275 |
|
| 9276 |
* moduleCache.cc (showCreatedModules): dump sorts if we are in debug mode |
| 9277 |
|
| 9278 |
2019-03-21 Steven Eker <[email protected]> |
| 9279 |
|
| 9280 |
* instantiateModuleWithBoundParameters.cc (instantiateBoundParameters): views -> |
| 9281 |
viewArgumentsForView, names -> parameterArgumentsForView |
| 9282 |
(instantiateBoundParameters): added and rewrote many comments |
| 9283 |
|
| 9284 |
* importModule.hh (EnclosingObject): update decl for instantiateBoundParameters() |
| 9285 |
|
| 9286 |
* instantiateModuleWithBoundParameters.cc (instantiateBoundParameters): arguments -> |
| 9287 |
viewArguments |
| 9288 |
(instantiateBoundParameters): parameterArgs -> parameterArguments |
| 9289 |
|
| 9290 |
2019-03-20 Steven Eker <[email protected]> |
| 9291 |
|
| 9292 |
* parameterization.cc (makeParameterCopy): added DebugAdvisory()s |
| 9293 |
|
| 9294 |
* instantiateModuleWithFreeParameters.cc (makeInstantiation): added DebugAdvisory() |
| 9295 |
|
| 9296 |
* instantiateModuleWithBoundParameters.cc (instantiateBoundParameters): added |
| 9297 |
DebugAdvisory()s |
| 9298 |
|
| 9299 |
2019-03-14 Steven Eker <[email protected]> |
| 9300 |
|
| 9301 |
* view.cc (View): initialize cleanName rather than cacheName |
| 9302 |
|
| 9303 |
* viewCache.cc (makeViewInstantiation): cacheName -> name, name -> cleanName |
| 9304 |
|
| 9305 |
* importModule.hh (EnclosingObject): deleted commented out decl for |
| 9306 |
instantiateSortName() |
| 9307 |
|
| 9308 |
* view.hh (setCacheName): becomes setCleanName() |
| 9309 |
(getCacheName): becomes getCleanName() |
| 9310 |
|
| 9311 |
* instantiateModuleWithBoundParameters.cc (instantiateBoundParameters): use |
| 9312 |
getCleanName() for the view name |
| 9313 |
|
| 9314 |
* moduleCache.cc (makeInstatiation): use id() rather than getCacheName() |
| 9315 |
|
| 9316 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByTheoryView): use |
| 9317 |
getCleanName() for the view name |
| 9318 |
(handleInstantiationByModuleView): use getCleanName() for the view name |
| 9319 |
|
| 9320 |
* viewCache.cc (makeViewInstantiation): don't put spaces in trueNames |
| 9321 |
|
| 9322 |
2019-03-13 Steven Eker <[email protected]> |
| 9323 |
|
| 9324 |
* moduleCache.cc (makeInstatiation): use cacheName for views as |
| 9325 |
arguments in new module name |
| 9326 |
|
| 9327 |
2019-03-12 Steven Eker <[email protected]> |
| 9328 |
|
| 9329 |
* view.cc (makeInstantiation): save arguments for views with bound |
| 9330 |
parameters |
| 9331 |
(instantiateBoundParameters): handle the case where the baseView |
| 9332 |
had a parameter that was bound to a view that had a bound parameter |
| 9333 |
|
| 9334 |
* view.hh (EnclosingObject): added decl for instantiateBoundParameters() |
| 9335 |
(EnclosingObject): added data members savedViewArgs, savedParameterArgs |
| 9336 |
|
| 9337 |
* instantiateModuleWithBoundParameters.cc (instantiateBoundParameters): handle |
| 9338 |
views with bound parameters found in instantiation of baseModule |
| 9339 |
|
| 9340 |
* view.cc (View): initialize baseView and cacheName |
| 9341 |
(makeInstantiation): set baseView if we create a bound parameter |
| 9342 |
|
| 9343 |
* viewCache.cc (makeViewInstatiation): handle cacheNames |
| 9344 |
(showCreatedViews): display cacheNames |
| 9345 |
|
| 9346 |
* view.hh (EnclosingObject): added data member cacheName |
| 9347 |
(setCacheName): added |
| 9348 |
(getCacheName): added |
| 9349 |
|
| 9350 |
2019-03-11 Steven Eker <[email protected]> |
| 9351 |
|
| 9352 |
* importModule.hh (EnclosingObject): updated decl for |
| 9353 |
handleInstantiationByModuleView() |
| 9354 |
|
| 9355 |
* instantiateModuleWithFreeParameters.cc (handleInstantiationByModuleView): check |
| 9356 |
module view to see if it has bound parameters that need be become bound |
| 9357 |
parameters in the module instantiation |
| 9358 |
(makeInstantiation): handle case where parameters are bound by |
| 9359 |
module-view |
| 9360 |
(handleInstantiationByModuleView): return bound parameters flag |
| 9361 |
|
| 9362 |
* view.cc (makeInstantiation): handle binding of a free parameter |
| 9363 |
by a PEM |
| 9364 |
(makeInstantiation): add bound parameter to copy |
| 9365 |
|
| 9366 |
* importModule.hh (EnclosingObject): deleted decl for |
| 9367 |
mapSortFromBaseModule() |
| 9368 |
|
| 9369 |
* importModule.cc (mapSortFromBaseModule): deleted |
| 9370 |
|
| 9371 |
* view.hh (EnclosingObject): deleted decl for instantiateSortName() |
| 9372 |
|
| 9373 |
* view.cc (makeInstantiation): use instantiateSortName() |
| 9374 |
rather than mapSortFromBaseModule() |
| 9375 |
(instantiateSortName): deleted |
| 9376 |
|
| 9377 |
2019-03-08 Steven Eker <[email protected]> |
| 9378 |
|
| 9379 |
* viewDatabase.hh (V): updated decl for showNamedViews() |
| 9380 |
|
| 9381 |
* viewDatabase.cc (showNamedViews): take ostream& argument |
| 9382 |
|
| 9383 |
* commands.yy (command): call showViews() |
| 9384 |
|
| 9385 |
* interpreter.hh (ViewCache): added decl for showViews() |
| 9386 |
|
| 9387 |
* interpreter.cc (showViews): added |
| 9388 |
|
| 9389 |
2019-03-06 Steven Eker <[email protected]> |
| 9390 |
|
| 9391 |
* instantiateModuleWithFreeParameters.cc (handleParameterizedSorts): moved |
| 9392 |
here |
| 9393 |
|
| 9394 |
* instantiateModuleWithBoundParameters.cc (instantiateBoundParameters) |
| 9395 |
(instantiateRenaming): moved here |
| 9396 |
|
| 9397 |
* instantiateModuleWithFreeParameters.cc (makeInstantiation) |
| 9398 |
(handleInstantiationByParameter) |
| 9399 |
(handleInstantiationByTheoryView) |
| 9400 |
(handleInstantiationByModuleView, translateComponent) |
| 9401 |
(addOpMappingsFromView, handleRegularImports): moved here |
| 9402 |
|
| 9403 |
* parameterization.cc (handleParameterizedSorts): rewritten using |
| 9404 |
instantiateSortName() |
| 9405 |
|
| 9406 |
* enclosingObject.cc (instantiateSortName): reimplemented and |
| 9407 |
moved here |
| 9408 |
|
| 9409 |
* enclosingObject.hh (E): added decl for instantiateSortName() |
| 9410 |
(E): moved typedefs for ParameterMap and ParameterSet here |
| 9411 |
|
| 9412 |
2019-03-05 Steven Eker <[email protected]> |
| 9413 |
|
| 9414 |
* view.cc (makeInstantiation): handle parameters caused |
| 9415 |
by instantiation by theory-views |
| 9416 |
|
| 9417 |
* view.hh (EnclosingObject): added decl for ImportModule* |
| 9418 |
version of addParameter() |
| 9419 |
|
| 9420 |
* view.cc (makeInstantiation): use mapSortFromBaseModule() |
| 9421 |
(addParameter): added ImportModule* version |
| 9422 |
|
| 9423 |
* importModule.cc (mapSortFromBaseModule): added |
| 9424 |
|
| 9425 |
* importModule.hh (EnclosingObject): added decl for |
| 9426 |
mapSortFromBaseModule() |
| 9427 |
|
| 9428 |
2019-03-04 Steven Eker <[email protected]> |
| 9429 |
|
| 9430 |
* parameterization.cc (handleInstantiationByParameter): added |
| 9431 |
comments to explain sort mapping |
| 9432 |
(handleInstantiationByTheoryView): added comments to |
| 9433 |
explain sort mapping |
| 9434 |
(handleParameterizedSorts): added comments to explain how |
| 9435 |
sort mapping works |
| 9436 |
|
| 9437 |
2019-03-01 Steven Eker <[email protected]> |
| 9438 |
|
| 9439 |
* view.cc (handleOpTermMappings): added |
| 9440 |
(instantiateSortName): added |
| 9441 |
|
| 9442 |
* view.hh (EnclosingObject): added decl for makeInstantiation() |
| 9443 |
|
| 9444 |
* viewCache.cc (makeViewInstantiation): implemented |
| 9445 |
|
| 9446 |
* view.cc (makeInstantiation): added |
| 9447 |
|
| 9448 |
* importModule.hh (EnclosingObject): made |
| 9449 |
instantiateBoundParameters() public |
| 9450 |
|
| 9451 |
* interpreter.hh (ViewCache): added decl for handleArgument() |
| 9452 |
|
| 9453 |
* interpreter.cc (handleArgument): added |
| 9454 |
(makeModule): use handleArgument() |
| 9455 |
|
| 9456 |
2019-02-28 Steven Eker <[email protected]> |
| 9457 |
|
| 9458 |
* view.cc (findParameterIndex, getParameterTheory) |
| 9459 |
(getObjectType, getObjectName): added |
| 9460 |
(evaluate): check for bound parameters in toModule |
| 9461 |
(regretToInform): handle calls from parameter theories and |
| 9462 |
clean out parameter theories |
| 9463 |
|
| 9464 |
* view.hh: derive from EnclosingObject |
| 9465 |
(EnclosingObject): added decls for findParameterIndex(), |
| 9466 |
getParameterTheory(), getObjectType(), getObjectName() |
| 9467 |
|
| 9468 |
* view.cc (evaluate): pass ourself as an EnclosingObject to |
| 9469 |
makeModule() for fromTheory and toModule |
| 9470 |
|
| 9471 |
* importModule.hh (EnclosingObject): added decls for |
| 9472 |
getObjectType(), getObjectName() |
| 9473 |
|
| 9474 |
* importModule.cc (getObjectType, getObjectName): added |
| 9475 |
|
| 9476 |
* interpreter.hh (ViewCache): updated decl for makeModule() |
| 9477 |
|
| 9478 |
* interpreter.cc (makeModule): use EnclosingObject throughout |
| 9479 |
|
| 9480 |
* mixfix.hh: added class EnclosingObject |
| 9481 |
|
| 9482 |
* importModule.hh (EnclosingObject): derive from EnclosingObject |
| 9483 |
|
| 9484 |
* enclosingObject.hh: created |
| 9485 |
|
| 9486 |
* view.cc (~View): remove self from users of our parameters; |
| 9487 |
deepSelfDestruct() parameter module expressions |
| 9488 |
(evaluate): evalutate parameter theories |
| 9489 |
|
| 9490 |
2019-02-26 Steven Eker <[email protected]> |
| 9491 |
|
| 9492 |
* syntacticView.cc (showView): handle parameters |
| 9493 |
|
| 9494 |
* view.hh (getNrParameters, getParameterName) |
| 9495 |
(getParameterTheoryExpression): added |
| 9496 |
|
| 9497 |
* syntacticView.cc (addParameter2): call addParameter() |
| 9498 |
|
| 9499 |
2019-02-25 Steven Eker <[email protected]> |
| 9500 |
|
| 9501 |
* interpreter.hh (ViewCache): derive from ViewCache |
| 9502 |
|
| 9503 |
* mixfix.hh: added class ViewCache |
| 9504 |
|
| 9505 |
* viewCache.cc: created |
| 9506 |
|
| 9507 |
2019-02-22 Steven Eker <[email protected]> |
| 9508 |
|
| 9509 |
* viewCache.hh: created |
| 9510 |
|
| 9511 |
2019-02-21 Steven Eker <[email protected]> |
| 9512 |
|
| 9513 |
* view.hh (Renaming): added decl for addParameter() |
| 9514 |
|
| 9515 |
* view.cc (addParameter): added |
| 9516 |
|
| 9517 |
* view.hh (Renaming): added data member parameters |
| 9518 |
(Renaming): added struct Parameter |
| 9519 |
|
| 9520 |
2019-02-13 Steven Eker <[email protected]> |
| 9521 |
|
| 9522 |
* bottom.yy: added deepSelfDestructViewExpressionVector() |
| 9523 |
|
| 9524 |
* top.yy: added destructor decls for <yyViewExpression>, |
| 9525 |
<yyViewExpressionVector> |
| 9526 |
adde decl for deepSelfDestructViewExpressionVector() |
| 9527 |
|
| 9528 |
* interpreter.cc (makeModule): added check for view instantiation |
| 9529 |
|
| 9530 |
* moduleExpression.cc (deepSelfDestruct): deepSelfDestruct() |
| 9531 |
view expressions |
| 9532 |
|
| 9533 |
* interpreter.cc (makeModule): deal with ViewExpression* |
| 9534 |
|
| 9535 |
* moduleExpression.cc (<<): handle instantiation arguments |
| 9536 |
of type Vector<ViewExpression*> |
| 9537 |
|
| 9538 |
* moduleExpression.hh (getArguments): now return |
| 9539 |
const Vector<ViewExpression*>& |
| 9540 |
|
| 9541 |
2019-02-13 Steven Eker <[email protected]> |
| 9542 |
|
| 9543 |
* moduleExpression.hh (M): data member arguments becomes |
| 9544 |
Vector<ViewExpression*> |
| 9545 |
|
| 9546 |
* moduleExpression.cc (ModuleExpression): now take |
| 9547 |
Vector<ViewExpression*>& |
| 9548 |
|
| 9549 |
* moduleExpression.hh (M): updated decl for instantiation ctor |
| 9550 |
|
| 9551 |
* modules.yy (viewExpr, instantArgs): added |
| 9552 |
(argList): deleted |
| 9553 |
(instantExpr): use instantArgs |
| 9554 |
|
| 9555 |
* top.yy: added yyViewExpression to union |
| 9556 |
added types for viewExpr, instantArgs |
| 9557 |
|
| 9558 |
2019-02-12 Steven Eker <[email protected]> |
| 9559 |
|
| 9560 |
* top.yy: deleted stack<ModuleExpression*> moduleExpressions |
| 9561 |
|
| 9562 |
* bottom.yy: (cleanUpModuleExpression): don't handle |
| 9563 |
moduleExpressions here - just currentRenaming |
| 9564 |
|
| 9565 |
* modules.yy (view): use new moduleExpr return value |
| 9566 |
(parameter): use new moduleExpr return value |
| 9567 |
(declaration): use moduleExprDot return value |
| 9568 |
|
| 9569 |
* top.yy: define return type for changed nonterminals |
| 9570 |
|
| 9571 |
* modules.yy (moduleExprDot): use parser stack for passsing |
| 9572 |
ModuleExpression* |
| 9573 |
(parenExpr, instantExpr, renameExpr, moduleExpr): symmetric |
| 9574 |
changes |
| 9575 |
|
| 9576 |
* top.yy: added comment to explain the existence of |
| 9577 |
stack<ModuleExpression*> moduleExpressions |
| 9578 |
deleted a number of commented out declarations |
| 9579 |
added yyModuleExpression to %union |
| 9580 |
|
| 9581 |
* mixfix.hh: added class ViewExpression |
| 9582 |
|
| 9583 |
2019-02-11 Steven Eker <[email protected]> |
| 9584 |
|
| 9585 |
* viewExpression.cc: created |
| 9586 |
|
| 9587 |
* viewExpression.hh: created |
| 9588 |
|
| 9589 |
2019-02-05 Steven Eker <[email protected]> |
| 9590 |
|
| 9591 |
* cvc4_Bindings.cc (dagToCVC4): Kind::IFF -> Kind::EQUAL to compile |
| 9592 |
with latest version of CVC4 |
| 9593 |
(dagToCVC4): remove special casing for BOOLEAN EQUAL |
| 9594 |
|
| 9595 |
===================================Maude121=========================================== |
| 9596 |
|
| 9597 |
2018-12-20 Rubén Rubio <[email protected]> |
| 9598 |
|
| 9599 |
* commands.yy: added dsrewrite production |
| 9600 |
|
| 9601 |
* doParse.cc (parseStrategyExpr2): added |
| 9602 |
|
| 9603 |
* interpreter.hh (sRewrite, doStrategicSearch): added parameter |
| 9604 |
(dsRewriteCont): added |
| 9605 |
|
| 9606 |
* lexer.ll: added dsrew/dsrewrite lexemes |
| 9607 |
|
| 9608 |
* maudemlBuffer.cc (generateSRewrite): added parameter srew/dsrew |
| 9609 |
|
| 9610 |
* maudemlBuffer.cc (generateSRewrite): added parameter srew/dsrew |
| 9611 |
|
| 9612 |
* mixfixModule.hh (parseStrategyExpr2): added |
| 9613 |
(bufferPrint, prettyPrint): added overloads for strategy expressions, |
| 9614 |
condition fragments, and vector of these |
| 9615 |
|
| 9616 |
* prettyPrint.cc (printStrategyTerm): replaced RawArgumentIterator by |
| 9617 |
ArgumentIterator |
| 9618 |
|
| 9619 |
* srewrite.cc (sRewrite, doStrategicSearch): added parameter srew/dsrew |
| 9620 |
(dsRewriteCont): added |
| 9621 |
|
| 9622 |
* syntacticView.cc (handleTermAndExprMappings): solved memory leak |
| 9623 |
|
| 9624 |
* top.yy: added KW_DSREWRITE token |
| 9625 |
|
| 9626 |
* view.cc (~View): call to clearStratExprMap |
| 9627 |
(clearStratExprMap): added |
| 9628 |
|
| 9629 |
* view.hh (clearStratExprMap): added |
| 9630 |
|
| 9631 |
2018-11-21 Steven Eker <[email protected]> |
| 9632 |
|
| 9633 |
* modules.yy (parameter): use currentSyntaxContainer->addParameter2() |
| 9634 |
(view): added syntax for parameterized views |
| 9635 |
|
| 9636 |
* renaming.hh (SyntaxContainer): added decl for addParameter2() |
| 9637 |
|
| 9638 |
* renaming.cc (addParameter2): added |
| 9639 |
|
| 9640 |
* syntacticView.hh (View): added decl for addParameter2() |
| 9641 |
|
| 9642 |
* syntacticView.cc (addParameter2): added |
| 9643 |
|
| 9644 |
* syntacticPreModule.hh (SharedTokens): added decl for addParameter2() |
| 9645 |
|
| 9646 |
* syntacticPreModule.cc (addParameter2): added |
| 9647 |
|
| 9648 |
* syntaxContainer.hh (S): added decl for addParameter2() |
| 9649 |
|
| 9650 |
===================================Maude120=========================================== |
| 9651 |
|
| 9652 |
2018-10-09 Steven Eker <[email protected]> |
| 9653 |
|
| 9654 |
* userLevelRewritingContext.cc (tracePreRuleRewrite): add |
| 9655 |
handling for dummy rewrites |
| 9656 |
|
| 9657 |
2018-09-28 Steven Eker <[email protected]> |
| 9658 |
|
| 9659 |
* getVariants.cc (doGetVariants): pass variableFamily argument |
| 9660 |
to getNextVariant() |
| 9661 |
(doGetVariants): change unused arguments to getNextVariant() |
| 9662 |
into dummies to indicate we don't use these values |
| 9663 |
|
| 9664 |
2018-09-25 Steven Eker <[email protected]> |
| 9665 |
|
| 9666 |
* importModule.hh (User): added comment to explain why |
| 9667 |
protectCount exists |
| 9668 |
|
| 9669 |
* importModule.cc (unprotect): add Assert() for decrementing |
| 9670 |
non-positive protectCount |
| 9671 |
|
| 9672 |
2018-09-19 Steven Eker <[email protected]> |
| 9673 |
|
| 9674 |
* freshVariableSource.hh (FreshVariableGenerator): updated |
| 9675 |
decl for variableNameConflict() |
| 9676 |
|
| 9677 |
* freshVariableSource.cc (variableNameConflict): take |
| 9678 |
okFamily argument and don't report conflicts for |
| 9679 |
variables from this family |
| 9680 |
|
| 9681 |
2018-09-18 Steven Eker <[email protected]> |
| 9682 |
|
| 9683 |
* freshVariableSource.cc (getFamily): don't need to |
| 9684 |
call Token::unflaggedCode() since single characters |
| 9685 |
will not be variable names and therefore cannot be |
| 9686 |
flagged |
| 9687 |
|
| 9688 |
2018-09-17 Rubén Rubio <[email protected]> |
| 9689 |
|
| 9690 |
* metaSrewrite.cc (metaSRewrite): calling check properly |
| 9691 |
|
| 9692 |
* importModule.hh: replaced GlobalSubstitution by a vector of terms |
| 9693 |
|
| 9694 |
* importTranslation.cc (translateExpr): changed getStratVar by |
| 9695 |
getStratVarIndices |
| 9696 |
|
| 9697 |
* parameterization.cc (addStratMappingFromView): changed |
| 9698 |
addStratMappingVars by addStratMappingVarIndices |
| 9699 |
|
| 9700 |
* renaming.cc (addStratMappingVarIndices): renamed from |
| 9701 |
addStratMappingVars |
| 9702 |
|
| 9703 |
* renaming.hh: attribute vars replaced by varsMap, a vector of indices |
| 9704 |
(getStratVarIndices): renamed from getStratVars |
| 9705 |
(addStratMappingVarIndices): renamed from addStratMappingVars |
| 9706 |
|
| 9707 |
* srewrite.cc (sRewrite): abort if check fails on the strategy |
| 9708 |
|
| 9709 |
* strategyTranslation.cc (instantiateExpression, instantiateCall): use |
| 9710 |
variable indices instead of variable terms |
| 9711 |
(instantiateCondition): use variable indices instead of terms |
| 9712 |
(instantiateTerm): removed |
| 9713 |
(TermCompare): removed |
| 9714 |
|
| 9715 |
* syntacticView.cc (handleTermAndExprMappings): solved a bug caused by |
| 9716 |
a wrong literal index in an array access |
| 9717 |
|
| 9718 |
* view.cc (getStratMapVarIndices): renamed from getStratMapVars |
| 9719 |
(insertStratToExprMapping): added a call to check on the strategy and |
| 9720 |
creation of the context shape |
| 9721 |
|
| 9722 |
* view.hh (StratExprInfo): changed vars by contextShape |
| 9723 |
(getStratMapVarIndices): renamed from getStratMapVars |
| 9724 |
|
| 9725 |
2018-09-14 Rubén Rubio <[email protected]> |
| 9726 |
|
| 9727 |
* maudemlBuffer.cc (generateSRewrite): added |
| 9728 |
(branchAction): added |
| 9729 |
(generate): added for StrategyExpression |
| 9730 |
|
| 9731 |
* maudemlBuffer.hh (generateSRewrite, generate): added for |
| 9732 |
StrategyExpression |
| 9733 |
|
| 9734 |
* srewrite.cc (doStrategicSearch, sRewriteCont): add XML output |
| 9735 |
generation |
| 9736 |
|
| 9737 |
2018-09-13 Steven Eker <[email protected]> |
| 9738 |
|
| 9739 |
* top.yy (directive): added KW_SLOAD; implmented sload |
| 9740 |
|
| 9741 |
* lexer.ll: added sload |
| 9742 |
|
| 9743 |
* lexerAux.cc (includeFile): pass const string& rhat than char* to |
| 9744 |
DirectoryMangager::pushd() |
| 9745 |
(includeFile): call visitFile() |
| 9746 |
|
| 9747 |
* global.cc (findFile): use directoryManager.getCwd() rather than |
| 9748 |
"." so we always have an absolute directory path |
| 9749 |
|
| 9750 |
2018-09-12 Steven Eker <[email protected]> |
| 9751 |
|
| 9752 |
* lexerAux.cc (MAX_IN_DEPTH): changed to 100 |
| 9753 |
|
| 9754 |
===================================Maude119=========================================== |
| 9755 |
|
| 9756 |
2018-08-18 Rubén Rubio <[email protected]> |
| 9757 |
|
| 9758 |
* userLevelRewritingContext.cc (traceStrategyCall): show strategy name |
| 9759 |
and subject term only if trace whole is on |
| 9760 |
|
| 9761 |
2018-07-27 Steven Eker <[email protected]> |
| 9762 |
|
| 9763 |
* interact.cc (where): save, clear and restore ctrlC_Flag so |
| 9764 |
to hande siginfo/ctrl-C interactions safely |
| 9765 |
|
| 9766 |
2018-07-24 Steven Eker <[email protected]> |
| 9767 |
|
| 9768 |
* userLevelRewritingContext.hh (ObjectSystemRewritingContext): added |
| 9769 |
decl for printStatusReportCommon() |
| 9770 |
|
| 9771 |
* interact.cc (printStatusReportCommon): added |
| 9772 |
(printStatusReport): use printStatusReportCommon() |
| 9773 |
(handleInterrupt): check for infoFlag and produce a status report |
| 9774 |
if set |
| 9775 |
|
| 9776 |
===================================Maude118=========================================== |
| 9777 |
|
| 9778 |
2018-07-18 Rubén Rubio <[email protected]> |
| 9779 |
|
| 9780 |
* renaming.cc (addOpMappingPartialCopy): fixed a bug, |
| 9781 |
lastSeenWasStrategy was not set |
| 9782 |
|
| 9783 |
2018-07-17 Rubén Rubio <[email protected]> |
| 9784 |
|
| 9785 |
* syntacticView.cc: when merging alpha117, changes for strategy |
| 9786 |
mappings were copied from view.cc |
| 9787 |
|
| 9788 |
* syntacticView.hh: when merging alpha117, changes for strategy |
| 9789 |
mappings were copied from view.hh |
| 9790 |
|
| 9791 |
2018-07-10 Steven Eker <[email protected]> |
| 9792 |
|
| 9793 |
* interpreter.hh (ViewDatabase): made beginRewriting non-static |
| 9794 |
|
| 9795 |
* execute.cc (beginRewriting): call setTraceStatus() if we |
| 9796 |
don't call setDebug() so that we don't start with spurious |
| 9797 |
traceFlag caused by SIGINFO |
| 9798 |
|
| 9799 |
* userLevelRewritingContext.hh (clearInfo): added |
| 9800 |
|
| 9801 |
* execute.cc (beginRewriting): call clearInfo() to dispose |
| 9802 |
of any pending info requests |
| 9803 |
|
| 9804 |
* interact.cc (handleDebug): make sure we switch trace flag off |
| 9805 |
if we are only here because of SIGINFO |
| 9806 |
|
| 9807 |
* userLevelRewritingContext.hh (ObjectSystemRewritingContext): updated |
| 9808 |
decl for handleDebug() |
| 9809 |
|
| 9810 |
* interact.cc (handleDebug): removed constness from subject |
| 9811 |
|
| 9812 |
* userLevelRewritingContext.hh (ObjectSystemRewritingContext): updated |
| 9813 |
decl for where(); added decl for printStatusReport() |
| 9814 |
|
| 9815 |
* interact.cc (printStatusReport): take ostream& |
| 9816 |
(printStatusReport): added |
| 9817 |
(handleDebug): call printStatusReport(); pass cout to |
| 9818 |
where() |
| 9819 |
|
| 9820 |
* userLevelRewritingContext.hh (ObjectSystemRewritingContext): added |
| 9821 |
decl for handleInterrupt() |
| 9822 |
|
| 9823 |
* interact.cc (handleInterrupt): added |
| 9824 |
|
| 9825 |
2018-07-09 Steven Eker <[email protected]> |
| 9826 |
|
| 9827 |
* interact.cc: add data member UserLevelRewritingContext::infoFlag |
| 9828 |
(handleDebug): check and reset infoFlag |
| 9829 |
|
| 9830 |
* userLevelRewritingContext.hh (ObjectSystemRewritingContext): add |
| 9831 |
static data member infoFlag; add decl for infoHandler() |
| 9832 |
|
| 9833 |
* interact.cc (infoHandler): added |
| 9834 |
(setHandlers): install infoHandler |
| 9835 |
|
| 9836 |
2018-07-03 Steven Eker <[email protected]> |
| 9837 |
|
| 9838 |
* unify.cc (unify): fix a suble memory leak where |
| 9839 |
we were failing to unprotect() module if the unification |
| 9840 |
problem was bad |
| 9841 |
|
| 9842 |
2018-06-29 Steven Eker <[email protected]> |
| 9843 |
|
| 9844 |
* syntacticPreModule.hh (SharedTokens): updated decl for |
| 9845 |
getAutoImports() |
| 9846 |
(getAutoImports): use new convention |
| 9847 |
|
| 9848 |
* preModule.hh (User): updated decl for getAutoImports() |
| 9849 |
|
| 9850 |
2018-06-25 Steven Eker <[email protected]> |
| 9851 |
|
| 9852 |
* visibleModule.cc (VisibleModule): use new ImportModule() |
| 9853 |
|
| 9854 |
* importModule.hh (User): added decl for 2nd ctor |
| 9855 |
|
| 9856 |
* importModule.cc (ImportModule): added new version for use |
| 9857 |
by VisibleModule |
| 9858 |
|
| 9859 |
* preModule.cc (processExplicitImports): deleted commented |
| 9860 |
out code |
| 9861 |
|
| 9862 |
* syntacticPreModule.hh (SharedTokens): derive from |
| 9863 |
SharedTokens |
| 9864 |
|
| 9865 |
* preModule.hh (User): don't derive from SharedTokens |
| 9866 |
|
| 9867 |
* mixfixModule.hh (SharedTokens): made data member moduleType |
| 9868 |
const |
| 9869 |
|
| 9870 |
2018-06-22 Rubén Rubio <[email protected]> |
| 9871 |
|
| 9872 |
* commands.yy: added KW_SDS to traceOption |
| 9873 |
|
| 9874 |
* entry.cc (addStrategy): receives a Token instead of a label name |
| 9875 |
and warns about redefinitions |
| 9876 |
|
| 9877 |
* importModule.cc (ImportModule): initialize nrStrategyFromParameters |
| 9878 |
(fixUpDonatedOps): assert on the new import phase STRATS_IMPORTED |
| 9879 |
(importStrategies): set nrStrategiesFromParameters |
| 9880 |
(donateRuleLabels): do nothing if in STRATS_IMPORTED |
| 9881 |
(donateStrategies2): consider if module is donating to theory, and |
| 9882 |
addStrategy is always used instead of insertStrategy |
| 9883 |
(donateStatements2): fixed an erratum |
| 9884 |
|
| 9885 |
* importModule.hh: new phase STRATS_IMPORTED, new data members |
| 9886 |
nrStrategiesFromParameters and stratDeclaredInModule |
| 9887 |
(moduleDeclared, parameterDeclared): added for RewriteStrategy |
| 9888 |
(instantiateCall): added |
| 9889 |
|
| 9890 |
* importTranslation.cc (translateStrategy): removed const from variable |
| 9891 |
type |
| 9892 |
|
| 9893 |
* interact.cc (handleDebug): added strategy call trace support |
| 9894 |
|
| 9895 |
* interpreter.hh: added TRACE_SD (for StrategyDefinition) |
| 9896 |
|
| 9897 |
* lexer.ll: removed sview/endsv keywords, added synonyms for enabling |
| 9898 |
or disabling strategy call traces |
| 9899 |
|
| 9900 |
* mixfixModule.cc (closeSortSet): using isStrategic to be more succinct |
| 9901 |
(findStrategy): removed const from the parameter type |
| 9902 |
|
| 9903 |
* mixfixModule.hh (addStrategy): receives a Token instead of a label name |
| 9904 |
(findStrategy): removed const from the parameter type |
| 9905 |
(isStrategic): added |
| 9906 |
(canHaveAsParameter): taking strategy modules into account |
| 9907 |
|
| 9908 |
* modules.yy: added strategy mappings in module expressions |
| 9909 |
|
| 9910 |
* moduleCache.cc (makeSummation): add strategy importation |
| 9911 |
|
| 9912 |
* ops.cc (addOpDecl): warning about op declarations in strategy mods |
| 9913 |
(addStratDecl): warning about strategy declarations in fmod/mod |
| 9914 |
|
| 9915 |
* parameterization.cc (addStratMappingsFromView): used moduleDeclared |
| 9916 |
(makeInstantiation): changed when to promote a module to strategy module |
| 9917 |
|
| 9918 |
* process.cc (processStrategies): do nothing when fmod or mod, and |
| 9919 |
always use addStrategy |
| 9920 |
|
| 9921 |
* profileModule.cc (clearProfile): clear sdInfo |
| 9922 |
(profileSdConditionStart): added |
| 9923 |
(profileFragment): added strategy definition case |
| 9924 |
(showProfile): added strategy definition case |
| 9925 |
|
| 9926 |
* profileModule.hh: added data member sdInfo |
| 9927 |
(profileSdConditionStart): added |
| 9928 |
|
| 9929 |
* renameModule.cc (finishCopy): removed unneeded curly brackets |
| 9930 |
|
| 9931 |
* renaming.cc (makeCanonicalName): taking strategy renamings into account |
| 9932 |
(makeCanonicalVersion): taking strategy renamings into account |
| 9933 |
|
| 9934 |
* renaming.hh (getStratTypeSorts, discardStratMappings): added |
| 9935 |
|
| 9936 |
* strategyTranslation.cc (deepCopyStrategyExpression): fixed two bugs, |
| 9937 |
top and the one strategy were not copied |
| 9938 |
(instantiateCall): added |
| 9939 |
(instantiateExpression): using instantiateCall and fixed two bugs, |
| 9940 |
top and the one strategy were not instantiated |
| 9941 |
|
| 9942 |
* syntacticPreModule.cc (addStatement): warnings about strategy |
| 9943 |
definitions in fmod/mod, and statements other than sd is smod |
| 9944 |
|
| 9945 |
* syntacticPreModule.hh (addSortDecl, addSubsortDecl): warning in smod |
| 9946 |
|
| 9947 |
* top.yy: added KW_SDS |
| 9948 |
|
| 9949 |
* trial.cc (traceBeginSdTrial): added |
| 9950 |
|
| 9951 |
* userLevelRewritingContext.cc (traceStrategyCall): added |
| 9952 |
|
| 9953 |
* userLevelRewritingContext.hh (traceStrategyCall, traceBeginSdTrial): added |
| 9954 |
|
| 9955 |
* view.cc (view, finishView): removed code for distinguishing sview |
| 9956 |
(finishModule2): added label importation |
| 9957 |
(checkSorts): omit strategy auxiliary symbols range sort |
| 9958 |
(checkStrats): use moduleDeclared |
| 9959 |
(evaluate): removed warnings about sview/endsv and added warnings and |
| 9960 |
discarded strategy mappings in functional views |
| 9961 |
(showView): removed sview/endsv distinction |
| 9962 |
|
| 9963 |
* view.hh: removed isSView data member |
| 9964 |
(view, finishView): removed initial/closing keyword parameter |
| 9965 |
(getStratExprMap, getNewToModule): added |
| 9966 |
|
| 9967 |
2018-06-22 Steven Eker <[email protected]> |
| 9968 |
|
| 9969 |
* syntacticPreModule.hh (SyntaxContainer): deleted data member |
| 9970 |
owner |
| 9971 |
|
| 9972 |
* process.cc (processImports): use getOwner() |
| 9973 |
|
| 9974 |
* syntacticPreModule.cc (regretToInform): use getOwner() |
| 9975 |
(finishModule): use getOwner() (3 places) |
| 9976 |
(SyntacticPreModule): don't initialize owner |
| 9977 |
|
| 9978 |
2018-06-20 Steven Eker <[email protected]> |
| 9979 |
|
| 9980 |
* syntacticPreModule.cc (addImport): pass lineNumber to |
| 9981 |
PreModule::addImport() |
| 9982 |
|
| 9983 |
* preModule.cc (addImport): handle lineNumber argument |
| 9984 |
|
| 9985 |
* preModule.hh (SharedTokens): added lineNumber field to |
| 9986 |
struct Import |
| 9987 |
(SharedTokens): updated decl for addImport() |
| 9988 |
|
| 9989 |
* command.cc (showModule): use modeStrings |
| 9990 |
|
| 9991 |
* syntacticPreModule.hh (SyntaxContainer): added decl for addImport |
| 9992 |
|
| 9993 |
* syntacticPreModule.cc (addImport): added to do Token |
| 9994 |
to import mode conversion |
| 9995 |
|
| 9996 |
* preModule.hh (getImportMode): return ImportModule::ImportMode |
| 9997 |
|
| 9998 |
* preModule.cc (addImport): take mode as an |
| 9999 |
ImportModule::ImportMode |
| 10000 |
(processExplicitImports): don't do Token to mode conversion |
| 10001 |
here |
| 10002 |
|
| 10003 |
* preModule.hh (SharedTokens): store import mode as a |
| 10004 |
ImportModule::ImportMode rather than a token. |
| 10005 |
|
| 10006 |
* command.cc (showModule): use PreModule parameter and |
| 10007 |
import functionality |
| 10008 |
|
| 10009 |
* syntacticPreModule.cc (SyntacticPreModule): don't |
| 10010 |
deepSelfDestruct() module expressions |
| 10011 |
|
| 10012 |
* syntacticPreModule.hh (getNrImports, getImportMode, getImport) |
| 10013 |
(getNrParameters, getParameterName, getParameter): deleted |
| 10014 |
(SharedTokens): deleted structs Parameter, Import |
| 10015 |
(SharedTokens): deleted data members parameters, imports |
| 10016 |
(SharedTokens): deleted decls for addParameter(), addImport() |
| 10017 |
|
| 10018 |
* syntacticPreModule.cc (addParameter, addImport): deleted |
| 10019 |
|
| 10020 |
* process.cc (processImports): use processParameters(), |
| 10021 |
processExplicitImports(); |
| 10022 |
|
| 10023 |
* preModule.hh (User): added decls for processParameters(), |
| 10024 |
processExplicitImports() |
| 10025 |
|
| 10026 |
* preModule.cc (~PreModule): call deepSelfDestruct() on |
| 10027 |
ModuleExpressions |
| 10028 |
(addParameter, addImport): added |
| 10029 |
(processParameters): added |
| 10030 |
(processExplicitImports): added |
| 10031 |
|
| 10032 |
* preModule.hh (User): added struct members Parameter, Import |
| 10033 |
(User): add data members parameters parameters, imports |
| 10034 |
(getNrImports, getImportMode, getImport, getNrParameters) |
| 10035 |
(getParameterName, getParameter): added |
| 10036 |
(User): added decls for addParameter(), addImport() |
| 10037 |
|
| 10038 |
2018-06-18 Steven Eker <[email protected]> |
| 10039 |
|
| 10040 |
* mixfixModule.hh (getSymbolType): more detailed message in Assert() |
| 10041 |
|
| 10042 |
2018-06-14 Steven Eker <[email protected]> |
| 10043 |
|
| 10044 |
* process.cc (process): pass owner to VisibleModule() |
| 10045 |
|
| 10046 |
* visibleModule.cc (VisibleModule): handle owner argument |
| 10047 |
|
| 10048 |
* visibleModule.hh (ImportModule): take owner rather than parent |
| 10049 |
argument to ctor |
| 10050 |
(ImportModule): added data member owner |
| 10051 |
(getOwner): added |
| 10052 |
|
| 10053 |
2018-06-12 Steven Eker <[email protected]> |
| 10054 |
|
| 10055 |
* process.cc (process): pass parent as null to VisibleModule() |
| 10056 |
|
| 10057 |
* process.cc (process): call addUser() here |
| 10058 |
|
| 10059 |
2018-05-29 Steven Eker <[email protected]> |
| 10060 |
|
| 10061 |
* erewrite.cc (eRewrite, eRewriteCont): use externalRewrite() |
| 10062 |
|
| 10063 |
2018-05-25 Steven Eker <[email protected]> |
| 10064 |
|
| 10065 |
* interpreter.hh (ViewDatabase): updated decl for |
| 10066 |
doExternalRewriting() |
| 10067 |
|
| 10068 |
* erewrite.cc (doExternalRewriting): only call nonblocking |
| 10069 |
eventLoop() if fairTraversal() makes progress |
| 10070 |
(doExternalRewriting): use new fairTranversal() convention; |
| 10071 |
use getProgress() |
| 10072 |
(eRewriteCont): use fairRestart() |
| 10073 |
(eRewriteCont): don't pass limit to doExternalRewriting() |
| 10074 |
(eRewrite): don't pass limit to doExternalRewriting(); pass limit |
| 10075 |
to fairStart() |
| 10076 |
(doExternalRewriting): don't take or pass limit argument |
| 10077 |
|
| 10078 |
2018-05-24 Steven Eker <[email protected]> |
| 10079 |
|
| 10080 |
* erewrite.cc (doExternalRewriting): interleave nonblocking calls |
| 10081 |
to eventLoop() with fairTraversal() |
| 10082 |
|
| 10083 |
2018-05-09 Steven Eker <[email protected]> |
| 10084 |
|
| 10085 |
* view.hh (Renaming): deleted struct VarDecl, struct BubblePair |
| 10086 |
|
| 10087 |
* view.cc (insertOpToTermMapping): added missing return true |
| 10088 |
|
| 10089 |
* view.hh (Renaming): added NO_COPYING macro |
| 10090 |
|
| 10091 |
2018-05-08 Steven Eker <[email protected]> |
| 10092 |
|
| 10093 |
* syntacticView.cc (regretToInform): deepSelfDestruct() other |
| 10094 |
local module to avoid bug where the old local module |
| 10095 |
eventually sends us a unexpected regretToInform() |
| 10096 |
|
| 10097 |
2018-05-07 Steven Eker <[email protected]> |
| 10098 |
|
| 10099 |
* syntacticView.hh (View): deleted typedef VarMap |
| 10100 |
(View): deleted decls for mapSort(), indexRhsVariables() |
| 10101 |
|
| 10102 |
* syntacticView.cc (indexRhsVariables): deleted |
| 10103 |
(handleOpTermMappings): reimplemented |
| 10104 |
(mapSort): deleted |
| 10105 |
|
| 10106 |
* view.hh (insertOpToTermPair): deleted |
| 10107 |
|
| 10108 |
* syntacticView.hh (View): deleted decl for mapComponent() |
| 10109 |
|
| 10110 |
* syntacticView.cc (mapComponent): deleted |
| 10111 |
|
| 10112 |
* view.hh (Renaming): added decls for mapSort(), |
| 10113 |
indexRhsVariables(), insertOpToTermMapping(); added back |
| 10114 |
typedef VarMap |
| 10115 |
|
| 10116 |
* view.cc (mapSort, indexRhsVariables): moved back to |
| 10117 |
class View |
| 10118 |
|
| 10119 |
2018-05-03 Steven Eker <[email protected]> |
| 10120 |
|
| 10121 |
* view.hh (Renaming): delete typedefs for VarDeclList, |
| 10122 |
TypeList, OpTermList, VarMap |
| 10123 |
|
| 10124 |
* syntacticView.cc (regretToInform): dont deepSelfDestruct() |
| 10125 |
anything |
| 10126 |
|
| 10127 |
* view.cc (View): don't clear newFromTheory, newFromModule |
| 10128 |
(regretToInform): don't delete newFromTheory, newFromModule |
| 10129 |
(View): don't delete newFromTheory, newFromModule |
| 10130 |
(evaluate): set status to GOOD before calling |
| 10131 |
handleOpTermMappings() |
| 10132 |
|
| 10133 |
* view.hh (Renaming): make mapComponent() protected |
| 10134 |
(Renaming): deleted decls for handleVarDecls(), |
| 10135 |
indexRhsVariables(), mapSort() |
| 10136 |
(Renaming): deleted data members varDecls, varDefs, opTermList, |
| 10137 |
newFromTheory, newFromModule |
| 10138 |
|
| 10139 |
* interpreter.cc (setCurrentView): downcast to SyntacticView* |
| 10140 |
|
| 10141 |
* mixfix.hh: added class SyntacticView |
| 10142 |
|
| 10143 |
* interpreter.hh (ViewDatabase): use SyntacticView |
| 10144 |
|
| 10145 |
* modules.yy (view): use SyntacticView |
| 10146 |
|
| 10147 |
* view.cc (addVarDecl): deleted |
| 10148 |
(addType): deleted |
| 10149 |
(addOpTermMapping): deleted |
| 10150 |
(mapSort): deleted |
| 10151 |
(finishModule): deleted |
| 10152 |
(handleVarDecls): deleted |
| 10153 |
(indexRhsVariables): deleted |
| 10154 |
(handleOpTermMappings): deleted |
| 10155 |
(showView): deleted |
| 10156 |
|
| 10157 |
* view.hh (Renaming): made regretToInform() protected |
| 10158 |
rather than private |
| 10159 |
(Renaming): make handleOpTermMappings virtual and protected |
| 10160 |
(Renaming): deleted decls for addOpTermMapping(), addVarDecl(), |
| 10161 |
addType() |
| 10162 |
|
| 10163 |
* syntacticView.cc (handleOpTermMappings): use insertOpToTermPair() |
| 10164 |
|
| 10165 |
* view.hh (insertOpToTermPair): added |
| 10166 |
|
| 10167 |
2018-05-02 Steven Eker <[email protected]> |
| 10168 |
|
| 10169 |
* syntacticView.hh: created |
| 10170 |
|
| 10171 |
* syntacticView.cc: created |
| 10172 |
|
| 10173 |
* renaming.cc (renameOp): added comments to distinguish |
| 10174 |
the two versions of this member function |
| 10175 |
|
| 10176 |
2018-05-01 Steven Eker <[email protected]> |
| 10177 |
|
| 10178 |
* view.hh (Renaming): added comment about the metalevel |
| 10179 |
|
| 10180 |
2018-04-30 Steven Eker <[email protected]> |
| 10181 |
|
| 10182 |
* interpreter.cc (showView): call View::evaluate() |
| 10183 |
|
| 10184 |
* view.hh (Renaming): delete decls for finishModule1(), |
| 10185 |
finishModule2(); add decl for finishModule() |
| 10186 |
(finishView): moved here |
| 10187 |
|
| 10188 |
* view.cc (finishModule1, finishModule2): merged into |
| 10189 |
finishModule() |
| 10190 |
(handleOpTermMappings): use finishModule() |
| 10191 |
|
| 10192 |
2018-04-27 Steven Eker <[email protected]> |
| 10193 |
|
| 10194 |
* view.cc (handleOpTermMappings): finish processing |
| 10195 |
newFromTheory before we start processing newToModule to |
| 10196 |
avoid messing up the import phase counter on common imports |
| 10197 |
(handleVarDecls): added comment |
| 10198 |
|
| 10199 |
* renameModule.cc (localStatementsComplete): added comments |
| 10200 |
to explain obscure code |
| 10201 |
|
| 10202 |
* entity.cc (informUsers): added comments to explain obscure |
| 10203 |
code |
| 10204 |
|
| 10205 |
2018-04-25 Steven Eker <[email protected]> |
| 10206 |
|
| 10207 |
* process.cc (processImports): use owner rather than |
| 10208 |
global interpreter |
| 10209 |
|
| 10210 |
* modules.yy (module): pass interpreter to SyntacticModule |
| 10211 |
ctor |
| 10212 |
|
| 10213 |
* syntacticPreModule.hh (SharedTokens): updated decl |
| 10214 |
for ctor |
| 10215 |
(SharedTokens): added owner data member |
| 10216 |
|
| 10217 |
* syntacticPreModule.cc (SyntacticPreModule): take owner |
| 10218 |
argument and remove hack |
| 10219 |
(regretToInform, finishModule): use owner rather than |
| 10220 |
global interpreter |
| 10221 |
|
| 10222 |
* modules.yy (view): pass interpreter to View ctor |
| 10223 |
|
| 10224 |
* view.cc (View): take owner argument |
| 10225 |
(evaluate): use owner rather than global interpreter |
| 10226 |
|
| 10227 |
* view.hh (Renaming): updated decl for ctor; added data member |
| 10228 |
owner |
| 10229 |
|
| 10230 |
2018-04-24 Steven Eker <[email protected]> |
| 10231 |
|
| 10232 |
* renameModule.cc (donateOps2): added Asserts() to see if |
| 10233 |
bug mentioned in comment actually happens |
| 10234 |
|
| 10235 |
2018-04-20 Steven Eker <[email protected]> |
| 10236 |
|
| 10237 |
* modules.yy (viewDecList, skipStrayArrow, parameters, decList) |
| 10238 |
(skipStrayColon, typeList, attributes, identity, sortNameList): |
| 10239 |
provide empty action for empty rhs syntax to avoid default |
| 10240 |
action generating an uninitialized memory read |
| 10241 |
(hookList): provide empty actions |
| 10242 |
|
| 10243 |
2018-04-18 Steven Eker <[email protected]> |
| 10244 |
|
| 10245 |
* banner.cc (printBanner): update copyright year |
| 10246 |
|
| 10247 |
2018-04-04 Steven Eker <[email protected]> |
| 10248 |
|
| 10249 |
* mixfixParser.cc (insertProduction): use productionRhs |
| 10250 |
in place of static rhs2 |
| 10251 |
|
| 10252 |
* mixfixParser.hh (M): added data member productionRhs |
| 10253 |
|
| 10254 |
2018-03-27 Steven Eker <[email protected]> |
| 10255 |
|
| 10256 |
* mixfixParser.cc (ROOT_NODE): removed MSCP10 #define |
| 10257 |
(parseSentence): removed MSCP10 specific code |
| 10258 |
(makeTerms): removed MSCP10 specific code |
| 10259 |
|
| 10260 |
* mixfixParser.hh: removed include for MSCP10 |
| 10261 |
|
| 10262 |
===================================Maude117=========================================== |
| 10263 |
|
| 10264 |
2018-04-10 Rubén Rubio <[email protected]> |
| 10265 |
|
| 10266 |
* makeGrammar.cc (makeStrategyProduction): added production for one |
| 10267 |
|
| 10268 |
* mixfixParser.cc (makeStrategy): added MAKE_ONE case |
| 10269 |
|
| 10270 |
* mixfixParser.hh: added MAKE_ONE to SemanticActions |
| 10271 |
|
| 10272 |
* specialTokens.cc: added one token |
| 10273 |
|
| 10274 |
* strategyPrint.cc: added 'one' strategy printing |
| 10275 |
|
| 10276 |
2018-04-06 Rubén Rubio <[email protected]> |
| 10277 |
|
| 10278 |
* doParser.cc (parseStrategyExpr): added |
| 10279 |
|
| 10280 |
* importModule.cc (importStrategies, donateStrategies) |
| 10281 |
(donateStrategies2): use Renaming instead of ImportTranslation |
| 10282 |
|
| 10283 |
* importModule.hh: new types GlobalSubstitution (and TermCompare as |
| 10284 |
its comparator) |
| 10285 |
(deepCopyStrategyExpression): now is public |
| 10286 |
(addStratMappingsFromView, instantiateCondition, instantiateExpression) |
| 10287 |
(instantiateTerm, donateRuleLabels): added |
| 10288 |
(donateStrategies2): use Renaming instead of ImportTranslation |
| 10289 |
|
| 10290 |
* importTranslation.cc (translate): for RewriteStrategy, use |
| 10291 |
translateStrategy |
| 10292 |
(translateStrategy): added, taking renamings into account |
| 10293 |
(translateExpr, donateRuleLabels): added |
| 10294 |
|
| 10295 |
* importTranslation.hh (translateExpr, translateStrategy): added |
| 10296 |
|
| 10297 |
* lexer.ll: added KW_EXPR for strat->expr mapping in views. |
| 10298 |
|
| 10299 |
* mixfixModule.hh (parseStrategyExpr): added |
| 10300 |
|
| 10301 |
* mixfixParser.cc (makeStrategyExprs): added |
| 10302 |
|
| 10303 |
* mixfixParser.hh (makeStrategyExprs): added |
| 10304 |
|
| 10305 |
* modules.yy: added syntax for strategy views, using identifier instead |
| 10306 |
of IDENTIFIER for strategy identifiers. |
| 10307 |
|
| 10308 |
* parameterization.cc (addStratMappingsFromView): added |
| 10309 |
(handleInstantiationByModuleView) |
| 10310 |
(handleInstantiationByTheoryView): call addStratMappingsFromView |
| 10311 |
|
| 10312 |
* renameModule.cc (finishCopy): call donateStrategies2 with the Renaming |
| 10313 |
|
| 10314 |
* renaming.cc (typeMatch): added for RewriteStrategy |
| 10315 |
(renameStrat, addStratMapping, addStratTarget, addStratMappingVArs) |
| 10316 |
(addOpMapping): update lastSeenWasStrategy |
| 10317 |
(addStratTargetExpr): added |
| 10318 |
(addType): use lastSeenWasStrategy to know where to add the type |
| 10319 |
(printRenamingType): print strategy renamings types also |
| 10320 |
(printRenaming): print strategy renamings also |
| 10321 |
|
| 10322 |
* renaming.hh: added data members to store strategy renamings and |
| 10323 |
lastSeenWasStrategy |
| 10324 |
(addStratMapping, addStratMappingVars, addStratTarget) |
| 10325 |
(addStratTargetExpr, getNrStratMappings, getStratFrom, getNrStratTypes) |
| 10326 |
(getStratTo, getStratTargetExpr, getStratVars, renameStrat) |
| 10327 |
(typeMatch): added |
| 10328 |
(printRenamingType): receives the sort set directly |
| 10329 |
|
| 10330 |
* strategyTranslation.cc (deepCopyStrategyExpression): support for |
| 10331 |
strat->expr mappings |
| 10332 |
(instantiateExpression, instantiateTerm, instantiateCondition): added |
| 10333 |
(TermCompare::operator()): added |
| 10334 |
|
| 10335 |
* top.yy: added vector strategyCall for strategy call parsing in views and |
| 10336 |
KW_EXPR as token |
| 10337 |
|
| 10338 |
* view.cc: (addStratExprMapping, checkStrats, getStratMapExpr) |
| 10339 |
(getStratMapVars, typeMatch): added |
| 10340 |
(checkSort): skip strategy range sort check |
| 10341 |
(evaluate): in case of a strategy view, check if from is of strategy |
| 10342 |
(finishView): added end token as parameter |
| 10343 |
(handleOpTermMappings): renamed to handleTermAndExprMappings |
| 10344 |
(handleTermAndExprMappings): completion of handleOpTermMappings with |
| 10345 |
support for strat->expr mappings |
| 10346 |
(showView): print strategy views |
| 10347 |
(View): added start token as parameter to decide if it is a sview |
| 10348 |
|
| 10349 |
* view.hh: added support for strategy views. New types StratExprInfo, |
| 10350 |
StratExprMap, StratExprList and data members stratExprList, |
| 10351 |
stratExprMap and isSView. |
| 10352 |
(addStratExprMapping, checkStrats, getStratMapExpr, getStratMapVars) |
| 10353 |
(typeMatch): added |
| 10354 |
(finishView): added end token as parameter |
| 10355 |
(handleOpTermMappings): renamed to handleTermAndExprMappings |
| 10356 |
(handleTermAndExprMappings): added |
| 10357 |
(View): added start token as parameter to decide if it is a sview |
| 10358 |
|
| 10359 |
2018-03-23 Rubén Rubio <[email protected]> |
| 10360 |
|
| 10361 |
* command.cc (printStratDecl): added |
| 10362 |
(showModule): added strategy declaration printing |
| 10363 |
|
| 10364 |
* cvc4_Bindings.cc (dagToCVC4): deleted the distinction in the |
| 10365 |
SMT_Symbol::EQUALS case as not needed |
| 10366 |
|
| 10367 |
* doParse.cc (parseStatement): include strategy productions when |
| 10368 |
parsing strategy definitions |
| 10369 |
(parseStrategyExpr): added |
| 10370 |
|
| 10371 |
* entry.cc (addStrategy): added |
| 10372 |
|
| 10373 |
* importModule.cc: included strategy language headers |
| 10374 |
(importStrategies, importLabels, donateStrategies, donateStrategies2): |
| 10375 |
added |
| 10376 |
(donateStatements2): import strategy definitions |
| 10377 |
|
| 10378 |
* importModule.hh: added new data members nrImportedStrategies and |
| 10379 |
nrOriginalStrategyDefinitions |
| 10380 |
(importStrategies, importLabels, getNrImportedStrategies) |
| 10381 |
(getNrOriginalStrategyDefinitions, deepCopyStrategyExpression) |
| 10382 |
(donateStrategies, donateStrategies2): added |
| 10383 |
|
| 10384 |
* importTranslation.cc (translate): added for RewriteStrategy |
| 10385 |
(splitTranslation, translateExpr, translateStrategy): added |
| 10386 |
(translateTerm): common code with translateExpr moved to |
| 10387 |
splitTranslation |
| 10388 |
|
| 10389 |
* importTranslation.hh (translate): added for RewriteStrategy |
| 10390 |
(splitTranslation, translateExpr, translateStrategy): added |
| 10391 |
|
| 10392 |
* interpreter.cc (~Interpreter): clear continue info no avoid memory leak |
| 10393 |
|
| 10394 |
* lexerAux.cc: added BAR_ASSIGN to TERMINATION_TOKENS (for strategy definitions) |
| 10395 |
|
| 10396 |
* lexer.ll: added sth/sview/endsth/endsv and sd/csd keywords. KW_STRAT is split in |
| 10397 |
3 variants: KW_STRAT is "strat" and can be either an attribute name or a strategy |
| 10398 |
declaration keyword. KW_DSTRAT is "strats" only for declaration and KW_ASTRAT is |
| 10399 |
"strategy" only for the attribute. Added := as KW_ASSIGN. |
| 10400 |
|
| 10401 |
* makeGrammar.cc (makeStrategyLanguageProductions): changes in how rule |
| 10402 |
productions are generated (see TODO), a grammar production is added |
| 10403 |
for each strategy declaration. New grammar rules for calls and matchrew |
| 10404 |
(makeStatementProductions): new grammar rules for strategy definitions |
| 10405 |
|
| 10406 |
* metadataStore.hh: added STRAT_DEFINITION to ItemType enumeration |
| 10407 |
|
| 10408 |
* mixfixModule.cc (moduleTypeString, moduleEndString): added strategy module types |
| 10409 |
(closeSortSet): added. Creates a universal type for strategies' auxiliary symbol range |
| 10410 |
when in a strategy module |
| 10411 |
(findStrategy): added |
| 10412 |
|
| 10413 |
* mixfixModule.hh: added strategy ModuleTypes and STRATEGY in Bits |
| 10414 |
(closeSortSet, addStrategy, findStrategy, parseStrategyExpr): added |
| 10415 |
(ruleLabels): new data member for early rule label importation |
| 10416 |
(insertPotentialLabels): ruleLabels are added |
| 10417 |
(addImport): comment on strategy modules importation |
| 10418 |
|
| 10419 |
* mixfixParser.cc (makeStrategy): added MAKE_CALL and MAKE_REW cases |
| 10420 |
(makeStrategyCall): added |
| 10421 |
(makeStatementPart): added MAKE_CS and MAKE_CSD cases |
| 10422 |
|
| 10423 |
* mixfixParser.hh: added MAKE_ enumerators for new strategy syntax |
| 10424 |
(makeStrategyCall): added |
| 10425 |
|
| 10426 |
* modules.yy: added syntax for strategy definitions |
| 10427 |
|
| 10428 |
* ops.cc (addStratDecl): added |
| 10429 |
(addVarDecl, addOpDecl): set isStrategy to false |
| 10430 |
(addType, setMetadata): changes so that they also work for strategies |
| 10431 |
|
| 10432 |
* prettyPrint.cc: operator<< for RewriteStrategy and StrategyDefinition |
| 10433 |
(printStrategyTerm): added |
| 10434 |
|
| 10435 |
* process.cc (process): strategy importation and processing |
| 10436 |
(checkOpTypes): check strategy types also |
| 10437 |
(computeStrategyTypes, processStrategies): added |
| 10438 |
|
| 10439 |
* renameModule.cc (finishCopy): copy strategies and rule labels |
| 10440 |
(localStatementsComplete): set nrOriginalStrategyDefinitions |
| 10441 |
|
| 10442 |
* specialTokens.cc: added sd, csd, sth and endsth |
| 10443 |
|
| 10444 |
* srewrite.cc (sRewrite): the strategy expression is checked and processed |
| 10445 |
|
| 10446 |
* strategyPrint.cc (prettyPrint): call strategy printing |
| 10447 |
|
| 10448 |
* strategyTranslation.cc: added |
| 10449 |
|
| 10450 |
* syntacticPreModule.cc (SyntacticPreModule, compatible): consider |
| 10451 |
strategy module and theory types |
| 10452 |
(addParameter): an erratum was corrected |
| 10453 |
(addStatement): do not allow neither rules in strategy modules nor |
| 10454 |
strategy definition in other modules |
| 10455 |
|
| 10456 |
* syntacticPreModule.hh: added data members isStrategy, stratDecls |
| 10457 |
and StratDecl type |
| 10458 |
(addStratDecl, printStratDecl, computeStrategyTypes) |
| 10459 |
(processStrategies): added |
| 10460 |
|
| 10461 |
* top.yy: added keyword KW_ASTRAT, KW_DSTRAT (see lexer.ll). |
| 10462 |
Added KW_ASSIGN for strategy definitions. |
| 10463 |
|
| 10464 |
* visibleModule.cc (showStrats): added |
| 10465 |
(showModule): added showStrats call |
| 10466 |
|
| 10467 |
* visibleModule.hh (showStrats): added |
| 10468 |
|
| 10469 |
2018-03-09 Steven Eker <[email protected]> |
| 10470 |
|
| 10471 |
* mixfixParser.cc (makeTerms): Assert() that we actually found a |
| 10472 |
second parse |
| 10473 |
|
| 10474 |
2018-03-02 Steven Eker <[email protected]> |
| 10475 |
|
| 10476 |
* mixfixParser.cc (makeTerm): fix pathological case where pos ends up |
| 10477 |
outside of the sentence |
| 10478 |
|
| 10479 |
2018-02-16 Steven Eker <[email protected]> |
| 10480 |
|
| 10481 |
* makeGrammar.cc (makeComponentProductions): don't make COLON2_PAIR |
| 10482 |
productions for bubble components |
| 10483 |
|
| 10484 |
2017-12-21 Steven Eker <[email protected]> |
| 10485 |
|
| 10486 |
* mixfixParser.cc (parseSentence): use getErrorPosition() |
| 10487 |
|
| 10488 |
2017-10-05 Steven Eker <[email protected]> |
| 10489 |
|
| 10490 |
* makeGrammar.cc (makeStrategyLanguageProductions): give ?: |
| 10491 |
the gather (e & E) |
| 10492 |
|
| 10493 |
* mixfixModule.hh (SharedTokens): STRAT_BRANCH_PREC from 101 |
| 10494 |
to 55 |
| 10495 |
|
| 10496 |
2017-10-03 Steven Eker <[email protected]> |
| 10497 |
|
| 10498 |
* strategyPrint.cc (prettyPrint): pass STRAT_USING_PREC - 1 |
| 10499 |
for substrategies |
| 10500 |
(prettyPrint): add () around test and subterm cases if needed |
| 10501 |
|
| 10502 |
* makeGrammar.cc (makeStrategyLanguageProductions): require |
| 10503 |
strategy argument of using in matchrew be tightly bound |
| 10504 |
|
| 10505 |
* mixfixModule.hh (SharedTokens): STRAT_USING_PREC from |
| 10506 |
105 to 21, STRAT_USING_LIST_PREC from 105 to 61, |
| 10507 |
STRAT_REW_PREC from 93 to 21 |
| 10508 |
|
| 10509 |
* makeGrammar.cc (makeStrategyLanguageProductions): use |
| 10510 |
gatherAny4 for subterm strategy syntax |
| 10511 |
|
| 10512 |
* mixfixModule.cc: added gatherAny4 |
| 10513 |
(MixfixModule): initialize gatherAny4 |
| 10514 |
|
| 10515 |
* mixfixModule.hh (SharedTokens): added static date member |
| 10516 |
gatherAny4 |
| 10517 |
|
| 10518 |
2017-10-02 Steven Eker <[email protected]> |
| 10519 |
|
| 10520 |
* makeGrammar.cc (makeStrategyLanguageProductions): make all |
| 10521 |
test strategy nonterminals have gather ANY |
| 10522 |
|
| 10523 |
* mixfixModule.hh (SharedTokens): STRAT_SEQ_PREC from 95 to 39, |
| 10524 |
STRAT_UNION_PREC form 97 to 41, STRAT_ORELSE_PREC from 99 to 43 |
| 10525 |
(SharedTokens): STRAT_TEST_PREC from 93 to 21 |
| 10526 |
|
| 10527 |
* makeGrammar.cc (makeStrategyLanguageProductions): use |
| 10528 |
INFIX_PREC, gatherAnyAny for strategy lists |
| 10529 |
|
| 10530 |
* mixfixModule.hh (SharedTokens): added STRAT_BASIC_PREC |
| 10531 |
|
| 10532 |
* makeGrammar.cc (makeStrategyLanguageProductions): use |
| 10533 |
STRAT_BASIC_PREC for basic strategies |
| 10534 |
|
| 10535 |
2017-09-28 Steven Eker <[email protected]> |
| 10536 |
|
| 10537 |
* strategyPrint.cc (prettyPrint): hanlde SubtermStrategy case |
| 10538 |
|
| 10539 |
* mixfixParser.cc (makeStrategy): use SubtermStrategy() |
| 10540 |
|
| 10541 |
2017-09-26 Steven Eker <[email protected]> |
| 10542 |
|
| 10543 |
* makeGrammar.cc (makeStrategyLanguageProductions): use MAKE_USING_PAIR |
| 10544 |
and MAKE_USING_LIST actions |
| 10545 |
(makeStrategyLanguageProductions): use PASS_THRU for USING_LIST |
| 10546 |
|
| 10547 |
* mixfixParser.hh (M): added MAKE_USING_PAIR, MAKE_USING_LIST |
| 10548 |
to enum SemanticActions |
| 10549 |
(M): added decls for appendUsingPair(), makeUsingList() |
| 10550 |
|
| 10551 |
* mixfixParser.cc (appendUsingPair, makeUsingList): added |
| 10552 |
(makeStrategy): added dummy MAKE_REW case |
| 10553 |
|
| 10554 |
* mixfixParser.hh (M): added MAKE_REW to enum SemanticActions |
| 10555 |
|
| 10556 |
2017-09-18 Steven Eker <[email protected]> |
| 10557 |
|
| 10558 |
* mixfixModule.hh (SharedTokens): added nonterminal USING_PAIR |
| 10559 |
(SharedTokens): added STRAT_REW_PREC |
| 10560 |
|
| 10561 |
* makeGrammar.cc (makeStrategyLanguageProductions): added |
| 10562 |
syntax for using pairs and lists |
| 10563 |
|
| 10564 |
* specialTokens.cc: added by |
| 10565 |
|
| 10566 |
* makeGrammar.cc (makeStrategyLanguageProductions): added |
| 10567 |
syntax for matchrew/xmatchrew/amatchrew strategies |
| 10568 |
|
| 10569 |
* mixfixModule.hh (SharedTokens): added STRAT_USING_LIST_PREC, |
| 10570 |
STRAT_USING_PREC |
| 10571 |
(SharedTokens): added USING_LIST nonterminal |
| 10572 |
|
| 10573 |
2017-09-15 Steven Eker <[email protected]> |
| 10574 |
|
| 10575 |
* specialTokens.cc: added matchrew, xmatchrew, amatchrew |
| 10576 |
|
| 10577 |
* makeGrammar.cc (makeStrategyLanguageProductions): remove |
| 10578 |
the #if 1 / #endif around the match/xmatch/amatch productions |
| 10579 |
|
| 10580 |
===================================Maude116=========================================== |
| 10581 |
|
| 10582 |
2017-08-11 Steven Eker <[email protected]> |
| 10583 |
|
| 10584 |
* tokenizer.ll (Rope): use fixUp() |
| 10585 |
(Rope): don't allow \t in strings |
| 10586 |
|
| 10587 |
* token.hh (T): added decl for static version of fixUp() |
| 10588 |
|
| 10589 |
* token.cc (fixUp): added static version |
| 10590 |
|
| 10591 |
* tokenizer.ll (Rope): use endOfRope flag |
| 10592 |
(Rope): use EOT character to indicate endOfRope and avoid |
| 10593 |
flex EOF handling |
| 10594 |
|
| 10595 |
* quotedIdentifierOpSymbol.cc (eqRewrite): use builtInReplace() |
| 10596 |
in the empty and singleton tokenize() cases |
| 10597 |
|
| 10598 |
2017-08-10 Steven Eker <[email protected]> |
| 10599 |
|
| 10600 |
* tokenizer.ll: created |
| 10601 |
|
| 10602 |
* quotedIdentifierOpSymbol.hh (FreeSymbol): added decl for |
| 10603 |
makeQid() |
| 10604 |
|
| 10605 |
* quotedIdentifierOpSymbol.cc (eqRewrite): implement tokenize() |
| 10606 |
(makeQid): added |
| 10607 |
|
| 10608 |
2017-08-08 Steven Eker <[email protected]> |
| 10609 |
|
| 10610 |
* quotedIdentifierOpSymbol.cc (printQid): new needSpace |
| 10611 |
rule |
| 10612 |
(printQid): handle '\c Qids specially |
| 10613 |
|
| 10614 |
2017-08-07 Steven Eker <[email protected]> |
| 10615 |
|
| 10616 |
* quotedIdentifierOpSymbol.cc (eqRewrite): implemented print() |
| 10617 |
case |
| 10618 |
|
| 10619 |
* quotedIdentifierOpSymbol.hh (FreeSymbol): added decl for |
| 10620 |
printQidList(), printQid() |
| 10621 |
|
| 10622 |
* quotedIdentifierOpSymbol.cc (printQid): added |
| 10623 |
(printQidList): added |
| 10624 |
|
| 10625 |
2017-08-04 Steven Eker <[email protected]> |
| 10626 |
|
| 10627 |
* quotedIdentifierOpSymbol.hh (FreeSymbol): use |
| 10628 |
quotedIdentifierOpSignature.cc |
| 10629 |
|
| 10630 |
* quotedIdentifierOpSymbol.cc (QuotedIdentifierOpSymbol) |
| 10631 |
(copyAttachments, getSymbolAttachments, attachSymbol): use |
| 10632 |
quotedIdentifierOpSignature.cc |
| 10633 |
(getDataAttachments): added cases for print and tokenize |
| 10634 |
|
| 10635 |
* quotedIdentifierOpSignature.cc: created |
| 10636 |
|
| 10637 |
2017-07-31 Steven Eker <[email protected]> |
| 10638 |
|
| 10639 |
* lexerAux.cc (getInput): added comments |
| 10640 |
|
| 10641 |
2017-07-28 Steven Eker <[email protected]> |
| 10642 |
|
| 10643 |
* entry.cc (newFancySymbol): added |
| 10644 |
SymbolType::STREAM_MANAGER_SYMBOL case |
| 10645 |
|
| 10646 |
* symbolType.hh (S): added STREAM_MANAGER_SYMBOL |
| 10647 |
|
| 10648 |
* specialSymbolTypes.cc: added streamManagerSymbol |
| 10649 |
|
| 10650 |
2017-07-24 Steven Eker <[email protected]> |
| 10651 |
|
| 10652 |
* variableGenerator.cc (push, pop, clearAssertions): added |
| 10653 |
stub versions to allow linking without SMT support |
| 10654 |
|
| 10655 |
2017-07-19 Steven Eker <[email protected]> |
| 10656 |
|
| 10657 |
* symbolType.hh (S): added FILE_MANAGER_SYMBOL |
| 10658 |
|
| 10659 |
* entry.cc (newFancySymbol): add |
| 10660 |
SymbolType::FILE_MANAGER_SYMBOL case |
| 10661 |
|
| 10662 |
* specialSymbolTypes.cc: added fileManagerSymbol |
| 10663 |
|
| 10664 |
* command.cc (printAttributes): only print hook details |
| 10665 |
if nonempty |
| 10666 |
|
| 10667 |
===================================Maude115=========================================== |
| 10668 |
|
| 10669 |
2017-07-11 Steven Eker <[email protected]> |
| 10670 |
|
| 10671 |
* search.cc (checkSearchRestrictions): check for SMT |
| 10672 |
operators in pattern |
| 10673 |
|
| 10674 |
* mixfixModule.hh (SharedTokens): added decl for new |
| 10675 |
findNonlinearVariable() |
| 10676 |
(SharedTokens): made findSMT_Symbol() public |
| 10677 |
|
| 10678 |
* search.cc (search): don't make Pattern for smt-search |
| 10679 |
(checkSearchRestrictions): moved nonlinear variable check here |
| 10680 |
|
| 10681 |
* mixfixModule.cc (findNonlinearVariable): added variableInfo |
| 10682 |
version |
| 10683 |
|
| 10684 |
* search.cc (search): check for nonlinear variables in pattern |
| 10685 |
in smt-search case |
| 10686 |
|
| 10687 |
* mixfixModule.cc (validForSMT_Rewriting): added line number info |
| 10688 |
to warnings |
| 10689 |
|
| 10690 |
2017-07-10 Steven Eker <[email protected]> |
| 10691 |
|
| 10692 |
* mixfixModule.cc (MixfixModule): initialize smtStatus |
| 10693 |
(validForSMT_Rewriting): check and set smtStatus |
| 10694 |
|
| 10695 |
* mixfixModule.hh (SharedTokens): added enum SMT_Status and |
| 10696 |
data member smtStatus |
| 10697 |
|
| 10698 |
2017-07-07 Steven Eker <[email protected]> |
| 10699 |
|
| 10700 |
* search.cc (checkSearchRestrictions): issue warning if |
| 10701 |
validForSMT_Rewriting() returns false |
| 10702 |
|
| 10703 |
* mixfixModule.cc (validForSMT_Rewriting): add line number to |
| 10704 |
error messages |
| 10705 |
|
| 10706 |
* mixfixModule.hh (SharedTokens): added decl for |
| 10707 |
findNonlinearVariable() |
| 10708 |
|
| 10709 |
* mixfixModule.cc (findNonlinearVariable): added |
| 10710 |
(validForSMT_Rewriting): check for nonlinear variables in lhs |
| 10711 |
|
| 10712 |
* mixfixModule.hh (SharedTokens): containsSMT_Symbol() |
| 10713 |
-> findSMT_Symbol() |
| 10714 |
|
| 10715 |
* mixfixModule.cc (containsSMT_Symbol): becomes |
| 10716 |
findSMT_Symbol() |
| 10717 |
(validForSMT_Rewriting): use findSMT_Symbol() |
| 10718 |
|
| 10719 |
* mixfixModule.hh (SharedTokens): added decl for |
| 10720 |
containsSMT_Symbol() |
| 10721 |
|
| 10722 |
* mixfixModule.cc (containsSMT_Symbol): added |
| 10723 |
(validForSMT_Rewriting): check for SMT symbols occurring |
| 10724 |
in the lhs of a rule |
| 10725 |
|
| 10726 |
2017-07-06 Steven Eker <[email protected]> |
| 10727 |
|
| 10728 |
* mixfixModule.cc (validForSMT_Rewriting): added check for |
| 10729 |
non-SMT operators have SMT sorts as their range |
| 10730 |
|
| 10731 |
2017-06-30 Steven Eker <[email protected]> |
| 10732 |
|
| 10733 |
* mixfixModule.cc (validForSMT_Rewriting): check for regular |
| 10734 |
symbols and polymorphic operators that have a collapse |
| 10735 |
axiom |
| 10736 |
|
| 10737 |
* symbolType.hh (S): added COLLAPSE |
| 10738 |
|
| 10739 |
2017-06-28 Steven Eker <[email protected]> |
| 10740 |
|
| 10741 |
* yices2_Bindings.cc (checkDag): check for error from |
| 10742 |
yices_assert_formula() |
| 10743 |
(checkDag): treat all return values other than STATUS_SAT |
| 10744 |
and STATUS_UNSAT as SAT_UNKNOWN |
| 10745 |
(assertDag): symmetric changes |
| 10746 |
(dagToYices2): enforce 2nd argument of divisible to be |
| 10747 |
positive constant |
| 10748 |
|
| 10749 |
2017-06-27 Steven Eker <[email protected]> |
| 10750 |
|
| 10751 |
* cvc4_Bindings.cc (dagToCVC4): check for non-positive |
| 10752 |
2nd arguments to divisible |
| 10753 |
(checkDag): catch CVC4::LogicException |
| 10754 |
(assertDag): catch CVC4::LogicException |
| 10755 |
(assertDag): don't both passing an argument to checkSat() |
| 10756 |
|
| 10757 |
2017-06-26 Steven Eker <[email protected]> |
| 10758 |
|
| 10759 |
* cvc4_Bindings.cc (dagToCVC4): fix bug where DIVISIBLE |
| 10760 |
case could fall through |
| 10761 |
|
| 10762 |
* yices2_Bindings.cc (dagToYices2): flipped argument order |
| 10763 |
to yices_divides_atom() |
| 10764 |
|
| 10765 |
2017-06-23 Steven Eker <[email protected]> |
| 10766 |
|
| 10767 |
* yices2_Bindings.hh (SMT_EngineWrapper): delet decl for |
| 10768 |
makeRationalConstant() |
| 10769 |
|
| 10770 |
* yices2_Bindings.cc (makeRationalConstant): fold into |
| 10771 |
dagToYices2() |
| 10772 |
|
| 10773 |
2017-06-20 Steven Eker <[email protected]> |
| 10774 |
|
| 10775 |
* yices2_Bindings.cc (dagToYices2): implemented |
| 10776 |
|
| 10777 |
2017-06-16 Steven Eker <[email protected]> |
| 10778 |
|
| 10779 |
* yices2_Bindings.cc (makeVariable): implemented |
| 10780 |
(makeBooleanExpr): implemented |
| 10781 |
|
| 10782 |
2017-06-15 Steven Eker <[email protected]> |
| 10783 |
|
| 10784 |
* yices2_Bindings.cc: created |
| 10785 |
|
| 10786 |
* yices2_Bindings.hh: created |
| 10787 |
|
| 10788 |
2017-06-14 Steven Eker <[email protected]> |
| 10789 |
|
| 10790 |
* cvc4_Bindings.hh: created to hold CVC4 specific code |
| 10791 |
|
| 10792 |
* variableGenerator.hh (SMT_EngineWrapper): stripped out |
| 10793 |
all CVC4 specific code |
| 10794 |
|
| 10795 |
* cvc4_Bindings.cc: created to hold CVC4 specific code |
| 10796 |
|
| 10797 |
* variableGenerator.cc: stripped out all CVC4 specific code |
| 10798 |
|
| 10799 |
2017-06-13 Steven Eker <[email protected]> |
| 10800 |
|
| 10801 |
* prettyPrint.cc (printAttributes): fix bug where we weren't |
| 10802 |
printing the narrowing attribute if it was the only attribute |
| 10803 |
|
| 10804 |
2017-06-12 Steven Eker <[email protected]> |
| 10805 |
|
| 10806 |
* mixfixModule.cc (checkFreshVariableNames): implemented |
| 10807 |
|
| 10808 |
* mixfixModule.hh (SharedTokens): added decl for |
| 10809 |
checkFreshVariableNames() |
| 10810 |
|
| 10811 |
* syntacticPreModule.cc (getFlatModule): call |
| 10812 |
checkFreshVariableNames() |
| 10813 |
|
| 10814 |
* mixfixModule.cc (checkFreshVariableNames): added stub |
| 10815 |
|
| 10816 |
* freshVariableSource.cc (variableNameConflict): need to consider |
| 10817 |
@ variables |
| 10818 |
|
| 10819 |
2017-06-09 Steven Eker <[email protected]> |
| 10820 |
|
| 10821 |
* bufferPrint.cc (handleIter): use decideIteratedAmbiguity() |
| 10822 |
to decide needToDisambiguate and argumentRangeKnown |
| 10823 |
|
| 10824 |
* dagNodePrint.cc (handleIter): use decideIteratedAmbiguity() |
| 10825 |
to decide needToDisambiguate and argumentRangeKnown |
| 10826 |
|
| 10827 |
* entry.cc (checkPseudoIterated): rewritten using |
| 10828 |
iteratedMap |
| 10829 |
|
| 10830 |
* termPrint.cc (handleIter): don't pass iflags argument to |
| 10831 |
decideIteratedAmbiguity() |
| 10832 |
|
| 10833 |
* mixfixModule.hh (SharedTokens): updated decl for |
| 10834 |
decideIteratedAmbiguity() |
| 10835 |
|
| 10836 |
* sharedPrint.cc (decideIteratedAmbiguity): use iteratedMap |
| 10837 |
(decideIteratedAmbiguity): delete iflags argument |
| 10838 |
|
| 10839 |
* entry.cc (checkIterated): fill out iteratedMap |
| 10840 |
|
| 10841 |
* mixfixModule.hh (SharedTokens): added typedef IteratedMap |
| 10842 |
and data member iteratedMap |
| 10843 |
|
| 10844 |
2017-06-08 Steven Eker <[email protected]> |
| 10845 |
|
| 10846 |
* termPrint.cc (handleIter): use decideIteratedAmbiguity() |
| 10847 |
to do disambiguation properly |
| 10848 |
|
| 10849 |
* mixfixModule.hh (SharedTokens): added decl for |
| 10850 |
decideIteratedAmbiguity() |
| 10851 |
|
| 10852 |
* sharedPrint.cc (decideIteratedAmbiguity): added |
| 10853 |
|
| 10854 |
* entry.cc (checkPseudoIterated, checkIterated): more detailed |
| 10855 |
warnings |
| 10856 |
|
| 10857 |
2017-06-07 Steven Eker <[email protected]> |
| 10858 |
|
| 10859 |
* entry.cc (checkIterated): implemented |
| 10860 |
(addOpDeclaration): call checkIterated() |
| 10861 |
|
| 10862 |
* mixfixModule.hh (SharedTokens): added decl for |
| 10863 |
checkIterated() |
| 10864 |
|
| 10865 |
* entry.cc (checkPseudoIterated): fill out pseudoIteratedMap |
| 10866 |
(checkIterated): added stub |
| 10867 |
|
| 10868 |
* mixfixModule.hh (SharedTokens): checkPseudoIterator() -> |
| 10869 |
checkPseudoIterated() |
| 10870 |
(SharedTokens): added typedefs NumberToSymbolMap, |
| 10871 |
PseudoIteratedMap and data member pseudoIteratedMap |
| 10872 |
|
| 10873 |
* entry.cc (addOpDeclaration): updated calling convention |
| 10874 |
for checkPseudoIterator() again |
| 10875 |
(checkPseudoIterator): becomes checkPseudoIterated() |
| 10876 |
(addOpDeclaration): use checkPseudoIterated() |
| 10877 |
|
| 10878 |
* mixfixModule.hh (SharedTokens): updated decl for |
| 10879 |
checkPseudoIterator() |
| 10880 |
|
| 10881 |
* entry.cc (addOpDeclaration): updated calling convention |
| 10882 |
for checkPseudoIterator() |
| 10883 |
(checkPseudoIterator): replace with Symbol* base version |
| 10884 |
|
| 10885 |
* token.hh (T): updated decl for checkPseudoIterator() |
| 10886 |
|
| 10887 |
* entry.cc (checkPseudoIterator): implemented |
| 10888 |
|
| 10889 |
2017-06-06 Steven Eker <[email protected]> |
| 10890 |
|
| 10891 |
* mixfixModule.hh (SharedTokens): added decl for checkPseudoIterator() |
| 10892 |
|
| 10893 |
* entry.cc (addOpDeclaration): added call to checkPseudoIterator() |
| 10894 |
(checkPseudoIterator): added stub |
| 10895 |
|
| 10896 |
2017-06-05 Steven Eker <[email protected]> |
| 10897 |
|
| 10898 |
* symbolType.hh (hasAtLeastOneFlag): added |
| 10899 |
|
| 10900 |
2017-05-31 Steven Eker <[email protected]> |
| 10901 |
|
| 10902 |
* ops.cc (setPoly): check for duplicate arg numbers in |
| 10903 |
poly attribute |
| 10904 |
|
| 10905 |
===================================Maude114=========================================== |
| 10906 |
|
| 10907 |
|
| 10908 |
2017-05-26 Steven Eker <[email protected]> |
| 10909 |
|
| 10910 |
* execute.cc (clearContinueInfo): deleted commented out code |
| 10911 |
|
| 10912 |
2017-05-19 Steven Eker <[email protected]> |
| 10913 |
|
| 10914 |
* narrowing.cc (doVuNarrowing): reorganize printing |
| 10915 |
(doVuNarrowing): fix double delete bug |
| 10916 |
|
| 10917 |
* search.cc (search): combine vu-narrow and fvu-narrow code |
| 10918 |
|
| 10919 |
* interpreter.hh (ViewDatabase): deleted decl for doFvuNarrowing(); |
| 10920 |
updated decl for doVuNarrowing() |
| 10921 |
|
| 10922 |
* narrowing.cc (doFvuNarrowing): support continuation |
| 10923 |
(doVuNarrowing): deleted |
| 10924 |
(doFvuNarrowing): becomes doVuNarrow() |
| 10925 |
(vuNarrowingCont): use NarrowingSequenceSearch3 |
| 10926 |
|
| 10927 |
2017-05-12 Steven Eker <[email protected]> |
| 10928 |
|
| 10929 |
* narrowing.cc (doFvuNarrowing): print accumulated substitution |
| 10930 |
|
| 10931 |
* userLevelRewritingContext.hh (ObjectSystemRewritingContext): added |
| 10932 |
decl for new printSubstitution() |
| 10933 |
|
| 10934 |
* userLevelRewritingContext.cc (printSubstitution): added |
| 10935 |
Substitution&/VariableInfo& version |
| 10936 |
|
| 10937 |
* lexer.ll: added fvu-narrow |
| 10938 |
|
| 10939 |
* top.yy: added KW_FVU_NARROW |
| 10940 |
|
| 10941 |
* commands.yy (search): added fvu-narrow support |
| 10942 |
|
| 10943 |
* interpreter.hh (ViewDatabase): added decl for doFvuNarrowing() |
| 10944 |
|
| 10945 |
* narrowing.cc (doFvuNarrowing): added |
| 10946 |
|
| 10947 |
* search.cc (checkSearchRestrictions): support fvu-narrow |
| 10948 |
(search): fvu-narrow |
| 10949 |
|
| 10950 |
* interpreter.hh (ViewDatabase): added FVU_NARROW to SearchKind |
| 10951 |
|
| 10952 |
2017-04-26 Steven Eker <[email protected]> |
| 10953 |
|
| 10954 |
* specialTokens.cc: added narrowing |
| 10955 |
|
| 10956 |
* makeGrammar.cc (makeAttributeProductions): added narrowing |
| 10957 |
attribute |
| 10958 |
|
| 10959 |
* mixfixParser.hh (M): added MAKE_NARROWING_ATTRIBUTE to |
| 10960 |
enum SemanticActions |
| 10961 |
|
| 10962 |
* mixfixParser.cc (makeAttributePart): added case for |
| 10963 |
MAKE_NARROWING_ATTRIBUTE |
| 10964 |
|
| 10965 |
* mixfixParser.hh (M): added NARROWING to enum Flags |
| 10966 |
|
| 10967 |
* prettyPrint.cc (printAttributes): support narrowing attribute |
| 10968 |
|
| 10969 |
* mixfixParser.cc (makeStatementPart): handle narrowing flag |
| 10970 |
|
| 10971 |
* importModule.cc (donateStatements2): copy narrowing flag |
| 10972 |
|
| 10973 |
===================================Maude113=========================================== |
| 10974 |
|
| 10975 |
2017-04-13 Steven Eker <[email protected]> |
| 10976 |
|
| 10977 |
* interpreter.cc (Interpreter): don't initialize savedContext |
| 10978 |
|
| 10979 |
* loopMode.cc (doLoop): use CacheableRewritingContext and |
| 10980 |
savedState |
| 10981 |
(contLoop2): use CacheableRewritingContext and savedState |
| 10982 |
|
| 10983 |
* interpreter.hh (ViewDatabase): deleted data member |
| 10984 |
savedContext |
| 10985 |
(ViewDatabase): updated decl for endRewriting() |
| 10986 |
|
| 10987 |
* erewrite.cc (eRewrite): use CacheableRewritingContext |
| 10988 |
(eRewriteCont): use CacheableRewritingContext and savedState |
| 10989 |
|
| 10990 |
* execute.cc (endRewriting): make context argument |
| 10991 |
CacheableRewritingContext; use savedState |
| 10992 |
(reduce): use CacheableRewritingContext |
| 10993 |
(rewrite, fRewrite): use CacheableRewritingContext |
| 10994 |
(fRewriteCont, rewriteCont): use CacheableRewritingContext, |
| 10995 |
savedState |
| 10996 |
(clearContinueInfo): don't delete or clear savedContext |
| 10997 |
|
| 10998 |
* mixfix.hh: added class CacheableRewritingContext |
| 10999 |
|
| 11000 |
2017-04-11 Steven Eker <[email protected]> |
| 11001 |
|
| 11002 |
* search.cc (search): deleted #if 0'd out code |
| 11003 |
|
| 11004 |
2017-04-06 Steven Eker <[email protected]> |
| 11005 |
|
| 11006 |
* narrowing.cc (vuNarrowingCont, narrowingCont): support debug |
| 11007 |
|
| 11008 |
2017-04-04 Steven Eker <[email protected]> |
| 11009 |
|
| 11010 |
* smtSearch.cc (doSmtSearch): print state and timing info; print |
| 11011 |
no more solutions message |
| 11012 |
|
| 11013 |
2017-04-03 Steven Eker <[email protected]> |
| 11014 |
|
| 11015 |
* search.cc (search): use doSmtSearch() |
| 11016 |
|
| 11017 |
* interpreter.hh (ViewDatabase): added decls for doSmtSearch(), |
| 11018 |
smtSearchCont() |
| 11019 |
|
| 11020 |
* smtSearch.cc: created |
| 11021 |
|
| 11022 |
* interpreter.hh (ViewDatabase): deleted data member |
| 11023 |
savedRewriteSequenceSearch |
| 11024 |
|
| 11025 |
* execute.cc (clearContinueInfo): don't delete or clear |
| 11026 |
savedRewriteSequenceSearch |
| 11027 |
|
| 11028 |
* interpreter.cc (Interpreter): don't clear savedRewriteSequenceSearch |
| 11029 |
|
| 11030 |
* search.cc (showSearchGraph): use dynmaic_cast on savedState |
| 11031 |
(showSearchPath, showSearchPathLabels): use dynmaic_cast on savedState |
| 11032 |
(doSearching): use savedState |
| 11033 |
(searchCont): use savedState |
| 11034 |
|
| 11035 |
2017-03-31 Steven Eker <[email protected]> |
| 11036 |
|
| 11037 |
* search.cc (searchCont): support debug |
| 11038 |
|
| 11039 |
* interpreter.hh (ViewDatabase): updated decl for doSearching() |
| 11040 |
|
| 11041 |
* search.cc (search): use QUANTIFY_START() |
| 11042 |
(doSearching): make solutionCount and limit 64-bit; use QUANTIFY_STOP() |
| 11043 |
(doSearching): restructured |
| 11044 |
(doSearching): don't call interrupted() |
| 11045 |
(searchCont): use QUANTIFY_START() |
| 11046 |
|
| 11047 |
* interpreter.hh (ViewDatabase): added decl for checkSearchRestrictions() |
| 11048 |
|
| 11049 |
* search.cc (search): destruct initial term and condition if we |
| 11050 |
are asked to narrow with a non-empty condition |
| 11051 |
(checkSearchRestrictions): added |
| 11052 |
(search): use checkSearchRestrictions() |
| 11053 |
(search): deepSelfDestruct() target if we fail checks |
| 11054 |
|
| 11055 |
* interpreter.hh (ViewDatabase): updatede decl for search() |
| 11056 |
|
| 11057 |
* search.cc (search): take debug argument |
| 11058 |
|
| 11059 |
* commands.yy (command): added optDebug to search |
| 11060 |
|
| 11061 |
* execute.cc (clearContinueInfo): don't delete and clear |
| 11062 |
savedStrategicSearch |
| 11063 |
|
| 11064 |
* interpreter.cc (Interpreter): don't clear savedStrategicSearch |
| 11065 |
|
| 11066 |
* interpreter.hh (ViewDatabase): updated decl for |
| 11067 |
doStrategicSearch(); deleted data member savedStrategicSearch |
| 11068 |
|
| 11069 |
* srewrite.cc (sRewrite): support debug flag |
| 11070 |
(doStrategicSearch): make solutionCount and limit 64-bit; |
| 11071 |
restructured; use savedState |
| 11072 |
(sRewriteCont): use savedState; support debug flag |
| 11073 |
|
| 11074 |
* getVariants.cc (doGetVariants): check interrupted() in the |
| 11075 |
irredundant case |
| 11076 |
(getVariants): QUANTIFY_START() |
| 11077 |
(getVariantsCont): QUANTIFY_START() |
| 11078 |
(doGetVariants): use QUANTIFY_STOP(); |
| 11079 |
|
| 11080 |
* narrowing.cc (doNarrowing): use QUANTIFY_STOP() |
| 11081 |
(narrowingCont): use QUANTIFY_START() |
| 11082 |
(doVuNarrowing): use QUANTIFY_STOP() |
| 11083 |
(vuNarrowingCont): use QUANTIFY_START() |
| 11084 |
|
| 11085 |
* match.cc (match): use QUANTIFY_START() |
| 11086 |
(doMatching): use QUANTIFY_STOP() |
| 11087 |
(matchCont): use use QUANTIFY_START() |
| 11088 |
(doMatching): updated comments |
| 11089 |
|
| 11090 |
* mixfix.hh: added QUANTIFY_START(), QUANTIFY_STOP() |
| 11091 |
|
| 11092 |
2017-03-30 Steven Eker <[email protected]> |
| 11093 |
|
| 11094 |
* interpreter.hh (ViewDatabase): make savedSolutionCount an Int64 |
| 11095 |
|
| 11096 |
* getVariants.cc (doGetVariants): make solutionCount and limit |
| 11097 |
64-bit |
| 11098 |
|
| 11099 |
* interpreter.hh (ViewDatabase): update decls for doNarrowing(), |
| 11100 |
doVuNarrowing(), doGetVariants(), doVariantUnification() |
| 11101 |
|
| 11102 |
* narrowing.cc (doNarrowing, doVuNarrowing): make solutionCount |
| 11103 |
and limit 64-bit |
| 11104 |
|
| 11105 |
* variantUnify.cc (variantUnify): echo debug flag |
| 11106 |
(doVariantUnification): make solutionCount and limit 64-bit |
| 11107 |
|
| 11108 |
* getVariants.cc (getVariants): echo debug flag |
| 11109 |
|
| 11110 |
* interpreter.hh (ViewDatabase): added decls for getVariantsCont() |
| 11111 |
and doGetVariants() |
| 11112 |
|
| 11113 |
* getVariants.cc (doGetVariants): added |
| 11114 |
(getVariantsCont): added |
| 11115 |
(getVariants): use doGetVariants() |
| 11116 |
|
| 11117 |
* variantUnify.cc (doVariantUnification): restructured; |
| 11118 |
use aborted() |
| 11119 |
(variantUnifyCont): handle debug flag |
| 11120 |
|
| 11121 |
2017-03-29 Steven Eker <[email protected]> |
| 11122 |
|
| 11123 |
* narrowing.cc (doNarrowing): don't call interrupted(); tidy up |
| 11124 |
after abort or solution exhaustion |
| 11125 |
(doVuNarrowing): don't call interrupted(); tidy up |
| 11126 |
after abort or solution exhaustion |
| 11127 |
|
| 11128 |
* getVariants.cc: renamed from variants.cc |
| 11129 |
|
| 11130 |
* variantUnify.cc (variantUnify, doVariantUnification) |
| 11131 |
(variantUnifyCont): moved here |
| 11132 |
|
| 11133 |
* interpreter.hh (ViewDatabase): added decls for doVariantUnification() |
| 11134 |
and variantUnifyCont() |
| 11135 |
(ViewDatabase): deleted decl for newNarrow() |
| 11136 |
|
| 11137 |
* variants.cc (doVariantUnification): added |
| 11138 |
(variantUnifyCont): added |
| 11139 |
|
| 11140 |
* search.cc (newNarrow): deleted |
| 11141 |
|
| 11142 |
* variants.cc (getVariants, variantUnify): moved here |
| 11143 |
|
| 11144 |
* narrowing.cc (doNarrowing): check for incompleteness |
| 11145 |
(doNarrowing): call printStats() |
| 11146 |
|
| 11147 |
2017-03-28 Steven Eker <[email protected]> |
| 11148 |
|
| 11149 |
* userLevelRewritingContext.cc (traceVariantNarrowingStep): use |
| 11150 |
narrowing version of printSubstitution() |
| 11151 |
|
| 11152 |
* interpreter.hh (ViewDatabase): added decl for narrowingCont() |
| 11153 |
|
| 11154 |
* userLevelRewritingContext.hh (ObjectSystemRewritingContext): added |
| 11155 |
decl for narrowing version of printSubstitution() |
| 11156 |
|
| 11157 |
* narrowing.cc (doVuNarrowing): use narrowing version of |
| 11158 |
printSubstitution() |
| 11159 |
|
| 11160 |
* userLevelRewritingContext.cc (printSubstitution): added narrowing |
| 11161 |
version |
| 11162 |
|
| 11163 |
* unify.cc: fixed comment since we not longer support xunify |
| 11164 |
|
| 11165 |
* narrowing.cc (narrowingCont): added |
| 11166 |
(doNarrowing): added continue support |
| 11167 |
|
| 11168 |
* cacheableRewritingContext.hh: created |
| 11169 |
|
| 11170 |
* userLevelRewritingContext.hh (ObjectSystemRewritingContext): made |
| 11171 |
complex ctor private |
| 11172 |
|
| 11173 |
2017-03-24 Steven Eker <[email protected]> |
| 11174 |
|
| 11175 |
* execute.cc (clearContinueInfo): don't delete and clear |
| 11176 |
savedUnificationProblem |
| 11177 |
|
| 11178 |
* interpreter.cc (Interpreter): don't clear |
| 11179 |
savedUnificationProblem |
| 11180 |
|
| 11181 |
* interpreter.hh (ViewDatabase): delete data member |
| 11182 |
savedUnificationProblem |
| 11183 |
|
| 11184 |
* unify.cc (unifyCont): use savedState |
| 11185 |
(doUnification): use savedState |
| 11186 |
|
| 11187 |
* execute.cc (clearContinueInfo): don't delete and clear |
| 11188 |
savedMatchSearchState |
| 11189 |
|
| 11190 |
* interpreter.cc (Interpreter): don't clear savedMatchSearchState |
| 11191 |
|
| 11192 |
* interpreter.hh (ViewDatabase): delete data member |
| 11193 |
savedMatchSearchState |
| 11194 |
|
| 11195 |
* match.cc (matchCont): use savedState |
| 11196 |
(doMatching): use savedState |
| 11197 |
|
| 11198 |
* execute.cc (clearContinueInfo): delete and clear savedState |
| 11199 |
|
| 11200 |
* interpreter.cc (Interpreter): clear savedState |
| 11201 |
|
| 11202 |
* interpreter.hh (ViewDatabase): added data member savedState |
| 11203 |
|
| 11204 |
* narrowing.cc (vuNarrowingCont): use savedState |
| 11205 |
(doVuNarrowing): use savedState |
| 11206 |
|
| 11207 |
2017-03-23 Steven Eker <[email protected]> |
| 11208 |
|
| 11209 |
* narrowing.cc (vuNarrowingCont): added |
| 11210 |
(doVuNarrowing): support continuation |
| 11211 |
|
| 11212 |
* interpreter.hh (ViewDatabase): added decl for vuNarrowingCont() |
| 11213 |
|
| 11214 |
* search.cc (search): doNarrowing2() -> doVuNarrowing() |
| 11215 |
|
| 11216 |
* interpreter.hh (ViewDatabase): doNarrowing2() -> |
| 11217 |
doVuNarrowing() |
| 11218 |
|
| 11219 |
* narrowing.cc: created |
| 11220 |
(doNarrowing2): moved here |
| 11221 |
(doNarrowing): moved here |
| 11222 |
(doNarrowing2): becomes doVuNarrowing() |
| 11223 |
|
| 11224 |
===================================Maude112a=========================================== |
| 11225 |
|
| 11226 |
2017-03-13 Steven Eker <[email protected]> |
| 11227 |
|
| 11228 |
* process.cc (processImports): don't add illegal parameters, since |
| 11229 |
even the creation of the illegal parameter copies can cause issues |
| 11230 |
|
| 11231 |
2017-03-10 Steven Eker <[email protected]> |
| 11232 |
|
| 11233 |
* search.cc (doNarrowing2): added incompleteness warning; took out |
| 11234 |
extra newline print |
| 11235 |
|
| 11236 |
2017-02-28 Steven Eker <[email protected]> |
| 11237 |
|
| 11238 |
* search.cc (doNarrowing2): added |
| 11239 |
(search): use doNarrowing2() to implement vu-narrow |
| 11240 |
|
| 11241 |
* interpreter.hh (ViewDatabase): added decl for doNarrowing2() |
| 11242 |
|
| 11243 |
2017-02-27 Steven Eker <[email protected]> |
| 11244 |
|
| 11245 |
* search.cc (search): added stub code for vu-narrow |
| 11246 |
|
| 11247 |
2017-02-24 Steven Eker <[email protected]> |
| 11248 |
|
| 11249 |
* interpreter.hh (ViewDatabase): added VU_NARROW to enum SearchKind |
| 11250 |
|
| 11251 |
* commands.yy (search): added KW_VU_NARROW to search |
| 11252 |
|
| 11253 |
* lexer.ll: added keyword vu-narrow |
| 11254 |
|
| 11255 |
* top.yy: added token KW_VU_NARROW |
| 11256 |
|
| 11257 |
===================================Maude111b=========================================== |
| 11258 |
|
| 11259 |
2017-01-06 Steven Eker <[email protected]> |
| 11260 |
|
| 11261 |
* banner.cc (printBanner): fix copyright year |
| 11262 |
|
| 11263 |
===================================Maude111a=========================================== |
| 11264 |
|
| 11265 |
2016-12-15 Steven Eker <[email protected]> |
| 11266 |
|
| 11267 |
* freshVariableSource.hh (FreshVariableGenerator): added decl for |
| 11268 |
belongsToFamily() |
| 11269 |
|
| 11270 |
* freshVariableSource.cc (belongsToFamily): added |
| 11271 |
|
| 11272 |
2016-12-08 Steven Eker <[email protected]> |
| 11273 |
|
| 11274 |
* freshVariableSource.hh (FreshVariableGenerator): added decl |
| 11275 |
for getFamily() |
| 11276 |
|
| 11277 |
* freshVariableSource.cc (getFamily): added |
| 11278 |
|
| 11279 |
2016-12-07 Steven Eker <[email protected]> |
| 11280 |
|
| 11281 |
* freshVariableSource.cc (getBaseName): added |
| 11282 |
|
| 11283 |
* freshVariableSource.hh (FreshVariableGenerator): added decl for |
| 11284 |
getBaseName() |
| 11285 |
|
| 11286 |
2016-11-01 Steven Eker <[email protected]> |
| 11287 |
|
| 11288 |
* search.cc (variantUnify): pass dummy argument to getNextUnifier() |
| 11289 |
|
| 11290 |
2016-10-28 Steven Eker <[email protected]> |
| 11291 |
|
| 11292 |
* doParse.cc (parseTerm): fix bug where we were calling fillInSortInfo() |
| 11293 |
before the module was semi-compiled and sort diagrams had been generated |
| 11294 |
|
| 11295 |
2016-10-26 Steven Eker <[email protected]> |
| 11296 |
|
| 11297 |
* freshVariableSource.cc (getFreshVariableName): rewritten to handle |
| 11298 |
multiple families of fresh variables |
| 11299 |
|
| 11300 |
* freshVariableSource.hh (FreshVariableGenerator): updated decl for |
| 11301 |
getFreshVariableName() |
| 11302 |
(FreshVariableGenerator): deleted data members cache, oddCache; added |
| 11303 |
data member caches |
| 11304 |
|
| 11305 |
===================================Maude111=========================================== |
| 11306 |
|
| 11307 |
2016-06-27 Steven Eker <[email protected]> |
| 11308 |
|
| 11309 |
* banner.cc (printBanner): update copyright year |
| 11310 |
|
| 11311 |
===================================Maude110b=========================================== |
| 11312 |
|
| 11313 |
2016-05-17 Steven Eker <[email protected]> |
| 11314 |
|
| 11315 |
* execute.cc (check): use normalize() and markEager() on term before |
| 11316 |
dagifying it. |
| 11317 |
(check): don't bother with markEager() |
| 11318 |
|
| 11319 |
2016-04-27 Steven Eker <[email protected]> |
| 11320 |
|
| 11321 |
* userLevelRewritingContext.cc (checkForPrintAttribute): use |
| 11322 |
printAttrStream |
| 11323 |
added definition for printAttrStream |
| 11324 |
|
| 11325 |
* userLevelRewritingContext.hh (ObjectSystemRewritingContext): added |
| 11326 |
decl for data member printAttrStream |
| 11327 |
(setPrintAttributeStream): added |
| 11328 |
|
| 11329 |
===================================Maude110=========================================== |
| 11330 |
|
| 11331 |
2016-02-04 Steven Eker <[email protected]> |
| 11332 |
|
| 11333 |
* search.cc (getVariants): use new getNextVariant() interface |
| 11334 |
|
| 11335 |
===================================Maude109=========================================== |
| 11336 |
|
| 11337 |
2015-12-23 Steven Eker <[email protected]> |
| 11338 |
|
| 11339 |
* token.cc (codeToRope): += rather than append() |
| 11340 |
|
| 11341 |
* auxProperty.cc: crope -> Rope throughout |
| 11342 |
|
| 11343 |
* moduleCache.cc (makeRenamedCopy, makeParameterCopy) |
| 11344 |
(makeInstatiation, makeSummation): use Token::ropeToCode() |
| 11345 |
|
| 11346 |
* token.hh (T): added decl for ropeToCode() |
| 11347 |
|
| 11348 |
* token.cc (ropeToCode): added |
| 11349 |
|
| 11350 |
* renaming.hh: include "rope.hh" rather than "ropeStuff.hh" |
| 11351 |
|
| 11352 |
* moduleCache.cc: crope -> Rope throughout |
| 11353 |
|
| 11354 |
* renaming.hh: crope -> Rope throughout |
| 11355 |
|
| 11356 |
* renaming.cc: crope -> Rope throughout |
| 11357 |
|
| 11358 |
* token.cc: crope -> Rope throughout |
| 11359 |
|
| 11360 |
* token.hh: crope -> Rope throughout |
| 11361 |
|
| 11362 |
===================================Maude108a=========================================== |
| 11363 |
|
| 11364 |
2015-09-11 Steven Eker <[email protected]> |
| 11365 |
|
| 11366 |
* prettyPrint.cc (<<): handle null DagNode* gracefully |
| 11367 |
|
| 11368 |
2015-08-21 Steven Eker <[email protected]> |
| 11369 |
|
| 11370 |
* bottom.yy: yyerror() now takes 2 args |
| 11371 |
|
| 11372 |
* top.yy: #define YYPARSE_PARAM removed; %parse-param added; |
| 11373 |
PARSE_RESULT no longer needs a cast; yyerror() decl now takes 2 |
| 11374 |
args |
| 11375 |
|
| 11376 |
* interact.cc: yyparse() now takes |
| 11377 |
UserLevelRewritingContext::ParseResult* in decl |
| 11378 |
|
| 11379 |
* top.yy: %pure_parser becomes %pure-parser |
| 11380 |
|
| 11381 |
2015-08-20 Steven Eker <[email protected]> |
| 11382 |
|
| 11383 |
* variableGenerator.cc: respect USE_CVC4 flag |
| 11384 |
|
| 11385 |
* variableGenerator.hh: respect USE_CVC4 flag |
| 11386 |
|
| 11387 |
2015-08-13 Steven Eker <[email protected]> |
| 11388 |
|
| 11389 |
* search.cc (variantUnify): check for incompleteness |
| 11390 |
(getVariants): check for incompleteness |
| 11391 |
|
| 11392 |
2015-07-23 Steven Eker <[email protected]> |
| 11393 |
|
| 11394 |
* unify.cc (doUnification): check for incompleteness |
| 11395 |
|
| 11396 |
===================================Maude108=========================================== |
| 11397 |
|
| 11398 |
2014-11-20 Steven Eker <[email protected]> |
| 11399 |
|
| 11400 |
* parameterization.cc (handleRegularImports): added |
| 11401 |
DebugAdvisory() for handling import of parameterized module during |
| 11402 |
instantiation |
| 11403 |
|
| 11404 |
* renaming.cc (makeCanonicalVersion): added DebugAdvisory() for |
| 11405 |
empty canonical renaming case |
| 11406 |
|
| 11407 |
===================================Maude107=========================================== |
| 11408 |
|
| 11409 |
2014-11-19 Steven Eker <[email protected]> |
| 11410 |
|
| 11411 |
* importTranslation.cc (translateRegularSymbol): more detailed Assert() |
| 11412 |
|
| 11413 |
===================================Maude106=========================================== |
| 11414 |
|
| 11415 |
2014-10-29 Steven Eker <[email protected]> |
| 11416 |
|
| 11417 |
* search.cc (smtSearch): deleted |
| 11418 |
(search): allocate VariableGenerator object on the heap now that |
| 11419 |
SMT_RewriteSequenceSearch destructs it |
| 11420 |
(search): call clearDebug() in SMT case |
| 11421 |
(search): call validForSMT_Rewriting() |
| 11422 |
|
| 11423 |
2014-10-23 Steven Eker <[email protected]> |
| 11424 |
|
| 11425 |
* search.cc (search): new solution format for smt-search results |
| 11426 |
|
| 11427 |
* userLevelRewritingContext.hh (ObjectSystemRewritingContext): |
| 11428 |
updated decl for printSubstitution |
| 11429 |
|
| 11430 |
* userLevelRewritingContext.cc (printSubstitution): rewritten to |
| 11431 |
take ignoredIndices |
| 11432 |
|
| 11433 |
* search.cc (search): use new SMT_RewriteSequenceSearch semantics |
| 11434 |
(search): use getFinalConstraint() rather than getMatchConstraint |
| 11435 |
|
| 11436 |
2014-10-22 Steven Eker <[email protected]> |
| 11437 |
|
| 11438 |
* search.cc (search): rewritten to hande search modulo SMT |
| 11439 |
directly |
| 11440 |
|
| 11441 |
2014-10-21 Steven Eker <[email protected]> |
| 11442 |
|
| 11443 |
* variableGenerator.cc (VariableGenerator): initialize pushCount |
| 11444 |
|
| 11445 |
* variableGenerator.hh (push): added |
| 11446 |
(pop): added |
| 11447 |
(clearAssertions): handle pushCount; |
| 11448 |
(SMT_EngineWrapper): added data member pushCount |
| 11449 |
|
| 11450 |
2014-10-17 Steven Eker <[email protected]> |
| 11451 |
|
| 11452 |
* search.cc (smtSearch): rewritten to use new |
| 11453 |
SMT_RewriteSequenceSearch design |
| 11454 |
|
| 11455 |
2014-10-15 Steven Eker <[email protected]> |
| 11456 |
|
| 11457 |
* search.cc (smtSearch): rewritten to use SMT_RewriteSequenceSearch |
| 11458 |
|
| 11459 |
2014-10-14 Steven Eker <[email protected]> |
| 11460 |
|
| 11461 |
* variableGenerator.hh (clearAssertions): made inline |
| 11462 |
|
| 11463 |
2014-10-03 Steven Eker <[email protected]> |
| 11464 |
|
| 11465 |
* variableGenerator.cc (VariableGenerator): call push() |
| 11466 |
|
| 11467 |
* variableGenerator.hh (clearAssertions): added |
| 11468 |
|
| 11469 |
2014-09-29 Steven Eker <[email protected]> |
| 11470 |
|
| 11471 |
* search.cc (smtSearch): pass VariableGenerator object to |
| 11472 |
SMT_RewriteSearchState via pointer rather than reference |
| 11473 |
|
| 11474 |
* variableGenerator.hh: SMT_VariableManager -> SMT_EngineWrapper |
| 11475 |
|
| 11476 |
===================================Maude105=========================================== |
| 11477 |
|
| 11478 |
2014-09-26 Steven Eker <[email protected]> |
| 11479 |
|
| 11480 |
* execute.cc (test): turned in to stub |
| 11481 |
|
| 11482 |
2014-09-25 Steven Eker <[email protected]> |
| 11483 |
|
| 11484 |
* variableGenerator.cc (makeFreshVariable): rewritten to use |
| 11485 |
mpz_class |
| 11486 |
|
| 11487 |
* variableGenerator.hh (SMT_VariableManager): updated decl for |
| 11488 |
makeFreshVariable() |
| 11489 |
|
| 11490 |
2014-09-19 Steven Eker <[email protected]> |
| 11491 |
|
| 11492 |
* search.cc (smtSearch): no # in solution message to avoid |
| 11493 |
confusion with fresh varaible numbering |
| 11494 |
|
| 11495 |
2014-09-18 Steven Eker <[email protected]> |
| 11496 |
|
| 11497 |
* execute.cc (printModifiers): fixed longstanding bug where we |
| 11498 |
weren't printing the [] notation if number2 was NONE and number |
| 11499 |
was something else |
| 11500 |
|
| 11501 |
* interpreter.hh (ViewDatabase): added decl for smtSearch() |
| 11502 |
|
| 11503 |
* search.cc (search): call smtSearch() |
| 11504 |
(smtSearch): added |
| 11505 |
|
| 11506 |
* interpreter.hh (ViewDatabase): added SMT_SEARCH to enum |
| 11507 |
SearchKind |
| 11508 |
|
| 11509 |
* commands.yy (search): added KW_SMT_SEARCH |
| 11510 |
|
| 11511 |
* top.yy: added KW_SMT_SEARCH |
| 11512 |
|
| 11513 |
* lexer.ll: added smt-search |
| 11514 |
|
| 11515 |
2014-09-16 Steven Eker <[email protected]> |
| 11516 |
|
| 11517 |
* variableGenerator.cc (VariableGenerator): use setOption() call |
| 11518 |
|
| 11519 |
* variableGenerator.hh (SMT_VariableManager): deleted data member |
| 11520 |
options |
| 11521 |
|
| 11522 |
2014-09-15 Steven Eker <[email protected]> |
| 11523 |
|
| 11524 |
* variableGenerator.cc (VariableGenerator): set options; create |
| 11525 |
exprManager and smtEngine |
| 11526 |
(~VariableGenerator): added to destruct exprManger and smtEngine |
| 11527 |
(dagToCVC4, makeVariable, assertDag, makeRationalConstant): deref |
| 11528 |
exprManager |
| 11529 |
(assertDag, checkDag): deref smtEngine |
| 11530 |
|
| 11531 |
* variableGenerator.hh (SMT_VariableManager): added data member |
| 11532 |
options; made exprManager and smtEngine into pointers; added decl |
| 11533 |
for ~VariableGenerator() |
| 11534 |
|
| 11535 |
* userLevelRewritingContext.cc (printSubstitution): fix bug where |
| 11536 |
we trying to dereference a null pointer in a DebugAdvisory() when |
| 11537 |
a variable was unbound |
| 11538 |
|
| 11539 |
2014-09-12 Steven Eker <[email protected]> |
| 11540 |
|
| 11541 |
* variableGenerator.hh (SMT_VariableManager): makeVariable() |
| 11542 |
become private now it is no longer overriding an abstract function |
| 11543 |
in the base class |
| 11544 |
|
| 11545 |
* variableGenerator.cc (VariableGenerator, makeVariable): use |
| 11546 |
exprManager |
| 11547 |
(makeBooleanExpr): use our local version of dagToCVC4() |
| 11548 |
(assertDag): use exprManager |
| 11549 |
|
| 11550 |
2014-09-11 Steven Eker <[email protected]> |
| 11551 |
|
| 11552 |
* variableGenerator.hh (SMT_VariableManager): added decls for |
| 11553 |
makeRationalConstant() and dagToCVC4() |
| 11554 |
|
| 11555 |
* variableGenerator.cc (dagToCVC4): added |
| 11556 |
(makeRationalConstant): added |
| 11557 |
|
| 11558 |
* execute.cc (sreduce): use new VariableGenerator semantics |
| 11559 |
|
| 11560 |
2014-09-08 Steven Eker <[email protected]> |
| 11561 |
|
| 11562 |
* variableGenerator.hh (SMT_VariableManager): added decl for |
| 11563 |
makeBooleanExpr() |
| 11564 |
|
| 11565 |
* variableGenerator.cc (VariableGenerator): init smtEngine |
| 11566 |
(assertDag, checkDag): added |
| 11567 |
(makeBooleanExpr): added |
| 11568 |
(assertDag, checkDag): simplified using makeBooleanExpr() |
| 11569 |
|
| 11570 |
* variableGenerator.hh (SMT_VariableManager): added declarations |
| 11571 |
for assertDag() and checkDag() |
| 11572 |
(SMT_VariableManager): added data member smtEngine |
| 11573 |
|
| 11574 |
2014-09-05 Steven Eker <[email protected]> |
| 11575 |
|
| 11576 |
* execute.cc (test): use validForSMT_Rewriting() |
| 11577 |
|
| 11578 |
* mixfixModule.hh (SharedTokens): added decl for |
| 11579 |
validForSMT_Rewriting() |
| 11580 |
|
| 11581 |
* mixfixModule.cc (validForSMT_Rewriting): added |
| 11582 |
|
| 11583 |
2014-08-13 Steven Eker <[email protected]> |
| 11584 |
|
| 11585 |
* execute.cc (test): added |
| 11586 |
|
| 11587 |
* interpreter.hh (ViewDatabase): added decl for test |
| 11588 |
|
| 11589 |
* commands.yy (command): added actions for KW_TEST |
| 11590 |
|
| 11591 |
* top.yy: added KW_TEST |
| 11592 |
|
| 11593 |
* lexer.ll: added KW_TEST |
| 11594 |
|
| 11595 |
2014-08-12 Steven Eker <[email protected]> |
| 11596 |
|
| 11597 |
* variableGenerator.cc (makeVariable): use SMT_Info |
| 11598 |
(makeFreshVariable): fleshed out stub |
| 11599 |
|
| 11600 |
2014-08-11 Steven Eker <[email protected]> |
| 11601 |
|
| 11602 |
* mixfixModule.cc (getSMT_NumberToken): use getSMT_Info() |
| 11603 |
(findSMT_NumberSymbol): use getSMT_Info() |
| 11604 |
|
| 11605 |
* makeGrammar.cc (makeSymbolProductions): use getSMT_Info() |
| 11606 |
|
| 11607 |
* graphPrint.cc (graphPrint): use getSMT_Info() |
| 11608 |
|
| 11609 |
* bufferPrint.cc (handleSMT_NumberSymbol): use getSMT_Info() |
| 11610 |
|
| 11611 |
* dagNodePrint.cc (handleSMT_Number): use getSMT_Info() |
| 11612 |
|
| 11613 |
* termPrint.cc (handleSMT_Number): use getSMT_Info() |
| 11614 |
|
| 11615 |
* mixfixModule.hh (SharedTokens): updated decl for findSMT_NumberSymbol() |
| 11616 |
|
| 11617 |
* variableGenerator.cc (VariableGenerator): use smtInfo rather |
| 11618 |
than sortMap |
| 11619 |
|
| 11620 |
* variableGenerator.hh (SMT_VariableManager): sortMap becomes |
| 11621 |
smtInfo; updated decl for ctor |
| 11622 |
|
| 11623 |
* execute.cc (check): use smtInfo rather than sortMap |
| 11624 |
|
| 11625 |
* mixfixModule.hh (SharedTokens): decl for getSMT_Info() replaces |
| 11626 |
decl for getSortMap(); |
| 11627 |
(SharedTokens): sortMap becomes smtInfo |
| 11628 |
|
| 11629 |
* mixfixModule.cc (getSortMap): becomes getSMT_Info() |
| 11630 |
|
| 11631 |
2014-08-06 Steven Eker <[email protected]> |
| 11632 |
|
| 11633 |
* variableGenerator.hh (SMT_VariableManager): added decl for |
| 11634 |
makeFreshVariable() |
| 11635 |
|
| 11636 |
* variableGenerator.cc (makeFreshVariable): added |
| 11637 |
|
| 11638 |
2014-07-30 Steven Eker <[email protected]> |
| 11639 |
|
| 11640 |
* execute.cc (check): don't bother indexing variables |
| 11641 |
|
| 11642 |
2014-07-29 Steven Eker <[email protected]> |
| 11643 |
|
| 11644 |
* execute.cc (check): use VariableGenerator |
| 11645 |
|
| 11646 |
* SMT_VariableGenerator.cc: becomes variableGenerator.cc |
| 11647 |
|
| 11648 |
* SMT_VariableGenerator.hh: becomes variableGenerator.hh |
| 11649 |
|
| 11650 |
2014-07-28 Steven Eker <[email protected]> |
| 11651 |
|
| 11652 |
* SMT_VariableGenerator.cc: created |
| 11653 |
|
| 11654 |
* SMT_VariableGenerator.hh: created |
| 11655 |
|
| 11656 |
===================================Maude104=========================================== |
| 11657 |
|
| 11658 |
2014-06-04 Steven Eker <[email protected]> |
| 11659 |
|
| 11660 |
* execute.cc (check): clean up; extra sanity checks |
| 11661 |
(check): use QUOTE() in warnings |
| 11662 |
|
| 11663 |
* dagNodePrint.cc (prettyPrint): deleted commented out code |
| 11664 |
|
| 11665 |
* termPrint.cc (prettyPrint): deleted commented out code |
| 11666 |
|
| 11667 |
* bufferPrint.cc (prettyPrint): deleted commented out code |
| 11668 |
|
| 11669 |
2014-06-03 Steven Eker <[email protected]> |
| 11670 |
|
| 11671 |
* termPrint.cc (handleSMT_Number): use getRangeSort() |
| 11672 |
|
| 11673 |
* mixfixModule.cc (findSMT_NumberSymbol): use getRangeSort() |
| 11674 |
|
| 11675 |
* makeGrammar.cc (makeSymbolProductions): use getRangeSort() |
| 11676 |
|
| 11677 |
* graphPrint.cc (graphPrint): use getRangeSort() |
| 11678 |
|
| 11679 |
* dagNodePrint.cc (handleSMT_Number): use getRangeSort() |
| 11680 |
|
| 11681 |
* bufferPrint.cc (prettyPrint): pass argRangeKnown to recursive |
| 11682 |
call to fix bug we introduced when we rewrote the function |
| 11683 |
(handleSMT_NumberSymbol): use getRangeSort() |
| 11684 |
|
| 11685 |
2014-06-02 Steven Eker <[email protected]> |
| 11686 |
|
| 11687 |
* bufferPrint.cc (prettyPrint): use rangeOfArgumentsKnown() |
| 11688 |
|
| 11689 |
* dagNodePrint.cc (prettyPrint): use rangeOfArgumentsKnown() |
| 11690 |
|
| 11691 |
* termPrint.cc (prettyPrint): use rangeOfArgumentsKnown() |
| 11692 |
|
| 11693 |
* sharedPrint.cc (ambiguous): added comments |
| 11694 |
|
| 11695 |
* mixfixModule.hh (SharedTokens): added decl for |
| 11696 |
rangeOfArgumentsKnown() |
| 11697 |
|
| 11698 |
* sharedPrint.cc (rangeOfArgumentsKnown): added |
| 11699 |
|
| 11700 |
* bufferPrint.cc (handleFloat, handleString) |
| 11701 |
(handleQuotedIdentifier): added |
| 11702 |
(prettyPrint): call handleFloat(), handleString(), |
| 11703 |
handleQuotedIdentifer() |
| 11704 |
|
| 11705 |
* mixfixModule.hh (SharedTokens): added decls for handleFloat(), |
| 11706 |
handleString(), handleQuotedIdentifier() |
| 11707 |
|
| 11708 |
2014-05-30 Steven Eker <[email protected]> |
| 11709 |
|
| 11710 |
* mixfixModule.hh (SharedTokens): updated decls for handleIter(), |
| 11711 |
handleMinus(), handleDivision(), handleSMT_NumberSymbol() |
| 11712 |
|
| 11713 |
* bufferPrint.cc (handleIter): rewritten |
| 11714 |
(handleMinus): rewritten |
| 11715 |
(handleDivision): rewritten |
| 11716 |
(handleSMT_NumberSymbol): rewritten |
| 11717 |
|
| 11718 |
* mixfixModule.hh (SharedTokens): added decls for buffer print |
| 11719 |
versions of prefix() and suffix() |
| 11720 |
|
| 11721 |
* bufferPrint.cc (prefix, suffix): added |
| 11722 |
|
| 11723 |
* mixfixModule.cc (getSortMap): fill out kindsWithMinus |
| 11724 |
|
| 11725 |
* entry.cc (addOpDeclaration): use PSEUDO_ZERO |
| 11726 |
|
| 11727 |
* sharedPrint.cc (ambiguous): check PSEUDO_ZERO and kindsWithZero |
| 11728 |
|
| 11729 |
* mixfixModule.hh (SharedTokens): added PSEUDO_ZERO to enum |
| 11730 |
InternalFlags |
| 11731 |
(SharedTokens): added data member kindsWithZero |
| 11732 |
|
| 11733 |
2014-05-29 Steven Eker <[email protected]> |
| 11734 |
|
| 11735 |
* entry.cc (addOpDeclaration): treat ZERO case as PSEUDO_NAT so |
| 11736 |
the SMT Integer disambiguation works for 0 |
| 11737 |
|
| 11738 |
* mixfixModule.hh (SharedTokens): added comments for InternalFlags |
| 11739 |
|
| 11740 |
* sharedPrint.cc (prefix): moved here from dagNodePrint.cc |
| 11741 |
|
| 11742 |
2014-05-21 Steven Eker <[email protected]> |
| 11743 |
|
| 11744 |
* execute.cc: deepSelfDestruct() term |
| 11745 |
|
| 11746 |
2014-05-20 Steven Eker <[email protected]> |
| 11747 |
|
| 11748 |
* token.cc (int64ToCode): fix bug where we weren't checking for |
| 11749 |
ZERO property - in practice this bug can't be exercised since |
| 11750 |
code it only called from the metalevel, and the prelude will |
| 11751 |
generate a 0 token before we can |
| 11752 |
|
| 11753 |
2014-05-19 Steven Eker <[email protected]> |
| 11754 |
|
| 11755 |
* mixfixModule.hh (SharedTokens): added decl for |
| 11756 |
getSMT_NumberToken() |
| 11757 |
|
| 11758 |
* mixfixModule.cc (getSMT_NumberToken): added |
| 11759 |
|
| 11760 |
* token.cc (looksLikeRational): allow 0/n |
| 11761 |
|
| 11762 |
2014-05-16 Steven Eker <[email protected]> |
| 11763 |
|
| 11764 |
* makeGrammar.cc (makeSymbolProductions): added production for |
| 11765 |
ZERO as an SMT_NUMBER |
| 11766 |
|
| 11767 |
* prettyPrint.cc (<<): added ConnectedComponent version |
| 11768 |
|
| 11769 |
* entry.cc (addOpDeclaration): fill out SMT_NumberSymbols map |
| 11770 |
|
| 11771 |
* mixfixModule.cc (findSMT_NumberSymbol): implemented |
| 11772 |
|
| 11773 |
2014-05-15 Steven Eker <[email protected]> |
| 11774 |
|
| 11775 |
* mixfixModule.hh (SharedTokens): added SMT_NumberSymbols data |
| 11776 |
member |
| 11777 |
|
| 11778 |
* mixfixModule.cc (findSMT_NumberSymbol): added stub |
| 11779 |
|
| 11780 |
* mixfixModule.hh (SharedTokens): updated comments now that we use |
| 11781 |
kindsWith* sets slightly differently |
| 11782 |
(SharedTokens): added decl for findSMT_NumberSymbol |
| 11783 |
|
| 11784 |
* mixfixModule.cc (getSortMap): record SMT integers as belonging |
| 11785 |
to kindsWithMinus |
| 11786 |
|
| 11787 |
2014-05-14 Steven Eker <[email protected]> |
| 11788 |
|
| 11789 |
* mixfixModule.hh (SharedTokens): added decl for buffer version of |
| 11790 |
handleSMT_NumberSymbol() |
| 11791 |
|
| 11792 |
* bufferPrint.cc (handleSMT_NumberSymbol): added |
| 11793 |
(prettyPrint): call handleSMT_NumberSymbol() |
| 11794 |
|
| 11795 |
* graphPrint.cc (graphPrint): handle SMT numbers |
| 11796 |
|
| 11797 |
* mixfixParser.cc (makeTerm): call canonicalize() on newly created |
| 11798 |
SMT number |
| 11799 |
|
| 11800 |
* mixfixModule.hh (SharedTokens): added decl for |
| 11801 |
handleSMT_Number() |
| 11802 |
|
| 11803 |
* dagNodePrint.cc (prettyPrint): call handleSMT_Number() |
| 11804 |
(handleSMT_Number): added |
| 11805 |
|
| 11806 |
2014-05-13 Steven Eker <[email protected]> |
| 11807 |
|
| 11808 |
* makeGrammar.cc (makeSymbolProductions): added SMT production for |
| 11809 |
SMALL_NAT |
| 11810 |
|
| 11811 |
* mixfixParser.cc (makeTerm): added MAKE_SMT_NUMBER case |
| 11812 |
|
| 11813 |
* mixfixParser.hh (M): added MAKE_SMT_NUMBER to enum SemanticActions |
| 11814 |
|
| 11815 |
* makeGrammar.cc (makeSymbolProductions): addd productions for SMT numbers |
| 11816 |
|
| 11817 |
* mixfixModule.cc (getSortMap): track kinds containing things that |
| 11818 |
look like integers or rational numbers for pretty printing |
| 11819 |
disambiguation |
| 11820 |
|
| 11821 |
* mixfixModule.hh (SharedTokens): added decl for |
| 11822 |
handleSMT_Number() |
| 11823 |
|
| 11824 |
* termPrint.cc (prettyPrint): added SMT_NUMBER_SYMBOL case |
| 11825 |
(handleSMT_Number): added |
| 11826 |
|
| 11827 |
2014-05-08 Steven Eker <[email protected]> |
| 11828 |
|
| 11829 |
* symbolType.hh (S): added SMT_NUMBER_SYMBOL |
| 11830 |
|
| 11831 |
* entry.cc (newFancySymbol): added SMT_NumberSymbol |
| 11832 |
|
| 11833 |
* specialSymbolTypes.cc: added SMT_NumberSymbol |
| 11834 |
|
| 11835 |
2014-05-07 Steven Eker <[email protected]> |
| 11836 |
|
| 11837 |
* execute.cc (check): pass sort map to dagToCVC4() |
| 11838 |
|
| 11839 |
2014-05-06 Steven Eker <[email protected]> |
| 11840 |
|
| 11841 |
* execute.cc (check): handle integer and real variables |
| 11842 |
(check): fix bug where we were making Boolean rather than Integer |
| 11843 |
variable |
| 11844 |
|
| 11845 |
* mixfixModule.cc (getSortMap): added |
| 11846 |
|
| 11847 |
* mixfixModule.hh (SharedTokens): addded decl for getSortMap() |
| 11848 |
(SharedTokens): added data member sortMap |
| 11849 |
|
| 11850 |
2014-04-30 Steven Eker <[email protected]> |
| 11851 |
|
| 11852 |
* execute.cc (check): rewritten to use new dagToCVC4 convention |
| 11853 |
|
| 11854 |
2014-04-29 Steven Eker <[email protected]> |
| 11855 |
|
| 11856 |
* interpreter.hh (ViewDatabase): added decl for check() |
| 11857 |
|
| 11858 |
* commands.yy (command): added syntax for check command |
| 11859 |
|
| 11860 |
* top.yy: added KW_CHECK |
| 11861 |
|
| 11862 |
* lexer.ll: added KW_CHECK |
| 11863 |
|
| 11864 |
2014-04-25 Steven Eker <[email protected]> |
| 11865 |
|
| 11866 |
* symbolType.hh (S): added SMT_SYMBOL |
| 11867 |
|
| 11868 |
* entry.cc (newFancySymbol): added SMT_Symbol |
| 11869 |
|
| 11870 |
* specialSymbolTypes.cc: added SMT_Symbol |
| 11871 |
|
| 11872 |
===================================Maude103=========================================== |
| 11873 |
|
| 11874 |
2014-02-28 Steven Eker <[email protected]> |
| 11875 |
|
| 11876 |
* search.cc (getVariants): handle irredundant flag |
| 11877 |
(getVariants): output timing information after each variant |
| 11878 |
number in incremental mode |
| 11879 |
(variantUnify): output timing information after each unifier |
| 11880 |
number |
| 11881 |
|
| 11882 |
* lexer.ll: added KW_IRREDUNDANT |
| 11883 |
|
| 11884 |
* top.yy: added type for optIrredundant; added KW_IRREDUNDANT |
| 11885 |
|
| 11886 |
* commands.yy (optIrredundant): added |
| 11887 |
(command): use optIrredundant |
| 11888 |
|
| 11889 |
2014-02-27 Steven Eker <[email protected]> |
| 11890 |
|
| 11891 |
* interact.cc (stackOverflowHandler, internalErrorHandler): added |
| 11892 |
(void) casts |
| 11893 |
|
| 11894 |
2014-02-26 Steven Eker <[email protected]> |
| 11895 |
|
| 11896 |
* global.hh: added alwaysAdviseFlag |
| 11897 |
|
| 11898 |
* global.cc: added alwaysAdviseFlag |
| 11899 |
|
| 11900 |
* commands.yy (command): honor alwaysAdviseFlag |
| 11901 |
|
| 11902 |
===================================Maude101=========================================== |
| 11903 |
|
| 11904 |
2014-02-14 Steven Eker <[email protected]> |
| 11905 |
|
| 11906 |
* execute.cc (sreduce): use term2InstructionSequence() to get |
| 11907 |
initial sequence of stack machine instructions |
| 11908 |
|
| 11909 |
2014-02-07 Steven Eker <[email protected]> |
| 11910 |
|
| 11911 |
* banner.cc (printBanner): update copyright yearl |
| 11912 |
|
| 11913 |
2014-02-06 Steven Eker <[email protected]> |
| 11914 |
|
| 11915 |
* mixfixParser.cc (makePrintList): delete unused typedef IntPair |
| 11916 |
|
| 11917 |
* renaming.hh (SyntaxContainer): added virtual dtor to placate gcc |
| 11918 |
|
| 11919 |
2014-02-03 Steven Eker <[email protected]> |
| 11920 |
|
| 11921 |
* lexerAux.cc (eatComment): added IssueAdvisory() for null |
| 11922 |
characters in comments |
| 11923 |
|
| 11924 |
2014-01-31 Steven Eker <[email protected]> |
| 11925 |
|
| 11926 |
* execute.cc (sreduce): call stackMachineCompile() |
| 11927 |
|
| 11928 |
* syntacticPreModule.cc (getFlatModule): use < rather than != for |
| 11929 |
comparing against THEORY_CLOSED |
| 11930 |
|
| 11931 |
===================================Maude100a=========================================== |
| 11932 |
|
| 11933 |
* execute.cc (sreduce): convert abstract slots in the dummyBuilder |
| 11934 |
into the concrete slots that StackMachineRhsCompiler now expects |
| 11935 |
(sreduce): removed old if'd out code |
| 11936 |
|
| 11937 |
2013-10-29 Steven Eker <[email protected]> |
| 11938 |
|
| 11939 |
* execute.cc (sreduce): rewritten |
| 11940 |
|
| 11941 |
===================================Maude100=========================================== |
| 11942 |
|
| 11943 |
2013-09-24 Steven Eker <[email protected]> |
| 11944 |
|
| 11945 |
* modules.yy (viewEndOpMap): add missing ; after lexBubble call |
| 11946 |
|
| 11947 |
* commands.yy (command): add missing ; after lexBubble() calls |
| 11948 |
|
| 11949 |
===================================Maude98=========================================== |
| 11950 |
|
| 11951 |
2013-08-15 Steven Eker <[email protected]> |
| 11952 |
|
| 11953 |
* execute.cc (sreduce): use new execute() mechanism |
| 11954 |
|
| 11955 |
2013-03-06 Steven Eker <[email protected]> |
| 11956 |
|
| 11957 |
* loopMode.cc (printBubble): fixed a bug where printing the empty |
| 11958 |
token caused an out-of-bounds memory reference |
| 11959 |
|
| 11960 |
2012-11-01 Steven Eker <[email protected]> |
| 11961 |
|
| 11962 |
* userLevelRewritingContext.cc (tracePreEqRewrite): added call to flush() |
| 11963 |
|
| 11964 |
===================================Maude96b=========================================== |
| 11965 |
|
| 11966 |
2012-08-06 Steven Eker <[email protected]> |
| 11967 |
|
| 11968 |
* commands.yy (command): call getVariants() |
| 11969 |
|
| 11970 |
* lexer.ll: KW_GENERATE becomes KW_GET |
| 11971 |
|
| 11972 |
* top.yy: KW_GENERATE becomes KW_GET |
| 11973 |
|
| 11974 |
* commands.yy (command): support debug in variant unify command |
| 11975 |
(command): generate variants becomes get variants and takes debug |
| 11976 |
prefix |
| 11977 |
(genvars): deleted |
| 11978 |
|
| 11979 |
* interpreter.hh (ViewDatabase): updated decl for variantUnify(); |
| 11980 |
decl for getVariants() replaces decl for generateVariants() |
| 11981 |
|
| 11982 |
* search.cc (variantUnify): added debug flag |
| 11983 |
(generateVariants): added debug flag; becomes getVariants() |
| 11984 |
|
| 11985 |
* lexerAux.hh: don't declare getInput() here because yy_size_t is |
| 11986 |
only available within the flex output file |
| 11987 |
|
| 11988 |
* lexerAux.cc (getInput): use yy_size_t rather than int because |
| 11989 |
Mac version of flex is 64-bit clean |
| 11990 |
|
| 11991 |
* lexer.ll: moved decl for getInput() here; hack to deal with int |
| 11992 |
vs yy_size_t for YY_INPUT 2nd argument |
| 11993 |
|
| 11994 |
2012-07-31 Steven Eker <[email protected]> |
| 11995 |
|
| 11996 |
* search.cc (variantUnify): call clearDebug() |
| 11997 |
(generateVariants): call clearDebug() |
| 11998 |
|
| 11999 |
2012-07-27 Steven Eker <[email protected]> |
| 12000 |
|
| 12001 |
* search.cc (generateVariants): call unprotect() |
| 12002 |
(variantUnify): use makeUnificationProblemDag(); call unprotect() |
| 12003 |
(variantUnify): pass unificationMode flag to VariantSearch() |
| 12004 |
|
| 12005 |
* mixfixModule.hh (SharedTokens): added decl for |
| 12006 |
makeUnificationProblemDag() |
| 12007 |
|
| 12008 |
* mixfixModule.cc (makeUnificationProblemDag): created |
| 12009 |
|
| 12010 |
* mixfixModule.hh (SharedTokens): added decl for |
| 12011 |
createInternalTupleSymbol(); added types IntList and |
| 12012 |
InternalTupleMap; added data member tupleSymbols |
| 12013 |
|
| 12014 |
* mixfixModule.cc (createInternalTupleSymbol): added |
| 12015 |
|
| 12016 |
* symbolType.hh (S): added INTERNALTUPLE |
| 12017 |
|
| 12018 |
2012-07-26 Steven Eker <[email protected]> |
| 12019 |
|
| 12020 |
* search.cc (variantUnify): is parseVariantUnifyCommand(); echo |
| 12021 |
constraint |
| 12022 |
|
| 12023 |
* mixfixParser.hh (M): added decl for makeVariantUnifyCommand() |
| 12024 |
|
| 12025 |
* mixfixParser.cc (makeVariantUnifyCommand): added |
| 12026 |
|
| 12027 |
* makeGrammar.cc (makeComplexProductions): added productions for |
| 12028 |
VARIANT_UNIFY_COMMAND |
| 12029 |
|
| 12030 |
* mixfixModule.hh (SharedTokens): added decl for |
| 12031 |
parseVariantUnifyCommand() |
| 12032 |
|
| 12033 |
* doParse.cc (parseVariantUnifyCommand): added |
| 12034 |
|
| 12035 |
* mixfixModule.hh (SharedTokens): added VARIANT_UNIFY_COMMAND |
| 12036 |
|
| 12037 |
* search.cc (variantUnify): added |
| 12038 |
|
| 12039 |
* interpreter.hh (ViewDatabase): added decl for variantUnify |
| 12040 |
|
| 12041 |
* commands.yy (command): added syntax for variant unify command |
| 12042 |
|
| 12043 |
* top.yy: added KW_VARIANT |
| 12044 |
|
| 12045 |
* lexer.ll: added KW_VARIANT |
| 12046 |
|
| 12047 |
2012-07-23 Steven Eker <[email protected]> |
| 12048 |
|
| 12049 |
* search.cc (generateVariants): output no variants message in the |
| 12050 |
case that there are no variants because a blocker dag is reducible |
| 12051 |
(generateVariants): use term2Dag() and deepSelfDestruct() instead |
| 12052 |
of makeDag() |
| 12053 |
(generateVariants): call normalize() after all to make sure hash |
| 12054 |
values are valid |
| 12055 |
|
| 12056 |
* syntacticPreModule.hh (SharedTokens): removed two declarations |
| 12057 |
for makeDag() that don't seem to be used |
| 12058 |
|
| 12059 |
2012-07-19 Steven Eker <[email protected]> |
| 12060 |
|
| 12061 |
* search.cc (generateVariants): echo constraint list |
| 12062 |
(generateVariants): turn constraint list in to blocker dags; # |
| 12063 |
variables from variableInfo is no longer accurate because of |
| 12064 |
variables in blocker dags |
| 12065 |
|
| 12066 |
* mixfixParser.hh (M): added decl for makeTermList() |
| 12067 |
(M): added MAKE_TERM_LIST |
| 12068 |
|
| 12069 |
* mixfixParser.cc (makeGetVariantsCommand): use makeTermList() |
| 12070 |
(makeTermList): added |
| 12071 |
|
| 12072 |
* makeGrammar.cc (makeComplexProductions): added syntax for get |
| 12073 |
variants with irreducibility constraint; added syntax for |
| 12074 |
hetrogeneous term lists |
| 12075 |
(makeComplexProductions): use emptyGather for "such that" and "s.t." |
| 12076 |
|
| 12077 |
* mixfixModule.hh (SharedTokens): added TERM_LIST |
| 12078 |
|
| 12079 |
* search.cc (generateVariants): use parseGetVariantsCommand() |
| 12080 |
|
| 12081 |
* mixfixParser.hh (M): added decl for makeGetVariantsCommand() |
| 12082 |
|
| 12083 |
* mixfixParser.cc (makeGetVariantsCommand): added |
| 12084 |
|
| 12085 |
* makeGrammar.cc (makeComplexProductions): added a production for |
| 12086 |
GET_VARIANTS_COMMAND |
| 12087 |
|
| 12088 |
* mixfixModule.hh (SharedTokens): added decl for |
| 12089 |
parseGetVariantsCommand() |
| 12090 |
|
| 12091 |
* doParse.cc (parseGetVariantCommand): added |
| 12092 |
|
| 12093 |
* specialTokens.cc: added irreducible |
| 12094 |
|
| 12095 |
* mixfixModule.hh (SharedTokens): added GET_VARIANTS_COMMAND |
| 12096 |
|
| 12097 |
* search.cc: deleted commented out functions |
| 12098 |
(generateVariants): respect limit |
| 12099 |
|
| 12100 |
2012-07-18 Steven Eker <[email protected]> |
| 12101 |
|
| 12102 |
* search.cc (generateVariants): pass blocker dags to VariantSearch |
| 12103 |
|
| 12104 |
2012-07-09 Steven Eker <[email protected]> |
| 12105 |
|
| 12106 |
* freshVariableSource.cc (getFreshVariableName): reenable % |
| 12107 |
variables |
| 12108 |
(variableNameConflict): reenable % variables |
| 12109 |
|
| 12110 |
2012-07-06 Steven Eker <[email protected]> |
| 12111 |
|
| 12112 |
* freshVariableSource.cc (getFreshVariableName) |
| 12113 |
(variableNameConflict): updated comments |
| 12114 |
|
| 12115 |
===================================Maude96a=========================================== |
| 12116 |
|
| 12117 |
2012-05-23 Steven Eker <[email protected]> |
| 12118 |
|
| 12119 |
* freshVariableSource.cc (variableNameConflict): disable % |
| 12120 |
variables for the moment |
| 12121 |
(getFreshVariableName): disable % variables for the moment |
| 12122 |
|
| 12123 |
2012-05-22 Steven Eker <[email protected]> |
| 12124 |
|
| 12125 |
* search.cc (generateVariants): ignore limit as this seems to be |
| 12126 |
breaking things |
| 12127 |
|
| 12128 |
2012-05-21 Steven Eker <[email protected]> |
| 12129 |
|
| 12130 |
* search.cc (generateVariants): check for traceAbort() |
| 12131 |
(generateVariants): check counter against limit |
| 12132 |
(generateVariants): delete freshVariableGenerator when we are done |
| 12133 |
(generateVariants): pass responsibility for deleting context and |
| 12134 |
freshVariableGenerator to ~VariantSearch() - this cleans interface |
| 12135 |
for metalevel |
| 12136 |
|
| 12137 |
* execute.cc (printStats): print number of narrowing and variant |
| 12138 |
narrowing steps |
| 12139 |
|
| 12140 |
* userLevelRewritingContext.hh (ObjectSystemRewritingContext): |
| 12141 |
updated decl for traceVariantNarrowingStep() |
| 12142 |
|
| 12143 |
* userLevelRewritingContext.cc (traceVariantNarrowingStep): take |
| 12144 |
originalVariables argument and use it when printing out |
| 12145 |
substitution part of old and new variants |
| 12146 |
|
| 12147 |
* search.cc (generateVariants): make output of variants consistent |
| 12148 |
with previous conventions |
| 12149 |
|
| 12150 |
2012-05-18 Steven Eker <[email protected]> |
| 12151 |
|
| 12152 |
* userLevelRewritingContext.hh (ObjectSystemRewritingContext): |
| 12153 |
added decl for traceVariantNarrowingStep() |
| 12154 |
|
| 12155 |
* userLevelRewritingContext.cc (traceVariantNarrowingStep): added |
| 12156 |
|
| 12157 |
2012-05-17 Steven Eker <[email protected]> |
| 12158 |
|
| 12159 |
* lexer.ll: allow get as a synonym for generate |
| 12160 |
|
| 12161 |
2012-05-11 Steven Eker <[email protected]> |
| 12162 |
|
| 12163 |
* freshVariableSource.cc (getFreshVariableName): support odd field |
| 12164 |
(variableNameConflict): check for names beginning with % |
| 12165 |
|
| 12166 |
* freshVariableSource.hh (FreshVariableGenerator): added odd field |
| 12167 |
to getFreshVariableName() decl |
| 12168 |
(FreshVariableGenerator): added data member oddCache |
| 12169 |
|
| 12170 |
2012-05-03 Steven Eker <[email protected]> |
| 12171 |
|
| 12172 |
* prettyPrint.cc (printAttributes): print variant attribute |
| 12173 |
|
| 12174 |
* importModule.cc (donateStatements2): copy variant attribute |
| 12175 |
|
| 12176 |
* mixfixParser.cc (makeStatementPart): hande VARIANT attribute |
| 12177 |
|
| 12178 |
* specialTokens.cc: added variant |
| 12179 |
|
| 12180 |
* mixfixParser.hh (M): added MAKE_VARIANT_ATTRIBUTE to enum SemanticActions |
| 12181 |
(M): added VARIANT to enum Flags |
| 12182 |
|
| 12183 |
* mixfixParser.cc (makeAttributePart): support VARIANT attribute |
| 12184 |
|
| 12185 |
* makeGrammar.cc (makeAttributeProductions): added production for |
| 12186 |
variant attribute |
| 12187 |
|
| 12188 |
2012-04-19 Steven Eker <[email protected]> |
| 12189 |
|
| 12190 |
* search.cc (generateVariants): use new version of UnifierFilter |
| 12191 |
(generateVariants): examine all non-variable positions in dag |
| 12192 |
|
| 12193 |
2012-03-30 Steven Eker <[email protected]> |
| 12194 |
|
| 12195 |
* quotedIdentifierSymbol.cc (termify): added |
| 12196 |
|
| 12197 |
2012-03-29 Steven Eker <[email protected]> |
| 12198 |
|
| 12199 |
* search.cc (generateVariants): added |
| 12200 |
|
| 12201 |
2012-03-28 Steven Eker <[email protected]> |
| 12202 |
|
| 12203 |
* commands.yy (command): added syntax for generate variants command |
| 12204 |
|
| 12205 |
* lexer.ll: added initial mode keywords generate and variant |
| 12206 |
|
| 12207 |
===================================Maude96=========================================== |
| 12208 |
|
| 12209 |
2010-12-09 Steven Eker <eker@rho> |
| 12210 |
|
| 12211 |
* modules.yy (skipStrayArrow): added |
| 12212 |
(viewDeclaration): use skipStrayArrow to overparse var X : -> Foo . |
| 12213 |
(declaration): ditto |
| 12214 |
(skipStrayArrow): get line number from stray token |
| 12215 |
(skipStrayColon): added |
| 12216 |
|
| 12217 |
2010-11-30 Steven Eker <eker@rho> |
| 12218 |
|
| 12219 |
* profileModule.cc (ProfileModule::profileFragment): added |
| 12220 |
Asserts() to check for bad ModuleInfo |
| 12221 |
|
| 12222 |
* trial.cc (UserLevelRewritingContext::traceEndFragment): check |
| 12223 |
for undefined trialRef before calling the profiler since this |
| 12224 |
generally means we are tracing a Pattern (which doesn't belong to |
| 12225 |
a module and can't be profiled in the current implementation) |
| 12226 |
|
| 12227 |
===================================Maude95b=========================================== |
| 12228 |
|
| 12229 |
2010-10-19 Steven Eker <eker@rho> |
| 12230 |
|
| 12231 |
* quotedIdentifierSymbol.cc |
| 12232 |
(QuotedIdentifierSymbol::makeCanonicalCopyEagerUptoReduced): |
| 12233 |
deleted |
| 12234 |
|
| 12235 |
* quotedIdentifierSymbol.hh (class QuotedIdentifierSymbol): |
| 12236 |
deleted decl for makeCanonicalCopyEagerUptoReduced() |
| 12237 |
|
| 12238 |
===================================Maude95a=========================================== |
| 12239 |
|
| 12240 |
2010-10-06 Steven Eker <eker@rho> |
| 12241 |
|
| 12242 |
* renameModule.cc (ImportModule::donateOps2): use new symbol name |
| 12243 |
rather than old symbol name in Advisory() |
| 12244 |
|
| 12245 |
* moduleCache.cc (ModuleCache::makeRenamedCopy): don't cache bad |
| 12246 |
renamed modules |
| 12247 |
|
| 12248 |
* interpreter.cc (Interpreter::makeModule): simplified now that |
| 12249 |
ModuleCache::makeRenamedCopy() converts bad renamed copies to null |
| 12250 |
|
| 12251 |
* renameModule.cc (ImportModule::makeRenamedCopy): handle |
| 12252 |
ModuleCache::makeRenamedCopy() returning null |
| 12253 |
|
| 12254 |
* interpreter.cc (Interpreter::makeModule): simplified now that |
| 12255 |
ModuleCache::makeInstatiation() converts bad summations to null |
| 12256 |
|
| 12257 |
* moduleCache.cc (ModuleCache::makeInstatiation): update |
| 12258 |
Advisory() for bad instantiations |
| 12259 |
(ModuleCache::makeSummation): don't cache bad summations |
| 12260 |
|
| 12261 |
* parameterization.cc (ImportModule::makeInstantiation): don't |
| 12262 |
call finishCopy() on bad modules |
| 12263 |
(ImportModule::instantiateBoundParameters): added static_cast<>s |
| 12264 |
(ImportModule::makeInstantiation): added static_cast<>s |
| 12265 |
|
| 12266 |
* moduleCache.cc (ModuleCache::makeParameterCopy): Assert() that |
| 12267 |
we never have a bad parameter copy |
| 12268 |
|
| 12269 |
2010-10-05 Steven Eker <eker@rho> |
| 12270 |
|
| 12271 |
* moduleCache.cc (ModuleCache::makeInstatiation): don't cache bad |
| 12272 |
modules; instead return null |
| 12273 |
(ModuleCache::makeInstatiation): deep self destruct bad modules |
| 12274 |
(ModuleCache::makeInstatiation): remove ourself as a user of the |
| 12275 |
bad module before self destructing it |
| 12276 |
|
| 12277 |
* interpreter.cc (Interpreter::makeModule): new makeInstatiation() convention |
| 12278 |
|
| 12279 |
* parameterization.cc (ImportModule::handleRegularImports): check |
| 12280 |
for instantiateBoundParameters() returning 0 |
| 12281 |
(ImportModule::instantiateBoundParameters): handle |
| 12282 |
makeInstatiation() returning 0 |
| 12283 |
(ImportModule::instantiateBoundParameters): handle |
| 12284 |
instantiateBoundParameters() returning 0 |
| 12285 |
|
| 12286 |
* importModule.cc (ImportModule::donateOps) |
| 12287 |
(ImportModule::donateSorts): added Assert() to check bad flag |
| 12288 |
|
| 12289 |
* renameModule.cc (ImportModule::finishCopy): added Assert() to |
| 12290 |
check bad flag |
| 12291 |
(ImportModule::donateOps2, ImportModule::donateSorts2): added |
| 12292 |
Assert() to check bad flag |
| 12293 |
|
| 12294 |
* parameterization.cc (ImportModule::makeInstantiation): added |
| 12295 |
Assert() to check bad flag |
| 12296 |
|
| 12297 |
2010-09-29 Steven Eker <eker@rho> |
| 12298 |
|
| 12299 |
* quotedIdentifierSymbol.hh (class QuotedIdentifierSymbol): added |
| 12300 |
decl for makeCanonicalCopyEagerUptoReduced() |
| 12301 |
|
| 12302 |
* quotedIdentifierSymbol.cc |
| 12303 |
(QuotedIdentifierSymbol::makeCanonicalCopyEagerUptoReduced): added |
| 12304 |
|
| 12305 |
2010-09-08 Steven Eker <eker@rho> |
| 12306 |
|
| 12307 |
* lexer.ll (id): fix a bug in |
| 12308 |
<END_STATEMENT_MODE,END_COMMAND_MODE> where identifiers such as |
| 12309 |
.foo were being split by the first rule because there wasn't a |
| 12310 |
match longer than one charater |
| 12311 |
|
| 12312 |
===================================Maude95=========================================== |
| 12313 |
|
| 12314 |
2010-06-29 Steven Eker <eker@rho> |
| 12315 |
|
| 12316 |
* prettyPrint.cc (operator<<): handle null pointer NamedEntity* |
| 12317 |
case |
| 12318 |
|
| 12319 |
2010-06-11 Steven Eker <eker@rho> |
| 12320 |
|
| 12321 |
* view.cc (View::handleOpTermMappings): updated warning message |
| 12322 |
for two lhs variables with same base name |
| 12323 |
|
| 12324 |
2010-06-10 Steven Eker <eker@rho> |
| 12325 |
|
| 12326 |
* importTranslation.hh (class ImportTranslation): updated decl for |
| 12327 |
translateRegularSymbol() |
| 12328 |
|
| 12329 |
* importTranslation.cc (ImportTranslation::translateTerm): fix bug |
| 12330 |
where were weren't considering renamings before the first op->term |
| 12331 |
mapping by making use of extra translateRegularSymbol() arg |
| 12332 |
(ImportTranslation::translateRegularSymbol): use extra argument to |
| 12333 |
pass back the opToTerm index |
| 12334 |
(ImportTranslation::translate): use new translateRegularSymbol() convention |
| 12335 |
|
| 12336 |
2010-06-02 Steven Eker <eker@rho> |
| 12337 |
|
| 12338 |
* syntacticPreModule.hh (SyntacticPreModule::addSortDecl): don't |
| 12339 |
add empty sort declarations; this fixes a bug where empty sort |
| 12340 |
declarations crashed show module command |
| 12341 |
|
| 12342 |
2010-05-19 Steven Eker <eker@rho> |
| 12343 |
|
| 12344 |
* execute.cc (Interpreter::sreduce): added |
| 12345 |
|
| 12346 |
* interpreter.hh (endif): added decl for sreduce |
| 12347 |
|
| 12348 |
* commands.yy (command): added sreduce command |
| 12349 |
|
| 12350 |
* top.yy: added KW_SREDUCE |
| 12351 |
|
| 12352 |
* lexer.ll: added sreduce |
| 12353 |
|
| 12354 |
===================================Maude94=========================================== |
| 12355 |
|
| 12356 |
2010-05-07 Steven Eker <eker@rho> |
| 12357 |
|
| 12358 |
* mixfixModule.cc (MixfixModule::instantiatePolymorph): avoid |
| 12359 |
calling deepSelfDestruct() on copy of term hook since attachTerm() |
| 12360 |
already does this when it fails |
| 12361 |
|
| 12362 |
===================================Maude93d=========================================== |
| 12363 |
|
| 12364 |
2010-04-01 Steven Eker <eker@rho> |
| 12365 |
|
| 12366 |
* unify.cc (Interpreter::unify): don't pass withExtension flag to |
| 12367 |
UnificationProblem() ctor |
| 12368 |
|
| 12369 |
===================================Maude93a=========================================== |
| 12370 |
|
| 12371 |
2010-03-18 Steven Eker <eker@rho> |
| 12372 |
|
| 12373 |
* token.cc (Token::bubbleToPrefixNameCode): removed r1 branch |
| 12374 |
since we only ever return r2 |
| 12375 |
|
| 12376 |
* parameterization.cc (ImportModule::translateComponent): removed |
| 12377 |
cerr from Assert() |
| 12378 |
|
| 12379 |
* bottom.yy (cleanUpParser): delete commented out broken code |
| 12380 |
|
| 12381 |
* entry.cc (MixfixModule::addOpDeclaration): print number of |
| 12382 |
underscore in warning |
| 12383 |
(MixfixModule::addPolymorph): ditto |
| 12384 |
|
| 12385 |
* token.cc (operator<<): removed commented out code |
| 12386 |
(Token::getInt): removed commented out version |
| 12387 |
(Token::checkForSpecialProperty): removed commented out Int64 code |
| 12388 |
(Token::extractMixfix): treat mixfixSyntax of size 1 to be not |
| 12389 |
mixfix syntax after all |
| 12390 |
|
| 12391 |
* lexer.ll: allow \t in stringContent for overparsing |
| 12392 |
|
| 12393 |
* token.cc (Token::fixUp): handle tab characters |
| 12394 |
|
| 12395 |
===================================Maude93=========================================== |
| 12396 |
|
| 12397 |
2010-03-05 Steven Eker <eker@rho> |
| 12398 |
|
| 12399 |
* bufferPrint.cc (MixfixModule::printTails): bug where we were |
| 12400 |
appending leftParen rather that rightParen in needAssocParen case |
| 12401 |
|
| 12402 |
===================================Maude92c=========================================== |
| 12403 |
|
| 12404 |
2009-12-24 Steven Eker <[email protected]> |
| 12405 |
|
| 12406 |
* trial.cc (traceBeginRuleTrial): added missing '\n' |
| 12407 |
(traceBeginScTrial): symmetric fix |
| 12408 |
|
| 12409 |
===================================Maude92b=========================================== |
| 12410 |
|
| 12411 |
2009-11-06 Steven Eker <[email protected]> |
| 12412 |
|
| 12413 |
* entry.cc (newFancySymbol): pass strategy to MetaLevelOpSymbol() |
| 12414 |
|
| 12415 |
2009-09-23 Steven Eker <[email protected]> |
| 12416 |
|
| 12417 |
* interact.cc (setHandlers): call BddUser::setErrorHandler() |
| 12418 |
|
| 12419 |
===================================Maude92a=========================================== |
| 12420 |
|
| 12421 |
2009-08-19 Steven Eker <[email protected]> |
| 12422 |
|
| 12423 |
* parameterization.cc (handleInstantiationByTheoryView): reorg |
| 12424 |
sort mapping code |
| 12425 |
(handleInstantiationByTheoryView): added DebugAdvisory() |
| 12426 |
(handleInstantiationByTheoryView): check if a sort is |
| 12427 |
moduleDeclared() wrt the target theory before sticking a parameter |
| 12428 |
prefix on it in the sort mapping |
| 12429 |
|
| 12430 |
* moduleCache.cc (makeRenamedCopy, makeParameterCopy) |
| 12431 |
(makeInstatiation, makeSummation): updated and added |
| 12432 |
DebugAdvisory()s |
| 12433 |
|
| 12434 |
2009-08-12 Steven Eker <[email protected]> |
| 12435 |
|
| 12436 |
* interact.cc (internalErrorHandler): updated internal error |
| 12437 |
message |
| 12438 |
|
| 12439 |
2009-08-11 Steven Eker <[email protected]> |
| 12440 |
|
| 12441 |
* view.hh (User): make OpTermMap public |
| 12442 |
|
| 12443 |
2009-08-07 Steven Eker <[email protected]> |
| 12444 |
|
| 12445 |
* view.hh (getFrom): added |
| 12446 |
(getTo): added |
| 12447 |
|
| 12448 |
2009-07-22 Steven Eker <[email protected]> |
| 12449 |
|
| 12450 |
* syntacticPreModule.cc (finishModule): call |
| 12451 |
destructUnusedModules() here |
| 12452 |
|
| 12453 |
* process.cc (processImports): don't call destructUnusedModules() |
| 12454 |
because we may be in a recursive call and there may be partially |
| 12455 |
built modules with no users in the cache |
| 12456 |
|
| 12457 |
2009-02-27 Steven Eker <[email protected]> |
| 12458 |
|
| 12459 |
* makeGrammar.cc (makeComplexProductions): allow rewrite |
| 12460 |
conditions in search command |
| 12461 |
|
| 12462 |
2009-02-19 Steven Eker <[email protected]> |
| 12463 |
|
| 12464 |
* preModule.cc (PreModule): init owner data member |
| 12465 |
|
| 12466 |
* preModule.hh (getOwner): added |
| 12467 |
(User): added data member owner |
| 12468 |
|
| 12469 |
* banner.cc (printBanner): update copyright notice |
| 12470 |
|
| 12471 |
* entity.cc (operator<<): use PreModule* rather than |
| 12472 |
SyntacticPreModule* |
| 12473 |
|
| 12474 |
* preModule.hh (operator<<): added |
| 12475 |
|
| 12476 |
* syntacticPreModule.hh (operator<<): deleted |
| 12477 |
|
| 12478 |
* preModule.hh: inherit from Entity::User |
| 12479 |
|
| 12480 |
* syntacticPreModule.hh: no longer inherit from Entity::User |
| 12481 |
|
| 12482 |
2009-02-13 Steven Eker <[email protected]> |
| 12483 |
|
| 12484 |
* interpreter.hh: decl for getModuleOrIssueWarning() |
| 12485 |
|
| 12486 |
* interpreter.cc (getModuleOrIssueWarning): was getModule() but we |
| 12487 |
were occluding needed function from base class |
| 12488 |
|
| 12489 |
* syntacticPreModule.hh: removed decls for makeModule() and |
| 12490 |
getModule() |
| 12491 |
|
| 12492 |
* interpreter.hh: added decls for makeModule() and new getModule() |
| 12493 |
|
| 12494 |
* interpreter.cc (getModule): moved here |
| 12495 |
|
| 12496 |
* import.cc: deleted |
| 12497 |
|
| 12498 |
* interpreter.cc (makeModule): moved here - becomes part of |
| 12499 |
Interpreter class |
| 12500 |
|
| 12501 |
* process.cc (processImports): moved here |
| 12502 |
|
| 12503 |
2009-02-12 Steven Eker <[email protected]> |
| 12504 |
|
| 12505 |
* import.cc (getModule): use PreModule |
| 12506 |
|
| 12507 |
* moduleDatabase.cc: go back to using PreModule |
| 12508 |
|
| 12509 |
* syntacticPreModule.cc (SyntacticPreModule): call PreModule ctor |
| 12510 |
|
| 12511 |
* syntacticPreModule.hh: derive from PreModule |
| 12512 |
|
| 12513 |
* preModule.cc: gutted |
| 12514 |
|
| 12515 |
* preModule.hh (class PreModule): gutted |
| 12516 |
|
| 12517 |
* modules.yy: PreModule -> SyntacticPreModule |
| 12518 |
|
| 12519 |
* top.yy: PreModule -> SyntacticPreModule |
| 12520 |
|
| 12521 |
* import.cc: PreModule -> SyntacticPreModule |
| 12522 |
|
| 12523 |
* process.cc: PreModule -> SyntacticPreModule |
| 12524 |
|
| 12525 |
* fixUp.cc: PreModule -> SyntacticPreModule |
| 12526 |
|
| 12527 |
* ops.cc: PreModule -> SyntacticPreModule |
| 12528 |
|
| 12529 |
* command.cc: PreModule -> SyntacticPreModule |
| 12530 |
|
| 12531 |
* renaming.cc: PreModule -> SyntacticPreModule |
| 12532 |
|
| 12533 |
* entity.cc (operator<<): PreModule -> SyntacticPreModule |
| 12534 |
|
| 12535 |
* compiler.cc: PreModule -> SyntacticPreModule |
| 12536 |
|
| 12537 |
* mixfix.hh: added class SyntacticPreModule |
| 12538 |
|
| 12539 |
* moduleDatabase.hh: PreModule -> SyntacticPreModule |
| 12540 |
|
| 12541 |
* interpreter.hh: PreModule -> SyntacticPreModule |
| 12542 |
|
| 12543 |
* compiler.hh: PreModule -> SyntacticPreModule |
| 12544 |
|
| 12545 |
2009-02-06 Steven Eker <[email protected]> |
| 12546 |
|
| 12547 |
* preModule.hh: made process() private |
| 12548 |
|
| 12549 |
2009-01-29 Steven Eker <[email protected]> |
| 12550 |
|
| 12551 |
* renameModule.cc (donateOps2): fix DebugAdvisory() |
| 12552 |
|
| 12553 |
* entry.cc (newFancySymbol): added InterpreterManagerSymbol case |
| 12554 |
|
| 12555 |
* specialSymbolTypes.cc: added entry for InterpreterManagerSymbol |
| 12556 |
|
| 12557 |
2009-01-09 Steven Eker <[email protected]> |
| 12558 |
|
| 12559 |
* view.cc (handleOpTermMappings): call resetImports() after |
| 12560 |
handleVarDecls() failure to avoid importPhase weirdness later on |
| 12561 |
|
| 12562 |
* importModule.cc (donateSorts, donateOps, fixUpDonatedOps) |
| 12563 |
(donateStatements): added Assert() for bad importPhase |
| 12564 |
|
| 12565 |
* view.cc (finishModule1, finishModule2): added Asserts() that |
| 12566 |
module under construction shouldn't become bad |
| 12567 |
|
| 12568 |
* renameModule.cc (finishCopy): check bad flag in module under |
| 12569 |
construction and stop construction early if it becomes set to |
| 12570 |
avoid memory corruption |
| 12571 |
|
| 12572 |
* moduleCache.cc (makeSummation): check bad flag in module under |
| 12573 |
construction and stop construction early if it becomes set to |
| 12574 |
avoid memory corruption |
| 12575 |
|
| 12576 |
2009-01-08 Steven Eker <[email protected]> |
| 12577 |
|
| 12578 |
* modules.yy (colon2): added |
| 12579 |
|
| 12580 |
2008-12-12 Steven Eker <[email protected]> |
| 12581 |
|
| 12582 |
* interpreter.hh: added Environment as a base class |
| 12583 |
|
| 12584 |
===================================Maude92=========================================== |
| 12585 |
|
| 12586 |
2008-09-16 Steven Eker <[email protected]> |
| 12587 |
|
| 12588 |
* execute.cc: removed commented out eRewrite() and eRewriteCont() |
| 12589 |
|
| 12590 |
* search.cc (search): same issue as below |
| 12591 |
|
| 12592 |
* match.cc (match): same issue as below |
| 12593 |
|
| 12594 |
* srewrite.cc (sRewrite): same issue as below |
| 12595 |
|
| 12596 |
* erewrite.cc (eRewrite): same issue as below |
| 12597 |
|
| 12598 |
* execute.cc (reduce): same issue as below |
| 12599 |
(rewrite): same issue as below |
| 12600 |
(fRewrite): same issue as below |
| 12601 |
|
| 12602 |
* unify.cc (unify): make sure we output an endl after the command |
| 12603 |
to flush the output buffer - otherwise we could get error messages |
| 12604 |
getting ahead of the command that produced them |
| 12605 |
|
| 12606 |
* view.hh (operator<<): added missing return statement |
| 12607 |
|
| 12608 |
* symbolType.cc (operator<<): added missing return statement |
| 12609 |
|
| 12610 |
* interact.cc (handleDebug): added return statement to silence |
| 12611 |
compiler warning |
| 12612 |
|
| 12613 |
* importModule.hh (operator<<): added missing return statement |
| 12614 |
|
| 12615 |
* entity.hh (class Entity): use a virtual dtor rather than |
| 12616 |
dummyToAllowDynamicCasts() |
| 12617 |
|
| 12618 |
* entity.cc (operator<<): fixed missing return value (both |
| 12619 |
versions) |
| 12620 |
|
| 12621 |
* interact.cc (sigsegvHandler): rewritten to avoid compiler |
| 12622 |
warning |
| 12623 |
|
| 12624 |
2008-09-12 Steven Eker <[email protected]> |
| 12625 |
|
| 12626 |
* preModule.hh (operator<<): added missing return value |
| 12627 |
|
| 12628 |
* process.cc (processOps): added a check to see of we are subsort |
| 12629 |
overloading an operator from one of our parameters |
| 12630 |
|
| 12631 |
2008-09-11 Steven Eker <[email protected]> |
| 12632 |
|
| 12633 |
* view.cc (checkSorts): clean up and comment code; use transKind |
| 12634 |
|
| 12635 |
* mixfixParser.cc (parseSentence): don't make second call to |
| 12636 |
getErrorPosition() |
| 12637 |
(makeStrategyCommand): aviod duplicated parser.getChild() calls |
| 12638 |
|
| 12639 |
* import.cc (makeModule): avoid sign/unsigned comparison warning |
| 12640 |
(processImports): push using check into Assert() |
| 12641 |
|
| 12642 |
* mixfixModule.cc (copyFixUpBubbleSpec): use newSymbol rather than |
| 12643 |
do another translation |
| 12644 |
|
| 12645 |
* doParse.cc (getParserStats): commented out unused variable nrKinds |
| 12646 |
|
| 12647 |
* makeGrammar.cc (makePolymorphProductions): commented out unused |
| 12648 |
variable type |
| 12649 |
|
| 12650 |
* importModule.cc (deepCopyCondition): assign dummy value to n to |
| 12651 |
avoid compiler warning |
| 12652 |
|
| 12653 |
* moduleExpression.cc (deepSelfDestruct): added case MODULE to |
| 12654 |
avoid compiler warning |
| 12655 |
|
| 12656 |
2008-09-04 Steven Eker <[email protected]> |
| 12657 |
|
| 12658 |
* interact.cc (where): fix char constness |
| 12659 |
|
| 12660 |
* prettyPrint.cc (printAttributes): fix char constness |
| 12661 |
|
| 12662 |
* top.yy: fix duplicated KW_OPS by renaming the non token |
| 12663 |
returning version to KW_OPS2 |
| 12664 |
|
| 12665 |
* commands.yy (command): KW_OPS -> KW_OPS2 |
| 12666 |
|
| 12667 |
* lexer.ll: KW_OPS -> KW_OPS2 for non token returning version |
| 12668 |
|
| 12669 |
2008-08-27 Steven Eker <[email protected]> |
| 12670 |
|
| 12671 |
* userLevelRewritingContext.cc (checkForPrintAttribute): fix bug |
| 12672 |
where we were checking PRINT_ATTRIBUTE instead of |
| 12673 |
PRINT_ATTRIBUTE_NEWLINE |
| 12674 |
|
| 12675 |
2008-08-26 Steven Eker <[email protected]> |
| 12676 |
|
| 12677 |
* mixfixParser.cc (makeStatementPart): test PRINT flag rather than |
| 12678 |
number of items |
| 12679 |
(makeAttributePart): set PRINT flag; handle empty print attribute |
| 12680 |
case |
| 12681 |
|
| 12682 |
* mixfixParser.hh (class MixfixParser): added PRINT to enum Flags |
| 12683 |
|
| 12684 |
* makeGrammar.cc (makeAttributeProductions): added production for |
| 12685 |
empty print attribute |
| 12686 |
|
| 12687 |
2008-08-21 Steven Eker <[email protected]> |
| 12688 |
|
| 12689 |
* prettyPrint.cc (printAttributes): rewritten |
| 12690 |
|
| 12691 |
* userLevelRewritingContext.cc (checkForPrintAttribute): rewritten |
| 12692 |
|
| 12693 |
* importModule.cc (copyMetadata): rewritten |
| 12694 |
|
| 12695 |
* mixfixParser.hh (class MixfixParser): updated decls |
| 12696 |
|
| 12697 |
* metadataStore.hh (class MetadataStore): updated decls |
| 12698 |
|
| 12699 |
* metadataStore.cc (getPrintAttribute, insertPrintAttribute): |
| 12700 |
rewritten to use new convention |
| 12701 |
|
| 12702 |
* mixfixParser.cc (makePrintList): rewritten to use two vector |
| 12703 |
convention |
| 12704 |
(makeStatement): update convention |
| 12705 |
(makeStatementPart): update convention |
| 12706 |
|
| 12707 |
* printAttribute.cc: created |
| 12708 |
|
| 12709 |
* printAttribute.hh: created |
| 12710 |
|
| 12711 |
* mixfix.hh: added class PrintAttribute |
| 12712 |
|
| 12713 |
2008-08-20 Steven Eker <[email protected]> |
| 12714 |
|
| 12715 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 12716 |
added decl for checkForPrintAttribute() |
| 12717 |
|
| 12718 |
* userLevelRewritingContext.cc (tracePreScApplication) |
| 12719 |
(tracePreRuleRewrite, tracePreEqRewrite): call |
| 12720 |
checkForPrintAttribute() |
| 12721 |
(checkForPrintAttribute): added |
| 12722 |
|
| 12723 |
* commands.yy (command): added syntax for set print attribute and |
| 12724 |
set print attribute newline |
| 12725 |
|
| 12726 |
* lexer.ll: added attr as abbreviation for attribute |
| 12727 |
|
| 12728 |
* interpreter.hh (endif): added flags PRINT_ATTRIBUTE and |
| 12729 |
PRINT_ATTRIBUTE_NEWLINE |
| 12730 |
|
| 12731 |
2008-08-19 Steven Eker <[email protected]> |
| 12732 |
|
| 12733 |
* top.yy: added KW_ATTRIBUTE, KW_NEWLINE |
| 12734 |
|
| 12735 |
* lexer.ll: added keywords attribute and newline |
| 12736 |
|
| 12737 |
* mixfixParser.hh (class MixfixParser): updated decls for |
| 12738 |
makeAttributePart(), makePrintList(), makeStatementPart() |
| 12739 |
|
| 12740 |
* mixfixParser.cc (makePrintList): take and fill out printList argument |
| 12741 |
(makeAttributePart): take and pass printList argument |
| 12742 |
(makeStatement): pass printList argument |
| 12743 |
|
| 12744 |
2008-08-14 Steven Eker <[email protected]> |
| 12745 |
|
| 12746 |
* metadataStore.cc (insertMetadata, insertPrintAttribute) |
| 12747 |
(getPrintAttribute): const-ness change |
| 12748 |
|
| 12749 |
* metadataStore.hh (class MetadataStore): changed const-ness for |
| 12750 |
ModuleItem* item in 3 declarations |
| 12751 |
|
| 12752 |
* mixfixModule.hh (SharedTokens): update decl for printAttributes() |
| 12753 |
|
| 12754 |
* prettyPrint.cc (printAttributes): handle printAttribute |
| 12755 |
(operator<<): pass extra argument to printAttributes() (SortConstraint*, |
| 12756 |
Equation*, Rule* versions) |
| 12757 |
(printAttributes): rewritten; no longer static |
| 12758 |
(operator<<): use new printAttributes() convention |
| 12759 |
|
| 12760 |
* importModule.cc (copyMetadata): added |
| 12761 |
(donateStatements2): use copyMetadata (3 places) |
| 12762 |
|
| 12763 |
* metadataStore.cc (insertPrintAttribute): added |
| 12764 |
(getPrintAttribute): added |
| 12765 |
|
| 12766 |
* metadataStore.hh (class MetadataStore): added data member |
| 12767 |
printAttributeMap and decls for insertPrintAttribute() and |
| 12768 |
getPrintAttribute() |
| 12769 |
|
| 12770 |
2008-08-13 Steven Eker <[email protected]> |
| 12771 |
|
| 12772 |
* token.hh (tokenize): added Assert() |
| 12773 |
|
| 12774 |
* mixfixParser.cc (makePrintList): fix bug where we doing extra |
| 12775 |
getChild() step |
| 12776 |
|
| 12777 |
2008-08-12 Steven Eker <[email protected]> |
| 12778 |
|
| 12779 |
* unify.cc (unify): support systems of equations |
| 12780 |
|
| 12781 |
* mixfixModule.hh (SharedTokens): update decl for |
| 12782 |
parseUnifyCommand() |
| 12783 |
|
| 12784 |
* doParse.cc (parseUnifyCommand): handle systems of equations |
| 12785 |
|
| 12786 |
* mixfixParser.hh (class MixfixParser): updated decl for |
| 12787 |
makeUnifyCommand() |
| 12788 |
|
| 12789 |
* mixfixParser.cc (makeUnifyCommand): parse systems of equations |
| 12790 |
|
| 12791 |
* mixfixParser.hh (class MixfixParser): added UNIFY_LIST to enum |
| 12792 |
SemanticActions |
| 12793 |
|
| 12794 |
* makeGrammar.cc (makeComplexProductions): allow UNIFY_COMMAND to |
| 12795 |
consist of multiple UNIFY_PAIRs |
| 12796 |
|
| 12797 |
2008-05-16 Steven Eker <[email protected]> |
| 12798 |
|
| 12799 |
* mixfixParser.hh (class MixfixParser): added decl for |
| 12800 |
makePrintList |
| 12801 |
|
| 12802 |
* mixfixParser.cc (makePrintList): added |
| 12803 |
|
| 12804 |
* makeGrammar.cc (makeAttributeProductions): pass MAKE_STRING and |
| 12805 |
MAKE_VARIABLE to appropriate items |
| 12806 |
|
| 12807 |
2008-05-15 Steven Eker <[email protected]> |
| 12808 |
|
| 12809 |
* makeGrammar.cc (makeComponentProductions): added VARIABLE |
| 12810 |
version of 4 variable productions |
| 12811 |
(makeVariableProductions): added VARIABLE version of variable |
| 12812 |
production |
| 12813 |
(makeSpecialProductions): added VARIABLE version of variable |
| 12814 |
production |
| 12815 |
|
| 12816 |
* mixfixParser.hh (class MixfixParser): added MAKE_PRINT_LIST |
| 12817 |
to enum SemanticActions |
| 12818 |
|
| 12819 |
* mixfixModule.hh (SharedTokens): added VARIABLE, PRINT_ITEM and |
| 12820 |
PRINT_LIST to enum NonTerminal; made extra nonterminals use |
| 12821 |
relative numbering |
| 12822 |
|
| 12823 |
* makeGrammar.cc (makeAttributeProductions): added syntax for |
| 12824 |
print items and print lists |
| 12825 |
|
| 12826 |
2008-05-14 Steven Eker <[email protected]> |
| 12827 |
|
| 12828 |
* mixfixParser.hh (class MixfixParser): added MAKE_PRINT_ATTRIBUTE |
| 12829 |
to enum SemanticActions |
| 12830 |
|
| 12831 |
* specialTokens.cc (MACRO): added print |
| 12832 |
|
| 12833 |
* makeGrammar.cc (makeAttributeProductions): added syntax for |
| 12834 |
print attribute |
| 12835 |
|
| 12836 |
2008-05-08 Steven Eker <[email protected]> |
| 12837 |
|
| 12838 |
* unify.cc (doUnification): deleted extension handling code |
| 12839 |
|
| 12840 |
* top.yy: deleted decl for nonterminal unify |
| 12841 |
|
| 12842 |
* commands.yy (command): don't pass withExtension arg to unify |
| 12843 |
(unify): deleted |
| 12844 |
|
| 12845 |
* interpreter.hh (endif): updated declf for unify() |
| 12846 |
|
| 12847 |
* unify.cc (unify): remove with extension argument |
| 12848 |
|
| 12849 |
===================================Maude91a=========================================== |
| 12850 |
|
| 12851 |
2008-04-20 Steven Eker <[email protected]> |
| 12852 |
|
| 12853 |
* unify.cc (unify): fix bug where we were not deleting problem |
| 12854 |
after problemOK failed, allowing a garbage collect to call the bad |
| 12855 |
problems markReachableNodes() |
| 12856 |
|
| 12857 |
===================================Maude91=========================================== |
| 12858 |
|
| 12859 |
2008-03-23 Steven Eker <[email protected]> |
| 12860 |
|
| 12861 |
* top.yy: deleted KW_XUNIFY |
| 12862 |
|
| 12863 |
* commands.yy (command): deleted xunify |
| 12864 |
|
| 12865 |
* lexer.ll: deleted xunify |
| 12866 |
|
| 12867 |
===================================Maude90a=========================================== |
| 12868 |
|
| 12869 |
2008-03-12 Steven Eker <[email protected]> |
| 12870 |
|
| 12871 |
* interact.cc (internalErrorHandler): update message |
| 12872 |
|
| 12873 |
2008-03-07 Steven Eker <[email protected]> |
| 12874 |
|
| 12875 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 12876 |
added declaration for void internalErrorHandler(); removed old |
| 12877 |
decls |
| 12878 |
|
| 12879 |
* interact.cc (setHandlers): rewritten, dead code eliminated |
| 12880 |
(segmentationFaultHandler): becomes internalErrorHandler(); dead |
| 12881 |
code eliminated |
| 12882 |
|
| 12883 |
2008-03-05 Steven Eker <[email protected]> |
| 12884 |
|
| 12885 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 12886 |
added decls for stackOverflowHandler() and sigsegvHandler() |
| 12887 |
|
| 12888 |
* interact.cc: try using stackoverflow_install_handler() |
| 12889 |
(stackOverflowHandler, sigsegvHandler): added |
| 12890 |
|
| 12891 |
2008-02-28 Steven Eker <[email protected]> |
| 12892 |
|
| 12893 |
* lexer.ll (END_STATEMENT_MODE): treat whitespace after "." as |
| 12894 |
something that is left to global rule |
| 12895 |
|
| 12896 |
2008-02-27 Steven Eker <[email protected]> |
| 12897 |
|
| 12898 |
* lexer.ll: flag a nasty bug - we need to deal with white |
| 12899 |
space and comments after the end of statement . before we see a |
| 12900 |
keyword that tells us it is in fact the end of statement |
| 12901 |
|
| 12902 |
2008-02-26 Steven Eker <[email protected]> |
| 12903 |
|
| 12904 |
* lexer.ll (END_COMMAND_MODE,END_STATEMENT_MODE): handle . |
| 12905 |
combined common code |
| 12906 |
(END_COMMAND_MODE,END_STATEMENT_MODE): if we see a regular token |
| 12907 |
we need to push it back on the input and parse it in bubble mode |
| 12908 |
since it might have some special properties in bubble mode |
| 12909 |
|
| 12910 |
2008-02-25 Steven Eker <[email protected]> |
| 12911 |
|
| 12912 |
* commands.yy (opSelect, endSelect, badSelect): added |
| 12913 |
(command): use opSelect |
| 12914 |
|
| 12915 |
* modules.yy (endBubble): use missingSpace() |
| 12916 |
(moduleExprDot, sortDot, dot, badType): use missingSpace() |
| 12917 |
|
| 12918 |
* commands.yy (miscEndBubble): use missingSpace() |
| 12919 |
|
| 12920 |
* top.yy: added decl for missingSpace(); |
| 12921 |
|
| 12922 |
* bottom.yy: added |
| 12923 |
|
| 12924 |
* modules.yy (endBubble): better error message for missing space |
| 12925 |
|
| 12926 |
* commands.yy: allow ENS_IN _DOT everywhere IDENTIFIER is used |
| 12927 |
|
| 12928 |
* lexer.ll: added SEEN_DOT mode |
| 12929 |
|
| 12930 |
* commands.yy (initialEndBubble): added |
| 12931 |
(moduleAndTerm, numberModuleTerm, numbersModuleTerm): use |
| 12932 |
initialEndBubble |
| 12933 |
|
| 12934 |
2008-02-22 Steven Eker <[email protected]> |
| 12935 |
|
| 12936 |
* modules.yy (badType): use singleton |
| 12937 |
(typeName): use singleton |
| 12938 |
(simpleOpName): use singleton |
| 12939 |
|
| 12940 |
* commands.yy (cSimpleOpName): use singleton |
| 12941 |
|
| 12942 |
* top.yy: added variable singleton |
| 12943 |
|
| 12944 |
* commands.yy (miscEndBubble): added; use throughout |
| 12945 |
|
| 12946 |
* top.yy: declare badType to return token |
| 12947 |
|
| 12948 |
* modules.yy (domainRangeAttr): dra3 -> dra2 |
| 12949 |
(rangeAttr): added |
| 12950 |
(dra2): use rangeAttr |
| 12951 |
(dra2): fuse empty and nonempty typeList cases |
| 12952 |
(domainRangeAttr): use rangeAttr |
| 12953 |
(badType): return token |
| 12954 |
|
| 12955 |
2008-02-21 Steven Eker <[email protected]> |
| 12956 |
|
| 12957 |
* top.yy: deleted cToken cTokenBarDot |
| 12958 |
|
| 12959 |
* commands.yy (command): use lexBubble() for select/dump |
| 12960 |
(command): use parenBubble to handle (...) commands |
| 12961 |
(cSimpleOpName): use parenBubble |
| 12962 |
(cToken, cTokenBarDot, cTokens, cTokensBarDot): deleted |
| 12963 |
|
| 12964 |
* lexerAux.hh: updated decl for lexContinueBubble() |
| 12965 |
|
| 12966 |
* lexerAux.cc (lexContinueBubble): take pCount arg |
| 12967 |
|
| 12968 |
* top.yy: deleted cTokenBarDotColon |
| 12969 |
|
| 12970 |
* lexerAux.hh: update decl for lexBubble() |
| 12971 |
|
| 12972 |
* lexerAux.cc (lexBubble): check to see if first token is "(" |
| 12973 |
(lexBubble): support pCount argument instead |
| 12974 |
|
| 12975 |
* commands.yy (command): use lexerBubble for |
| 12976 |
rewrite/srewrite/match/unify |
| 12977 |
(numbersModuleTerm*): 7 nonterminals rewritten |
| 12978 |
(command): use lexerBubble for frewrite/erewrite/search |
| 12979 |
|
| 12980 |
* lexerAux.hh: added decls for lexSave(), lexContinueSave() |
| 12981 |
|
| 12982 |
* lexerAux.cc (lexSave, lexContinueSave): added |
| 12983 |
|
| 12984 |
* commands.yy (command): use lexerBubble for parse/cred/red |
| 12985 |
commands |
| 12986 |
(moduleAndTerm, inEnd): rewritten using lexBubble() |
| 12987 |
(command): use lexerBubble for loop |
| 12988 |
(numberModuleTerm, numberModuleTerm1, numberModuleTerm2): |
| 12989 |
rewritten using lexBubble() |
| 12990 |
|
| 12991 |
* lexer.ll (id): support switching to END_COMMAND_MODE |
| 12992 |
|
| 12993 |
* lexerAux.hh (enum TERMINATION_TOKENS): added END_COMMAND |
| 12994 |
|
| 12995 |
* lexer.ll (id): handle identifiers ending in "." in |
| 12996 |
END_STATEMENT_MODE; added END_COMMAND_MODE |
| 12997 |
|
| 12998 |
2008-02-20 Steven Eker <[email protected]> |
| 12999 |
|
| 13000 |
* lexer.ll: END_BUBBLE_MODE -> END_STATEMENT_MODE |
| 13001 |
|
| 13002 |
* lexerAux.hh: deleted decl for lexerTokenTreeMode() |
| 13003 |
|
| 13004 |
* lexerAux.cc (lexerTokenTreeMode): deleted |
| 13005 |
|
| 13006 |
* lexer.ll (id): delete TOKEN_TREE_MODE |
| 13007 |
(id): delete END_STATEMENT_MODE |
| 13008 |
|
| 13009 |
* commands.yy (command): bubble -> tokenSequence |
| 13010 |
|
| 13011 |
* modules.yy: bubble -> tokenSequence |
| 13012 |
|
| 13013 |
* top.yy: added FORCE_LOOKAHEAD; deleted identityChunk; bubble |
| 13014 |
becomes tokenSequence |
| 13015 |
|
| 13016 |
* modules.yy (attribute): reimplement identity attribute using |
| 13017 |
lexerBubble |
| 13018 |
(tokenTree): deleted |
| 13019 |
|
| 13020 |
* lexerAux.hh (enum TERMINATION_TOKENS): added BAR_RIGHT_BRACKET |
| 13021 |
|
| 13022 |
* lexer.ll (id): added BAR_RIGHT_BRACKET case |
| 13023 |
|
| 13024 |
* token.cc (peelParens): don't peel bubbles of size 2 |
| 13025 |
|
| 13026 |
2008-02-19 Steven Eker <[email protected]> |
| 13027 |
|
| 13028 |
* lexer.ll (id): added BAR_OP_ATTRIBUTE case |
| 13029 |
|
| 13030 |
* modules.yy (declaration): use lexerBubble for cmb/eq/ceq/rl/crl |
| 13031 |
(endTree): deleted |
| 13032 |
(parenBubble): added |
| 13033 |
(opName, simpleOpName): use parenBubble |
| 13034 |
(declaration): moved : into op/msg decls |
| 13035 |
(domainRangeAttr): deleted |
| 13036 |
(dra2): becomes domainRangeAttr |
| 13037 |
(declaration): use lexBubble() instead of opName for op/msg decls |
| 13038 |
(declaration): need to use peelParens() |
| 13039 |
(opName): deleted |
| 13040 |
(hook): use parenBubble rather than parenTree |
| 13041 |
(parenTree): deleted |
| 13042 |
(neTokenTree): deleted |
| 13043 |
|
| 13044 |
* lexerAux.hh: added decl for lexContinueBubble() |
| 13045 |
|
| 13046 |
* lexerAux.cc (lexContinueBubble): added |
| 13047 |
|
| 13048 |
* modules.yy (declaration): use lexerBubble for mb |
| 13049 |
|
| 13050 |
* lexerAux.hh: added decl for new version of lexerBubble() |
| 13051 |
|
| 13052 |
* lexerAux.cc (lexBubble): added new version that allows an |
| 13053 |
initial token to be placed in the bubble |
| 13054 |
|
| 13055 |
* modules.yy (endBubble): added |
| 13056 |
(viewEndOpMap): use endBubble (2 places) |
| 13057 |
|
| 13058 |
* lexer.ll (id): do lexerBubble length checks in . and ENDS_IN_DOT |
| 13059 |
cases |
| 13060 |
|
| 13061 |
2008-02-15 Steven Eker <[email protected]> |
| 13062 |
|
| 13063 |
* modules.yy (mapping): use lexBubble(); delete fromOpName and toOpName |
| 13064 |
|
| 13065 |
* top.yy: added decl for lexerBubble |
| 13066 |
|
| 13067 |
* lexerAux.hh: added decl for lexBuble() |
| 13068 |
|
| 13069 |
* lexer.ll: FIX_UP() -> RETURN_FIX_UP(); don't fix up .{} in |
| 13070 |
command mode; removed redundant code that would pass , as an |
| 13071 |
IDENTIFIER |
| 13072 |
|
| 13073 |
2008-02-14 Steven Eker <[email protected]> |
| 13074 |
|
| 13075 |
* modules.yy (identityChunk): use tokenTree |
| 13076 |
(tokens): deleted |
| 13077 |
|
| 13078 |
* top.yy: deleted decls for tokenBarEqual tokenBarIf |
| 13079 |
tokenBarArrow2 endToken tokenBarCommaLeft tokenBarColonTo |
| 13080 |
|
| 13081 |
* modules.yy (viewDeclaration): use neTokenTree |
| 13082 |
(opName): use tokenTree/neTokenTree |
| 13083 |
(parenTree): added |
| 13084 |
(fromOpName, toOpName, opName, simpleOpName): use parenTree |
| 13085 |
(hook): use parenTree |
| 13086 |
(endStatement, tokensBarColon, tokensBarColonTo) |
| 13087 |
(tokensBarCommaLeft, tokensBarEqual): deleted |
| 13088 |
(noTrailingDot, endTokens, tokensBarIf, tokensBarArrow2): deleted |
| 13089 |
(endToken): deleted |
| 13090 |
(tokenBarEqual, tokenBarIf, tokenBarColonTo, tokenBarCommaLeft): deleted |
| 13091 |
(tokenBarArrow2): deleted |
| 13092 |
|
| 13093 |
* lexerAux.hh (enum TERMINATION_TOKENS): added BAR_RIGHT_PAREN |
| 13094 |
|
| 13095 |
* lexer.ll (id): support BAR_RIGHT_PAREN; fix BAR_LEFT_BRACKET |
| 13096 |
|
| 13097 |
* modules.yy (endTree): added |
| 13098 |
(declaration): use tokenTree/endTree |
| 13099 |
(viewEndOpMap): use endTree |
| 13100 |
(fromOpName): use tokenTree |
| 13101 |
|
| 13102 |
* search.cc (search): fix missing space in show cmd output |
| 13103 |
|
| 13104 |
* lexer.ll (id): added END_STATEMENT_MODE; SAVE(), SAVE_FIX_UP(), |
| 13105 |
RETURN_SAVED() macros; savedToken, savedReturn variables |
| 13106 |
|
| 13107 |
2008-02-13 Steven Eker <[email protected]> |
| 13108 |
|
| 13109 |
* lexerAux.hh: added decl for lexerLatexMode() |
| 13110 |
|
| 13111 |
* modules.yy (tokenTree): added |
| 13112 |
|
| 13113 |
* lexerAux.cc (lexerTokenTreeMode): added |
| 13114 |
|
| 13115 |
* lexerAux.hh (enum EXCLUDE_TOKENS): added |
| 13116 |
added decl for lexerTokenTreeMode() |
| 13117 |
|
| 13118 |
* lexer.ll (id): added token tree mode |
| 13119 |
|
| 13120 |
2008-01-21 Steven Eker <[email protected]> |
| 13121 |
|
| 13122 |
* top.yy: added yySearchKind to %union; updated decl for search |
| 13123 |
|
| 13124 |
* lexer.ll: added keyword xg-narrow |
| 13125 |
|
| 13126 |
* commands.yy (conceal): support xg-narrow |
| 13127 |
|
| 13128 |
* interpreter.hh (endif): updated decl for search() |
| 13129 |
|
| 13130 |
* search.cc (search): added support for xg-narrow |
| 13131 |
|
| 13132 |
* interpreter.hh (endif): added enum SearchKind |
| 13133 |
|
| 13134 |
* search.cc (search): pass flags arg to NarrowingSequenceSearch |
| 13135 |
|
| 13136 |
* banner.cc (printBanner): update copyright date |
| 13137 |
|
| 13138 |
* userLevelRewritingContext.cc (traceNarrowingStep): rewritten to |
| 13139 |
support trace options |
| 13140 |
|
| 13141 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 13142 |
update decl for traceNarrowingStep() |
| 13143 |
|
| 13144 |
2008-01-18 Steven Eker <[email protected]> |
| 13145 |
|
| 13146 |
* userLevelRewritingContext.cc (traceNarrowingStep): added |
| 13147 |
|
| 13148 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 13149 |
added decl for traceNarrowingStep() |
| 13150 |
|
| 13151 |
===================================Maude90=========================================== |
| 13152 |
|
| 13153 |
2007-11-27 Steven Eker <[email protected]> |
| 13154 |
|
| 13155 |
* freshVariableSource.hh (class FreshVariableSource): added cache |
| 13156 |
data member |
| 13157 |
|
| 13158 |
* freshVariableSource.cc (getFreshVariableName): cache computed |
| 13159 |
codes and check cache before computing a new code |
| 13160 |
|
| 13161 |
2007-11-21 Steven Eker <[email protected]> |
| 13162 |
|
| 13163 |
* token.cc (bubbleToPrefixNameCode): commented out problematic |
| 13164 |
Assert() until further investigation |
| 13165 |
|
| 13166 |
2007-10-31 Steven Eker <[email protected]> |
| 13167 |
|
| 13168 |
* interpreter.hh (endif): added decl for doNarrowing() |
| 13169 |
|
| 13170 |
* search.cc (doNarrowing): added |
| 13171 |
(search): use doNarrowing |
| 13172 |
|
| 13173 |
2007-10-29 Steven Eker <[email protected]> |
| 13174 |
|
| 13175 |
* search.cc (search): use class NarrowingSequenceSearch |
| 13176 |
|
| 13177 |
2007-10-11 Steven Eker <[email protected]> |
| 13178 |
|
| 13179 |
* unify.cc (doUnification): use getVariableInfo() |
| 13180 |
|
| 13181 |
2007-10-01 Steven Eker <[email protected]> |
| 13182 |
|
| 13183 |
* top.yy: declare type of search |
| 13184 |
|
| 13185 |
* search.cc (search): partial handling of narrowing flag |
| 13186 |
|
| 13187 |
* interpreter.hh (endif): update decl for search() |
| 13188 |
|
| 13189 |
* commands.yy (search): added |
| 13190 |
(command): hijack search code to handle narrowing case |
| 13191 |
|
| 13192 |
2007-09-20 Steven Eker <[email protected]> |
| 13193 |
|
| 13194 |
* trial.cc (traceBeginEqTrial): removed the equation == 0 case |
| 13195 |
since this should never occur and could cause a null deref in |
| 13196 |
profileEqConditionStart() if it did (discovered by coverity); |
| 13197 |
added Assert() |
| 13198 |
(traceBeginRuleTrial, traceBeginScTrial): symmetric changes to |
| 13199 |
above |
| 13200 |
|
| 13201 |
2007-09-19 Steven Eker <[email protected]> |
| 13202 |
|
| 13203 |
* userLevelRewritingContext.cc (tracePreScApplication): added |
| 13204 |
comment to flag coverity discovered bug - need interface change to |
| 13205 |
fix this properly |
| 13206 |
|
| 13207 |
* mixfixParser.cc (makeTerm): return 0 in (unreachable) default |
| 13208 |
case rather than setting t to 0 inorder to avoid coverity warning |
| 13209 |
|
| 13210 |
===================================Maude89h=========================================== |
| 13211 |
|
| 13212 |
2007-08-24 Steven Eker <[email protected]> |
| 13213 |
|
| 13214 |
* unify.cc (unify): variablesOK() -> problemOK() |
| 13215 |
|
| 13216 |
2007-08-06 Steven Eker <[email protected]> |
| 13217 |
|
| 13218 |
* interpreter.cc (setCurrentModule): fix bug where we were |
| 13219 |
printing out "in" as part of the "no module" warning |
| 13220 |
|
| 13221 |
===================================Maude89e=========================================== |
| 13222 |
|
| 13223 |
2007-07-06 Steven Eker <[email protected]> |
| 13224 |
|
| 13225 |
* unify.cc (doUnification): support extension |
| 13226 |
(unify): support extension |
| 13227 |
|
| 13228 |
2007-06-21 Steven Eker <[email protected]> |
| 13229 |
|
| 13230 |
* top.yy (directive): non need to eatComment() now that this in |
| 13231 |
done in file name lexing |
| 13232 |
|
| 13233 |
* lexerAux.cc (lexerFileNameMode): erase accumulator |
| 13234 |
|
| 13235 |
* lexer.ll: latexCode -> accumulator thoughout; added |
| 13236 |
FILE_NAME_QUOTE_MODE |
| 13237 |
|
| 13238 |
* lexerAux.cc (lexerLatexMode): latexCode becomes accumulator |
| 13239 |
|
| 13240 |
* lexer.ll: handle file names enclosed in quotes |
| 13241 |
|
| 13242 |
2007-06-19 Steven Eker <[email protected]> |
| 13243 |
|
| 13244 |
* unify.cc (unify): use new UnificationProblem() interface |
| 13245 |
|
| 13246 |
2007-06-14 Steven Eker <[email protected]> |
| 13247 |
|
| 13248 |
* freshVariableSource.cc (variableNameConflict): remember to |
| 13249 |
unflag codes |
| 13250 |
|
| 13251 |
* unify.cc (unify): use variablesOK() |
| 13252 |
|
| 13253 |
* freshVariableSource.cc (variableNameConflict): implemented |
| 13254 |
(getFreshVariableName): use baseNumber in +ve form |
| 13255 |
(FreshVariableSource): store baseNumber in +ve form |
| 13256 |
|
| 13257 |
2007-06-13 Steven Eker <[email protected]> |
| 13258 |
|
| 13259 |
* freshVariableSource.cc (getFreshVariableName): rewritten to use |
| 13260 |
mpz_class |
| 13261 |
|
| 13262 |
* freshVariableSource.hh (class FreshVariableSource): fix bug |
| 13263 |
where we forgot to use INT64_TEXT_SIZE |
| 13264 |
(class FreshVariableSource): base number becomes a mpz_class |
| 13265 |
(class FreshVariableSource): deleted data member name |
| 13266 |
|
| 13267 |
2007-06-11 Steven Eker <[email protected]> |
| 13268 |
|
| 13269 |
* freshVariableSource.cc (variableNameConflict): added stub |
| 13270 |
|
| 13271 |
* freshVariableSource.hh (class FreshVariableSource): added data |
| 13272 |
member baseNumber; updated decl for ctor |
| 13273 |
|
| 13274 |
* freshVariableSource.cc (FreshVariableSource): handle 64 bit |
| 13275 |
numbers and baseNumber |
| 13276 |
(getFreshVariableName): handle 64 bit numbers and baseNumber |
| 13277 |
|
| 13278 |
2007-06-07 Steven Eker <[email protected]> |
| 13279 |
|
| 13280 |
* prettyPrint.cc (printVariable): handle variables with flagged |
| 13281 |
name codes |
| 13282 |
|
| 13283 |
* token.hh (flaggedCode, isFlagged, unflaggedCode): added |
| 13284 |
|
| 13285 |
===================================Maude89c=========================================== |
| 13286 |
|
| 13287 |
2007-03-16 Steven Eker <[email protected]> |
| 13288 |
|
| 13289 |
* renaming.cc (addOpMapping): give safe dummy values to name and |
| 13290 |
term fields to fail gracefully in the case where syntax error |
| 13291 |
prevents addOpTarget() from being called |
| 13292 |
|
| 13293 |
===================================Maude89a=========================================== |
| 13294 |
|
| 13295 |
2007-03-14 Steven Eker <[email protected]> |
| 13296 |
|
| 13297 |
* lexerAux.hh: added decl for checkForPending() |
| 13298 |
|
| 13299 |
* lexerAux.cc (checkForPending): added |
| 13300 |
|
| 13301 |
===================================Maude89=========================================== |
| 13302 |
|
| 13303 |
2007-03-13 Steven Eker <[email protected]> |
| 13304 |
|
| 13305 |
* freshVariableSource.cc (reset): deleted |
| 13306 |
(getFreshVariableName): rewritten |
| 13307 |
(FreshVariableSource): don't clear counter |
| 13308 |
|
| 13309 |
* freshVariableSource.hh (class FreshVariableSource): rewritten |
| 13310 |
|
| 13311 |
2007-02-13 Steven Eker <[email protected]> |
| 13312 |
|
| 13313 |
* unify.cc (doUnification): use getSolution() |
| 13314 |
|
| 13315 |
2007-02-09 Steven Eker <[email protected]> |
| 13316 |
|
| 13317 |
* freshVariableSource.cc (reset): added |
| 13318 |
|
| 13319 |
* freshVariableSource.hh (FreshVariableGenerator): added decl for |
| 13320 |
reset() |
| 13321 |
|
| 13322 |
===================================Maude88f=========================================== |
| 13323 |
|
| 13324 |
2007-01-23 Steven Eker <[email protected]> |
| 13325 |
|
| 13326 |
* interpreter.cc (Interpreter): clear savedStrategicSearch (fixed |
| 13327 |
bug) |
| 13328 |
|
| 13329 |
2007-01-22 Steven Eker <[email protected]> |
| 13330 |
|
| 13331 |
* interpreter.hh (endif): added data member |
| 13332 |
savedUnificationProblem |
| 13333 |
(endif): added decls for doUnification() and unifyCont(); switched |
| 13334 |
decl for printMatchTiming() to printDecisionTime() |
| 13335 |
|
| 13336 |
* execute.cc (clearContinueInfo): delete and clear |
| 13337 |
savedUnificationProblem |
| 13338 |
|
| 13339 |
* interpreter.cc (Interpreter): clear savedUnificationProblem |
| 13340 |
|
| 13341 |
* match.cc (printMatchTiming): becomes printDecisionTime() |
| 13342 |
(doMatching): use printDecisionTime() |
| 13343 |
|
| 13344 |
* unify.cc (doUnification): added |
| 13345 |
(unifyCont): added |
| 13346 |
(unify): rewritten using doUnification() |
| 13347 |
|
| 13348 |
2007-01-17 Steven Eker <[email protected]> |
| 13349 |
|
| 13350 |
* unify.cc (unify): use FreshVariableSource |
| 13351 |
(Namer): deleted |
| 13352 |
(unify): create a new FreshVariableSource on the heap rather than |
| 13353 |
on the stack |
| 13354 |
|
| 13355 |
* mixfix.hh: added class FreshVariableSource |
| 13356 |
|
| 13357 |
* freshVariableSource.hh: created |
| 13358 |
|
| 13359 |
* freshVariableSource.cc: created |
| 13360 |
|
| 13361 |
2007-01-16 Steven Eker <[email protected]> |
| 13362 |
|
| 13363 |
* interpreter.hh (endif): deleted decl for |
| 13364 |
findOrderSortedUnifiers() |
| 13365 |
|
| 13366 |
* unify.cc (getFreshVariableName): use Token:encode() |
| 13367 |
(findOrderSortedUnifiers): deleted |
| 13368 |
|
| 13369 |
2007-01-12 Steven Eker <[email protected]> |
| 13370 |
|
| 13371 |
* unify.cc (findOrderSortedUnifiers): use AllSat to extract sort |
| 13372 |
assignments from bdd |
| 13373 |
|
| 13374 |
2007-01-11 Steven Eker <[email protected]> |
| 13375 |
|
| 13376 |
* unify.cc (findOrderSortedUnifiers): created |
| 13377 |
|
| 13378 |
2007-01-10 Steven Eker <[email protected]> |
| 13379 |
|
| 13380 |
* unify.cc (unify): generate mgu bdd |
| 13381 |
(unify): use makeVariableBdd() |
| 13382 |
|
| 13383 |
2007-01-09 Steven Eker <[email protected]> |
| 13384 |
|
| 13385 |
* unify.cc (unify): generate unifier bdd |
| 13386 |
|
| 13387 |
2006-12-11 Steven Eker <[email protected]> |
| 13388 |
|
| 13389 |
* unify.cc (unify): clear solution |
| 13390 |
|
| 13391 |
2006-12-07 Steven Eker <[email protected]> |
| 13392 |
|
| 13393 |
* specialTokens.cc (MACRO): added unifies |
| 13394 |
|
| 13395 |
* makeGrammar.cc (makeComponentProductions): added syntax for |
| 13396 |
UNIFY_PAIR |
| 13397 |
(makeComplexProductions): added syntax for UNIFY_COMMAND |
| 13398 |
|
| 13399 |
* mixfixModule.hh: UNIFY_PAIR and UNIFY_COMMAND to enum |
| 13400 |
NonTerminal |
| 13401 |
|
| 13402 |
* doParse.cc (parseUnifyCommand): added |
| 13403 |
|
| 13404 |
* mixfixModule.hh: added decl for parseUnifyCommand() |
| 13405 |
|
| 13406 |
* mixfixParser.cc (makeUnifyCommand): added |
| 13407 |
|
| 13408 |
* mixfixParser.hh (class MixfixParser): added decl for |
| 13409 |
makeUnifyCommand() |
| 13410 |
|
| 13411 |
* interpreter.hh (endif): added decl for unify() |
| 13412 |
|
| 13413 |
* unify.cc: created |
| 13414 |
|
| 13415 |
* top.yy: added unify nonterminal |
| 13416 |
|
| 13417 |
* commands.yy (command): added syntax for unify |
| 13418 |
|
| 13419 |
2006-12-01 Steven Eker <[email protected]> |
| 13420 |
|
| 13421 |
* userLevelRewritingContext.cc (dontTrace): check TRACE_BUILTIN if |
| 13422 |
pe null |
| 13423 |
|
| 13424 |
* top.yy: added KW_BUILTIN |
| 13425 |
|
| 13426 |
* lexer.ll: added KW_BUILTIN |
| 13427 |
|
| 13428 |
* commands.yy (traceOption): added KW_BUILTIN |
| 13429 |
|
| 13430 |
* interpreter.hh (endif): added TRACE_BUILTIN to enum Flags |
| 13431 |
|
| 13432 |
===================================Maude88d=========================================== |
| 13433 |
|
| 13434 |
2006-11-20 Steven Eker <[email protected]> |
| 13435 |
|
| 13436 |
* bufferPrint.cc (printKind): fix bug where we were printing all |
| 13437 |
but the first sort twice |
| 13438 |
|
| 13439 |
* erewrite.cc (doExternalRewriting): rewritten using fairTraversal() |
| 13440 |
(eRewrite): rewritten using fairStart() |
| 13441 |
(eRewriteCont): don't use fairContinue() |
| 13442 |
|
| 13443 |
2006-11-15 Steven Eker <[email protected]> |
| 13444 |
|
| 13445 |
* interpreter.hh (endif): added decl for doExternalRewriting() |
| 13446 |
|
| 13447 |
* erewrite.cc (eRewrite): moved here |
| 13448 |
(eRewriteCont): moved here |
| 13449 |
(eRewriteCont): rewritten using doExternalRewriting() |
| 13450 |
(doExternalRewriting): added |
| 13451 |
(eRewrite): rewritten using doExternalRewriting() |
| 13452 |
|
| 13453 |
===================================Maude88c=========================================== |
| 13454 |
|
| 13455 |
2006-11-10 Steven Eker <[email protected]> |
| 13456 |
|
| 13457 |
* userLevelRewritingContext.cc (makeSubcontext): fix bug where we |
| 13458 |
were checking TRACE_EQ rather than TRACE_CONDITION |
| 13459 |
|
| 13460 |
* interpreter.hh (endif): added decls for doStrategicSearch() and |
| 13461 |
sRewriteCont() |
| 13462 |
|
| 13463 |
* srewrite.cc: created |
| 13464 |
|
| 13465 |
* interpreter.hh (endif): added data member savedStrategicSearch |
| 13466 |
|
| 13467 |
* execute.cc (sRewrite): clean up output |
| 13468 |
(clearContinueInfo): clear savedStrategicSearch |
| 13469 |
|
| 13470 |
2006-11-09 Steven Eker <[email protected]> |
| 13471 |
|
| 13472 |
* execute.cc (sRewrite): print rewrite count and timing info |
| 13473 |
|
| 13474 |
2006-11-08 Steven Eker <[email protected]> |
| 13475 |
|
| 13476 |
* strategyPrint.cc (prettyPrint): added BranchStrategy and |
| 13477 |
TestStrategy cases |
| 13478 |
|
| 13479 |
2006-11-07 Steven Eker <[email protected]> |
| 13480 |
|
| 13481 |
* execute.cc (sRewrite): use StrategyExpression version of |
| 13482 |
operator<<() |
| 13483 |
|
| 13484 |
* strategyPrint.cc (prettyPrint): added |
| 13485 |
|
| 13486 |
* mixfixModule.hh (SharedTokens): added decl for |
| 13487 |
StrategyExpression* version of prettyPrint(); make |
| 13488 |
StrategyExpression* verison of operator<<() a friend |
| 13489 |
|
| 13490 |
* strategyPrint.cc: created |
| 13491 |
|
| 13492 |
2006-11-02 Steven Eker <[email protected]> |
| 13493 |
|
| 13494 |
* makeGrammar.cc (makeStrategyLanguageProductions): use new |
| 13495 |
MAKE_APPLICATION semantics to handle all four cases |
| 13496 |
|
| 13497 |
* mixfixParser.hh (class MixfixParser): deleted |
| 13498 |
MAKE_APPLICATION_WITH_SUBSTITUTION and |
| 13499 |
MAKE_APPLICATION_WITH_STRATEGY_LIST |
| 13500 |
|
| 13501 |
* mixfixParser.cc (makeStrategy): combine all four application |
| 13502 |
cases |
| 13503 |
|
| 13504 |
* makeGrammar.cc (makeStrategyLanguageProductions): added syntax |
| 13505 |
for applications with substitutions and strategy lists |
| 13506 |
|
| 13507 |
2006-11-01 Steven Eker <[email protected]> |
| 13508 |
|
| 13509 |
* mixfixModule.hh (SharedTokens): added STRATEGY_LIST to enum NonTerminal |
| 13510 |
|
| 13511 |
* makeGrammar.cc (makeStrategyLanguageProductions): added syntax |
| 13512 |
for strategy lists and applications with strategy lists |
| 13513 |
|
| 13514 |
* mixfixParser.hh (class MixfixParser): added decl for |
| 13515 |
makeStrategyList() |
| 13516 |
(class MixfixParser): added MAKE_APPLICATION_WITH_STRATEGY_LIST |
| 13517 |
and MAKE_STRATEGY_LIST to enum SemanticActions |
| 13518 |
|
| 13519 |
* mixfixParser.cc (makeStrategy): added |
| 13520 |
MAKE_APPLICATION_WITH_STRATEGY_LIST case |
| 13521 |
(makeStrategyList): created |
| 13522 |
|
| 13523 |
2006-10-11 Steven Eker <[email protected]> |
| 13524 |
|
| 13525 |
* specialTokens.cc (MACRO): added amatch |
| 13526 |
|
| 13527 |
* makeGrammar.cc (makeStrategyLanguageProductions): xmatch becomes |
| 13528 |
amatch; added new xmatch |
| 13529 |
|
| 13530 |
2006-10-09 Steven Eker <[email protected]> |
| 13531 |
|
| 13532 |
* banner.cc (printBanner): update copyright notice |
| 13533 |
|
| 13534 |
===================================Maude88b=========================================== |
| 13535 |
|
| 13536 |
* modules.yy (domainRangeAttr): fix type clash |
| 13537 |
|
| 13538 |
2006-10-06 Steven Eker <[email protected]> |
| 13539 |
|
| 13540 |
* modules.yy (domainRangeAttr): remove dra3 production for |
| 13541 |
op : Foo [ctor] . case because [ctor] is a legal kind name and |
| 13542 |
after seeing the [ we can't be sure where we should process the |
| 13543 |
next token as an attribute or sort name |
| 13544 |
|
| 13545 |
* global.cc: created to hold global stuff that used to live in |
| 13546 |
main.cc |
| 13547 |
|
| 13548 |
* global.hh: created to hold things that used to live in main.hh |
| 13549 |
|
| 13550 |
* term-order.maude: created |
| 13551 |
|
| 13552 |
2006-10-03 Steven Eker <[email protected]> |
| 13553 |
|
| 13554 |
* prelude.maude: STO-SET becomes STRICT-TOTAL-ORDER, SWO-SET |
| 13555 |
becomes STRICT-WEAK-ORDER; added TOTAL-PREORDER, TOTAL-ORDER and a |
| 13556 |
version of all the order dependent stuff based on them; fix |
| 13557 |
confluent bug in SORTABLE-LIST-AND-SET |
| 13558 |
|
| 13559 |
2006-09-26 Steven Eker <[email protected]> |
| 13560 |
|
| 13561 |
* specialTokens.cc (MACRO): removed colon3 |
| 13562 |
|
| 13563 |
* makeGrammar.cc (makeBoolProductions): removed syntax for lazy |
| 13564 |
sort test operators |
| 13565 |
(makeComponentProductions): removed syntax for COLON3_PAIR |
| 13566 |
|
| 13567 |
2006-09-25 Steven Eker <[email protected]> |
| 13568 |
|
| 13569 |
* specialTokens.cc (MACRO): "orelse" -> "or-else" |
| 13570 |
|
| 13571 |
* preModule.cc (addParameter): don't allow parameters to be added |
| 13572 |
to a theory |
| 13573 |
|
| 13574 |
2006-09-22 Steven Eker <[email protected]> |
| 13575 |
|
| 13576 |
* quotedIdentifierTerm.cc (instantiate2): added |
| 13577 |
|
| 13578 |
* quotedIdentifierTerm.hh (class QuotedIdentifierTerm): added decl |
| 13579 |
for instantiate2() |
| 13580 |
|
| 13581 |
* modules.yy (domainRangeAttr): support over parsing of constant |
| 13582 |
declarations with missing -> |
| 13583 |
|
| 13584 |
* prelude.maude: fmod IDENTICAL expunged |
| 13585 |
|
| 13586 |
2006-09-18 Steven Eker <[email protected]> |
| 13587 |
|
| 13588 |
* prelude.maude: rewrote MAP and ARRAY to fix non-confluence; |
| 13589 |
changed prec of _[_] to 23 |
| 13590 |
|
| 13591 |
2006-09-15 Steven Eker <[email protected]> |
| 13592 |
|
| 13593 |
* prelude.maude: make _[_] in ARRAY always return a result at the |
| 13594 |
sort level. |
| 13595 |
|
| 13596 |
2006-09-14 Steven Eker <[email protected]> |
| 13597 |
|
| 13598 |
* mixfixModule.hh (SharedTokens): lowered STRAT_TEST_PREC to 93 |
| 13599 |
|
| 13600 |
* mixfixParser.cc (makeStrategy): handle match/xmatch without |
| 13601 |
"such that" clause |
| 13602 |
|
| 13603 |
* makeGrammar.cc (makeStrategyLanguageProductions): match strategy |
| 13604 |
expression takes a term rather than a match pair |
| 13605 |
(makeStrategyLanguageProductions): added match/xmatch without |
| 13606 |
"such that" clause |
| 13607 |
|
| 13608 |
2006-09-13 Steven Eker <[email protected]> |
| 13609 |
|
| 13610 |
* mixfixParser.cc (makeStrategy): new TestStrategy() convention |
| 13611 |
|
| 13612 |
* makeGrammar.cc (makeConditionProductions): implement |
| 13613 |
RULE_CONDITION_FRAGMENT in terms of CONDITION_FRAGMENT via |
| 13614 |
PASS_THRU rather than duplicating productions |
| 13615 |
(makeBoolProductions): no longer need RULE_CONDITION_FRAGMENT |
| 13616 |
version of MAKE_TRUE |
| 13617 |
|
| 13618 |
* mixfixParser.cc (makeConditionFragment): added PASS_THRU case |
| 13619 |
|
| 13620 |
* prelude.maude: fix bug that the filter functions were reversing |
| 13621 |
the order of the list |
| 13622 |
|
| 13623 |
2006-09-12 Steven Eker <[email protected]> |
| 13624 |
|
| 13625 |
* prelude.maude: replace old LIST-AND-SET fmod with new |
| 13626 |
accumulator based one; move makeList to SORTABLE-LIST-AND-SET |
| 13627 |
|
| 13628 |
2006-09-11 Steven Eker <[email protected]> |
| 13629 |
|
| 13630 |
* prelude.maude: added th & view TOSET; renamed SORTABLE-LIST to |
| 13631 |
PARTIALLY-SORTABLE-LIST, added new SORTABLE-LIST; turned |
| 13632 |
predefined TAOSET views into TOSET views |
| 13633 |
|
| 13634 |
2006-09-07 Steven Eker <[email protected]> |
| 13635 |
|
| 13636 |
* prelude.maude: change importion in SORTABLE-LIST to avoid |
| 13637 |
renaming a module with free parameters |
| 13638 |
|
| 13639 |
2006-09-01 Steven Eker <[email protected]> |
| 13640 |
|
| 13641 |
* mixfixParser.cc (makeStrategy): handle MAKE_TEST case |
| 13642 |
|
| 13643 |
* mixfixParser.hh (class MixfixParser): rm MAKE_UNARY; added |
| 13644 |
MAKE_TEST |
| 13645 |
|
| 13646 |
* makeGrammar.cc (makeStrategyLanguageProductions): fix gather bug |
| 13647 |
in ?: syntax |
| 13648 |
|
| 13649 |
* mixfixParser.cc (makeStrategy): don't pass data2 to IterationStrategy() |
| 13650 |
|
| 13651 |
* makeGrammar.cc (makeStrategyLanguageProductions): don't pass |
| 13652 |
data2 for + or * |
| 13653 |
|
| 13654 |
* execute.cc (sRewrite): removed commented out set generator based |
| 13655 |
code |
| 13656 |
|
| 13657 |
2006-08-31 Steven Eker <[email protected]> |
| 13658 |
|
| 13659 |
* mixfixModule.hh (SharedTokens): added STRAT_ORELSE_PREC to enum |
| 13660 |
Precedence; changed STRAT_BRANCH_PREC to 101 |
| 13661 |
|
| 13662 |
* mixfixParser.cc (makeStrategy): removed MAKE_UNARY case |
| 13663 |
|
| 13664 |
* mixfixParser.hh (class MixfixParser): removed MAKE_UNARY from |
| 13665 |
enum SemanticActions |
| 13666 |
|
| 13667 |
* makeGrammar.cc (makeStrategyLanguageProductions): added syntax |
| 13668 |
for orelse |
| 13669 |
|
| 13670 |
* specialTokens.cc (MACRO): added orelse |
| 13671 |
|
| 13672 |
* makeGrammar.cc (makeStrategyLanguageProductions): pass |
| 13673 |
NEW_STRATEGY data to insertProduction() |
| 13674 |
(makeStrategyLanguageProductions): use MAKE_BRANCH for ! |
| 13675 |
(makeStrategyLanguageProductions): use MAKE_BRANCH for not, test |
| 13676 |
and try |
| 13677 |
|
| 13678 |
* mixfixParser.cc (makeStrategy): rewrote MAKE_BRANCH case to be |
| 13679 |
very general |
| 13680 |
|
| 13681 |
2006-08-30 Steven Eker <[email protected]> |
| 13682 |
|
| 13683 |
* makeGrammar.cc (makeStrategyLanguageProductions): use |
| 13684 |
BranchStrategy options for not, test and try |
| 13685 |
(makeStrategyLanguageProductions): implement s! as a unary branch |
| 13686 |
strategy |
| 13687 |
(makeStrategyLanguageProductions): fix gather for ! |
| 13688 |
|
| 13689 |
* mixfixParser.cc (makeStrategy): use new BranchStrategy() |
| 13690 |
convention |
| 13691 |
(makeStrategy): use BranchStrategy() to implement stuff that was |
| 13692 |
previously implemented by UnaryStrategy() |
| 13693 |
|
| 13694 |
* prelude.maude: made sort() stable wrt incomparable elements; |
| 13695 |
added _subset_ and _psubset_ to SET and SET* |
| 13696 |
|
| 13697 |
2006-08-15 Steven Eker <[email protected]> |
| 13698 |
|
| 13699 |
* execute.cc (sRewrite): use class StrategicSearch |
| 13700 |
(sRewrite): added Assert() |
| 13701 |
|
| 13702 |
2006-07-25 Steven Eker <[email protected]> |
| 13703 |
|
| 13704 |
* prelude.maude: use /\ instead of and for first TAO-SET ceq as |
| 13705 |
suggest by Narcisso |
| 13706 |
|
| 13707 |
===================================Maude88a=========================================== |
| 13708 |
|
| 13709 |
2006-07-20 Steven Eker <[email protected]> |
| 13710 |
|
| 13711 |
* maudemlBuffer.hh (class MaudemlBuffer): update decl for |
| 13712 |
generateSearch() |
| 13713 |
|
| 13714 |
* maudemlBuffer.cc (generateFrewrite): fix bug where we were |
| 13715 |
testing limit rather than gas |
| 13716 |
(generateErewrite): symmetric bug |
| 13717 |
(generateSearch): handle depth |
| 13718 |
|
| 13719 |
* search.cc (search): pass extra arg to generateSearch() |
| 13720 |
|
| 13721 |
* prelude.maude: added metaNormalize |
| 13722 |
|
| 13723 |
* machine-int.maude: now part of the distribution |
| 13724 |
|
| 13725 |
* top.yy: type decl for cTokenBarDotCommaNumber |
| 13726 |
|
| 13727 |
* commands.yy (cTokenBarDotCommaNumber): added |
| 13728 |
(numbersModuleTerm1): use cTokenBarDotCommaNumber |
| 13729 |
|
| 13730 |
* execute.cc (printModifiers): fix whitespace bug |
| 13731 |
|
| 13732 |
* commands.yy (numbersModuleTerm6): fix missing moduleAndTerm |
| 13733 |
|
| 13734 |
|
| 13735 |
* doParse.cc (parseSentence): added Assert() to check for empty |
| 13736 |
sentence |
| 13737 |
|
| 13738 |
2006-07-19 Steven Eker <[email protected]> |
| 13739 |
|
| 13740 |
* search.cc (search): use printModifiers() |
| 13741 |
(search): pass depth arg to RewriteSequenceSearch() ctor |
| 13742 |
|
| 13743 |
* execute.cc (fRewrite): use printModifiers() |
| 13744 |
(eRewrite): use printModifiers() |
| 13745 |
|
| 13746 |
* interpreter.hh (endif): added decl for printModifiers() |
| 13747 |
|
| 13748 |
* execute.cc (printModifiers): added |
| 13749 |
|
| 13750 |
* interpreter.hh (endif): decl for search() now takes depth arg |
| 13751 |
|
| 13752 |
* commands.yy (command): allow search to take 2 parameters |
| 13753 |
|
| 13754 |
2006-07-18 Steven Eker <[email protected]> |
| 13755 |
|
| 13756 |
* fixUp.cc (fixUpSymbols): use shared tokens |
| 13757 |
|
| 13758 |
* process.cc (processOps): use shared tokens |
| 13759 |
|
| 13760 |
* specialTokens.cc (MACRO): added hook tokens |
| 13761 |
|
| 13762 |
* makeGrammar.cc (makeSpecialProductions): use shared |
| 13763 |
pseudo-tokens |
| 13764 |
|
| 13765 |
* specialTokens.cc (MACRO): added pseudo-tokens |
| 13766 |
|
| 13767 |
* makeGrammar.cc (makeComponentProductions): use shared tokens |
| 13768 |
|
| 13769 |
* specialTokens.cc: added tokens <=? and <- |
| 13770 |
|
| 13771 |
* makeGrammar.cc (makeStrategyLanguageProductions): don't use |
| 13772 |
Token::encode() now that we store these things in SharedTokens |
| 13773 |
|
| 13774 |
* specialTokens.cc (MACRO): added strategy keywords |
| 13775 |
|
| 13776 |
* import.cc (processImports): don't use Token::encode() now that |
| 13777 |
we store these things in SharedTokens |
| 13778 |
|
| 13779 |
* specialTokens.cc: added import keywords |
| 13780 |
|
| 13781 |
* preModule.hh (User): derive from SharedTokens rather than |
| 13782 |
CommonTokens |
| 13783 |
|
| 13784 |
* mixfixModule.hh (SharedTokens): derive from SharedTokens rather |
| 13785 |
than CommonTokens |
| 13786 |
|
| 13787 |
* sharedTokens.cc: created from commonTokens.cc |
| 13788 |
|
| 13789 |
* sharedTokens.hh (class SharedTokens): was commonTokens.hh |
| 13790 |
|
| 13791 |
* commonTokens.hh (class CommonTokens): use specialTokens.cc |
| 13792 |
|
| 13793 |
* specialTokens.cc (MACRO): added smod/endsm |
| 13794 |
|
| 13795 |
* preModule.cc (PreModule): handle smod |
| 13796 |
|
| 13797 |
* specialTokens.cc: created |
| 13798 |
|
| 13799 |
2006-07-17 Steven Eker <[email protected]> |
| 13800 |
|
| 13801 |
* preModule.cc (compatible): handle smod/endsm |
| 13802 |
|
| 13803 |
* lexer.ll (id): added syntax for smod, endsm |
| 13804 |
|
| 13805 |
* model-checker.maude: {_,_} : State RuleName -> Transition |
| 13806 |
becomes a ctor |
| 13807 |
* prelude.maude: _{_} : Qid ParameterDeclList -> Header becomes a |
| 13808 |
ctor |
| 13809 |
|
| 13810 |
===================================Maude88=========================================== |
| 13811 |
|
| 13812 |
2006-07-13 Steven Eker <[email protected]> |
| 13813 |
|
| 13814 |
* mixfixModule.cc (findSymbol): for assoc op, domainAndRange[2] |
| 13815 |
and not domainAndRange[nrArgs] holds the range sort |
| 13816 |
|
| 13817 |
2006-04-24 Steven Eker <[email protected]> |
| 13818 |
|
| 13819 |
* mixfixParser.hh (class MixfixParser): added MAKE_UNARY to enum |
| 13820 |
SemanticActions |
| 13821 |
|
| 13822 |
* mixfixParser.cc (makeStrategy): added MAKE_UNARY case |
| 13823 |
|
| 13824 |
* makeGrammar.cc (makeStrategyLanguageProductions): fix bad gather |
| 13825 |
in top() syntax |
| 13826 |
(makeStrategyLanguageProductions): added syntax for not, test and |
| 13827 |
try strategies |
| 13828 |
|
| 13829 |
2006-04-18 Steven Eker <[email protected]> |
| 13830 |
|
| 13831 |
* mixfixParser.cc (makeStrategy): support normalForm flag for IterationStrategy() |
| 13832 |
|
| 13833 |
* makeGrammar.cc (makeStrategyLanguageProductions): syntax for ! |
| 13834 |
operator |
| 13835 |
|
| 13836 |
2006-04-13 Steven Eker <[email protected]> |
| 13837 |
|
| 13838 |
* makeGrammar.cc (makeStrategyLanguageProductions): added syntax |
| 13839 |
for top() modifier |
| 13840 |
|
| 13841 |
* mixfixParser.hh (class MixfixParser): added MAKE_TOP to |
| 13842 |
|
| 13843 |
* mixfixParser.cc (makeStrategy): added case for MAKE_TOP |
| 13844 |
|
| 13845 |
2006-04-12 Steven Eker <[email protected]> |
| 13846 |
|
| 13847 |
* mixfixParser.hh (class MixfixParser): MAKE_SEQUENCE -> |
| 13848 |
MAKE_CONCATENATION |
| 13849 |
|
| 13850 |
* makeGrammar.cc (makeStrategyLanguageProductions): MAKE_SEQUENCE |
| 13851 |
-> MAKE_CONCATENATION |
| 13852 |
|
| 13853 |
* mixfixParser.cc (makeStrategy): use ConcatenationStrategy() in |
| 13854 |
place of StrategySequence() |
| 13855 |
(makeStrategy): MAKE_SEQUENCE -> MAKE_CONCATENATION |
| 13856 |
|
| 13857 |
2006-03-23 Steven Eker <[email protected]> |
| 13858 |
|
| 13859 |
* execute.cc (sRewrite): handle limit = NONE case |
| 13860 |
|
| 13861 |
* commands.yy (command): handle number for srewrite |
| 13862 |
(command): fix bug where erewrite wasn't allowed to take two |
| 13863 |
numbers |
| 13864 |
|
| 13865 |
* interpreter.hh (endif): updated decl for sRewrite() |
| 13866 |
|
| 13867 |
* execute.cc (sRewrite): support limit; garbage collect |
| 13868 |
context/gen/strategy; tidy up after aborts |
| 13869 |
|
| 13870 |
* mixfixParser.cc (makeAssignment): check for and recover from |
| 13871 |
assignment to nonvariable |
| 13872 |
|
| 13873 |
2006-03-22 Steven Eker <[email protected]> |
| 13874 |
|
| 13875 |
* mixfixParser.hh (class MixfixParser): added decls for |
| 13876 |
makeAssignment() and makeSubstitution() |
| 13877 |
(class MixfixParser): added MAKE_SUBSTITUTION to enum |
| 13878 |
SemanticActions |
| 13879 |
(class MixfixParser): added MAKE_APPLICATION_WITH_SUBSTITUTION to |
| 13880 |
enum SemanticActions |
| 13881 |
|
| 13882 |
* mixfixParser.cc (makeStrategy): added semantics for applications |
| 13883 |
with substitutions |
| 13884 |
(makeSubstitution): added |
| 13885 |
|
| 13886 |
* makeGrammar.cc (makeComponentProductions): added syntax for assignments |
| 13887 |
(makeComplexProductions): added syntax for substitutions |
| 13888 |
(makeStrategyLanguageProductions): added syntax for applications |
| 13889 |
with substitutions |
| 13890 |
|
| 13891 |
* mixfixModule.hh (CommonTokens): added ASSIGNMENT and |
| 13892 |
SUBSTITUTION to enum NonTerminal |
| 13893 |
|
| 13894 |
* mixfixParser.hh (class MixfixParser): added MAKE_ALL to enum |
| 13895 |
SemanticActions |
| 13896 |
|
| 13897 |
* mixfixParser.cc (makeStrategy): added MAKE_ALL case |
| 13898 |
|
| 13899 |
* makeGrammar.cc (makeStrategyLanguageProductions): added syntax |
| 13900 |
for all |
| 13901 |
|
| 13902 |
2006-03-21 Steven Eker <[email protected]> |
| 13903 |
|
| 13904 |
* mixfixParser.hh (class MixfixParser): MAKE_ALTERNATION -> |
| 13905 |
MAKE_UNION |
| 13906 |
|
| 13907 |
* mixfixParser.cc (makeStrategy): added semantics for MAKE_UNION |
| 13908 |
|
| 13909 |
* mixfixModule.hh (CommonTokens): STRAT_ALT_PREC -> |
| 13910 |
STRAT_UNION_PREC |
| 13911 |
|
| 13912 |
* makeGrammar.cc (makeStrategyLanguageProductions): added union |
| 13913 |
syntax |
| 13914 |
|
| 13915 |
2006-03-20 Steven Eker <[email protected]> |
| 13916 |
|
| 13917 |
* mixfixParser.cc (makeStrategy): added semantics for MAKE_BRANCH |
| 13918 |
|
| 13919 |
* mixfixModule.hh (CommonTokens): added STRAT_BRANCH_PREC to enum |
| 13920 |
Precedence |
| 13921 |
|
| 13922 |
* makeGrammar.cc (makeStrategyLanguageProductions): added syntax |
| 13923 |
for branch strategy; code cleaning |
| 13924 |
|
| 13925 |
2006-03-17 Steven Eker <[email protected]> |
| 13926 |
|
| 13927 |
* mixfixParser.cc (makeStrategy): added iterator and pass thru |
| 13928 |
cases |
| 13929 |
|
| 13930 |
* makeGrammar.cc (makeStrategyLanguageProductions): added syntax |
| 13931 |
for iterators and parens |
| 13932 |
|
| 13933 |
* execute.cc (sRewrite): need to reduce term first to ensure it |
| 13934 |
has sort info |
| 13935 |
|
| 13936 |
* mixfixParser.cc (makeStrategy): handle trivial and sequence |
| 13937 |
cases |
| 13938 |
|
| 13939 |
* makeGrammar.cc (makeStrategyLanguageProductions): added syntax |
| 13940 |
for fail, idle, sequencing |
| 13941 |
|
| 13942 |
* mixfixModule.hh (CommonTokens): added STRAT_SEQ_PREC and |
| 13943 |
STRAT_ALT_PREC to enum Precedence |
| 13944 |
|
| 13945 |
* makeGrammar.cc (makeComplexProductions): fix bad gathers for |
| 13946 |
arrow productions |
| 13947 |
|
| 13948 |
* mixfixParser.hh (class MixfixParser): added more strategy |
| 13949 |
actions to enum SemanticActions |
| 13950 |
|
| 13951 |
2006-03-16 Steven Eker <[email protected]> |
| 13952 |
|
| 13953 |
* mixfixParser.cc (makeStrategy): added |
| 13954 |
(makeStrategyCommand): use makeStrategy() |
| 13955 |
|
| 13956 |
2006-03-15 Steven Eker <[email protected]> |
| 13957 |
|
| 13958 |
* makeGrammar.cc (makeStrategyLanguageProductions): fix resize bug |
| 13959 |
(makeStrategyLanguageProductions): handle labels |
| 13960 |
(makeGrammar): don't call makeLabelProductions() for complex parsers |
| 13961 |
|
| 13962 |
* mixfixParser.hh (class MixfixParser): added decl for |
| 13963 |
makeStrategyCommand() |
| 13964 |
|
| 13965 |
* mixfixParser.cc (makeStrategyCommand): added |
| 13966 |
|
| 13967 |
* doParse.cc (parseStrategyCommand): implement |
| 13968 |
|
| 13969 |
* mixfixModule.hh (CommonTokens): added decl for |
| 13970 |
makeStrategyLanguageProductions() |
| 13971 |
|
| 13972 |
* makeGrammar.cc (makeStrategyLanguageProductions): created |
| 13973 |
(makeGrammar): call makeStrategyLanguageProductions() |
| 13974 |
|
| 13975 |
2006-03-08 Steven Eker <[email protected]> |
| 13976 |
|
| 13977 |
* makeGrammar.cc (makeComplexProductions): quick hack for strategy |
| 13978 |
command syntax |
| 13979 |
|
| 13980 |
* mixfixModule.hh (CommonTokens): added decl for |
| 13981 |
parseStrategyCommand() |
| 13982 |
(CommonTokens): added STRATEGY_EXPRESSION and STRATEGY_COMMAND to |
| 13983 |
enum NonTerminal; renumbered |
| 13984 |
|
| 13985 |
* doParse.cc (parseStrategyCommand): added stub |
| 13986 |
|
| 13987 |
* execute.cc: added stub for sRewrite() |
| 13988 |
|
| 13989 |
* lexer.ll: added sred; deleted ored |
| 13990 |
|
| 13991 |
* top.yy: added KW_SREWRITE; deleted KW_OREWRITE |
| 13992 |
|
| 13993 |
* interpreter.hh (endif): added decl for sRewrite() |
| 13994 |
|
| 13995 |
* commands.yy (command): added syntax for srewrite |
| 13996 |
|
| 13997 |
2006-01-06 Steven Eker <[email protected]> |
| 13998 |
|
| 13999 |
* visibleModule.cc (showSortsAndSubsorts): for each line of |
| 14000 |
output, show main sort in color |
| 14001 |
|
| 14002 |
===================================Maude87=========================================== |
| 14003 |
|
| 14004 |
2005-11-28 Steven Eker <[email protected]> |
| 14005 |
|
| 14006 |
* symbolType.hh: added decl for operator<<() |
| 14007 |
|
| 14008 |
* symbolType.cc (operator<<): added |
| 14009 |
|
| 14010 |
* entry.cc (addOpDeclaration): added DebugAdvisory for when |
| 14011 |
attributes differ |
| 14012 |
|
| 14013 |
===================================Maude86e=========================================== |
| 14014 |
|
| 14015 |
2005-11-17 Steven Eker <[email protected]> |
| 14016 |
|
| 14017 |
* prelude.maude: op nil : -> HookList is now a ctor; EmptyQidList |
| 14018 |
deleted; EmptyCommaList added; fixed confusion between __ and _,_ |
| 14019 |
based lists of Qids |
| 14020 |
|
| 14021 |
===================================Maude86d2=========================================== |
| 14022 |
|
| 14023 |
2005-11-16 Steven Eker <[email protected]> |
| 14024 |
|
| 14025 |
* prelude.maude: sortLeq now defined on types |
| 14026 |
|
| 14027 |
* interact.cc (commandLoop): fix bad endXmlLog() call |
| 14028 |
|
| 14029 |
2005-11-10 Steven Eker <[email protected]> |
| 14030 |
|
| 14031 |
* mixfixModule.cc (MixfixModule): fix memory leak: |
| 14032 |
deepSelfDestruct() identities |
| 14033 |
|
| 14034 |
* prelude.maude: added QID-SET; use QID-SET in META-MODULE; added |
| 14035 |
extra sorts and declarations to achieve preregularity and |
| 14036 |
associativity of _;_ |
| 14037 |
|
| 14038 |
2005-11-09 Steven Eker <[email protected]> |
| 14039 |
|
| 14040 |
* interact.cc (commandLoop): call endXmlLog() |
| 14041 |
|
| 14042 |
2005-11-08 Steven Eker <[email protected]> |
| 14043 |
|
| 14044 |
* moduleDatabase.hh (class ModuleDatabase): delete decl for |
| 14045 |
~ModuleDatabase(); add decl for deleteNamedModules() |
| 14046 |
|
| 14047 |
* moduleDatabase.cc (deleteNamedModules): added |
| 14048 |
(~ModuleDatabase): deleted |
| 14049 |
|
| 14050 |
* interact.cc (commandLoop): delete interpreter here |
| 14051 |
|
| 14052 |
* preModule.cc (~PreModule): fix memory leak where we weren't |
| 14053 |
deleting module expressions for parameter theories |
| 14054 |
|
| 14055 |
* viewDatabase.cc (~ViewDatabase): delete views |
| 14056 |
|
| 14057 |
2005-11-07 Steven Eker <[email protected]> |
| 14058 |
|
| 14059 |
* moduleCache.hh (User): updated decl for showCreatedModules() |
| 14060 |
|
| 14061 |
* moduleDatabase.hh (class ModuleDatabase): updated decl for |
| 14062 |
showNamedModules() |
| 14063 |
|
| 14064 |
* moduleDatabase.cc (showNamedModules): take ostream& parameter |
| 14065 |
|
| 14066 |
* moduleCache.cc (showCreatedModules): take ostream& parameter |
| 14067 |
|
| 14068 |
* interpreter.cc (showModules): pass cout to showNamedModules() |
| 14069 |
and showCreatedModules() |
| 14070 |
|
| 14071 |
* main.hh: update decl for interpreter |
| 14072 |
|
| 14073 |
* main.cc: make interpreter a reference to chase down memory leak |
| 14074 |
|
| 14075 |
2005-11-02 Steven Eker <[email protected]> |
| 14076 |
|
| 14077 |
* view.cc (clearOpTermMap): added |
| 14078 |
(~View): use clearOpTermMap() |
| 14079 |
(regretToInform): use clearOpTermMap() for fix stale term bug |
| 14080 |
|
| 14081 |
2005-10-26 Steven Eker <[email protected]> |
| 14082 |
|
| 14083 |
* prelude.maude: fixed large number of white space issues; in |
| 14084 |
particular line no longer start with tab which messes with tecla |
| 14085 |
|
| 14086 |
* renameModule.cc (donateOps2): fixed nasty scoping bug that left |
| 14087 |
format uninitialized in if branch |
| 14088 |
|
| 14089 |
2005-10-25 Steven Eker <[email protected]> |
| 14090 |
|
| 14091 |
* entry.cc (newFancySymbol): put pairs returned by insert() into |
| 14092 |
local variables to appease purify (3 places) |
| 14093 |
|
| 14094 |
2005-10-14 Steven Eker <[email protected]> |
| 14095 |
|
| 14096 |
* prelude.maude: use protecting rather than inc in LIST-AND-SET |
| 14097 |
|
| 14098 |
===================================Maude86d=========================================== |
| 14099 |
|
| 14100 |
2005-10-07 Steven Eker <[email protected]> |
| 14101 |
|
| 14102 |
* prelude.maude: added view TRIV |
| 14103 |
|
| 14104 |
* view.cc (View): fix memory leak: deepSelfDestruct() fromExpr and |
| 14105 |
toExpr |
| 14106 |
|
| 14107 |
* auxProperty.cc (splitParameterList): fixed nasty new[]/delete |
| 14108 |
bug |
| 14109 |
(splitParameterizedSort): symmetric bug |
| 14110 |
|
| 14111 |
* main.cc (main): add -no-wrap flag |
| 14112 |
(printHelp): mention -no-wrap flag |
| 14113 |
|
| 14114 |
2005-10-06 Steven Eker <[email protected]> |
| 14115 |
|
| 14116 |
* view.cc (handleOpTermMappings): fix nasty bug where we were |
| 14117 |
forgetting to return a value at the end of function |
| 14118 |
(evaluate): same bug! |
| 14119 |
|
| 14120 |
* interact.cc (segmentationFaultHandler): write \n\n after error message |
| 14121 |
|
| 14122 |
2005-10-05 Steven Eker <[email protected]> |
| 14123 |
|
| 14124 |
* prelude.maude: added fmod LIST-AND-SET |
| 14125 |
|
| 14126 |
2005-10-04 Steven Eker <[email protected]> |
| 14127 |
|
| 14128 |
* prelude.maude: X$Elt -> Item{X} for several declarations in |
| 14129 |
LIST* |
| 14130 |
|
| 14131 |
* modules.yy (expectedIs, expectedDot): fix type mismatch bug only |
| 14132 |
found by older (1.28) version of bison |
| 14133 |
|
| 14134 |
2005-09-29 Steven Eker <[email protected]> |
| 14135 |
|
| 14136 |
* parameterization.cc (instantiateBoundParameters): much |
| 14137 |
simplification |
| 14138 |
|
| 14139 |
2005-09-28 Steven Eker <[email protected]> |
| 14140 |
|
| 14141 |
* importModule.hh (User): updated decl for |
| 14142 |
instantiateBoundParameters() |
| 14143 |
|
| 14144 |
* parameterization.cc (instantiateBoundParameters): greatly |
| 14145 |
simplified now that we don't have to deal with nested bound |
| 14146 |
parameter instantiations |
| 14147 |
(instantiateBoundParameters): eagerly rebind escaped parameters |
| 14148 |
(handleRegularImports): deleted recapture code |
| 14149 |
|
| 14150 |
* importModule.hh (User): updated decls: extraParameterMap -> |
| 14151 |
extraParameterSet |
| 14152 |
|
| 14153 |
* parameterization.cc (handleInstantiationByTheoryView): remove |
| 14154 |
oldParameterName stuff now that parameters cannot clash and change |
| 14155 |
name |
| 14156 |
(handleInstantiationByTheoryView): extraParameterMap -> |
| 14157 |
extraParameterSet |
| 14158 |
(handleParameterizedSorts): extraParameterMap -> |
| 14159 |
extraParameterSet |
| 14160 |
(makeInstantiation, instantiateBoundParameters) |
| 14161 |
(instantiateSortName): extraParameterMap -> extraParameterSet |
| 14162 |
(instantiateRenaming): extraParameterMap -> extraParameterSet |
| 14163 |
|
| 14164 |
* importModule.hh (User): added typedef ParameterSet |
| 14165 |
|
| 14166 |
* parameterization.cc (instantiateBoundParameters): fix bug where |
| 14167 |
we putting the view name in extraParameterMap |
| 14168 |
|
| 14169 |
2005-09-27 Steven Eker <[email protected]> |
| 14170 |
|
| 14171 |
* parameterization.cc (instantiateBoundParameters): compute |
| 14172 |
parameterMap and extraParameterMap |
| 14173 |
|
| 14174 |
* renaming.cc (makeTypeName): fix bug by using Token::sortName |
| 14175 |
instead of Token::name |
| 14176 |
|
| 14177 |
* parameterization.cc (instantiateSortName): added |
| 14178 |
(instantiateRenaming): use instantiateSortName() |
| 14179 |
(instantiateBoundParameters): use instantiateRenaming() |
| 14180 |
|
| 14181 |
* importModule.hh (User): added decl for instantiateRenaming() |
| 14182 |
|
| 14183 |
* parameterization.cc (instantiateRenaming): added |
| 14184 |
|
| 14185 |
* renaming.hh (class Renaming): added decl for |
| 14186 |
addOpMappingPartialCopy() |
| 14187 |
|
| 14188 |
* renaming.cc (makeCanonicalVersion): clear term field of newly |
| 14189 |
created op mapping in specific case for cleanliness |
| 14190 |
(addOpMappingPartialCopy): added |
| 14191 |
|
| 14192 |
2005-09-21 Steven Eker <[email protected]> |
| 14193 |
|
| 14194 |
* importModule.cc (parametersBound): moved here; made recursive to |
| 14195 |
deal with renaming modules having bound parameters |
| 14196 |
|
| 14197 |
2005-09-20 Steven Eker <[email protected]> |
| 14198 |
|
| 14199 |
* import.cc (makeModule): allow bound parameters in a module that |
| 14200 |
is to be renamed |
| 14201 |
|
| 14202 |
* renameModule.cc (makeRenamedCopy): allow bound parameters |
| 14203 |
|
| 14204 |
* parameterization.cc (instantiateBoundParameters): added back |
| 14205 |
old hacky code to deal with renamings |
| 14206 |
|
| 14207 |
* modules.yy (renameExpr): added |
| 14208 |
(instantExpr): added |
| 14209 |
(moduleExpr2): use renameExpr |
| 14210 |
(moduleExpr3): use instantExpr, parenExpr |
| 14211 |
(expectedDot): added |
| 14212 |
(parenExpr): added |
| 14213 |
(moduleExprDot): use tokenBarDot, expectedDot, parenExpr, |
| 14214 |
renameExpr, instantExpr in order to detect and recover from |
| 14215 |
missing period |
| 14216 |
(typeDot): use expectedDot |
| 14217 |
(typeAttr): use expectedDot |
| 14218 |
(expectedIs, expectedDot): improve warnings |
| 14219 |
|
| 14220 |
2005-09-19 Steven Eker <[email protected]> |
| 14221 |
|
| 14222 |
* modules.yy (module): use expectedIs |
| 14223 |
(expectedIs): added |
| 14224 |
(view): use expectedIs |
| 14225 |
|
| 14226 |
2005-09-16 Steven Eker <[email protected]> |
| 14227 |
|
| 14228 |
* import.cc (makeModule): check for having both a theory-view and |
| 14229 |
a PEM |
| 14230 |
|
| 14231 |
2005-09-15 Steven Eker <[email protected]> |
| 14232 |
|
| 14233 |
* importModule.cc (ImportModule): don't clear nrBoundParameters |
| 14234 |
|
| 14235 |
* renameModule.cc (makeRenamedCopy): use parametersBound() in |
| 14236 |
place of nrBoundParameters |
| 14237 |
|
| 14238 |
* view.cc (evaluate): getNrFreeParameters() -> getNrParameters() |
| 14239 |
|
| 14240 |
* visibleModule.cc (showModule): remove "Free" from function calls |
| 14241 |
|
| 14242 |
* import.cc (processImports): use parametersBound() rather than |
| 14243 |
getNrFreeParameters() |
| 14244 |
(makeModule): use getNrParameters() rather than |
| 14245 |
getNrFreeParameters() |
| 14246 |
(makeModule): use getParameterTheory() rather than |
| 14247 |
getFreeParameterTheory() (2 places) |
| 14248 |
(makeModule): use parametersBound() rather than |
| 14249 |
getNrBoundParameters() |
| 14250 |
|
| 14251 |
* parameterization.cc (handleRegularImports): use |
| 14252 |
getParameterName() in place of getFreeParameterName() |
| 14253 |
(instantiateBoundParameters): use getParameterName() in place of |
| 14254 |
getFreeParameterName() |
| 14255 |
(handleRegularImports): use parametersBound() in place of |
| 14256 |
getNrFreeParameters() |
| 14257 |
(instantiateBoundParameters): use getNrParameters() in place of |
| 14258 |
getNrFreeParameters() |
| 14259 |
|
| 14260 |
* importModule.hh (getNrBoundParameters): deleted |
| 14261 |
(getNrFreeParameters): deleted |
| 14262 |
(parametersBound): added |
| 14263 |
(User): deleted data member nrBoundParameters |
| 14264 |
(getFreeParameterTheory): deleted |
| 14265 |
(getFreeParameterName): becomes getParameterName() |
| 14266 |
|
| 14267 |
* parameterization.cc (makeInstantiation): don't set |
| 14268 |
nrBoundParameters |
| 14269 |
(handleInstantiationByParameter): don't use nrBoundParameters |
| 14270 |
(handleInstantiationByTheoryView): don't use nrBoundParameters |
| 14271 |
(handleInstantiationByModuleView): don't use nrBoundParameters |
| 14272 |
(handleInstantiationByTheoryView): simplified |
| 14273 |
(handleInstantiationByModuleView): simplified |
| 14274 |
(handleInstantiationByTheoryView): replaced code to resolve |
| 14275 |
parameter clash with an Assert() that the clash does not happen |
| 14276 |
(handleRegularImports): use parametersBound() rather than testing |
| 14277 |
nrBoundParameters |
| 14278 |
(handleRegularImports): simplified now that we know we will have |
| 14279 |
no bound parameters |
| 14280 |
(handleRegularImports): check parametersBound rather than |
| 14281 |
nrBoundParameters |
| 14282 |
(makeInstantiation): check that we don't have bound parameters; |
| 14283 |
use getNrParameters() in place of getNrFreeParameters() |
| 14284 |
(makeInstantiation): don't copy bound parameters - there shouldn't |
| 14285 |
be any |
| 14286 |
(instantiateBoundParameters): check parametersBound rather than |
| 14287 |
nrBoundParameters |
| 14288 |
(instantiateBoundParameters): rearranged Asserts() |
| 14289 |
(makeInstantiation): rearranged Asserts() |
| 14290 |
(instantiateBoundParameters): commented out code for recursive |
| 14291 |
call |
| 14292 |
(instantiateBoundParameters): no need to check index against |
| 14293 |
nrBoundParameters since we only have bound parameters |
| 14294 |
|
| 14295 |
2005-09-14 Steven Eker <[email protected]> |
| 14296 |
|
| 14297 |
* parameterization.cc (handleRegularImports): made escaped |
| 14298 |
parameter Assert() very detail to try an nail obscure bug |
| 14299 |
(instantiateBoundParameters): added DebugAdvisory() for escapees |
| 14300 |
|
| 14301 |
2005-09-08 Steven Eker <[email protected]> |
| 14302 |
|
| 14303 |
* renaming.cc (makeCanonicalVersion): genericsToAdd -> |
| 14304 |
genericsToConsider |
| 14305 |
(makeCanonicalVersion): clean up and fix bug that we weren't |
| 14306 |
generating an advisory when user tried to rename a parameter |
| 14307 |
polymorph |
| 14308 |
|
| 14309 |
2005-09-07 Steven Eker <[email protected]> |
| 14310 |
|
| 14311 |
* main.cc (dioTest): deleted |
| 14312 |
|
| 14313 |
2005-08-31 Steven Eker <[email protected]> |
| 14314 |
|
| 14315 |
* prelude.maude: changed prec for _;_ operator in ARRAY |
| 14316 |
|
| 14317 |
2005-08-30 Steven Eker <[email protected]> |
| 14318 |
|
| 14319 |
* ops.cc (setFlag): watn about duplicate simple attributes |
| 14320 |
(setIdentity): warn about multiple identities |
| 14321 |
(setPrec): warn about multiple precs |
| 14322 |
(setGather): warn about multiple gathers |
| 14323 |
(setMetadata): warn about multiple metadatas |
| 14324 |
(setFormat): warn about multiple formats |
| 14325 |
(setFrozen): warn about multiple frozens |
| 14326 |
(setPoly): want about multiple polys |
| 14327 |
(setLatexMacro): warn about multiple latexs |
| 14328 |
(setStrat): warn about multiple strats |
| 14329 |
|
| 14330 |
* symbolType.hh (class SymbolType): added SIMPLE_ATTRIBUTES |
| 14331 |
|
| 14332 |
2005-08-25 Steven Eker <[email protected]> |
| 14333 |
|
| 14334 |
* linear.maude: built in natSystemSolve now takes a String; added |
| 14335 |
op-hook stringSymbol |
| 14336 |
|
| 14337 |
2005-08-23 Steven Eker <[email protected]> |
| 14338 |
|
| 14339 |
* linear.maude: fix _,_ renaming |
| 14340 |
|
| 14341 |
2005-08-17 Steven Eker <[email protected]> |
| 14342 |
|
| 14343 |
* modules.yy (mappingList): added error handling to mappingList to |
| 14344 |
ensure we swap back syntax containers |
| 14345 |
(renaming2): place error handling here instead |
| 14346 |
(viewDeclaration): addded error handling |
| 14347 |
|
| 14348 |
2005-08-16 Steven Eker <[email protected]> |
| 14349 |
|
| 14350 |
* linear.maude: created |
| 14351 |
|
| 14352 |
* fixUp.cc (defaultFixUp): added DebugAdvisory()s |
| 14353 |
|
| 14354 |
* prelude.maude: SPARSE-MAP becomes ARRAY |
| 14355 |
|
| 14356 |
2005-08-15 Steven Eker <[email protected]> |
| 14357 |
|
| 14358 |
* prelude.maude: added fth DEFAULT and associated views; added |
| 14359 |
SPARSE-MAP |
| 14360 |
|
| 14361 |
===================================Maude86c=========================================== |
| 14362 |
|
| 14363 |
2005-07-29 Steven Eker <[email protected]> |
| 14364 |
|
| 14365 |
* renaming.cc (makeCanonicalVersion): change the way generics are |
| 14366 |
added |
| 14367 |
(makeCanonicalVersion): rewritten to avoid renaming symbols and |
| 14368 |
polymorphs from parameters |
| 14369 |
(makeCanonicalVersion): added hack to that we generate advisory in |
| 14370 |
the generic non-polymorph case |
| 14371 |
|
| 14372 |
* renaming.hh (class Renaming): added typedef IdSet |
| 14373 |
|
| 14374 |
* renaming.cc (makeCanonicalVersion): ignore mappings for sorts |
| 14375 |
that come from parameters |
| 14376 |
|
| 14377 |
* renameModule.cc (makeRenamedCopy): deleted commented out line to |
| 14378 |
copy nrBoundParameters - we do not rename modules with bound |
| 14379 |
parameters |
| 14380 |
|
| 14381 |
* importModule.hh (parameterDeclared): added Symbol* and Sort* |
| 14382 |
vesions |
| 14383 |
(parameterDeclaredPolymorph): added |
| 14384 |
|
| 14385 |
* importModule.cc (importOps): set nrSymbolsFromParameters and |
| 14386 |
nrPolymorphsFromParameters |
| 14387 |
(importSorts): set nrSortsFromParameters |
| 14388 |
(ImportModule): clear nrSortsFromParameters, |
| 14389 |
nrSymbolsFromParameters, nrPolymorphsFromParameters |
| 14390 |
|
| 14391 |
* importModule.hh (User): added data members |
| 14392 |
nrSortsFromParameters, nrSymbolsFromParameters, and |
| 14393 |
nrPolymorphsFromParameters |
| 14394 |
|
| 14395 |
2005-07-28 Steven Eker <[email protected]> |
| 14396 |
|
| 14397 |
* parameterization.cc (addOpMappingsFromView): check |
| 14398 |
moduleDeclaredPolymorph() |
| 14399 |
|
| 14400 |
* view.cc (checkPolymorphicOps): don't allow view to map module |
| 14401 |
declared polymorphs |
| 14402 |
|
| 14403 |
* importModule.hh (User): added data member |
| 14404 |
polymorphDeclaredInModule |
| 14405 |
(moduleDeclaredPolymorph): added |
| 14406 |
|
| 14407 |
* renameModule.cc (donateOps2): keep track of polymorphs declared |
| 14408 |
in modules and donated to theories |
| 14409 |
|
| 14410 |
* parameterization.cc (addOpMappingsFromView): handle polymorphs |
| 14411 |
|
| 14412 |
* view.hh (User): added decl for checkPolymorphicOps() |
| 14413 |
|
| 14414 |
* view.cc (checkOps): check for bad mapping between non-algebraic |
| 14415 |
operators |
| 14416 |
(checkPolymorphicOps): created to hold polymorph checking code |
| 14417 |
(evaluate): use checkPolymorphicOps() |
| 14418 |
(checkPolymorphicOps): look at all polymorphs rather than just |
| 14419 |
imported ones |
| 14420 |
|
| 14421 |
* symbolType.hh (nonAlgebraic): added |
| 14422 |
|
| 14423 |
* view.cc (~View): deepSelfDestruct() terms in opTermMap |
| 14424 |
|
| 14425 |
2005-07-27 Steven Eker <[email protected]> |
| 14426 |
|
| 14427 |
* parameterization.cc (addOpMappingsFromView): don't map operators |
| 14428 |
that have a module declaration |
| 14429 |
(addOpMappingsFromView): prefer op->term mappings over op->op |
| 14430 |
mappings |
| 14431 |
|
| 14432 |
* view.cc (checkOps): don't map operators that have a module |
| 14433 |
declaration |
| 14434 |
|
| 14435 |
* view.hh (User): added decl for checkOps() |
| 14436 |
|
| 14437 |
* view.cc (checkOps): created to hold op checking code |
| 14438 |
(evaluate): use checkOps() |
| 14439 |
|
| 14440 |
* importModule.hh (moduleDeclared): added Symbol* version |
| 14441 |
|
| 14442 |
* renameModule.cc (donateOps2): update opDeclaredInModule |
| 14443 |
|
| 14444 |
* importModule.hh (moduleDeclared): added |
| 14445 |
|
| 14446 |
* view.cc (checkSorts): don't allow mapping of module declared |
| 14447 |
sorts |
| 14448 |
|
| 14449 |
2005-07-26 Steven Eker <[email protected]> |
| 14450 |
|
| 14451 |
* import.cc (makeModule): check badFlag in summation case |
| 14452 |
(makeModule): reorg'd so that bad flag is always tested for |
| 14453 |
modules made by interpreter |
| 14454 |
|
| 14455 |
* renameModule.cc (donateSorts2): handle the case where we have a |
| 14456 |
sort imported from both a module and a theory |
| 14457 |
|
| 14458 |
* importModule.cc (addImport): changed messages; switch |
| 14459 |
importation module to including for theories and don't allow other |
| 14460 |
illegal imports at all. |
| 14461 |
(addParameter): deleted commented out parameterTheories code |
| 14462 |
|
| 14463 |
2005-07-25 Steven Eker <[email protected]> |
| 14464 |
|
| 14465 |
* renameModule.cc (donateSorts2): update sortDeclaredInModule |
| 14466 |
|
| 14467 |
* importModule.hh (User): added data members sortDeclaredInModule, |
| 14468 |
opDeclaredInModule |
| 14469 |
|
| 14470 |
2005-07-21 Steven Eker <[email protected]> |
| 14471 |
|
| 14472 |
* preModule.hh (getNrParameters, getParameterName, getParameter): |
| 14473 |
added |
| 14474 |
|
| 14475 |
* parameterization.cc (handleInstantiationByTheoryView) |
| 14476 |
(handleInstantiationByModuleView, instantiateBoundParameters): use |
| 14477 |
new version of isTheory() |
| 14478 |
(makeParameterCopy): use new version of isTheory() |
| 14479 |
(instantiateBoundParameters): deleted commented out code to handle |
| 14480 |
the instantiation of a renaming of a module with bound parameters |
| 14481 |
since we no longer allow the renaming of modules with bound |
| 14482 |
parameters |
| 14483 |
|
| 14484 |
* view.cc (evaluate): use new version of isTheory() |
| 14485 |
|
| 14486 |
2005-07-20 Steven Eker <[email protected]> |
| 14487 |
|
| 14488 |
* mixfixModule.hh (isTheory): added non-static version |
| 14489 |
|
| 14490 |
* prelude.maude: added hooks for headerSymbol, |
| 14491 |
parameterDeclSymbol, parameterDeclListSymbol |
| 14492 |
|
| 14493 |
* view.cc (evaluate): check for free parameters in toModule |
| 14494 |
|
| 14495 |
2005-07-19 Steven Eker <[email protected]> |
| 14496 |
|
| 14497 |
* prelude.maude: replace metalevel modules with experimental |
| 14498 |
metalevel; defined QID-LIST in terms of LIST{Qid} and added |
| 14499 |
NeTypeList to fix preregularity problems; defined NAT-LIST in |
| 14500 |
terms of LIST{Nat}; added op-hook for instantiation symbol |
| 14501 |
|
| 14502 |
2005-07-18 Steven Eker <[email protected]> |
| 14503 |
|
| 14504 |
* view.cc (evaluate): fullstop in "reexamining view" message |
| 14505 |
|
| 14506 |
* importModule.cc (deepSelfDestruct): remove ourself as a user |
| 14507 |
from each view argument |
| 14508 |
|
| 14509 |
* parameterization.cc (makeInstantiation): always keep track pf |
| 14510 |
view arguments |
| 14511 |
|
| 14512 |
* importModule.hh (User): update comment on viewArgs |
| 14513 |
|
| 14514 |
* parameterization.cc (handleInstantiationByModuleView): make copy |
| 14515 |
a user of argumentView |
| 14516 |
(handleInstantiationByTheoryView): make copy a user of |
| 14517 |
argumentView |
| 14518 |
|
| 14519 |
* moduleCache.cc (destructUnusedModules): fix bug; we now look for |
| 14520 |
modules with a single user since _we_ are that user |
| 14521 |
|
| 14522 |
* entity.hh (hasUsers): becomes getNrUsers() |
| 14523 |
|
| 14524 |
* entity.cc (removeUser): fix {} problem |
| 14525 |
|
| 14526 |
* view.cc (finishModule2): don't call addUser() - this is already |
| 14527 |
done by ImportModule() |
| 14528 |
|
| 14529 |
* entity.cc (addUser): fix {} problem (DebugAdvisory() macro |
| 14530 |
contains an if statement) |
| 14531 |
|
| 14532 |
* importModule.cc (ImportModule): replace delete |
| 14533 |
canonicalRenaming with an Assert() |
| 14534 |
(deepSelfDestruct): delete canonicalRenaming here |
| 14535 |
|
| 14536 |
2005-07-15 Steven Eker <[email protected]> |
| 14537 |
|
| 14538 |
* modules.yy (view): need to insert view _before_ we finish it to |
| 14539 |
avoid the existence of two views with the same name when a view is |
| 14540 |
replaced |
| 14541 |
|
| 14542 |
* view.hh (User): UNKNOWN -> STALE |
| 14543 |
|
| 14544 |
* view.cc (evaluate): added more DebugAdvisory()s |
| 14545 |
(regretToInform): UNKNOWN -> STALE |
| 14546 |
(evaluate): UNKNOWN -> STALE |
| 14547 |
|
| 14548 |
* preModule.hh (operator<<): added |
| 14549 |
(User): made Entity::User derivation public |
| 14550 |
|
| 14551 |
* view.hh (operator<<): added |
| 14552 |
|
| 14553 |
* importModule.hh (operator<<): added |
| 14554 |
|
| 14555 |
* entity.cc (operator<<): added Entity* and Entity::User* versions |
| 14556 |
(removeUser): rewritten |
| 14557 |
(addUser): rewritten |
| 14558 |
(informUsers): added DebugAdvisory() |
| 14559 |
|
| 14560 |
* view.cc (regretToInform): rewritten |
| 14561 |
(~View): deepSelfDestruct() newFromTheory and newToModule |
| 14562 |
(finishModule2): call addUser() |
| 14563 |
(~View): call informUsers() |
| 14564 |
|
| 14565 |
* importModule.cc (deepSelfDestruct): deleted commented out |
| 14566 |
parameterTheories code |
| 14567 |
|
| 14568 |
* view.hh (User): derive from Entity |
| 14569 |
|
| 14570 |
* entity.cc (informUsers): simplified by fusing loops |
| 14571 |
|
| 14572 |
2005-07-14 Steven Eker <[email protected]> |
| 14573 |
|
| 14574 |
* renaming.cc: unmake change |
| 14575 |
|
| 14576 |
* renaming.hh (class Renaming): unmake change |
| 14577 |
|
| 14578 |
* importModule.hh (User): unmake change |
| 14579 |
|
| 14580 |
* parameterization.cc: unmake previous changes since the |
| 14581 |
deepCopy() idea is a dead duck - both because of a chicken & egg |
| 14582 |
over sorts/symbols and the loss of variable index info from the |
| 14583 |
original |
| 14584 |
|
| 14585 |
* renaming.cc (~Renaming): added |
| 14586 |
|
| 14587 |
* renaming.hh (class Renaming): adde decl for dtor |
| 14588 |
|
| 14589 |
* importModule.hh (User): updated decl for addOpMappingsFromView() |
| 14590 |
|
| 14591 |
* parameterization.cc (addOpMappingsFromView): take instance |
| 14592 |
parameter; deepCopy() term part of op->term mappings into instance |
| 14593 |
rather than using the original |
| 14594 |
(handleInstantiationByTheoryView): pass instance parameter to |
| 14595 |
addOpMappingsFromView() |
| 14596 |
(handleInstantiationByModuleView): pass instance parameter to |
| 14597 |
addOpMappingsFromView() |
| 14598 |
|
| 14599 |
2005-07-13 Steven Eker <[email protected]> |
| 14600 |
|
| 14601 |
* importModule.hh (User): added decl for translateComponent() |
| 14602 |
(User): deleted commented out parameterTheories data member |
| 14603 |
|
| 14604 |
* parameterization.cc (addOpMappingsFromView): use translateComponent() |
| 14605 |
(translateComponent): added |
| 14606 |
|
| 14607 |
* importTranslation.cc (translate): use FIRST_USER_SORT |
| 14608 |
|
| 14609 |
2005-06-30 Steven Eker <[email protected]> |
| 14610 |
|
| 14611 |
* view.cc (evaluate): skip to symbol existence check for ops that |
| 14612 |
are being mapped to terms |
| 14613 |
|
| 14614 |
* importTranslation.cc (translateTerm): added translation splitting |
| 14615 |
(translateTerm): added DebugAdvisory()s |
| 14616 |
|
| 14617 |
* importTranslation.hh (class ImportTranslation): added typedef |
| 14618 |
ModuleList |
| 14619 |
(ImportTranslation): added private ctor |
| 14620 |
|
| 14621 |
2005-06-29 Steven Eker <[email protected]> |
| 14622 |
|
| 14623 |
* importTranslation.hh (class ImportTranslation): updated decl for |
| 14624 |
translateRegularSymbol() |
| 14625 |
|
| 14626 |
* importTranslation.cc (translateRegularSymbol): need to fill out |
| 14627 |
opToTerm when we hit op->term mapping |
| 14628 |
(translateRegularSymbol): pass back const_iterator |
| 14629 |
(translateTerm, translate): use const_iterator |
| 14630 |
|
| 14631 |
* view.cc (evaluate): quick hack to allow bad views to be used for |
| 14632 |
testing |
| 14633 |
|
| 14634 |
* importTranslation.cc (translateTerm): crude first implementation |
| 14635 |
|
| 14636 |
2005-06-28 Steven Eker <[email protected]> |
| 14637 |
|
| 14638 |
* parameterization.cc (addOpMappingsFromView): handle op->term |
| 14639 |
mappings |
| 14640 |
|
| 14641 |
* view.hh (User): updated decls for getOpMapTerm() and both |
| 14642 |
versions of typeMatch() |
| 14643 |
|
| 14644 |
* view.cc (typeMatch): rewritten (both versions) |
| 14645 |
(getOpMapTerm): rewritten |
| 14646 |
|
| 14647 |
* parameterization.cc (addOpMappingsFromView): removed |
| 14648 |
qualification for renameOp() call |
| 14649 |
|
| 14650 |
* view.cc (evaluate): removed qualification for renameOp() call |
| 14651 |
|
| 14652 |
* renaming.hh (class Renaming): de-virtualized renameOp() |
| 14653 |
|
| 14654 |
* view.cc (getOpMapTerm): removed CantHappen() |
| 14655 |
(renameOp): deleted |
| 14656 |
|
| 14657 |
* view.hh (User): deleted decl for renameOp() |
| 14658 |
|
| 14659 |
* importTranslation.cc (translateRegularSymbol): handle id == NONE |
| 14660 |
(translateRegularSymbol): moved Assert() checking for missing |
| 14661 |
translation here |
| 14662 |
|
| 14663 |
* renaming.cc (printRenaming): added Assert() to check that we |
| 14664 |
don't try to print a renaming that contains an op->term mapping |
| 14665 |
|
| 14666 |
* renaming.hh (class Renaming): added decl for getOpTargetTerm() |
| 14667 |
(getOpTargetTerm): added |
| 14668 |
|
| 14669 |
* renaming.cc (addOpTarget): (both versions) clear term field |
| 14670 |
(addOpTargetTerm): added |
| 14671 |
|
| 14672 |
* renaming.hh (class Renaming): added term field to struct |
| 14673 |
OpMapping |
| 14674 |
(class Renaming): added decl for addOpTargetTerm(Term* term) |
| 14675 |
|
| 14676 |
2005-06-27 Steven Eker <[email protected]> |
| 14677 |
|
| 14678 |
* parameterization.cc (addOpMappingsFromView): qualify renameOp() |
| 14679 |
call |
| 14680 |
|
| 14681 |
* view.hh (User): added decls for typeMatch() (both versions) |
| 14682 |
|
| 14683 |
* view.cc (typeMatch): added (two versions) |
| 14684 |
(renameOp): added |
| 14685 |
(getOpMapTerm): added |
| 14686 |
(evaluate): qualify renameOp() call |
| 14687 |
|
| 14688 |
* view.hh (User): added decls for getOpMapTerm() and renameOp() |
| 14689 |
|
| 14690 |
* renaming.hh (class Renaming): virtualize id version of |
| 14691 |
renameOp() |
| 14692 |
|
| 14693 |
* importTranslation.cc (translate): only store mapping int |
| 14694 |
directMap if it is non-null, i.e. op->op; comment out Assert() |
| 14695 |
that mapping is non-null |
| 14696 |
|
| 14697 |
2005-06-24 Steven Eker <[email protected]> |
| 14698 |
|
| 14699 |
* importTranslation.cc (translateTerm): term is const Term* |
| 14700 |
|
| 14701 |
* importTranslation.hh (class ImportTranslation): updated decl for |
| 14702 |
translateTerm() |
| 14703 |
|
| 14704 |
* importTranslation.cc (findTargetVersionOfSymbol): added |
| 14705 |
(translateTerm): new calling convention for instantiate() |
| 14706 |
|
| 14707 |
* importTranslation.hh (class ImportTranslation): added decl for |
| 14708 |
findTargetVersionOfSymbol() |
| 14709 |
|
| 14710 |
2005-06-23 Steven Eker <[email protected]> |
| 14711 |
|
| 14712 |
* importTranslation.cc (translate): use translateRegularSymbol() |
| 14713 |
(translateTerm): partly implemented |
| 14714 |
|
| 14715 |
* importTranslation.hh (class ImportTranslation): added decl for |
| 14716 |
translateRegularSymbol() |
| 14717 |
|
| 14718 |
* importTranslation.cc (translateRegularSymbol): added |
| 14719 |
(translate, translateLabel): using RenamingList |
| 14720 |
|
| 14721 |
* renaming.hh (class Renaming): added decls for new member |
| 14722 |
functions |
| 14723 |
|
| 14724 |
* renaming.cc (renameOp): added id version |
| 14725 |
(typeMatch): added Vector<int> version |
| 14726 |
|
| 14727 |
* importTranslation.hh (class ImportTranslation): added typedef |
| 14728 |
RenamingList |
| 14729 |
|
| 14730 |
2005-06-22 Steven Eker <[email protected]> |
| 14731 |
|
| 14732 |
* importTranslation.cc (makeTranslatedTerm): becomes translateTerm() |
| 14733 |
|
| 14734 |
* importTranslation.hh (class ImportTranslation): replaced |
| 14735 |
makeTranslatedTerm() with translateTerm() |
| 14736 |
|
| 14737 |
2005-06-17 Steven Eker <[email protected]> |
| 14738 |
|
| 14739 |
* parameterization.cc (makeParameterCopy): simplified using new |
| 14740 |
addSortMapping(), parameterRename() and addLabelMapping() |
| 14741 |
functions |
| 14742 |
(handleInstantiationByParameter): simplified using new |
| 14743 |
addSortMapping(), parameterRename() |
| 14744 |
(handleInstantiationByTheoryView): simplified using new |
| 14745 |
addSortMapping(), parameterRename() |
| 14746 |
(handleInstantiationByModuleView): simplified using new |
| 14747 |
addSortMapping() |
| 14748 |
(handleParameterizedSorts): simplified using new |
| 14749 |
addSortMapping() |
| 14750 |
(handleInstantiationByTheoryView): call addOpMappingsFromView() to |
| 14751 |
handle op mappings in the theory-view |
| 14752 |
|
| 14753 |
* token.hh (class Token): updated decl for parameterRename() |
| 14754 |
|
| 14755 |
* token.cc (parameterRename): now work on ints rather than tokens |
| 14756 |
|
| 14757 |
* renaming.hh (class Renaming): added decls for new |
| 14758 |
addSortMapping() and addLabelMapping() versions |
| 14759 |
|
| 14760 |
* renaming.cc (addSortMapping): added int version |
| 14761 |
(addLabelMapping): added int version |
| 14762 |
|
| 14763 |
2005-06-16 Steven Eker <[email protected]> |
| 14764 |
|
| 14765 |
* mixfixModule.hh (CommonTokens): updated decl for findSort() |
| 14766 |
|
| 14767 |
* mixfixModule.cc (findSort): made const |
| 14768 |
|
| 14769 |
* parameterization.cc (addOpMappingsFromView): crude first implementation |
| 14770 |
|
| 14771 |
* renaming.hh (class Renaming): added decls for new functions |
| 14772 |
|
| 14773 |
* renaming.cc (addType): added component* version |
| 14774 |
(addOpTarget): added int version |
| 14775 |
(addOpMapping): added int version |
| 14776 |
|
| 14777 |
2005-06-15 Steven Eker <[email protected]> |
| 14778 |
|
| 14779 |
* parameterization.cc (handleInstantiationByModuleView): call |
| 14780 |
addOpMappingsFromView() |
| 14781 |
|
| 14782 |
* importModule.hh (User): added decl for addOpMappingsFromView() |
| 14783 |
|
| 14784 |
* parameterization.cc (makeInstantiation): use |
| 14785 |
handleInstantiationByTheoryView() |
| 14786 |
(handleInstantiationByModuleView): added |
| 14787 |
(makeInstantiation): use handleInstantiationByModuleView() |
| 14788 |
(addOpMappingsFromView): added stub |
| 14789 |
|
| 14790 |
* importModule.hh (User): added decl for |
| 14791 |
handleInstantiationByTheoryView() |
| 14792 |
|
| 14793 |
* parameterization.cc (handleInstantiationByTheoryView): added |
| 14794 |
(makeInstantiation): use handleInstantiationByParameter() |
| 14795 |
|
| 14796 |
* importModule.hh (User): added decl for |
| 14797 |
handleInstantiationByParameter() |
| 14798 |
|
| 14799 |
* parameterization.cc (handleInstantiationByParameter): created |
| 14800 |
(makeInstantiation): use handleParameterizedSorts() |
| 14801 |
|
| 14802 |
* importModule.hh (User): added decl for handleRegularImports() |
| 14803 |
|
| 14804 |
* parameterization.cc (makeInstantiation): use |
| 14805 |
handleRegularImports() |
| 14806 |
(handleParameterizedSorts): added |
| 14807 |
|
| 14808 |
* importModule.hh (User): added decl for handleRegularImports() |
| 14809 |
|
| 14810 |
* parameterization.cc (handleRegularImports): created |
| 14811 |
|
| 14812 |
2005-06-14 Steven Eker <[email protected]> |
| 14813 |
|
| 14814 |
* parameterization.cc (makeInstantiation): changed importation |
| 14815 |
mode for modules that are the target of module-views from |
| 14816 |
INCLUDING to PROTECTING |
| 14817 |
|
| 14818 |
2005-06-13 Steven Eker <[email protected]> |
| 14819 |
|
| 14820 |
* importTranslation.cc (translate): ERROR_SORT -> KIND |
| 14821 |
|
| 14822 |
2005-06-10 Steven Eker <[email protected]> |
| 14823 |
|
| 14824 |
* view.hh (User): deleted struct OpTermMapping; updated typedef |
| 14825 |
OpTermMap |
| 14826 |
|
| 14827 |
* view.cc (mapComponent, mapSort): moved here |
| 14828 |
(handleOpTermMappings): store from and to |
| 14829 |
(showView): print op->term mappings |
| 14830 |
|
| 14831 |
* view.hh (User): updated decl for indexRhsVariables() |
| 14832 |
|
| 14833 |
* view.cc (handleOpTermMappings): use mapSort(); put sort info in VarMap |
| 14834 |
|
| 14835 |
* view.hh (mapSort): added |
| 14836 |
|
| 14837 |
* view.cc (handleOpTermMappings): use mapComponent() |
| 14838 |
(evaluate): simplified using mapComponent() |
| 14839 |
|
| 14840 |
* view.hh (mapComponent): added |
| 14841 |
|
| 14842 |
* view.cc (indexRhsVariables): use VarMap; check variables sort |
| 14843 |
|
| 14844 |
* view.hh (User): added decl for indexRhsVariables() |
| 14845 |
(User) IntMap becomes VarMap |
| 14846 |
|
| 14847 |
* view.cc (handleOpTermMappings): use indexRhsVariables() |
| 14848 |
(indexRhsVariables): added |
| 14849 |
|
| 14850 |
2005-06-09 Steven Eker <[email protected]> |
| 14851 |
|
| 14852 |
* view.cc (handleOpTermMappings): added to handle op->term mapping |
| 14853 |
code |
| 14854 |
(evaluate): use handleOpTermMappings() |
| 14855 |
(handleOpTermMappings): check lhs arguments |
| 14856 |
(handleOpTermMappings): check for double use of variable name in |
| 14857 |
lhs |
| 14858 |
|
| 14859 |
* view.hh (User): added decls for checkSorts(), handleVarDecls() |
| 14860 |
|
| 14861 |
* view.cc (evaluate): handle variable aliases |
| 14862 |
(evaluate): fix line numbers for warnings in new code |
| 14863 |
(handleVarDecls): added to hold variable alias code |
| 14864 |
(evaluate): use handleVarDecls() |
| 14865 |
(checkSorts): added to hold sort checking code |
| 14866 |
(evaluate): use checkSorts() |
| 14867 |
|
| 14868 |
* preModule.hh (User): deleted friend decl for operator<<() |
| 14869 |
|
| 14870 |
* command.cc (operator<<): PreModule::Type& version; moved to |
| 14871 |
syntaxContainer.cc |
| 14872 |
|
| 14873 |
* syntaxContainer.cc: created |
| 14874 |
|
| 14875 |
2005-06-08 Steven Eker <[email protected]> |
| 14876 |
|
| 14877 |
* view.hh (User): added decls for finishModule1(), finishModule2() |
| 14878 |
|
| 14879 |
* view.cc (finishModule): added |
| 14880 |
(finishModule): split into finishModule1() and finishModule2() |
| 14881 |
(evaluate): generate and use newFromTheory, newToModule |
| 14882 |
|
| 14883 |
* importModule.hh (User): added VIEW_LOCAL to enum Origin |
| 14884 |
|
| 14885 |
* view.hh (User): added data members newFromTheory, newToModule |
| 14886 |
|
| 14887 |
* view.cc (showView): handle variables |
| 14888 |
(View): clear newFromTheory, newToModule |
| 14889 |
|
| 14890 |
* mixfix.hh: added class SyntaxContainer |
| 14891 |
|
| 14892 |
* view.cc (addVarDecl): implemented |
| 14893 |
(addType): implemented |
| 14894 |
|
| 14895 |
* view.hh (User): added struct VarDecl; typedef VarDeclList, |
| 14896 |
typedef TypeList; added data members varDecls and varDefs |
| 14897 |
|
| 14898 |
* preModule.hh (User): deleted struct Type |
| 14899 |
|
| 14900 |
* syntaxContainer.hh (class SyntaxContainer): added struct Type |
| 14901 |
|
| 14902 |
2005-06-07 Steven Eker <[email protected]> |
| 14903 |
|
| 14904 |
* modules.yy (view): set currentSyntaxContainer |
| 14905 |
(viewDeclaration): use varNameList, typeDot |
| 14906 |
(viewBadType, viewTypeDot, viewTypeList, viewType): deleted |
| 14907 |
(viewVarNameList, viewVarNameList): deleted |
| 14908 |
(viewEndOpMap): use typeList and typeName |
| 14909 |
|
| 14910 |
* top.yy: added variable oldSyntaxContainer |
| 14911 |
|
| 14912 |
* modules.yy (module): set currentSyntaxContainer |
| 14913 |
(varNameList): use currentSyntaxContainer |
| 14914 |
(badType): use currentSyntaxContainer |
| 14915 |
(typeName): use currentSyntaxContainer |
| 14916 |
(fromSpec): use typeList and typeName |
| 14917 |
(fromTypeList): deleted |
| 14918 |
(fromType): deleted |
| 14919 |
(renaming): save, set and restore currentSyntaxContainer |
| 14920 |
|
| 14921 |
* top.yy: added variable currentSyntaxContainer |
| 14922 |
|
| 14923 |
* view.hh (User): declaration for addType2() becomes addType() |
| 14924 |
|
| 14925 |
* view.cc (addType2): becomes addType() |
| 14926 |
|
| 14927 |
* renaming.cc (addVarDecl): added |
| 14928 |
(addType): updated |
| 14929 |
|
| 14930 |
* renaming.hh (class Renaming): derive from SyntaxContainer |
| 14931 |
(class Renaming): added decl for addVarDecl(); updated decl for addType() |
| 14932 |
|
| 14933 |
* preModule.hh (User): derive from SyntaxContainer |
| 14934 |
|
| 14935 |
* syntaxContainer.hh: created |
| 14936 |
|
| 14937 |
* modules.yy (viewDeclaration): added syntax for variable |
| 14938 |
declarations |
| 14939 |
(viewVarNameList, viewBadType, viewTypeDot, viewTypeDot): added |
| 14940 |
|
| 14941 |
* view.cc (addVarDecl): added stub |
| 14942 |
(addType2): added stub |
| 14943 |
|
| 14944 |
* view.hh (User): added decls for addVarDecl() and addType2() |
| 14945 |
|
| 14946 |
* doParse.cc (parseSentence): fix longstanding bug where we were |
| 14947 |
testing firstBad against nrTokens rather than begin + nrTokens |
| 14948 |
|
| 14949 |
* view.cc (addOpTermMapping): implemented |
| 14950 |
(evaluate): parse op->term mapping bubbles |
| 14951 |
(evaluate): make sure we parse destination term into the correct |
| 14952 |
component |
| 14953 |
|
| 14954 |
* view.hh (User): added struct BubblePair, struct OpTermMapping, |
| 14955 |
typedef OpTermList, typedef OpTermMap; added data members |
| 14956 |
opTermList and opTermMap |
| 14957 |
|
| 14958 |
2005-06-06 Steven Eker <[email protected]> |
| 14959 |
|
| 14960 |
* lexer.ll: deleted KW_TERM |
| 14961 |
|
| 14962 |
* view.hh (User): updated decl for addOpTermMapping(); deleted decl |
| 14963 |
for addOpTargetTerm() |
| 14964 |
|
| 14965 |
* view.cc (addOpTermMapping): updated stub |
| 14966 |
(addOpTargetTerm): deleted stub |
| 14967 |
|
| 14968 |
* top.yy: deleted decl for KW_TERM |
| 14969 |
|
| 14970 |
* modules.yy (viewFromBubble): deleted |
| 14971 |
(viewDeclaration): use tokensBarColonTo |
| 14972 |
(viewEndOpMap): rewritten |
| 14973 |
(tokenBarTerm): deleted; removed all mention of KW_TERM |
| 14974 |
|
| 14975 |
* token.hh (class Token): added decl for peelParens() |
| 14976 |
|
| 14977 |
* token.cc (peelParens): added |
| 14978 |
|
| 14979 |
* modules.yy (viewTypeList): was viewFromTypeList |
| 14980 |
(viewType): was viewFromType |
| 14981 |
(tokenBarDot, endToken, tokenBarCommaLeft, sortToken, identifier): |
| 14982 |
added KW_TERM |
| 14983 |
(inert): removed KW_TERM |
| 14984 |
(tokenBarColonTo): added KW_TERM |
| 14985 |
(tokenBarTerm): added |
| 14986 |
(viewFromBubble): set parenFlag |
| 14987 |
|
| 14988 |
2005-06-03 Steven Eker <[email protected]> |
| 14989 |
|
| 14990 |
* view.cc (addOpTermMapping): added stub |
| 14991 |
(addOpTargetTerm): added stub |
| 14992 |
|
| 14993 |
* view.hh (User): added decls for addOpTermMapping() and |
| 14994 |
addOpTargetTerm() |
| 14995 |
|
| 14996 |
* modules.yy (inert): added KW_TERM |
| 14997 |
|
| 14998 |
* lexer.ll: added KW_TERM |
| 14999 |
|
| 15000 |
* top.yy: added decl for KW_TERM |
| 15001 |
|
| 15002 |
* modules.yy (viewFromType): added |
| 15003 |
(viewFromTypeList): added |
| 15004 |
(viewEndOpMap): added |
| 15005 |
(view): dont use currentRenaming = CV trick |
| 15006 |
(viewFromBubble): added |
| 15007 |
(viewDeclaration): rewritten to use viewFromBubble and |
| 15008 |
viewEndOpMap |
| 15009 |
|
| 15010 |
2005-06-02 Steven Eker <[email protected]> |
| 15011 |
|
| 15012 |
* importTranslation.hh (class ImportTranslation): added decl for |
| 15013 |
makeTranslatedTerm() |
| 15014 |
|
| 15015 |
* importTranslation.cc (makeTranslatedTerm): added stub |
| 15016 |
|
| 15017 |
===================================Maude86b=========================================== |
| 15018 |
|
| 15019 |
2005-04-29 Steven Eker <[email protected]> |
| 15020 |
|
| 15021 |
* main.cc (main): added -no-advise flag |
| 15022 |
(printHelp): mention -no-advise flag |
| 15023 |
|
| 15024 |
2005-04-27 Steven Eker <[email protected]> |
| 15025 |
|
| 15026 |
* moduleCache.cc (makeSummation): don't put parens around name |
| 15027 |
(makeRenamedCopy): put parens around module arg if it is a |
| 15028 |
summation |
| 15029 |
(makeInstatiation): put parens around module arg if it is a |
| 15030 |
renaming |
| 15031 |
|
| 15032 |
* visibleModule.cc (VisibleModule): pass TEXT to ImportModule() |
| 15033 |
|
| 15034 |
* importModule.cc (ImportModule): init origin from argument |
| 15035 |
|
| 15036 |
* renameModule.cc (makeRenamedCopy): pass RENAMING to |
| 15037 |
ImportModule() |
| 15038 |
|
| 15039 |
* parameterization.cc (makeParameterCopy): pass PARAMETER to |
| 15040 |
ImportModule() |
| 15041 |
(makeInstantiation): pass INSTANTIATION to ImportModule() |
| 15042 |
|
| 15043 |
* moduleCache.cc (makeSummation): pass ImportModule::SUMMATION to |
| 15044 |
ImportModule() |
| 15045 |
|
| 15046 |
* importModule.hh (User): added data member origin |
| 15047 |
(getOrigin): added |
| 15048 |
(User): update decl for ctor |
| 15049 |
|
| 15050 |
* importModule.cc (ImportModule): init origin to TEXT |
| 15051 |
|
| 15052 |
* importModule.hh (User): added enum Origin |
| 15053 |
|
| 15054 |
* renameModule.cc (makeRenamedCopy): comment out code to copy |
| 15055 |
nrBoundParameters; Assert that nrBoundParameters == 0 |
| 15056 |
|
| 15057 |
* parameterization.cc (instantiateBoundParameters): comment out |
| 15058 |
code for handling renaming case; add Assert() to check that our |
| 15059 |
original arguments and base module exist |
| 15060 |
|
| 15061 |
* import.cc (makeModule): don't allow renaming of modules with |
| 15062 |
bound parameters |
| 15063 |
|
| 15064 |
* importModule.hh (getNrBoundParameters): added |
| 15065 |
|
| 15066 |
2005-04-26 Steven Eker <[email protected]> |
| 15067 |
|
| 15068 |
* prelude.maude: do renaming on LIST{TAO-SET} in SORTABLE-LIST |
| 15069 |
|
| 15070 |
2005-04-25 Steven Eker <[email protected]> |
| 15071 |
|
| 15072 |
* parameterization.cc (makeInstantiation): added DebugAdvisory() |
| 15073 |
for rebinding case |
| 15074 |
(makeInstantiation): rewrote code that generates instantiations |
| 15075 |
for imports so that it can handle imports that share both free and |
| 15076 |
bound parameters |
| 15077 |
(instantiateBoundParameters): added DebugAdvisory() for bound |
| 15078 |
parameters that escape during the construction of a new foundation |
| 15079 |
(instantiateBoundParameters): rewrote code that generates new |
| 15080 |
instantiations of foundations so that it rebinds escaped |
| 15081 |
parameters |
| 15082 |
|
| 15083 |
* importModule.hh (User): updated decl of |
| 15084 |
instantiateBoundParameters() and make it private |
| 15085 |
|
| 15086 |
* parameterization.cc (instantiateBoundParameters): keep track of |
| 15087 |
escaped parameters |
| 15088 |
(makeInstantiation): check for escaped parameters from imports and |
| 15089 |
generate rebinding instantiations if needed |
| 15090 |
|
| 15091 |
2005-04-21 Steven Eker <[email protected]> |
| 15092 |
|
| 15093 |
* parameterization.cc (makeInstantiation): generate extra argument |
| 15094 |
lists for sorts parameterized by parameter instantiated by |
| 15095 |
theory-view |
| 15096 |
(makeInstantiation): added assert to check for free parameters in |
| 15097 |
instance of imported module |
| 15098 |
|
| 15099 |
2005-04-20 Steven Eker <[email protected]> |
| 15100 |
|
| 15101 |
* parameterization.cc (instantiateBoundParameters): added |
| 15102 |
(makeInstantiation): save arguments if we have bound parameters; |
| 15103 |
use instantiateBoundParameters() rather than |
| 15104 |
ModuleCache::makeInstatiation() to handle imports with bound |
| 15105 |
parameters |
| 15106 |
(makeInstantiation): simplified and reorganized, now that we never |
| 15107 |
have to instantiate bound parameters |
| 15108 |
(instantiateBoundParameters): rewritten for a first crude attempt |
| 15109 |
at handling renamed modules |
| 15110 |
|
| 15111 |
* importModule.hh (User): added data members viewArgs, paramArgs |
| 15112 |
(User): added decl for instantiateBoundParameters() |
| 15113 |
|
| 15114 |
2005-04-19 Steven Eker <[email protected]> |
| 15115 |
|
| 15116 |
* mixfixModule.cc (findSymbol): use new firstSymbols convention |
| 15117 |
|
| 15118 |
* entry.cc (addOpDeclaration): use new firstSymbols convention |
| 15119 |
|
| 15120 |
* mixfixModule.hh (CommonTokens): deleted data member symbolNames; |
| 15121 |
data member firstSymbols becomes an IntMap |
| 15122 |
|
| 15123 |
* moduleDatabase.cc (setOmodInclude): substract() -> erase() |
| 15124 |
|
| 15125 |
* moduleDatabase.hh (class ModuleDatabase): added typedef |
| 15126 |
ImportSet |
| 15127 |
(class ModuleDatabase): defaultOmodIncludes becomes an ImportSet |
| 15128 |
|
| 15129 |
* bufferPrint.cc (printDotSort, printVarSort, printSort): |
| 15130 |
AUX_PARAMETERIZED_SORT -> AUX_STRUCTURED_SORT |
| 15131 |
|
| 15132 |
* mixfixParser.cc (makeTerm): AUX_PARAMETERIZED_SORT -> |
| 15133 |
AUX_STRUCTURED_SORT |
| 15134 |
|
| 15135 |
* quotedIdentifierSymbol.cc (determineSort): |
| 15136 |
AUX_PARAMETERIZED_SORT -> AUX_STRUCTURED_SORT |
| 15137 |
|
| 15138 |
* makeGrammar.cc (makeComponentProductions) |
| 15139 |
(makeParameterizedSortProductions): AUX_PARAMETERIZED_SORT -> |
| 15140 |
AUX_STRUCTURED_SORT |
| 15141 |
|
| 15142 |
* parameterization.cc (makeInstantiation): AUX_PARAMETERIZED_SORT |
| 15143 |
-> AUX_STRUCTURED_SORT |
| 15144 |
|
| 15145 |
* token.hh (class Token): AUX_PARAMETERIZED_SORT -> |
| 15146 |
AUX_STRUCTURED_SORT |
| 15147 |
|
| 15148 |
* auxProperty.cc (computeAuxProperty, sortName) |
| 15149 |
(splitParameterizedSort, splitParameterList): |
| 15150 |
AUX_PARAMETERIZED_SORT -> AUX_STRUCTURED_SORT |
| 15151 |
|
| 15152 |
* renaming.cc (printRenaming): use sortName for printing sort |
| 15153 |
mappings |
| 15154 |
(printRenamingType): use sortName |
| 15155 |
|
| 15156 |
* visibleModule.cc (showModule): print parameters |
| 15157 |
|
| 15158 |
* importModule.hh (getFreeParameterName): added |
| 15159 |
|
| 15160 |
* command.cc (showModule): print parameters |
| 15161 |
|
| 15162 |
2005-04-18 Steven Eker <[email protected]> |
| 15163 |
|
| 15164 |
* command.cc (showModule): use printSortTokenVector() (2 places) |
| 15165 |
|
| 15166 |
* preModule.hh (User): added decl for printSortTokenVector() |
| 15167 |
|
| 15168 |
* command.cc (showModule): use sortName() on sort and subsort tokens |
| 15169 |
(operator<<): PreModule::Type& version; use sortName() |
| 15170 |
(printSortTokenVector): added |
| 15171 |
|
| 15172 |
* prettyPrint.cc (operator<<): (Sort* version) simplified; no |
| 15173 |
longer check PRINT_MIXFIX flag |
| 15174 |
|
| 15175 |
* view.cc (evaluate): use sortName() in error message about |
| 15176 |
missing sort |
| 15177 |
|
| 15178 |
* import.cc (makeModule): use getFreeParameterTheory() rather than |
| 15179 |
getParameterTheory() in 2 of 3 places to fix bug in the case there |
| 15180 |
are bound parameters |
| 15181 |
|
| 15182 |
* importModule.hh (getFreeParameterTheory): added |
| 15183 |
|
| 15184 |
* parameterization.cc (makeParameterCopy): moved here from |
| 15185 |
renameModule.cc |
| 15186 |
(makeInstantiation): moved here from renameModule.cc |
| 15187 |
(makeInstantiation): allow promotion from fmod to mod if a view |
| 15188 |
has a system module as a target |
| 15189 |
|
| 15190 |
2005-04-14 Steven Eker <[email protected]> |
| 15191 |
|
| 15192 |
* banner.cc (printBanner): update copyright notice to 2005 |
| 15193 |
|
| 15194 |
* prelude.maude: changed prec and added format for _,_ in MAP; |
| 15195 |
changed prec for _,_ in META-TERM |
| 15196 |
|
| 15197 |
===================================Maude86a=========================================== |
| 15198 |
|
| 15199 |
2005-04-13 Steven Eker <[email protected]> |
| 15200 |
|
| 15201 |
* modules.yy (parameters): fixed value bug that is picked up by |
| 15202 |
bison on darwin but not by bison on linux |
| 15203 |
|
| 15204 |
* process.cc (processSorts): avoid using name() for redecl'd sort |
| 15205 |
(getSort): avoid using name() for undecl'd sort |
| 15206 |
|
| 15207 |
* renameModule.cc (localSort2): use sortName() |
| 15208 |
|
| 15209 |
* renaming.cc (makeCanonicalName): use sortName() |
| 15210 |
|
| 15211 |
* prettyPrint.cc (operator<<): Sort* version: use sortName() |
| 15212 |
|
| 15213 |
* auxProperty.cc (sortName): added |
| 15214 |
|
| 15215 |
* token.hh (class Token): added decl for sortName() |
| 15216 |
|
| 15217 |
* prelude.maude: added occurs op to LIST; added many standard |
| 15218 |
views; changed the way split works in an attempt to get stable |
| 15219 |
sort if incomparability happens to be transitive; added LIST*, |
| 15220 |
SET*, MAP |
| 15221 |
|
| 15222 |
2005-04-12 Steven Eker <[email protected]> |
| 15223 |
|
| 15224 |
* prelude.maude: added append() operator to LIST |
| 15225 |
|
| 15226 |
* import.cc (makeModule): don't allow modules with parameters to |
| 15227 |
be summed |
| 15228 |
(processImports): don't allow modules with free parameters to be |
| 15229 |
imported |
| 15230 |
|
| 15231 |
* importModule.hh (getNrParameters): added |
| 15232 |
(getParameterTheory): use getNrParameters() |
| 15233 |
|
| 15234 |
* renameModule.cc (makeRenamedCopy): rewritten to handle |
| 15235 |
parameters correctly |
| 15236 |
|
| 15237 |
* prelude.maude: added SET, moved COUNTER |
| 15238 |
|
| 15239 |
2005-04-11 Steven Eker <[email protected]> |
| 15240 |
|
| 15241 |
* prelude.maude: added TAO-SET, LIST and SORTABLE-LIST |
| 15242 |
|
| 15243 |
* importModule.hh (User): added decl for finishCopy() |
| 15244 |
|
| 15245 |
* renameModule.cc (makeInstantiation): rewritten to maintain a |
| 15246 |
parameter map for parameter names in sorts that need to be mapped |
| 15247 |
- this allows use to handle $ prefixing properly |
| 15248 |
(makeInstantiation): avoid generating identity sort mappings when |
| 15249 |
parameter X is instantiated by parameter X |
| 15250 |
(makeInstantiation): avoid added identity sort mappings in the |
| 15251 |
theory view case |
| 15252 |
(finishCopy): added |
| 15253 |
(makeInstantiation): use finishCopy() |
| 15254 |
(makeParameterCopy): use finishCopy() |
| 15255 |
(makeRenamedCopy): use finishCopy() |
| 15256 |
|
| 15257 |
* importModule.hh (User): added typedef ParameterMap |
| 15258 |
|
| 15259 |
* prelude.maude: give an explicit format for the _=[_]_ operator |
| 15260 |
|
| 15261 |
2005-04-06 Steven Eker <[email protected]> |
| 15262 |
|
| 15263 |
* renameModule.cc (makeInstantiation): fix argument indexing |
| 15264 |
|
| 15265 |
* importModule.hh (getNrFreeParameters): missing return (why |
| 15266 |
didn't g++ catch this?) |
| 15267 |
|
| 15268 |
* renameModule.cc (makeInstantiation): added advisory for |
| 15269 |
parameter clash |
| 15270 |
(makeInstantiation): resolve parameter clashes by prefixing $ on |
| 15271 |
free parameter name |
| 15272 |
|
| 15273 |
* moduleCache.cc (makeInstatiation): changed naming convention for |
| 15274 |
parameters instantiated by parameters |
| 15275 |
|
| 15276 |
* renameModule.cc (makeInstantiation): only instantiate free |
| 15277 |
parmeters OR bound parameters; copy bound parameters if we are not |
| 15278 |
instantiating them |
| 15279 |
(makeInstantiation): fixed bug: passing parameterArgs rather than |
| 15280 |
names to makeInstatiation() for instantiating parameterized |
| 15281 |
imports |
| 15282 |
(makeInstantiation): added Assert()s for number of arguments |
| 15283 |
(makeInstantiation): fixed bug where we were checking if |
| 15284 |
findParameterIndex() returned != NONe rather than == NONE |
| 15285 |
|
| 15286 |
* importModule.cc (ImportModule): clear nrBoundParameters |
| 15287 |
|
| 15288 |
* importModule.hh (getParameterTheory): update Assert() |
| 15289 |
|
| 15290 |
* import.cc (makeModule): use getNrFreeParameters() |
| 15291 |
|
| 15292 |
* importModule.hh (getNrParameters): becomes getNrFreeParameters() |
| 15293 |
|
| 15294 |
* renameModule.cc (makeInstantiation): keep track of number of |
| 15295 |
bound parameters |
| 15296 |
|
| 15297 |
* importModule.cc (deepSelfDestruct): comment out |
| 15298 |
parameterTheories code |
| 15299 |
|
| 15300 |
* renameModule.cc (makeInstantiation): split parameter and theory |
| 15301 |
view cases into seperate loops |
| 15302 |
|
| 15303 |
* importModule.hh (User): added data member nrBoundParameters; |
| 15304 |
commented out data member parameterTheories |
| 15305 |
|
| 15306 |
2005-04-04 Steven Eker <[email protected]> |
| 15307 |
|
| 15308 |
* modules.yy (view): clear currentRenaming at the end in order to |
| 15309 |
avoid memory corruption on subsequent call to |
| 15310 |
cleanUpModuleExpression() |
| 15311 |
|
| 15312 |
2005-04-01 Steven Eker <[email protected]> |
| 15313 |
|
| 15314 |
* prelude.maude: added fth TRIV |
| 15315 |
|
| 15316 |
2005-03-29 Steven Eker <[email protected]> |
| 15317 |
|
| 15318 |
* renameModule.cc (makeInstantiation): keep track of parameters |
| 15319 |
from enclosing module that have been used so we can handle things |
| 15320 |
like PAIR{X,X} without adding duplicate parameters |
| 15321 |
|
| 15322 |
2005-03-28 Steven Eker <[email protected]> |
| 15323 |
|
| 15324 |
* import.cc (makeModule): rewritten to check instantiation |
| 15325 |
arguments rigorously and provide detailed warnings |
| 15326 |
|
| 15327 |
* importModule.cc (findParameterIndex): added |
| 15328 |
(addParameter): use findParameterIndex() |
| 15329 |
|
| 15330 |
* preModule.hh (User): updated decl for makeModule() |
| 15331 |
|
| 15332 |
* import.cc (processImports): pass flatModule to makeModule() |
| 15333 |
(makeModule): take and pass enclosingModule |
| 15334 |
|
| 15335 |
* renameModule.cc (makeInstantiation): don't replace parameter in |
| 15336 |
a parameterized sort if it is instantiated by a parameter form an |
| 15337 |
enclosing module |
| 15338 |
(localSort2): addded more info to Assert() |
| 15339 |
(makeInstantiation): crude hack to make sure that paramaterized |
| 15340 |
sorts coming from an imported parameterized module have their |
| 15341 |
parameters replaced |
| 15342 |
(makeInstantiation): do correct replacement of a parameter in a |
| 15343 |
parameterized sort if it is instantiated by a parameter form an |
| 15344 |
enclosing module |
| 15345 |
|
| 15346 |
2005-03-25 Steven Eker <[email protected]> |
| 15347 |
|
| 15348 |
* moduleCache.cc (makeInstatiation): rewrote name generation code |
| 15349 |
|
| 15350 |
* renameModule.cc (makeInstantiation): handle parameters |
| 15351 |
instantiated by parameters from an enclosing module |
| 15352 |
|
| 15353 |
* import.cc (makeModule): gross hack to generate a vector for |
| 15354 |
parameterArgs |
| 15355 |
|
| 15356 |
* importModule.hh (User): updated decl for makeInstatiation() |
| 15357 |
|
| 15358 |
* moduleCache.hh (User): updated decl for makeInstatiation() |
| 15359 |
|
| 15360 |
* moduleCache.cc (makeInstatiation): accept and pass parameterArgs |
| 15361 |
|
| 15362 |
* renameModule.cc (makeInstantiation): make instantiations of our |
| 15363 |
parameterized imports rather than merely importing them |
| 15364 |
(makeInstantiation): accept and pass parameterArgs |
| 15365 |
|
| 15366 |
2005-03-23 Steven Eker <[email protected]> |
| 15367 |
|
| 15368 |
* renameModule.cc: added handling for "theory views" |
| 15369 |
(makeInstantiation): don't replace parameters in a parameterized |
| 15370 |
sort that got instantiated by a "theory view" |
| 15371 |
|
| 15372 |
* auxProperty.cc (joinParameterList): fixed doubled { bug |
| 15373 |
|
| 15374 |
* renameModule.cc (makeInstantiation): added crude first attempt |
| 15375 |
at parameterized sorts |
| 15376 |
|
| 15377 |
* token.hh (class Token): added decls for splitParameterList() and |
| 15378 |
joinParameterList() |
| 15379 |
|
| 15380 |
* auxProperty.cc (joinParameterList): added |
| 15381 |
(splitParameterList): added |
| 15382 |
|
| 15383 |
* import.cc (makeModule): check that the number of arguments |
| 15384 |
matches the number of parameters in instantiation case; and check |
| 15385 |
that parameter theories agree with from theories |
| 15386 |
|
| 15387 |
* view.hh (getToModule): added |
| 15388 |
|
| 15389 |
* importModule.hh (getParameterTheory): added |
| 15390 |
(getNrParameters): added |
| 15391 |
|
| 15392 |
2005-03-22 Steven Eker <[email protected]> |
| 15393 |
|
| 15394 |
* renameModule.cc (makeInstantiation): fix bad use of renameSort() |
| 15395 |
(makeInstantiation): only import modules that aren't parameters |
| 15396 |
into copy |
| 15397 |
|
| 15398 |
* view.cc (evaluate): set status to GOOD if we pass all the checks |
| 15399 |
|
| 15400 |
* moduleCache.hh (User): added decl for makeInstatiation() |
| 15401 |
|
| 15402 |
* moduleCache.cc (makeInstatiation): added |
| 15403 |
|
| 15404 |
* import.cc (makeModule): first crude attempt at handling |
| 15405 |
instantiation |
| 15406 |
|
| 15407 |
* importModule.hh (User): added decl for makeInstantiation() |
| 15408 |
|
| 15409 |
* renameModule.cc (makeInstantiation): added |
| 15410 |
|
| 15411 |
* view.hh (getToModule): added |
| 15412 |
|
| 15413 |
* view.cc (showView): use printRenaming() |
| 15414 |
(showView): print final .\n |
| 15415 |
|
| 15416 |
* renaming.hh (class Renaming): added decls for |
| 15417 |
printRenamingType() and printRenaming() |
| 15418 |
|
| 15419 |
* renaming.cc (printRenaming): added |
| 15420 |
(operator<<): use printRenaming |
| 15421 |
(printRenamingType): turn into member function |
| 15422 |
|
| 15423 |
* view.cc (showView): added |
| 15424 |
|
| 15425 |
* view.hh (isComplete): added |
| 15426 |
|
| 15427 |
* modules.yy (view): use setCurrentView(), CV |
| 15428 |
(viewDeclaration): use CV |
| 15429 |
|
| 15430 |
* interpreter.cc (Interpreter): clear currentView |
| 15431 |
|
| 15432 |
* top.yy: added macro CV; delete variable currentView |
| 15433 |
|
| 15434 |
* view.hh (User): added decls for isComplete(), showView() |
| 15435 |
|
| 15436 |
* commands.yy (command): added "show view {name} ." command |
| 15437 |
|
| 15438 |
* interpreter.hh (endif): added decl for showView() |
| 15439 |
|
| 15440 |
* interpreter.cc (setCurrentView): added (complex version) |
| 15441 |
(showView): added |
| 15442 |
|
| 15443 |
* interpreter.hh (setCurrentView): added (simple version) |
| 15444 |
|
| 15445 |
* interpreter.cc (makeClean): discard incomplete view |
| 15446 |
|
| 15447 |
* interpreter.hh (endif): added decls for getCurrentView(), |
| 15448 |
setCurrentView() (*2) |
| 15449 |
(getCurrentView): added |
| 15450 |
(endif): added data member currentView |
| 15451 |
|
| 15452 |
* commands.yy (command): added "show views ." command |
| 15453 |
|
| 15454 |
* top.yy: declare KW_VIEWS |
| 15455 |
|
| 15456 |
* lexer.ll: added KW_VIEWS |
| 15457 |
|
| 15458 |
2005-03-21 Steven Eker <[email protected]> |
| 15459 |
|
| 15460 |
* modules.yy (view): call insertView() |
| 15461 |
|
| 15462 |
* interpreter.hh (endif): derive from ViewDatabase |
| 15463 |
|
| 15464 |
* mixfix.hh: added class ModuleDatabase and class ViewDatabase |
| 15465 |
|
| 15466 |
* viewDatabase.cc: created |
| 15467 |
|
| 15468 |
* viewDatabase.hh (class ViewDatabase): created |
| 15469 |
|
| 15470 |
* top.yy: added decl for sortDot |
| 15471 |
|
| 15472 |
* modules.yy (sortDot): added |
| 15473 |
(viewDeclaration): use sortDot to allow overparsing for view sort |
| 15474 |
mappings |
| 15475 |
|
| 15476 |
* view.cc (evaluate): added code to check for existence of |
| 15477 |
polymorphic operators |
| 15478 |
|
| 15479 |
* modules.yy (viewDeclaration): clear bubble before viewToOpName |
| 15480 |
(viewToOpName): allow single token operator names |
| 15481 |
(viewToOpName): deleted |
| 15482 |
(viewDeclaration): use endStatement in place of viewToOpName |
| 15483 |
|
| 15484 |
* view.cc (evaluate): added code to do basic operator existence |
| 15485 |
check |
| 15486 |
|
| 15487 |
2005-03-18 Steven Eker <[email protected]> |
| 15488 |
|
| 15489 |
* moduleExpression.cc (deepSelfDestruct): rewritten to handle |
| 15490 |
INSTANTIATION case |
| 15491 |
(operator<<): parenthsize syntactically legal but semantically |
| 15492 |
invalid module expressions correctly to avoid generating |
| 15493 |
unparsable nonsense from users mistakes |
| 15494 |
|
| 15495 |
* moduleExpression.hh (getArguments): added |
| 15496 |
|
| 15497 |
* moduleExpression.cc (operator<<): handle INSTANTIATION case |
| 15498 |
|
| 15499 |
* import.cc (makeModule): warning for INSTANTIATION case |
| 15500 |
|
| 15501 |
* moduleExpression.cc (ModuleExpression): (instantiation version) |
| 15502 |
added |
| 15503 |
|
| 15504 |
* moduleExpression.hh (class ModuleExpression): added |
| 15505 |
INSTANTIATION to enum Type |
| 15506 |
(class ModuleExpression): added decl for instantiation ctor |
| 15507 |
(getModule): allow for instantiation |
| 15508 |
(class ModuleExpression): added arguments data member |
| 15509 |
|
| 15510 |
* modules.yy (moduleExpr3): added |
| 15511 |
(moduleExpr): use moduleExpr3 |
| 15512 |
(argList): added |
| 15513 |
|
| 15514 |
* view.cc (evaluate): added code to check kinds and subsort |
| 15515 |
relations |
| 15516 |
|
| 15517 |
* view.hh (User): added enum Status and data member status; added |
| 15518 |
decl for evaluate() |
| 15519 |
(User): added decl for dtor |
| 15520 |
|
| 15521 |
* view.cc (View): set status to INITIAL |
| 15522 |
(regretToInform): set status to UNKNOWN |
| 15523 |
(View): added dtor |
| 15524 |
(regretToInform): self destruct all calculated stuff |
| 15525 |
(finishView): use evaluate() |
| 15526 |
(evaluate): added |
| 15527 |
|
| 15528 |
2005-03-17 Steven Eker <[email protected]> |
| 15529 |
|
| 15530 |
* view.hh (User): don't derive from BadFlag - a view should not |
| 15531 |
become irredeemably bad |
| 15532 |
|
| 15533 |
* entity.cc (addUser): turned the Assert() for "already added |
| 15534 |
user" into a DebugAdvisory() since it's possible for a module or |
| 15535 |
view to use a module or view multiple times or in multiple ways |
| 15536 |
(removeUser): turned the Assert() for "missing user" into |
| 15537 |
DebugAdvisory() since if we add a user multiple times we may well |
| 15538 |
remove the user that number of times |
| 15539 |
|
| 15540 |
* view.cc (regretToInform): added |
| 15541 |
(View): init fromTheory, toModule |
| 15542 |
(regretToInform): handle the case where fromTheory == toModule |
| 15543 |
|
| 15544 |
* view.hh (User): derive from Entity::User |
| 15545 |
(User): added decl for regretToInform(); |
| 15546 |
|
| 15547 |
* entity.cc (removeUser): add entity name to debugging message if |
| 15548 |
it is an ImportModule |
| 15549 |
|
| 15550 |
* entity.hh (class Entity): added decl for |
| 15551 |
dummyToAllowDynamicCasts() if we are debugging |
| 15552 |
|
| 15553 |
* entity.cc (removeUser): fancier debugging messages |
| 15554 |
|
| 15555 |
* preModule.cc (regretToInform): removed removeUser() hack |
| 15556 |
|
| 15557 |
* moduleCache.cc (regretToInform): removed removeUser() hack |
| 15558 |
|
| 15559 |
* entity.hh (class Entity): moved definition of UserLt here |
| 15560 |
|
| 15561 |
* entity.cc (UserLt): added |
| 15562 |
(addUser): use insert() rather than push_back() |
| 15563 |
(removeUser): rewritten using set operations |
| 15564 |
(informUsers): rewritten to be robust in the face of not knowing |
| 15565 |
whether a call to regretToInform() will remove any particular user |
| 15566 |
|
| 15567 |
* entity.hh (class Entity): added struct UserLt and typedef |
| 15568 |
UserSet; deleted typedef UserList; users becomes a UserSet |
| 15569 |
|
| 15570 |
2005-03-16 Steven Eker <[email protected]> |
| 15571 |
|
| 15572 |
* entity.cc (informUsers): 2nd attempt at fixing iterator |
| 15573 |
invalidation bug |
| 15574 |
|
| 15575 |
* moduleCache.cc (regretToInform): call removeUser() |
| 15576 |
|
| 15577 |
* preModule.cc (regretToInform): call removeUser() |
| 15578 |
|
| 15579 |
* entity.cc (informUsers): fix nasty iterator invalidation bug |
| 15580 |
|
| 15581 |
* importModule.cc (ImportModule): Parent -> Entity::User |
| 15582 |
|
| 15583 |
* renameModule.cc (makeRenamedCopy, makeParameterCopy): |
| 15584 |
dependentModules.append() -> addUser() |
| 15585 |
|
| 15586 |
* visibleModule.cc (VisibleModule): Parent -> Entity::User |
| 15587 |
|
| 15588 |
* visibleModule.hh (class VisibleModule): Parent -> Entity::User |
| 15589 |
|
| 15590 |
* preModule.cc (regretToInform): now takes Entity* |
| 15591 |
|
| 15592 |
* preModule.hh (User): derive from Entity::User rather than |
| 15593 |
ImportModule::Parent; update decl for regretToInform() |
| 15594 |
|
| 15595 |
* moduleCache.hh (Parent): derive from Entity::User rather than |
| 15596 |
ImportModule::Parent; update decl for regretToInform() |
| 15597 |
|
| 15598 |
* moduleCache.cc (destructUnusedModules): hasUsers() in place of |
| 15599 |
hasDependents() |
| 15600 |
(regretToInform): need to cast doomedEntity |
| 15601 |
|
| 15602 |
* importModule.cc (addImport): addUser() in place of |
| 15603 |
dependentModules.append() |
| 15604 |
(addParameter): addUser() in place of dependentModules.append() |
| 15605 |
(deepSelfDestruct): removeUser() in place of removeDependent() |
| 15606 |
(deepSelfDestruct): use informUsers() in place of much special |
| 15607 |
purpose code() |
| 15608 |
(regretToInform): added |
| 15609 |
(removeDependent): deleted |
| 15610 |
|
| 15611 |
* importModule.hh (hasDependents): deleted |
| 15612 |
(User): added decl for regretToInform() |
| 15613 |
|
| 15614 |
* entity.hh (hasUsers): added |
| 15615 |
|
| 15616 |
* importModule.hh (User): derive from Entity and Entity::User |
| 15617 |
(User): deleted class Parent, updated ctor decl |
| 15618 |
(User): deleted data members parent and dependentModules |
| 15619 |
(User): deleted decl for removeDependent() |
| 15620 |
|
| 15621 |
* mixfix.hh: added class Entity |
| 15622 |
|
| 15623 |
* entity.cc: created |
| 15624 |
|
| 15625 |
* entity.hh: created |
| 15626 |
|
| 15627 |
* view.cc (finishView): evaluate from and to parts; check that |
| 15628 |
from part is a theory |
| 15629 |
|
| 15630 |
* view.hh (class View): added data members fromTheory, toModule |
| 15631 |
(class View) derive from BadFlag |
| 15632 |
|
| 15633 |
2005-03-15 Steven Eker <[email protected]> |
| 15634 |
|
| 15635 |
* view.cc (finishView): added stub |
| 15636 |
|
| 15637 |
* view.hh (class View): added decl for finishView() |
| 15638 |
|
| 15639 |
* modules.yy (viewToOpName): added |
| 15640 |
(viewDeclaration): use viewToOpName to fix shift/reduce conflict |
| 15641 |
and allow overparsing |
| 15642 |
|
| 15643 |
* top.yy: declare KW_VIEW to have type yyToken |
| 15644 |
|
| 15645 |
* lexer.ll: use RETURN() for KW_VIEW |
| 15646 |
|
| 15647 |
* modules.yy (view): add calls to fileTable; reset lexer mode at |
| 15648 |
the end |
| 15649 |
|
| 15650 |
* top.yy: added currentView |
| 15651 |
|
| 15652 |
* modules.yy (view): add semantics |
| 15653 |
(viewDeclaration): add op mappings |
| 15654 |
|
| 15655 |
* view.cc: created |
| 15656 |
|
| 15657 |
* mixfix.hh: added class View |
| 15658 |
|
| 15659 |
* view.hh: created |
| 15660 |
|
| 15661 |
2005-03-11 Steven Eker <[email protected]> |
| 15662 |
|
| 15663 |
* mixfixModule.hh (CommonTokens): added decks for printDotSort() |
| 15664 |
and printVarSort() |
| 15665 |
|
| 15666 |
* bufferPrint.cc (prettyPrint): use printDotSort() |
| 15667 |
(printDotSort): added |
| 15668 |
(printVarSort): added |
| 15669 |
(handleVariable): use printVarSort() |
| 15670 |
|
| 15671 |
* mixfixModule.hh (CommonTokens): updated decls for |
| 15672 |
handleVariable(), printKind(); added decl for printSort() |
| 15673 |
|
| 15674 |
* bufferPrint.cc (printKind): take printFlags argument |
| 15675 |
(handleVariable): take printFlags and pass it to printKind() |
| 15676 |
(prettyPrint): pass printFlags to handleVariable() |
| 15677 |
(printSort): added |
| 15678 |
(printKind): use printSort() |
| 15679 |
|
| 15680 |
2005-03-10 Steven Eker <[email protected]> |
| 15681 |
|
| 15682 |
* prettyPrint.cc (operator<<): (Sort* version) only print |
| 15683 |
parameterized sorts as multitoken if PRINT_MIXFIX flag is set |
| 15684 |
|
| 15685 |
* visibleModule.cc (showPolymorphAttributes): don't use operator<< |
| 15686 |
for sorts in op-hooks |
| 15687 |
(showPolymorphAttributes): handle the case that sorts in an |
| 15688 |
op-hook might be kinds |
| 15689 |
(showAttributes): don't use operator<< for sorts in op-hooks |
| 15690 |
|
| 15691 |
* mixfixModule.cc (nonTerminal): (Sort* version) fix potential |
| 15692 |
rather than actual bug in that we were passing TERM_TYPE rather |
| 15693 |
than type (in all current uses, type is bound to TERM_TYPE) |
| 15694 |
|
| 15695 |
* doParse.cc (getParserStats): pass back correct value for |
| 15696 |
nrNonterminals now that iter & oft variable nonterminals are |
| 15697 |
allocated on demand |
| 15698 |
|
| 15699 |
* makeGrammar.cc (makeParameterizedSortProductions): use GARBAGE |
| 15700 |
as initial map entry |
| 15701 |
(makeSymbolProductions): use GARBAGE as initial map entry |
| 15702 |
|
| 15703 |
* prettyPrint.cc (operator<<): (Sort* version) be recursive in the |
| 15704 |
kind case |
| 15705 |
(operator<<): (Sort* version) handle parameterized sorts |
| 15706 |
|
| 15707 |
2005-03-09 Steven Eker <[email protected]> |
| 15708 |
|
| 15709 |
* mixfixParser.cc (makeTerm): changed Assert() to allow for |
| 15710 |
parameterized sorts in MAKE_VARIABLE case |
| 15711 |
|
| 15712 |
* makeGrammar.cc (makeComponentProductions): add syntax for otf |
| 15713 |
variables of parameterized sorts; update syntax for otf variables |
| 15714 |
of non parameterized sorts that happen to be the lead token of a |
| 15715 |
parameterized sort |
| 15716 |
(makeSpecialProductions): take leadTokens into account for the |
| 15717 |
CONTAINS_COLON case |
| 15718 |
(makeParameterizedSortProductions): fixed nasty bug where we were |
| 15719 |
using iterSymbols instead of leadTokens |
| 15720 |
(makeComponentProductions): use gatherAny rather than emptyGather |
| 15721 |
where we have a nonterminal |
| 15722 |
|
| 15723 |
* mixfixModule.hh (CommonTokens): added decl for |
| 15724 |
makeParameterizedSortProductions() |
| 15725 |
|
| 15726 |
* makeGrammar.cc (makeParameterizedSortProductions): added |
| 15727 |
(makeGrammar): call makeParameterizedSortProductions() |
| 15728 |
|
| 15729 |
* mixfixModule.hh (CommonTokens): added data member leadTokens |
| 15730 |
|
| 15731 |
* makeGrammar.cc (makeSymbolProductions): handle the case where |
| 15732 |
we've already seen an iter symbol with the same name |
| 15733 |
|
| 15734 |
* mixfixModule.hh (CommonTokens): deletd decl for |
| 15735 |
iterSymbolNonTerminal() |
| 15736 |
(CommonTokens): typedef IntMap; |
| 15737 |
|
| 15738 |
* mixfixModule.cc (iterSymbolNonTerminal): deleted |
| 15739 |
|
| 15740 |
* entry.cc (addOpDeclaration): don't update iterSymbols |
| 15741 |
|
| 15742 |
* makeGrammar.cc (makeSymbolProductions): use new iterSymbols |
| 15743 |
together with newNonTerminal() |
| 15744 |
(makeSpecialProductions): use new iterSymbols semantics (2 places) |
| 15745 |
|
| 15746 |
* mixfixModule.hh (CommonTokens): iterSymbols changed from IntSet |
| 15747 |
to map<int, int> |
| 15748 |
|
| 15749 |
* makeGrammar.cc (makeGrammar): initialize nextNonTerminal; don't |
| 15750 |
use iterSymbols |
| 15751 |
|
| 15752 |
* mixfixModule.hh (CommonTokens): added decl for newNonTerminal() |
| 15753 |
|
| 15754 |
* mixfixModule.cc (newNonTerminal): added |
| 15755 |
|
| 15756 |
* mixfixModule.hh (findIterSymbolIndex): deleted |
| 15757 |
(CommonTokens): added data member nextNonTerminal |
| 15758 |
|
| 15759 |
2005-03-08 Steven Eker <[email protected]> |
| 15760 |
|
| 15761 |
* makeGrammar.cc (makeSpecialProductions): use new |
| 15762 |
insertIterSymbolTerminal() convention |
| 15763 |
|
| 15764 |
* mixfixParser.hh (class MixfixParser): updated decl for |
| 15765 |
insertIterSymbolTerminal() |
| 15766 |
|
| 15767 |
* mixfixParser.cc (insertIterSymbolTerminal): use |
| 15768 |
iterSymbolNameCode rather than iterSymbolIndex; no need to resize |
| 15769 |
iterSymbolTerminals |
| 15770 |
(translateSpecialToken): use new definition of iterSymbolTerminals |
| 15771 |
|
| 15772 |
* mixfixParser.hh (class MixfixParser): updated decl for |
| 15773 |
insertVariableTerminal() |
| 15774 |
(class MixfixParser): added typedef IntMap; change |
| 15775 |
iterSymbolTerminals from Vector<int> to IntMap |
| 15776 |
|
| 15777 |
* mixfixParser.cc (insertVariableTerminal): use sortNameCode |
| 15778 |
rather than sortIndex |
| 15779 |
(MixfixParser): don't initialize variableTerminals |
| 15780 |
(translateSpecialToken): use map<int,int> rather than Vector<int>; |
| 15781 |
look up sortNameCode directly rather than sortIndex |
| 15782 |
|
| 15783 |
* makeGrammar.cc (makeComponentProductions): pass sortNameCode |
| 15784 |
rather than sortIndex to insertVariableTerminal() |
| 15785 |
|
| 15786 |
* mixfixParser.hh (class MixfixParser): change variableTerminals |
| 15787 |
from Vector<int> to map<int,int> |
| 15788 |
|
| 15789 |
* token.hh (class Token): fix decl for skipSortName() |
| 15790 |
|
| 15791 |
* auxProperty.cc (skipSortName): parameterized arg needs to be |
| 15792 |
passed by reference |
| 15793 |
|
| 15794 |
* makeGrammar.cc (makeComponentProductions): insert productions |
| 15795 |
for multitoken versions of parameterized sorts |
| 15796 |
(makeComponentProductions): removed comment - sortIndex is |
| 15797 |
actually used in MixfixParser::getSort() |
| 15798 |
|
| 15799 |
* token.hh (class Token): added decl for splitParameterizedSort() |
| 15800 |
|
| 15801 |
* auxProperty.cc (splitParameterizedSort): added |
| 15802 |
|
| 15803 |
* token.cc (splitKind): use clear() |
| 15804 |
|
| 15805 |
2005-03-07 Steven Eker <[email protected]> |
| 15806 |
|
| 15807 |
* token.hh (class Token): updated decl for skipSortName() |
| 15808 |
|
| 15809 |
* token.cc (splitKind): use new skipSortName |
| 15810 |
|
| 15811 |
* auxProperty.cc (skipSortName): rewritten to take account of |
| 15812 |
parameterized sorts and moved here |
| 15813 |
(computeAuxProperty): rewritten to take account of parameterized |
| 15814 |
sorts and moved here |
| 15815 |
|
| 15816 |
* token.cc (computeAuxProperty): handle AUX_PARAMETERIZED_SORT |
| 15817 |
|
| 15818 |
* quotedIdentifierSymbol.cc (determineSort): handle |
| 15819 |
AUX_PARAMETERIZED_SORT |
| 15820 |
|
| 15821 |
* token.hh (class Token): added AUX_PARAMETERIZED_SORT |
| 15822 |
|
| 15823 |
2005-02-28 Steven Eker <[email protected]> |
| 15824 |
|
| 15825 |
* modules.yy (sortName): rewritten to fix a bunch of symmetric |
| 15826 |
reduce/reduce conflicts |
| 15827 |
|
| 15828 |
2005-02-25 Steven Eker <[email protected]> |
| 15829 |
|
| 15830 |
* top.yy: added fragClear(), fragStore(), fragments |
| 15831 |
|
| 15832 |
* modules.yy (sortNameFrags): added |
| 15833 |
(sortNameFrag): added |
| 15834 |
(sortName): rewritten |
| 15835 |
|
| 15836 |
* top.yy: add back sortToken |
| 15837 |
|
| 15838 |
* modules.yy (sortName): recursive definition |
| 15839 |
|
| 15840 |
* top.yy: sortToken -> sortName |
| 15841 |
|
| 15842 |
* modules.yy: type -> typeName, sortToken -> sortName, |
| 15843 |
sortTokens -> sortNames, sortTokenList -> sortNameList |
| 15844 |
|
| 15845 |
2005-02-24 Steven Eker <[email protected]> |
| 15846 |
|
| 15847 |
* modules.yy (startKeyword): added KW_ENDV |
| 15848 |
(inert): added KW_FROM |
| 15849 |
(midKeyword): moved KW_IS to inert |
| 15850 |
(endToken, tokenBarEqual, tokenBarIf, tokenBarColon) |
| 15851 |
(tokenBarColonTo): removed KW_IS |
| 15852 |
|
| 15853 |
* lexer.ll: added KW_VIEW, KW_FROM, KW_ENDV |
| 15854 |
|
| 15855 |
* top.yy (item): added view; added KW_VIEW, KW_FROM, KW_ENDV |
| 15856 |
|
| 15857 |
* modules.yy (view, viewDecList, viewDeclaration): added |
| 15858 |
|
| 15859 |
2005-02-23 Steven Eker <[email protected]> |
| 15860 |
|
| 15861 |
* renameModule.cc (makeParameterCopy): first attempt at label |
| 15862 |
renaming |
| 15863 |
(makeParameterCopy): do local stuff first and imported stuff |
| 15864 |
second since with our naive approach will could get dup label |
| 15865 |
mappings which will safely be ignored by addSortAndLabelMappings() |
| 15866 |
|
| 15867 |
* makeGrammar.cc (makeComponentProductions): use find() on |
| 15868 |
bubbleComponents (2 places) |
| 15869 |
(makePolymorphProductions): use find() on bubbleComponents |
| 15870 |
|
| 15871 |
* mixfixModule.hh (CommonTokens): bubbleComponents becomes a set<int> |
| 15872 |
|
| 15873 |
2005-02-22 Steven Eker <[email protected]> |
| 15874 |
|
| 15875 |
* makeGrammar.cc (makeLabelProductions): use potentialLabels |
| 15876 |
|
| 15877 |
* mixfixModule.hh (insertLabels): becomes insertPotentialLabels(); |
| 15878 |
take const set<int>& |
| 15879 |
(CommonTokens): IntSet labels becomes set<int> potentialLabels |
| 15880 |
|
| 15881 |
* process.cc (process): use insertPotentialLabels() and potentialLabels |
| 15882 |
|
| 15883 |
* preModule.cc (addStatement): use potentialLabels |
| 15884 |
|
| 15885 |
* preModule.hh (Parent): IntSet labels becomes set<int> |
| 15886 |
potentialLabels |
| 15887 |
|
| 15888 |
2005-02-18 Steven Eker <[email protected]> |
| 15889 |
|
| 15890 |
* import.cc (processImports): use makeParameterCopy() |
| 15891 |
|
| 15892 |
* importModule.cc (addParameter): store parameterTheory in |
| 15893 |
importModules rather than parameterTheories |
| 15894 |
|
| 15895 |
* moduleCache.hh (Parent): added decl for makeParameterCopy() |
| 15896 |
|
| 15897 |
* moduleCache.cc (makeParameterCopy): added |
| 15898 |
|
| 15899 |
* token.hh (class Token): added declaration for parameterRename() |
| 15900 |
|
| 15901 |
* token.cc (parameterRename): added |
| 15902 |
|
| 15903 |
* renaming.cc (addSortAndLabelMappings): added |
| 15904 |
|
| 15905 |
* renaming.hh (class Renaming): added decl for |
| 15906 |
addSortAndLabelMappings() |
| 15907 |
|
| 15908 |
* renameModule.cc (makeParameterCopy): added |
| 15909 |
|
| 15910 |
2005-02-15 Steven Eker <[email protected]> |
| 15911 |
|
| 15912 |
* import.cc (processImports): handle module expression for |
| 15913 |
parameter theory |
| 15914 |
|
| 15915 |
* preModule.hh (Parent): updated decl for addParameter() |
| 15916 |
(Parent): updated struct Parameter |
| 15917 |
|
| 15918 |
* preModule.cc (addParameter): take module expression |
| 15919 |
|
| 15920 |
* modules.yy (parameter): allow parameters to be module |
| 15921 |
expressions |
| 15922 |
|
| 15923 |
2005-02-10 Steven Eker <[email protected]> |
| 15924 |
|
| 15925 |
* importModule.cc (deepSelfDestruct): use FOR_EACH_CONST() on |
| 15926 |
importedModules; handle parameters |
| 15927 |
|
| 15928 |
* modules.yy (module): need to set current module before we parse |
| 15929 |
parameters so that parameters get added to the correct module |
| 15930 |
|
| 15931 |
* import.cc (processImports): use FOR_EACH_CONST() in explicity |
| 15932 |
import code |
| 15933 |
(processImports): handle parameters |
| 15934 |
|
| 15935 |
* modules.yy (parameter): call addParameter() |
| 15936 |
|
| 15937 |
* preModule.hh (Parent): added decl for addParameter() |
| 15938 |
(Parent): added data member parameters |
| 15939 |
|
| 15940 |
* preModule.cc (addParameter): added |
| 15941 |
|
| 15942 |
* preModule.hh (Parent): added struct Parameter |
| 15943 |
|
| 15944 |
* importModule.hh (class ImportModule): added decl for |
| 15945 |
addParameter() |
| 15946 |
|
| 15947 |
* mixfixModule.hh (canHaveAsParameter): added |
| 15948 |
|
| 15949 |
* importModule.cc (addParameter): added |
| 15950 |
|
| 15951 |
* importModule.hh (class ImportModule): added data members |
| 15952 |
parameterNames and parameterTheories |
| 15953 |
|
| 15954 |
* importModule.cc (addImport): simplified condition |
| 15955 |
|
| 15956 |
2005-02-08 Steven Eker <[email protected]> |
| 15957 |
|
| 15958 |
* lexer.ll (id): recognize :: { } tokens |
| 15959 |
|
| 15960 |
* top.yy: declare inert, '{', '}', KW_COLON2 |
| 15961 |
|
| 15962 |
* modules.yy (parameters): added parameter syntax |
| 15963 |
(inert): added |
| 15964 |
(identifier): use inert |
| 15965 |
(tokenBarDot): use inert |
| 15966 |
(endToken): use inert |
| 15967 |
(tokenBarColonTo, tokenBarCommaLeft): use inert |
| 15968 |
|
| 15969 |
* import.cc (processImports): no automatic imports for theories |
| 15970 |
|
| 15971 |
2005-01-19 Steven Eker <[email protected]> |
| 15972 |
|
| 15973 |
* mixfixModule.hh (CommonTokens): deleted static data member |
| 15974 |
concealed and decl for concealSymbols() |
| 15975 |
|
| 15976 |
* dagNodePrint.cc (prettyPrint): use concealedSymbol() |
| 15977 |
|
| 15978 |
* interpreter.hh (endif): added decl for concealedSymbol() |
| 15979 |
|
| 15980 |
* interpreter.cc (concealedSymbol): added |
| 15981 |
|
| 15982 |
* prettyPrint.cc (concealSymbols): deleted |
| 15983 |
|
| 15984 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 15985 |
deleted decls for selectSymbols(), excludeModules(), |
| 15986 |
selectBreakSymbols(); deleted static data members selected, |
| 15987 |
excluded, breakSymbols |
| 15988 |
|
| 15989 |
* interpreter.hh (traceId, excludedModule): added |
| 15990 |
|
| 15991 |
* userLevelRewritingContext.cc (excludeModules, selectSymbols): deleted |
| 15992 |
(dontTrace): use excludedModule and traceId instead of excluded |
| 15993 |
and selected |
| 15994 |
|
| 15995 |
* interpreter.hh (breakId): added |
| 15996 |
|
| 15997 |
* interact.cc (selectBreakSymbols): deleted |
| 15998 |
(handleDebug): use breakId() instead of breakSymbols |
| 15999 |
|
| 16000 |
* interpreter.hh (printConceal, traceExclude, breakSelect) |
| 16001 |
(traceSelect): rewritten, moved here |
| 16002 |
(endif): added decl for updateSet() |
| 16003 |
|
| 16004 |
* interpreter.cc (updateSet): added |
| 16005 |
|
| 16006 |
* interpreter.hh (endif): added data members traceIds, breakIds, |
| 16007 |
excludedModules, concealedSymbols |
| 16008 |
|
| 16009 |
* userLevelRewritingContext.cc (dontTrace): update testing of |
| 16010 |
excluded, selected |
| 16011 |
|
| 16012 |
* interact.cc (selectBreakSymbols): rewritten |
| 16013 |
|
| 16014 |
* userLevelRewritingContext.cc (selectSymbols): rewritten |
| 16015 |
(excludeModules): rewritten |
| 16016 |
|
| 16017 |
* interact.cc (handleDebug): update testing of breakSymbols |
| 16018 |
|
| 16019 |
* userLevelRewritingContext.cc: selected, breakSymbols changed |
| 16020 |
from IntSet to set<int> |
| 16021 |
|
| 16022 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 16023 |
selected, excluded, breakSymbols changed from IntSet to set<int> |
| 16024 |
(class UserLevelRewritingContext): updated decls for |
| 16025 |
selectSymbols(), excludeModules(), selectBreakSymbols() |
| 16026 |
|
| 16027 |
* interpreter.cc (printConceal, traceExclude, breakSelect) |
| 16028 |
(traceSelect): clear() replaces makeEmpty() |
| 16029 |
|
| 16030 |
* interpreter.hh (endif): selected changed from IntSet to set<int> |
| 16031 |
|
| 16032 |
2005-01-18 Steven Eker <[email protected]> |
| 16033 |
|
| 16034 |
* userLevelRewritingContext.cc (tracePreScApplication) |
| 16035 |
(tracePreRuleRewrite, tracePreEqRewrite): support TRACE_BODY |
| 16036 |
option |
| 16037 |
|
| 16038 |
* interpreter.hh (endif): added TRACE_REWRITE and TRACE_BODY to |
| 16039 |
DEFAULT_FLAGS |
| 16040 |
|
| 16041 |
* userLevelRewritingContext.cc (tracePreScApplication) |
| 16042 |
(tracePostRuleRewrite, tracePreRuleRewrite, tracePostEqRewrite) |
| 16043 |
(tracePreEqRewrite): implement TRACE_REWRITE option |
| 16044 |
|
| 16045 |
* trial.cc (traceBeginRuleTrial): use getFlag() rather than |
| 16046 |
traceRuleFlag, traceSubstitutionFlag |
| 16047 |
(traceBeginScTrial): use getFlag() rather than |
| 16048 |
traceScFlag, traceSubstitutionFlag |
| 16049 |
(traceEndFragment): use getFlag() rather than |
| 16050 |
traceSubstitutionFlag |
| 16051 |
|
| 16052 |
* userLevelRewritingContext.cc (tracePreRuleRewrite) |
| 16053 |
(tracePreScApplication): use getFlag() rather than |
| 16054 |
traceSubstitutionFlag |
| 16055 |
|
| 16056 |
* trial.cc (traceBeginEqTrial): use getFlag() rather than |
| 16057 |
traceEqFlag |
| 16058 |
(traceBeginEqTrial): use getFlag() rather than |
| 16059 |
traceSubstitutionFlag |
| 16060 |
|
| 16061 |
* userLevelRewritingContext.cc: deleted defs for trace flags below |
| 16062 |
|
| 16063 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 16064 |
deleted static members traceConditionFlag, traceWholeFlag, |
| 16065 |
traceSubstitutionFlag, traceSelectFlag, traceScFlag, traceEqFlag, |
| 16066 |
traceRuleFlag |
| 16067 |
(setTraceConditionFlag, setTraceWholeFlag) |
| 16068 |
(setTraceSubstitutionFlag, setTraceSelectFlag, setTraceScFlag) |
| 16069 |
(setTraceEqFlag, setTraceRuleFlag): deleted |
| 16070 |
|
| 16071 |
* userLevelRewritingContext.cc (dontTrace): use getFlag() rather |
| 16072 |
than traceSelectFlag |
| 16073 |
(tracePreEqRewrite): use getFlag() rather than traceEqFlag |
| 16074 |
(tracePostEqRewrite): use getFlag() rather than traceWholeFlag |
| 16075 |
(tracePreEqRewrite): use getFlag() rather than traceWholeFlag |
| 16076 |
(tracePreRuleRewrite): use getFlag() rather than traceRuleFlag |
| 16077 |
(tracePreRuleRewrite): use getFlag() rather than traceWholeFlag |
| 16078 |
(tracePostRuleRewrite): use getFlag() rather than traceWholeFlag |
| 16079 |
(tracePreScApplication): use getFlag() rather than traceScFlag |
| 16080 |
(tracePreScApplication): use getFlag() rather than traceWholeFlag |
| 16081 |
(tracePreEqRewrite): use getFlag() rather than |
| 16082 |
traceSubstitutionFlag |
| 16083 |
(makeSubcontext): use getFlag() rather than traceConditionFlag |
| 16084 |
|
| 16085 |
2005-01-17 Steven Eker <[email protected]> |
| 16086 |
|
| 16087 |
* interpreter.hh (endif): added TRACE_REWRITE and TRACE_BODY to |
| 16088 |
enum Flags |
| 16089 |
|
| 16090 |
* top.yy: declare traceOption and KW_BODY; delete decl for |
| 16091 |
KW_CONTEXT |
| 16092 |
|
| 16093 |
* lexer.ll: added KW_BODY; deleted KW_CONTEXT |
| 16094 |
|
| 16095 |
* commands.yy (command): use traceOption |
| 16096 |
(traceOption): added; include syntax for set trace rewrite and set |
| 16097 |
trace body |
| 16098 |
|
| 16099 |
* mixfixModule.hh (CommonTokens): deleted decls for 7 setPrint*() |
| 16100 |
functions and the commented out functions themselves |
| 16101 |
|
| 16102 |
2005-01-07 Steven Eker <[email protected]> |
| 16103 |
|
| 16104 |
* prelude.maude: added rat print option |
| 16105 |
|
| 16106 |
2005-01-06 Steven Eker <[email protected]> |
| 16107 |
|
| 16108 |
* prelude.maude: added print option hooks |
| 16109 |
|
| 16110 |
2005-01-05 Steven Eker <[email protected]> |
| 16111 |
|
| 16112 |
* prelude.maude: added PrintOptions; metaPrettyPrint() now takes |
| 16113 |
PrintOptionSet arg; backward compatibility metaPrettyPrint() added |
| 16114 |
|
| 16115 |
* interpreter.hh (endif): renumbered enum PrintFlags |
| 16116 |
|
| 16117 |
* main.cc (main): use setPrintFlag() instead of setPrintMixfix() |
| 16118 |
|
| 16119 |
* mixfixModule.hh (CommonTokens): updated decls for printTokens(), |
| 16120 |
printTails() and printPrefixName() |
| 16121 |
|
| 16122 |
* bufferPrint.cc (printTokens): use printFlags instead of |
| 16123 |
printFormat |
| 16124 |
(printPrefixName, printTails): use printFlags instead of |
| 16125 |
printFormat |
| 16126 |
(printTokens): added printFlags arg |
| 16127 |
(printTails): added printFlags arg |
| 16128 |
(printPrefixName): added printFlags arg |
| 16129 |
(prettyPrint): pass printFlags to printTokens(), printTails() |
| 16130 |
(handleIter): pass printFlags to printPrefixName() |
| 16131 |
(prettyPrint): pass printFlags to printPrefixName() |
| 16132 |
|
| 16133 |
* prettyPrint.cc (printVariable): use getPrintFlag() instead of |
| 16134 |
printWithAliases |
| 16135 |
|
| 16136 |
* bufferPrint.cc (prettyPrint): use printFlags instead of |
| 16137 |
printMixfix, printWithParens, printFlat |
| 16138 |
|
| 16139 |
* mixfixModule.hh (setPrintMixfix, setPrintWithParens) |
| 16140 |
(setPrintWithAliases, setPrintFlat, setPrintGraph) |
| 16141 |
(setPrintConceal, setPrintFormat): deleted |
| 16142 |
|
| 16143 |
* prettyPrint.cc: deleted static print* variables |
| 16144 |
(operator<<): use getPrintFlag() in place of printGraph |
| 16145 |
(printTokens): use getPrintFlag() in place of printFormat |
| 16146 |
(printPrefixName): use getPrintFlag() in place of printFormat |
| 16147 |
(printTails): use getPrintFlag() in place of printFormat |
| 16148 |
|
| 16149 |
* mixfixModule.hh (CommonTokens): deleted static data members |
| 16150 |
printMixfix, printWithParens, printWithAliases, printFlat, |
| 16151 |
printGraph, printConceal, printFormat |
| 16152 |
|
| 16153 |
* dagNodePrint.cc (prettyPrint): use getPrintFlag() in place of |
| 16154 |
printMixfix, printWithParens, printFlat, printConceal |
| 16155 |
|
| 16156 |
* termPrint.cc (prettyPrint): use getPrintFlag() in place of |
| 16157 |
printMixfix, printWithParens, printFlat |
| 16158 |
|
| 16159 |
* top.yy: added yyPrintFlag |
| 16160 |
added decl for printOption |
| 16161 |
|
| 16162 |
* commands.yy (command): use setPrintFlag() for 3 print cases |
| 16163 |
(printOption): added |
| 16164 |
(command): combine all print options using printOption and |
| 16165 |
setPrintFlag() |
| 16166 |
|
| 16167 |
* bufferPrint.cc (bufferPrint): handle printFlags arg |
| 16168 |
|
| 16169 |
* mixfixModule.hh (CommonTokens): updated buffer print op decls |
| 16170 |
|
| 16171 |
* bufferPrint.cc (handleIter): handle printFlags arg |
| 16172 |
(handleMinus): handle printFlags arg |
| 16173 |
(handleDivision): handle printFlags arg |
| 16174 |
(prettyPrint): pass printFlags arg to handleIter(), handleMinus(), |
| 16175 |
handleDivision() |
| 16176 |
(prettyPrint): take printFlags arg |
| 16177 |
|
| 16178 |
* dagNodePrint.cc (computeColor, handleIter, handleMinus) |
| 16179 |
(handleDivision, prettyPrint): use getPrintFlag() |
| 16180 |
|
| 16181 |
* termPrint.cc (computeColor, handleIter, handleMinus) |
| 16182 |
(handleDivision): use getPrintFlag() |
| 16183 |
|
| 16184 |
* interpreter.hh (getPrintFlag): added |
| 16185 |
|
| 16186 |
* prettyPrint.cc (operator<<): use getPrintFlag() |
| 16187 |
|
| 16188 |
* interpreter.cc (Interpreter): init printFlags |
| 16189 |
|
| 16190 |
* interpreter.hh (endif): added decl for setPrintFlag() |
| 16191 |
|
| 16192 |
* interpreter.cc (setPrintFlag): added |
| 16193 |
|
| 16194 |
* interpreter.hh (endif): added enum PrintFlags; moved print flags |
| 16195 |
here |
| 16196 |
(endif): added data member printFlags |
| 16197 |
(getPrintFlags): added |
| 16198 |
|
| 16199 |
2005-01-04 Steven Eker <[email protected]> |
| 16200 |
|
| 16201 |
* loopMode.cc (printBubble): print unknown tokens of the form \c |
| 16202 |
with naively rather than skipping them altogther - this at least |
| 16203 |
handles _\/_ pretty printed in mixfix mode correctly |
| 16204 |
|
| 16205 |
===================================Maude86=========================================== |
| 16206 |
|
| 16207 |
2004-12-23 Steven Eker <[email protected]> |
| 16208 |
|
| 16209 |
* execute.cc (eRewrite): call clearInterrupt() after eventLoop() |
| 16210 |
exits with an interrupt |
| 16211 |
|
| 16212 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 16213 |
added decl for clearInterrupt() |
| 16214 |
|
| 16215 |
* interact.cc (clearInterrupt): added |
| 16216 |
|
| 16217 |
2004-12-22 Steven Eker <[email protected]> |
| 16218 |
|
| 16219 |
* prelude.maude: added portal <> operator; made Portal a subsort |
| 16220 |
of Configuration |
| 16221 |
|
| 16222 |
* socket.maude: removed Nat args from receive message; allowing |
| 16223 |
specification of min and max number of bytes we will deal with |
| 16224 |
seems more trouble than its worth |
| 16225 |
removed protocol family arg from createClientTcpSocket and |
| 16226 |
createServerTcpSocket; it seems unlikely we will support anything |
| 16227 |
other than IPv4 for the immediate future and we can always rewrite |
| 16228 |
outgoing messages for backwards compatibity if we go to a more |
| 16229 |
general interface |
| 16230 |
added reason arg to closedSocket message since sometimes we will |
| 16231 |
want to know if a socket closed naturally or because of a fatal |
| 16232 |
error |
| 16233 |
|
| 16234 |
2004-12-21 Steven Eker <[email protected]> |
| 16235 |
|
| 16236 |
* socket.maude: createServerTcpSocket now takes a backlog length; |
| 16237 |
acceptedClientMsg now passes back a client IP address |
| 16238 |
|
| 16239 |
* execute.cc (eRewrite): call root() to force the virtual dag to |
| 16240 |
be concretized before doing another fairRewrite() |
| 16241 |
|
| 16242 |
2004-12-20 Steven Eker <[email protected]> |
| 16243 |
|
| 16244 |
* execute.cc (eRewrite): call eventLoop() |
| 16245 |
|
| 16246 |
2004-12-15 Steven Eker <[email protected]> |
| 16247 |
|
| 16248 |
* commands.yy (command): fixed nasty bug with optDebug KW_EREWRITE |
| 16249 |
where we were failing to initialize number2 to NONE |
| 16250 |
|
| 16251 |
* execute.cc (eRewrite): call generateErewrite() rather than generateFrewrite() |
| 16252 |
|
| 16253 |
2004-12-09 Steven Eker <[email protected]> |
| 16254 |
|
| 16255 |
* prelude.maude: added _&_ : Nat Int -> Nat since anding with a |
| 16256 |
nat will remove any high order 1s |
| 16257 |
|
| 16258 |
2004-12-08 Steven Eker <[email protected]> |
| 16259 |
|
| 16260 |
* number-sorts.maude: created |
| 16261 |
|
| 16262 |
* visibleModule.cc (showPolymorphAttributes): handle metadata |
| 16263 |
|
| 16264 |
* renameModule.cc (donateOps2): handle metadata in polymorphs |
| 16265 |
|
| 16266 |
* process.cc (processOps): pass metadata to addPolymorph() |
| 16267 |
|
| 16268 |
* mixfixModule.hh (CommonTokens): updated addPolymorph() decl |
| 16269 |
(getPolymorphMetadata): added |
| 16270 |
|
| 16271 |
* entry.cc (addPolymorph): take and handle metadata arg |
| 16272 |
|
| 16273 |
* mixfixModule.hh (CommonTokens): added metadata field to struct Polymorph |
| 16274 |
|
| 16275 |
* renameModule.cc (donateOps2): copy metadata |
| 16276 |
|
| 16277 |
* command.cc (printAttributes): handle metadata |
| 16278 |
|
| 16279 |
2004-12-07 Steven Eker <[email protected]> |
| 16280 |
|
| 16281 |
* visibleModule.hh (class VisibleModule): updated decl for showAttributes() |
| 16282 |
|
| 16283 |
* visibleModule.cc (showAttributes): take declIndex rather than |
| 16284 |
decl; handle metadata |
| 16285 |
(showDecls): new showAttributes() convention |
| 16286 |
|
| 16287 |
* entry.cc (addOpDeclaration): store metadata |
| 16288 |
|
| 16289 |
* ops.cc (setMetadata): check that metadata is actually a string |
| 16290 |
|
| 16291 |
* modules.yy (attrKeyword2): added KW_METADATA |
| 16292 |
|
| 16293 |
* lexer.ll (ID_MODE): added metadata |
| 16294 |
|
| 16295 |
* top.yy: added KW_METADATA |
| 16296 |
|
| 16297 |
* preModule.hh (Parent): added decl for setMetadata() |
| 16298 |
|
| 16299 |
* ops.cc (setMetadata): added |
| 16300 |
|
| 16301 |
* modules.yy (attribute): allow metadata in operator attributes |
| 16302 |
|
| 16303 |
* preModule.cc (OpDef): initialize metadata to NONE |
| 16304 |
|
| 16305 |
* preModule.hh (Parent): added metadata field to struct OpDef |
| 16306 |
|
| 16307 |
* renameModule.cc (donateOps2): pass dummy metadata arg to |
| 16308 |
addOpDeclaration() |
| 16309 |
|
| 16310 |
* process.cc (processOps): pass metadata arg to addOpDeclaration() |
| 16311 |
|
| 16312 |
* mixfixModule.hh (CommonTokens): updated decl for |
| 16313 |
addOpDeclaration() |
| 16314 |
|
| 16315 |
* entry.cc (addOpDeclaration): added metadata arg |
| 16316 |
|
| 16317 |
* metadataStore.cc (insertMetadata): added opdecl version |
| 16318 |
(getMetadata): added opdecl version |
| 16319 |
|
| 16320 |
* metadataStore.hh (class MetadataStore): rewritten to handle |
| 16321 |
symbol/opdecls |
| 16322 |
|
| 16323 |
* prelude.maude: fixed 3 missing ctors |
| 16324 |
|
| 16325 |
===================================Maude85a=========================================== |
| 16326 |
|
| 16327 |
2004-12-06 Steven Eker <[email protected]> |
| 16328 |
|
| 16329 |
* loopMode.cc (doLoop): check AUTO_CLEAR_RULES before calling |
| 16330 |
resetRules() |
| 16331 |
|
| 16332 |
2004-12-02 Steven Eker <[email protected]> |
| 16333 |
|
| 16334 |
* prelude.maude: lift idempotence equation to TypeListSet |
| 16335 |
combined kind sets with sort sets and type sets |
| 16336 |
deleted kindSetSymbol and emptyKindSetSymbol op hooks |
| 16337 |
added EmptyTypeSet to avoid the issue of whether none belongs to |
| 16338 |
SortSet or KindSet |
| 16339 |
use ditto for TermList ctor |
| 16340 |
|
| 16341 |
2004-12-01 Steven Eker <[email protected]> |
| 16342 |
|
| 16343 |
* prelude.maude: added TypeListSets, maximalAritySet; change prec |
| 16344 |
of _;_ : SortSet SortSet-> SortSetto 43 to avoid interaction with |
| 16345 |
__ : TypeList TypeList -> TypeList |
| 16346 |
|
| 16347 |
* execute.cc (rewrite): make calling resetRules() conditional on |
| 16348 |
AUTO_CLEAR_RULES |
| 16349 |
(fRewrite, eRewrite): make calling resetRules() conditional on |
| 16350 |
AUTO_CLEAR_RULES |
| 16351 |
|
| 16352 |
* commands.yy (command): set clear counters -> set clear rls |
| 16353 |
|
| 16354 |
* top.yy: removed KW_COUNTERS |
| 16355 |
|
| 16356 |
* lexer.ll: removed counters; rule|rules synonym for rls |
| 16357 |
|
| 16358 |
* interpreter.hh (endif): AUTO_CLEAR_COUNTERS -> AUTO_CLEAR_RULES |
| 16359 |
|
| 16360 |
2004-11-30 Steven Eker <[email protected]> |
| 16361 |
|
| 16362 |
* top.yy: added KW_COUNTERS |
| 16363 |
|
| 16364 |
* lexer.ll: added counters |
| 16365 |
|
| 16366 |
* commands.yy (command): added set clear counters on/off |
| 16367 |
|
| 16368 |
* interpreter.hh (endif): added AUTO_CLEAR_COUNTERS to enum Flags; |
| 16369 |
added to DEFAULT_FLAGS |
| 16370 |
|
| 16371 |
2004-11-22 Steven Eker <[email protected]> |
| 16372 |
|
| 16373 |
* prelude.maude: added format attr to trace ctor |
| 16374 |
|
| 16375 |
2004-11-17 Steven Eker <[email protected]> |
| 16376 |
|
| 16377 |
* prelude.maude: added trace ctors; added metaSearchPath() |
| 16378 |
|
| 16379 |
2004-11-16 Steven Eker <[email protected]> |
| 16380 |
|
| 16381 |
* profileModule.cc: output a percentage for number of rewrites |
| 16382 |
|
| 16383 |
* commands.yy (command): added show search path labels <nat> . |
| 16384 |
|
| 16385 |
* interpreter.hh (endif): added decl for showSearchPathLabels() |
| 16386 |
|
| 16387 |
* lexer.ll: recognize label in initial mode |
| 16388 |
|
| 16389 |
* search.cc (showSearchPathLabels): added |
| 16390 |
|
| 16391 |
2004-10-14 Steven Eker <[email protected]> |
| 16392 |
|
| 16393 |
* diophantine.maude: diophantineSystemSolve -> natSystemSolve |
| 16394 |
|
| 16395 |
2004-09-16 Steven Eker <[email protected]> |
| 16396 |
|
| 16397 |
* dagNodePrint.cc (prettyPrint): added handling for null pointer |
| 16398 |
in debugging case |
| 16399 |
|
| 16400 |
2004-09-14 Steven Eker <[email protected]> |
| 16401 |
|
| 16402 |
* entry.cc (newFancySymbol): handle MATRIX_OP_SYMBOL |
| 16403 |
|
| 16404 |
* specialSymbolTypes.cc (MACRO): added MatrixOpSymbol |
| 16405 |
|
| 16406 |
* symbolType.hh (class SymbolType): added MATRIX_OP_SYMBOL |
| 16407 |
|
| 16408 |
2004-09-10 Steven Eker <[email protected]> |
| 16409 |
|
| 16410 |
* prelude.maude: glbSorts now defined on types |
| 16411 |
|
| 16412 |
2004-09-09 Steven Eker <[email protected]> |
| 16413 |
|
| 16414 |
* prelude.maude: made notFound and unbounded into ctors; added |
| 16415 |
TypeSet |
| 16416 |
|
| 16417 |
2004-08-26 Steven Eker <[email protected]> |
| 16418 |
|
| 16419 |
* prelude.maude: added extra decl for _/_ to solve ctor problem |
| 16420 |
|
| 16421 |
2004-08-25 Steven Eker <[email protected]> |
| 16422 |
|
| 16423 |
* prelude.maude: added PosRat to RAT to solve assoc problems with |
| 16424 |
max op decls |
| 16425 |
|
| 16426 |
2004-08-24 Steven Eker <[email protected]> |
| 16427 |
|
| 16428 |
* prelude.maude: added min and max to NAT, INT and RAT |
| 16429 |
|
| 16430 |
===================================Maude85=========================================== |
| 16431 |
|
| 16432 |
2004-08-03 Steven Eker <[email protected]> |
| 16433 |
|
| 16434 |
* commands.yy (command): handle erewrite |
| 16435 |
|
| 16436 |
* interpreter.hh (endif): added decls for eRewrite() and |
| 16437 |
eRewriteCont() |
| 16438 |
|
| 16439 |
* maudemlBuffer.hh (class MaudemlBuffer): added decl for |
| 16440 |
generateErewrite() |
| 16441 |
|
| 16442 |
* maudemlBuffer.cc (generateErewrite): added |
| 16443 |
|
| 16444 |
* execute.cc (eRewrite): added |
| 16445 |
(eRewriteCont): added |
| 16446 |
|
| 16447 |
2004-07-12 Steven Eker <[email protected]> |
| 16448 |
|
| 16449 |
* entry.cc (newFancySymbol): handle SocketManagerSymbol rather |
| 16450 |
than SystemSymbol |
| 16451 |
|
| 16452 |
* symbolType.hh (class SymbolType): SYSTEM_SYMBOL replaced by |
| 16453 |
SOCKET_MANAGER_SYMBOL |
| 16454 |
|
| 16455 |
* specialSymbolTypes.cc (MACRO): SystemSymbol replaced by |
| 16456 |
SocketManagerSymbol |
| 16457 |
|
| 16458 |
2004-07-09 Steven Eker <[email protected]> |
| 16459 |
|
| 16460 |
* entry.cc (newFancySymbol): handle SYSTEM_SYMBOL |
| 16461 |
|
| 16462 |
* specialSymbolTypes.cc (MACRO): added SYSTEM_SYMBOL |
| 16463 |
|
| 16464 |
* symbolType.hh (class SymbolType): added SYSTEM_SYMBOL |
| 16465 |
|
| 16466 |
2004-06-29 Steven Eker <[email protected]> |
| 16467 |
|
| 16468 |
* prelude.maude: make module selectors work on theories |
| 16469 |
|
| 16470 |
===================================Maude84d=========================================== |
| 16471 |
|
| 16472 |
2004-06-15 Steven Eker <[email protected]> |
| 16473 |
|
| 16474 |
* renaming.cc (typeMatch): fixed bug where we weren't catching the |
| 16475 |
case where the arities differed |
| 16476 |
|
| 16477 |
2004-06-03 Steven Eker <[email protected]> |
| 16478 |
|
| 16479 |
* entry.cc (newFancySymbol): added case for CounterSymbol |
| 16480 |
|
| 16481 |
* specialSymbolTypes.cc (MACRO): added CounterSymbol |
| 16482 |
|
| 16483 |
* symbolType.hh (class SymbolType): added COUNTER_SYMBOL |
| 16484 |
|
| 16485 |
2004-06-02 Steven Eker <[email protected]> |
| 16486 |
|
| 16487 |
* main.cc (main): handle -random-seed= flag |
| 16488 |
(printHelp): added lines for -random-seed= and -xml-log= flags |
| 16489 |
|
| 16490 |
* entry.cc (newFancySymbol): added case for RandomOpSymbol |
| 16491 |
|
| 16492 |
* specialSymbolTypes.cc (MACRO): added RandomOpSymbol |
| 16493 |
|
| 16494 |
* symbolType.hh (class SymbolType): added RANDOM_OP_SYMBOL |
| 16495 |
|
| 16496 |
2004-06-01 Steven Eker <[email protected]> |
| 16497 |
|
| 16498 |
* prelude.maude: added fmod RANDOM |
| 16499 |
|
| 16500 |
===================================Maude84c=========================================== |
| 16501 |
|
| 16502 |
2004-05-25 Steven Eker <[email protected]> |
| 16503 |
|
| 16504 |
* import.cc (getModule): don't fall into mutually recursive import |
| 16505 |
warning |
| 16506 |
|
| 16507 |
* fixUp.cc (fixUpSymbols): added check for missing identity |
| 16508 |
|
| 16509 |
* ops.cc (setIdentity): check for missing identity |
| 16510 |
(setIdentity): unmade change - parser never calls this function |
| 16511 |
with an empty bubble! |
| 16512 |
|
| 16513 |
2004-05-24 Steven Eker <[email protected]> |
| 16514 |
|
| 16515 |
* mixfixModule.cc (fixUpBubbleSpec): pass qidSymbol as a Symbol* |
| 16516 |
and check it |
| 16517 |
|
| 16518 |
* fixUp.cc (fixUpSymbols): use new fixUpBubbleSpec() convention |
| 16519 |
|
| 16520 |
* mixfixModule.hh (CommonTokens): updated decl for |
| 16521 |
fixUpBubbleSpec() |
| 16522 |
|
| 16523 |
* fixUp.cc (fixUpSymbols): use dynamic_cast<> instead of |
| 16524 |
safeCast() |
| 16525 |
|
| 16526 |
* mixfixModule.cc (fixUpBubbleSpec): check for missing symbols |
| 16527 |
|
| 16528 |
2004-05-19 Steven Eker <[email protected]> |
| 16529 |
|
| 16530 |
* fixUp.cc (fixUpSymbols): use safeCast() |
| 16531 |
(findHookSymbol): rewritten to avoid running of the end of the |
| 16532 |
Vector if the hook has bad syntax |
| 16533 |
|
| 16534 |
* entry.cc (addOpDeclaration): added warnings for ad hoc |
| 16535 |
overloaded operators that have same domain but different ranges |
| 16536 |
|
| 16537 |
2004-05-18 Steven Eker <[email protected]> |
| 16538 |
|
| 16539 |
* prelude.maude: changed definition of ['FOO] so that it works |
| 16540 |
with theories |
| 16541 |
|
| 16542 |
* importModule.hh (class ImportModule): updated decl for |
| 16543 |
|
| 16544 |
* importModule.cc (addImport): pass lineNumber by value |
| 16545 |
addImport() |
| 16546 |
|
| 16547 |
2004-05-17 Steven Eker <[email protected]> |
| 16548 |
|
| 16549 |
* commands.yy (importMode): ModuleDatabase -> ImportModule (3 |
| 16550 |
places) |
| 16551 |
|
| 16552 |
* moduleCache.cc (makeSummation): use new addImport() conventions |
| 16553 |
|
| 16554 |
* import.cc (processImports): rewritten to use new addImport() |
| 16555 |
conventions |
| 16556 |
|
| 16557 |
* moduleDatabase.cc (setAutoImport): ImportMode now belongs to |
| 16558 |
ImportModule |
| 16559 |
|
| 16560 |
* moduleDatabase.hh (class ModuleDatabase): deleted enum |
| 16561 |
ImportMode |
| 16562 |
|
| 16563 |
* importModule.hh (class ImportModule): added enum ImportMode; |
| 16564 |
updated decl for addImport() |
| 16565 |
|
| 16566 |
* importModule.cc (addImport): take mode and lineNumber; do |
| 16567 |
importation checks here |
| 16568 |
|
| 16569 |
* prelude.maude: added thSymbol and fthSymbol |
| 16570 |
|
| 16571 |
* import.cc (processImports): added warnings for violation of |
| 16572 |
importation rules by automatic imports |
| 16573 |
|
| 16574 |
* modules.yy (declaration): use moduleExprDot |
| 16575 |
(moduleExprDot): added |
| 16576 |
(moduleExprDot): added |
| 16577 |
(mapping): use sortToken rather than token for sort mappings; use |
| 16578 |
token rather than identifier for label mappings |
| 16579 |
|
| 16580 |
2004-05-12 Steven Eker <[email protected]> |
| 16581 |
|
| 16582 |
* top.yy: added decl for endsInDot |
| 16583 |
|
| 16584 |
* modules.yy (endStatement): added |
| 16585 |
(endsInDot): added |
| 16586 |
(endToken): redefined to eliminate ENDS_IN_DOT |
| 16587 |
(endTokens): endsInDot replaces '.' (2 places) |
| 16588 |
(tokenBarDot): redefined to eliminate ENDS_IN_DOT |
| 16589 |
(endStatement): use dot |
| 16590 |
|
| 16591 |
* top.yy: deleted decl for tokenBarLt |
| 16592 |
|
| 16593 |
* modules.yy (subsortList): added |
| 16594 |
(listBarLt): deleted |
| 16595 |
(listBarDot): deleted |
| 16596 |
(typeAttr): added |
| 16597 |
(domainRangeAttr): use typeAttr |
| 16598 |
(typeDot): added |
| 16599 |
(badType): added |
| 16600 |
(typeAttr): use badType |
| 16601 |
(tokenBarLt): deleted |
| 16602 |
|
| 16603 |
* token.cc (dropChar): added |
| 16604 |
|
| 16605 |
* modules.yy (identifier): added ENDS_IN_DOT |
| 16606 |
(tokenBarColonTo): added ENDS_IN_DOT |
| 16607 |
(tokenBarCommaLeft): added ENDS_IN_DOT |
| 16608 |
(sortToken): rule out ENDS_IN_DOT and , |
| 16609 |
(sortTokenList): added |
| 16610 |
(dot): added to try to recover from missing space |
| 16611 |
|
| 16612 |
* lexer.ll (id): added decl for ENDS_IN_DOT |
| 16613 |
|
| 16614 |
* top.yy: added ENDS_IN_DOT |
| 16615 |
|
| 16616 |
2004-05-11 Steven Eker <[email protected]> |
| 16617 |
|
| 16618 |
* import.cc (processImports): check to see that theories are only |
| 16619 |
imported using the including mode |
| 16620 |
(processImports): check that module types are legal for import |
| 16621 |
|
| 16622 |
* mixfixModule.hh (CommonTokens): added enum Bits |
| 16623 |
(isTheory): added |
| 16624 |
(canImport): added |
| 16625 |
|
| 16626 |
* preModule.cc (addStatement): check for rules in functional |
| 16627 |
theory/module |
| 16628 |
|
| 16629 |
* preModule.hh (Parent): added decl for compatible() |
| 16630 |
|
| 16631 |
* preModule.cc (PreModule): init startTokenCode |
| 16632 |
(compatible): added |
| 16633 |
(finishModule): use compatible() |
| 16634 |
|
| 16635 |
* preModule.hh (Parent): added data member startTokenCode |
| 16636 |
|
| 16637 |
* modules.yy (startModule): added |
| 16638 |
|
| 16639 |
* lexer.ll: seperated out omod |
| 16640 |
|
| 16641 |
* top.yy: put KW_OMOD back |
| 16642 |
added nonterminal startModule |
| 16643 |
|
| 16644 |
* preModule.cc (PreModule): handle start token |
| 16645 |
|
| 16646 |
* commonTokens.cc (CommonTokens): added th fth mod fmod omod obj |
| 16647 |
endth endfth endm endfm endom endo jbo |
| 16648 |
|
| 16649 |
* commonTokens.hh (class CommonTokens): added th fth mod fmod omod |
| 16650 |
obj endth endfth endm endfm endom endo jbo |
| 16651 |
|
| 16652 |
* preModule.hh (Parent): updated decls for ctor and finishModule() |
| 16653 |
|
| 16654 |
* modules.yy (startKeyword2): deleted KW_ENDTH KW_ENDFTH KW_ENDFM |
| 16655 |
KW_ENDOM |
| 16656 |
|
| 16657 |
* top.yy: deleted KW_ENDTH KW_ENDFTH KW_ENDFM KW_ENDOM KW_TH |
| 16658 |
KW_FTH KW_FMOD KW_OMOD |
| 16659 |
|
| 16660 |
* lexer.ll: merged th fth fmod omod into mod; merged endth endfth |
| 16661 |
endfm into endm |
| 16662 |
|
| 16663 |
* modules.yy: deleted productions for endfm notEndfm endm |
| 16664 |
notEndm endom notEndom |
| 16665 |
(module): simplified to a single production |
| 16666 |
(oDecList): deleted |
| 16667 |
(fDecList): deleted |
| 16668 |
(declaration): merged with fDeclaration and oDeclaration |
| 16669 |
|
| 16670 |
* top.yy: deleted nonterminals notEndfm notEndm notEndom |
| 16671 |
|
| 16672 |
* modules.yy (startKeyword2): added KW_ENDTH KW_ENDFTH |
| 16673 |
|
| 16674 |
* top.yy: added KW_TH KW_FTH KW_ENDTH KW_ENDFTH |
| 16675 |
|
| 16676 |
* lexer.ll (id): added keywords th fth endth endfth |
| 16677 |
|
| 16678 |
2004-05-07 Steven Eker <[email protected]> |
| 16679 |
|
| 16680 |
* ops.cc (setIdentity): added check for empty identity; didn't |
| 16681 |
fix our proble though since we never get here with an empy |
| 16682 |
identity; reverted change |
| 16683 |
|
| 16684 |
===================================Maude84b=========================================== |
| 16685 |
|
| 16686 |
2004-04-27 Steven Eker <[email protected]> |
| 16687 |
|
| 16688 |
* command.cc (showModule): use moduleEndString() |
| 16689 |
|
| 16690 |
* visibleModule.cc (showModule): use moduleEndString() |
| 16691 |
|
| 16692 |
* mixfixModule.cc (moduleEndString): added |
| 16693 |
|
| 16694 |
* mixfixModule.hh (CommonTokens): added decl for moduleEndString() |
| 16695 |
|
| 16696 |
* moduleCache.cc (showCreatedModules): use moduleTypeString() |
| 16697 |
|
| 16698 |
* moduleDatabase.cc (showNamedModules): use moduleTypeString() |
| 16699 |
|
| 16700 |
* command.cc (showModule): use moduleTypeString() |
| 16701 |
|
| 16702 |
* mixfixModule.cc (moduleTypeString): added |
| 16703 |
|
| 16704 |
* mixfixModule.hh (CommonTokens): added FUNCTIONAL_THEORY and |
| 16705 |
SYSTEM_THEORY to enum ModuleType |
| 16706 |
(CommonTokens): added decl for moduleTypeString() |
| 16707 |
|
| 16708 |
* import.cc (processImports): use new autoImports |
| 16709 |
|
| 16710 |
* preModule.hh (Parent): data member autoImports becomes a |
| 16711 |
ModuleDatabase::ImportMap |
| 16712 |
(getAutoImport): becomes getAutoImports() |
| 16713 |
(getNrAutoImports): deleted |
| 16714 |
|
| 16715 |
* preModule.cc (finishModule): use getAutoImports() in place of |
| 16716 |
getIncludes() |
| 16717 |
|
| 16718 |
* moduleDatabase.cc (setAutoImport): use autoImports instead of |
| 16719 |
defaultIncludes |
| 16720 |
|
| 16721 |
* moduleDatabase.hh (class ModuleDatabase): added ImportMap |
| 16722 |
typedef; getIncludes() becomes getAutoImports(); data member |
| 16723 |
defaultIncludes becomes autoImports |
| 16724 |
(getAutoImports): replaces getIncludes() |
| 16725 |
|
| 16726 |
* prelude.maude: set include BOOL becomes set protect BOOL |
| 16727 |
|
| 16728 |
* moduleDatabase.cc (setInclude): becomes setAutoImport() |
| 16729 |
|
| 16730 |
* moduleDatabase.hh (class ModuleDatabase): setInclude() becomes |
| 16731 |
setAutoImport() |
| 16732 |
|
| 16733 |
* top.yy: added yyImportMode to union |
| 16734 |
|
| 16735 |
* commands.yy (importMode): added |
| 16736 |
(command): use setAutoImport() |
| 16737 |
|
| 16738 |
* moduleDatabase.hh (class ModuleDatabase): added enum ImportMode |
| 16739 |
|
| 16740 |
* top.yy: added tokens KW_PROTECT and KW_EXTEND |
| 16741 |
|
| 16742 |
* lexer.ll: added keywords protect and extend |
| 16743 |
|
| 16744 |
===================================Maude84a=========================================== |
| 16745 |
|
| 16746 |
2004-03-10 Steven Eker <[email protected]> |
| 16747 |
|
| 16748 |
* modules.yy (fDeclaration): fixed nasty bug where we were not |
| 16749 |
popping the final module expression from the stack with the result |
| 16750 |
that syntax errors caused the deletion of live module expressions |
| 16751 |
via cleanUpModuleExpression() with resulting memory corruption |
| 16752 |
|
| 16753 |
2004-03-03 Steven Eker <[email protected]> |
| 16754 |
|
| 16755 |
* prelude.maude: strats for _and-then_ and _or-else_ become (1 0) |
| 16756 |
|
| 16757 |
2004-02-27 Steven Eker <[email protected]> |
| 16758 |
|
| 16759 |
* main.cc (main): added -no-banner option |
| 16760 |
(printHelp): added -no-banner option |
| 16761 |
|
| 16762 |
* interpreter.cc: removed extern ModuleCache moduleCache hack |
| 16763 |
|
| 16764 |
* import.cc: deleted moduleCache global variable |
| 16765 |
(processImports): use interpreter instead of moduleCache |
| 16766 |
|
| 16767 |
* interpreter.cc (showModules): don't use moduleCache |
| 16768 |
|
| 16769 |
* interpreter.hh (endif): inherit from ModuleCache |
| 16770 |
|
| 16771 |
* interpreter.cc (showModules): use showCreatedModules() |
| 16772 |
|
| 16773 |
* moduleCache.cc (showModules): becomes showCreatedModules() |
| 16774 |
|
| 16775 |
* moduleCache.hh (Parent): showModules() -> showCreatedModules() |
| 16776 |
|
| 16777 |
* mixfixModule.cc (copyPolymorph): deleted |
| 16778 |
|
| 16779 |
* mixfixModule.hh (CommonTokens): deleted commented out decl for |
| 16780 |
copyPolymorph() |
| 16781 |
|
| 16782 |
===================================Maude84=========================================== |
| 16783 |
|
| 16784 |
2004-02-25 Steven Eker <[email protected]> |
| 16785 |
|
| 16786 |
* commands.yy (command): remove show all modules . as it conflicts |
| 16787 |
with show all <mod name> . |
| 16788 |
|
| 16789 |
* interpreter.cc (showModules): use showNamedModules() |
| 16790 |
|
| 16791 |
* moduleDatabase.cc (showModules): renamed to showNamedModules() |
| 16792 |
|
| 16793 |
* moduleDatabase.hh (class ModuleDatabase): showModules() -> |
| 16794 |
showNamedModules() |
| 16795 |
|
| 16796 |
* commands.yy (command): added commands show modules . and show |
| 16797 |
all modules . |
| 16798 |
|
| 16799 |
* top.yy: added KW_MODULES |
| 16800 |
|
| 16801 |
* lexer.ll: added keyword modules |
| 16802 |
|
| 16803 |
* moduleDatabase.hh (class ModuleDatabase): added decl for showModules() |
| 16804 |
|
| 16805 |
* moduleDatabase.cc (showModules): added |
| 16806 |
|
| 16807 |
* preModule.hh (getModuleType): added |
| 16808 |
|
| 16809 |
* moduleCache.hh (Parent): adde decl for showModules |
| 16810 |
|
| 16811 |
* moduleCache.cc (showModules): added |
| 16812 |
|
| 16813 |
* interpreter.hh (endif): added decl for showModules() |
| 16814 |
|
| 16815 |
* interpreter.cc (showModules): added |
| 16816 |
|
| 16817 |
2004-02-24 Steven Eker <[email protected]> |
| 16818 |
|
| 16819 |
* modules.yy (fDeclaration): added call to |
| 16820 |
cleanUpModuleExpression() |
| 16821 |
|
| 16822 |
* top.yy: added forward decl for cleanUpModuleExpression() |
| 16823 |
|
| 16824 |
* bottom.yy (cleanUpModuleExpression): added |
| 16825 |
|
| 16826 |
* moduleCache.cc (makeRenamedCopy): fixed bug where we were |
| 16827 |
forgetting to delete the canonical renaming that we made if the |
| 16828 |
module we wanted was in cache |
| 16829 |
|
| 16830 |
* top.yy: use explicit stack to hold module expressions; updated |
| 16831 |
%union; fixed + vs * prec bug |
| 16832 |
|
| 16833 |
* modules.yy (moduleExpr): rewritten so that module expression |
| 16834 |
pointers are stored on an explicit stack rather than the bison |
| 16835 |
stack; this allows us to free memory after an error |
| 16836 |
(renaming): same trick as above |
| 16837 |
(fDeclaration): new module expression conventions |
| 16838 |
|
| 16839 |
* mixfixModule.cc (findSymbol): check that true and false are in |
| 16840 |
the same connected component before trying to make a sort test |
| 16841 |
|
| 16842 |
* makeGrammar.cc (makeBoolProductions): check that true and false |
| 16843 |
are in the same connected component before adding syntax for sort |
| 16844 |
tests |
| 16845 |
|
| 16846 |
* entry.cc (addOpDeclaration): check for duplicate SystemTrue and |
| 16847 |
SystemFalse symbols |
| 16848 |
|
| 16849 |
2004-02-23 Steven Eker <[email protected]> |
| 16850 |
|
| 16851 |
* fixUp.cc (fixUpSymbols): check for identity clash between |
| 16852 |
dupicate polymorphic operators |
| 16853 |
|
| 16854 |
* entry.cc (addPolymorph): check for dups |
| 16855 |
|
| 16856 |
* mixfixModule.hh (CommonTokens): added decl for domainAndRangeMatch() |
| 16857 |
(CommonTokens): updated decl for findPolymorphIndex() |
| 16858 |
|
| 16859 |
* mixfixModule.cc (findPolymorphIndex): handle domain and range argument |
| 16860 |
(domainAndRangeMatch): added |
| 16861 |
|
| 16862 |
* renameModule.cc (fixUpDonatedOps2): rewrote polymorph fixup code |
| 16863 |
to handle distinct polymorphs with the same name |
| 16864 |
|
| 16865 |
2004-02-20 Steven Eker <[email protected]> |
| 16866 |
|
| 16867 |
* import.cc (processImports): call destructUnusedModules() |
| 16868 |
|
| 16869 |
* moduleCache.cc: (destructUnusedModules): added |
| 16870 |
|
| 16871 |
* importModule.hh (hasDependents): added |
| 16872 |
|
| 16873 |
* moduleCache.hh (Parent): added decl for destructUnusedModules() |
| 16874 |
|
| 16875 |
2004-02-17 Steven Eker <[email protected]> |
| 16876 |
|
| 16877 |
* prelude.maude: added metasyntax and hooks for summation and |
| 16878 |
renaming |
| 16879 |
|
| 16880 |
* moduleExpression.cc (deepSelfDestruct): can't assume module |
| 16881 |
member is valid unless we are a renaming |
| 16882 |
|
| 16883 |
* preModule.hh (Parent): deleted decl for importModule() |
| 16884 |
|
| 16885 |
* import.cc (processImports): use getModule() |
| 16886 |
(makeModule): rewritten using getModule() |
| 16887 |
(importModule): deleted |
| 16888 |
|
| 16889 |
* moduleExpression.cc (ModuleExpression): store module name as a |
| 16890 |
token |
| 16891 |
(operator<<): new getModuleName() semantics |
| 16892 |
|
| 16893 |
* moduleExpression.hh (class ModuleExpression): moduleName becomes |
| 16894 |
a token in order to have line number |
| 16895 |
(getModuleName): updated return type |
| 16896 |
|
| 16897 |
* import.cc (getModule): added |
| 16898 |
|
| 16899 |
* moduleCache.cc (makeSummation): compute correct module type |
| 16900 |
using join() |
| 16901 |
|
| 16902 |
* mixfixModule.hh (join): added |
| 16903 |
|
| 16904 |
2004-02-13 Steven Eker <[email protected]> |
| 16905 |
|
| 16906 |
* importModule.hh (class ImportModule): added decl for dtor |
| 16907 |
|
| 16908 |
* importModule.cc (~ImportModule): added |
| 16909 |
|
| 16910 |
* preModule.cc (PreModule): use deepSelfDestruct() |
| 16911 |
|
| 16912 |
* moduleExpression.cc (deepSelfDestruct): added |
| 16913 |
|
| 16914 |
* moduleExpression.hh (class ModuleExpression): added decl for |
| 16915 |
deepSelfDestruct() |
| 16916 |
|
| 16917 |
* import.cc (makeModule): handle list<> for summations |
| 16918 |
|
| 16919 |
* moduleExpression.cc (ModuleExpression): handle flattening of |
| 16920 |
nested summations |
| 16921 |
(operator<<): handle list<> for summations |
| 16922 |
|
| 16923 |
* moduleExpression.hh (class ModuleExpression): store summations |
| 16924 |
as a list<> |
| 16925 |
|
| 16926 |
2004-02-11 Steven Eker <[email protected]> |
| 16927 |
|
| 16928 |
* import.cc (makeModule): use ModuleCache version of |
| 16929 |
makeRenamedCopy() |
| 16930 |
|
| 16931 |
* importModule.hh (class ImportModule): deleted decls for |
| 16932 |
makeSummation() and moduleCompare() |
| 16933 |
|
| 16934 |
* renameModule.cc (makeSummation): deleted |
| 16935 |
(moduleCompare): deleted |
| 16936 |
|
| 16937 |
* importModule.hh (class ImportModule): updated decl for |
| 16938 |
makeRenamedCopy() |
| 16939 |
|
| 16940 |
* renameModule.cc (makeRenamedCopy): rewritten using new conventions |
| 16941 |
|
| 16942 |
* mixfix.hh: added class ModuleCache |
| 16943 |
|
| 16944 |
* import.cc (makeModule): use ModuleCache version of makeSummation() |
| 16945 |
|
| 16946 |
* moduleCache.hh: created |
| 16947 |
|
| 16948 |
* moduleCache.cc: created |
| 16949 |
|
| 16950 |
* renameModule.cc (makeRenamedCopy): copy becomes one of our |
| 16951 |
dependent modules |
| 16952 |
|
| 16953 |
* importModule.cc (deepSelfDestruct): remove self from dependent |
| 16954 |
modules of baseModule |
| 16955 |
|
| 16956 |
2004-02-09 Steven Eker <[email protected]> |
| 16957 |
|
| 16958 |
* import.cc (makeModule): check for recursive imports |
| 16959 |
|
| 16960 |
* preModule.hh (Parent): added decl for makeModule() |
| 16961 |
|
| 16962 |
* import.cc (processImports): rewritten to use makeModule() |
| 16963 |
(makeModule): added |
| 16964 |
|
| 16965 |
2004-02-06 Steven Eker <[email protected]> |
| 16966 |
|
| 16967 |
* importModule.hh (class ImportModule): added decls for |
| 16968 |
makeSummation() and moduleCompare() |
| 16969 |
|
| 16970 |
* renameModule.cc (makeSummation): added |
| 16971 |
(moduleCompare): added |
| 16972 |
|
| 16973 |
2004-02-05 Steven Eker <[email protected]> |
| 16974 |
|
| 16975 |
* renameModule.cc (makeRenamedCopy): crude first attempt at |
| 16976 |
caching |
| 16977 |
|
| 16978 |
* userLevelRewritingContext.cc (printSubstitution): added |
| 16979 |
DebugAdvisory() |
| 16980 |
|
| 16981 |
* renaming.cc (makeCanonicalName): handle attributes |
| 16982 |
|
| 16983 |
* renaming.hh (class Renaming): added decl for makeTypeName() |
| 16984 |
|
| 16985 |
* renaming.cc (makeTypeName): added |
| 16986 |
|
| 16987 |
* renameModule.cc (makeRenamedCopy): new makeCanonicalName() |
| 16988 |
convention |
| 16989 |
|
| 16990 |
* renaming.cc (makeCanonicalVersion): fix same bug in polymorph |
| 16991 |
case |
| 16992 |
(makeCanonicalName): handle labels and op mappings |
| 16993 |
|
| 16994 |
* renameModule.cc (makeRenamedCopy): use makeCanonicalName() |
| 16995 |
|
| 16996 |
* renaming.cc (makeCanonicalName): added |
| 16997 |
|
| 16998 |
* renaming.hh (class Renaming): added decl for makeCanonicalName() |
| 16999 |
|
| 17000 |
* renaming.cc (makeCanonicalVersion): fix bug where we could |
| 17001 |
potentially miss an operator renaming by using upper_bound() and |
| 17002 |
lower_bound() instead of end() and find() |
| 17003 |
|
| 17004 |
2004-02-04 Steven Eker <[email protected]> |
| 17005 |
|
| 17006 |
* importModule.cc (donateStatements2): use translateLabel() |
| 17007 |
|
| 17008 |
* importTranslation.hh (class ImportTranslation): added decl for |
| 17009 |
translateLabel() |
| 17010 |
|
| 17011 |
* importTranslation.cc (translateLabel): added |
| 17012 |
|
| 17013 |
* importModule.hh (getLabels): added |
| 17014 |
|
| 17015 |
* renaming.cc: handle labels |
| 17016 |
|
| 17017 |
* renameModule.cc (localStatementsComplete): moved here |
| 17018 |
|
| 17019 |
* importModule.cc (localStatementsComplete): handle labels and |
| 17020 |
label renaming |
| 17021 |
|
| 17022 |
* importModule.hh (class ImportModule): added data member labels |
| 17023 |
|
| 17024 |
2004-02-03 Steven Eker <[email protected]> |
| 17025 |
|
| 17026 |
* importModule.cc (fixUpDonatedOps): use fixUpDonatedOps2() |
| 17027 |
|
| 17028 |
* importModule.hh (class ImportModule): fixUpRenamedOps() decl -> |
| 17029 |
fixUpDonatedOps2() |
| 17030 |
|
| 17031 |
* renameModule.cc (localSort2): renamed from localSort() |
| 17032 |
(localSort): added version that handles kinds |
| 17033 |
(donateSorts2): use localSort2() |
| 17034 |
(fixUpDonatedOps2): renamed from fixUpRenamedOps() |
| 17035 |
(fixUpDonatedOps2): fix Vector<Symbol*> copy bug |
| 17036 |
(fixUpDonatedOps2): handle polymorphs in fully general way |
| 17037 |
(makeRenamedCopy): use fixUpDonatedOps2() |
| 17038 |
|
| 17039 |
2004-02-02 Steven Eker <[email protected]> |
| 17040 |
|
| 17041 |
* importModule.cc (donateOps): use donateOps2() |
| 17042 |
|
| 17043 |
* importModule.hh (class ImportModule): decl for |
| 17044 |
donateRenamedOps() becomes donateOps2() |
| 17045 |
|
| 17046 |
* renameModule.cc (donateRenamedOps): deleted renameTranslation |
| 17047 |
local variable |
| 17048 |
(donateRenamedOps): use localSort() (2 places) |
| 17049 |
(donateRenamedOps): Warning for imports from multiple places |
| 17050 |
without a common ancestor downgraded to an advisory |
| 17051 |
(donateRenamedOps): fix nasty bug where we were accidentally |
| 17052 |
copying Vector of symbol pointers |
| 17053 |
(donateRenamedOps): renamed to donateOps2() |
| 17054 |
(makeRenamedCopy): donateRenamedOps() -> donateOps2() |
| 17055 |
|
| 17056 |
* importModule.hh (class ImportModule): findSort() -> localSort() |
| 17057 |
|
| 17058 |
* renameModule.cc (donateRenamedStatements): deleted |
| 17059 |
(findSort): renamed to localSort() |
| 17060 |
(donateSorts2): findSort() -> localSort() |
| 17061 |
|
| 17062 |
* importModule.hh (class ImportModule): repaced decl for |
| 17063 |
findSort() |
| 17064 |
donateRenamedSorts() with donateSorts2(); added decl for |
| 17065 |
(class ImportModule): deleted decl for donateRenamedStatements() |
| 17066 |
|
| 17067 |
* renameModule.cc (makeRenamedCopy): use donateSorts2() |
| 17068 |
|
| 17069 |
* importModule.cc (donateSorts): use donateSorts2() |
| 17070 |
|
| 17071 |
* renameModule.cc (makeRenamedCopy): don't call |
| 17072 |
donateRenamedStatements() |
| 17073 |
(donateRenamedSorts): becomes donateSorts2(); handle null renaming |
| 17074 |
correctly; issue advisory rather than warning for dup sort |
| 17075 |
(findSort): added |
| 17076 |
|
| 17077 |
* importTranslation.cc (ImportTranslation): use push(), take |
| 17078 |
renaming argument |
| 17079 |
(translate): rewrote all 3 versions so that we can handle imports |
| 17080 |
of symbols into renamed modules for fixups |
| 17081 |
|
| 17082 |
* importTranslation.hh (class ImportTranslation): deleted data |
| 17083 |
member importer; updated decl for ctor |
| 17084 |
|
| 17085 |
2004-01-30 Steven Eker <[email protected]> |
| 17086 |
|
| 17087 |
* importTranslation.hh (class ImportTranslation): added decl for |
| 17088 |
static version of translate() |
| 17089 |
|
| 17090 |
* importTranslation.cc (translate): added static version |
| 17091 |
|
| 17092 |
* importModule.cc (donateStatements2): use |
| 17093 |
ImportTranslation::push() |
| 17094 |
|
| 17095 |
* importTranslation.cc (ImportTranslation): no intialization for |
| 17096 |
renamings |
| 17097 |
(translate): use new definition for renamings |
| 17098 |
|
| 17099 |
* importTranslation.hh (push): added |
| 17100 |
(class ImportTranslation): updated data member renamings; added |
| 17101 |
data member targets; upated decl for ImportTranslation() |
| 17102 |
|
| 17103 |
2004-01-29 Steven Eker <[email protected]> |
| 17104 |
|
| 17105 |
* renameModule.cc (makeRenamedCopy): set canonicalRenaming and |
| 17106 |
baseModule |
| 17107 |
|
| 17108 |
* importModule.cc (donateStatements): use donateStatements2() |
| 17109 |
(ImportModule): initialize canonicalRenaming and baseModule |
| 17110 |
|
| 17111 |
* importModule.hh (class ImportModule): added decl for |
| 17112 |
donateStatements2(); added data members canonicalRenaming and |
| 17113 |
baseModule |
| 17114 |
|
| 17115 |
* importModule.cc (donateStatements2): added |
| 17116 |
|
| 17117 |
* renameModule.cc (fixUpRenamedOps): don't use firstPolymorphCopy |
| 17118 |
(donateRenamedOps): don't set firstPolymorphCopy |
| 17119 |
|
| 17120 |
* importModule.hh (class ImportModule): deleted data member |
| 17121 |
firstPolymorphCopy |
| 17122 |
|
| 17123 |
* importModule.cc (donateOps): don't set firstPolymorphCopy |
| 17124 |
(fixUpDonatedOps): use findPolymorphIndex() rather than |
| 17125 |
firstPolymorphCopy |
| 17126 |
|
| 17127 |
* mixfixModule.hh (CommonTokens): added decl for |
| 17128 |
findPolymorphIndex() |
| 17129 |
|
| 17130 |
* mixfixModule.cc (findPolymorphIndex): added |
| 17131 |
|
| 17132 |
* mixfixModule.hh (findIterSymbolIndex): made const |
| 17133 |
|
| 17134 |
2004-01-28 Steven Eker <[email protected]> |
| 17135 |
|
| 17136 |
* importModule.hh (class ImportModule): deleted data member |
| 17137 |
responsibleForFixUp |
| 17138 |
|
| 17139 |
* renameModule.cc (donateRenamedOps): don't initialize or fill out |
| 17140 |
the responsibleForFixUp set |
| 17141 |
(fixUpRenamedOps): rewritten to avoid needing the |
| 17142 |
responsibleForFixUp set |
| 17143 |
|
| 17144 |
* importModule.cc (fixUpDonatedOps): rewritten to avoid needing |
| 17145 |
the responsibleForFixUp set |
| 17146 |
(donateOps): don't initialize or fill out the responsibleForFixUp |
| 17147 |
set |
| 17148 |
|
| 17149 |
2004-01-27 Steven Eker <[email protected]> |
| 17150 |
|
| 17151 |
* renameModule.cc (donateRenamedOps): handle bubbles |
| 17152 |
(fixUpRenamedOps): new copyFixUpBubbleSpec() convention |
| 17153 |
|
| 17154 |
* importModule.cc (donateOps): new copyBubbleSpec() convention |
| 17155 |
(fixUpDonatedOps): new copyFixUpBubbleSpec() convention |
| 17156 |
|
| 17157 |
* mixfixModule.hh (CommonTokens): updated decls for |
| 17158 |
copyBubbleSpec() and copyFixUpBubbleSpec() |
| 17159 |
|
| 17160 |
* mixfixModule.cc (copyFixUpBubbleSpec): rewritten with new |
| 17161 |
semantics to allow incremental/multiple fixups |
| 17162 |
(copyBubbleSpec): rewritten with new semantics; also fix a nasty |
| 17163 |
bug where we were copying the bubble spec from the wrong module |
| 17164 |
|
| 17165 |
2004-01-26 Steven Eker <[email protected]> |
| 17166 |
|
| 17167 |
* renameModule.cc (donateRenamedOps): removed static stuff for |
| 17168 |
cleanliness |
| 17169 |
(fixUpRenamedOps): implemented |
| 17170 |
|
| 17171 |
* renaming.cc (makeCanonicalVersion): fixed bug where we had to |
| 17172 |
test for whether we had already added a generic op renaming the |
| 17173 |
wrong way around. |
| 17174 |
|
| 17175 |
* renameModule.cc (donateRenamedOps): handle polymorphs |
| 17176 |
|
| 17177 |
* renaming.hh (class Renaming): added decl for renamePolymorph() |
| 17178 |
|
| 17179 |
* renaming.cc (makeCanonicalVersion): handle polymorphs |
| 17180 |
(renamePolymorph): added |
| 17181 |
|
| 17182 |
2004-01-23 Steven Eker <[email protected]> |
| 17183 |
|
| 17184 |
* renameModule.cc (donateRenamedOps): use assignFlags() (4 places) |
| 17185 |
(donateRenamedOps): use gather.clear() |
| 17186 |
|
| 17187 |
* symbolType.hh (assignFlags): added |
| 17188 |
|
| 17189 |
2003-12-23 Steven Eker <[email protected]> |
| 17190 |
|
| 17191 |
* renameModule.cc (makeRenamedCopy): use makeCanonicalVersion() |
| 17192 |
|
| 17193 |
* renaming.hh (class Renaming): added decl for setType() |
| 17194 |
|
| 17195 |
* renaming.cc (setType): added |
| 17196 |
|
| 17197 |
* renaming.hh (class Renaming): added decl for |
| 17198 |
makeCanonicalVersion() |
| 17199 |
|
| 17200 |
* renaming.cc (typeMatch): updated args (both versions) |
| 17201 |
(addType): don't take kind arg |
| 17202 |
(convertSortsToKinds): deleted |
| 17203 |
(printRenamingType): don't check isKind() |
| 17204 |
(makeCanonicalVersion): added |
| 17205 |
|
| 17206 |
* renaming.hh (class Renaming): updated decl for addType(); |
| 17207 |
deleted decl for convertSortsToKinds(); delete struct Type |
| 17208 |
(isKind): deleted |
| 17209 |
(getTypeSorts): updated |
| 17210 |
|
| 17211 |
* modules.yy (fromType): use new addType() convention; don't use |
| 17212 |
convertSortsToKinds() |
| 17213 |
|
| 17214 |
* renaming.hh (class Renaming): typeConflict() decls become |
| 17215 |
typeMatch() |
| 17216 |
|
| 17217 |
* renaming.cc (addType): use new Type |
| 17218 |
(typeConflict): becomes typeMatch() (both versions) |
| 17219 |
(renameOp): use typeMatch() |
| 17220 |
(printRenamingType): added |
| 17221 |
(operator<<): use printRenamingType() |
| 17222 |
|
| 17223 |
* renaming.hh (class Renaming): updated struct Type; replaced decl |
| 17224 |
for getTypeTokens() with getTypeSorts() |
| 17225 |
(getTypeTokens): becomes getTypeSorts() |
| 17226 |
|
| 17227 |
2003-12-19 Steven Eker <[email protected]> |
| 17228 |
|
| 17229 |
* importTranslation.cc (ImportTranslation): handle renamings argument |
| 17230 |
(translate): (sort version) handle renamings |
| 17231 |
|
| 17232 |
* importTranslation.hh (class ImportTranslation): updated decl for |
| 17233 |
ctor, added data member renamings |
| 17234 |
|
| 17235 |
2003-12-09 Steven Eker <[email protected]> |
| 17236 |
|
| 17237 |
* importModule.hh (class ImportModule): added decls for |
| 17238 |
donateRenamedSorts(), donateRenamedOps(), fixupRenamedOps(), |
| 17239 |
donateRenamedStatements() |
| 17240 |
|
| 17241 |
* renameModule.cc (donateRenamedOps): added |
| 17242 |
(fixupRenamedOps): added stub |
| 17243 |
(donateRenamedStatements): added stub |
| 17244 |
(makeRenamedCopy): call donateRenamedOps(), fixupRenamedOps() and |
| 17245 |
donateRenamedStatements() |
| 17246 |
|
| 17247 |
* renaming.cc (renameLabel): added |
| 17248 |
|
| 17249 |
* renaming.hh (class Renaming): adeed decls for renameLabel(), |
| 17250 |
renameOp() and both versions of typeConflict() |
| 17251 |
|
| 17252 |
* renaming.cc (addOpMapping): set index field |
| 17253 |
(renameOp): added |
| 17254 |
(typeConflict): added two versions |
| 17255 |
|
| 17256 |
* renaming.hh (class Renaming): added index field to struct OpMapping |
| 17257 |
|
| 17258 |
2003-12-08 Steven Eker <[email protected]> |
| 17259 |
|
| 17260 |
* renameModule.cc (donateRenamedSorts): added |
| 17261 |
|
| 17262 |
* importModule.hh (class ImportModule): added decl for |
| 17263 |
donateRenamedSorts() |
| 17264 |
|
| 17265 |
* import.cc (processImports): quick hack to handle simple renaming |
| 17266 |
|
| 17267 |
* renaming.hh (class Renaming): added decl for renameSort() |
| 17268 |
|
| 17269 |
* renaming.cc (renameSort): added |
| 17270 |
|
| 17271 |
* importModule.hh (class ImportModule): added decl for |
| 17272 |
makeRenamedCopy() |
| 17273 |
|
| 17274 |
* renameModule.cc: created |
| 17275 |
|
| 17276 |
2003-12-01 Steven Eker <[email protected]> |
| 17277 |
|
| 17278 |
* command.cc (printAttributes): use printGather() and |
| 17279 |
printFormat() |
| 17280 |
|
| 17281 |
* renaming.cc (operator<<): handle attributes |
| 17282 |
|
| 17283 |
* preModule.hh (Parent): added decls for printGather() and |
| 17284 |
printFormat() |
| 17285 |
|
| 17286 |
* command.cc (printGather): added |
| 17287 |
(printFormat): added |
| 17288 |
|
| 17289 |
* renaming.cc (setPrec): don't set symbolType member |
| 17290 |
(setGather): don't set symbolType member |
| 17291 |
(setFormat): don't set symbolType member |
| 17292 |
(setLatexMacro): don't set symbolType member |
| 17293 |
(addOpMapping): initialize prec member to invalid value |
| 17294 |
|
| 17295 |
* renaming.hh (getPrec): added |
| 17296 |
(getGather): added |
| 17297 |
(getFormat): added |
| 17298 |
(class Renaming): deleted symbolType member from struct OpMapping |
| 17299 |
|
| 17300 |
* renaming.cc (setPrec): implemented |
| 17301 |
(setFormat): implemented |
| 17302 |
(setLatexMacro): implemented |
| 17303 |
(addSortMapping): handle line number |
| 17304 |
(addLabelMapping): handle line number |
| 17305 |
|
| 17306 |
* ops.cc (setPrec): use getInt() |
| 17307 |
|
| 17308 |
* token.cc (getInt): added |
| 17309 |
|
| 17310 |
* token.hh (class Token): added decl for getInt() |
| 17311 |
|
| 17312 |
* renaming.cc (setGather): implemented |
| 17313 |
|
| 17314 |
2003-11-24 Steven Eker <[email protected]> |
| 17315 |
|
| 17316 |
* renaming.cc (convertSortsToKinds): added |
| 17317 |
|
| 17318 |
* renaming.hh (class Renaming): added decl forconvertSortsToKinds() |
| 17319 |
|
| 17320 |
* modules.yy (fromSpec): handle ~> semantics |
| 17321 |
|
| 17322 |
* token.hh (class Token): added decl for printTokens(); |
| 17323 |
|
| 17324 |
* token.cc (printTokens): added |
| 17325 |
|
| 17326 |
* renaming.hh (isKind): added |
| 17327 |
(getTypeTokens): added |
| 17328 |
(getNrTypes): added |
| 17329 |
|
| 17330 |
* renaming.cc (addType): added |
| 17331 |
|
| 17332 |
* renaming.hh (class Renaming): added data member lastOpMapping; |
| 17333 |
added symbolType member to struct OpMapping |
| 17334 |
(getOpFrom): added |
| 17335 |
(getOpTo): added |
| 17336 |
(class Renaming): added struct Type; added data member types to |
| 17337 |
struct OpMapping |
| 17338 |
|
| 17339 |
* renaming.cc (operator<<): handle sort and label mappings |
| 17340 |
|
| 17341 |
* renaming.hh (getSortFrom): added |
| 17342 |
(getSortTo): added |
| 17343 |
(getLabelFrom): added |
| 17344 |
(getLabelTo): aded |
| 17345 |
|
| 17346 |
* modules.yy (moduleExpr): use new ModuleExpression convention |
| 17347 |
|
| 17348 |
* renaming.cc (addSortMapping): rewritten |
| 17349 |
(addLabelMapping): rewritten |
| 17350 |
|
| 17351 |
* renaming.hh (class Renaming): added data members sortMapIndex, |
| 17352 |
labelMapIndex, opMapIndex |
| 17353 |
(getNrSortMappings): added |
| 17354 |
(getNrLabelMappings): added |
| 17355 |
(getNrOpMappings): added |
| 17356 |
|
| 17357 |
* moduleExpression.hh (class ModuleExpression): updated decl for |
| 17358 |
ModuleExpression() |
| 17359 |
|
| 17360 |
* moduleExpression.cc (ModuleExpression): take Token rather than |
| 17361 |
int |
| 17362 |
|
| 17363 |
* modules.yy (fDeclaration): fix the bug that bubble gets reused |
| 17364 |
for parsing identifiers in renamings |
| 17365 |
|
| 17366 |
* renaming.cc (operator<<): added |
| 17367 |
|
| 17368 |
* moduleExpression.cc (operator<<): handle summation and renaming |
| 17369 |
|
| 17370 |
2003-11-20 Steven Eker <[email protected]> |
| 17371 |
|
| 17372 |
* top.yy: added decls for tokenBarColonTo, tokenBarCommaLeft |
| 17373 |
|
| 17374 |
* modules.yy (mapping): added semantics for sort and label |
| 17375 |
mappings |
| 17376 |
(tokenBarColonTo): added |
| 17377 |
(tokensBarColonTo): added |
| 17378 |
(tokenBarCommaLeft): added |
| 17379 |
(tokensBarCommaLeft): added |
| 17380 |
(mapping): added semantics for op mappings |
| 17381 |
|
| 17382 |
* top.yy: added global variable current renaming |
| 17383 |
|
| 17384 |
* renaming.cc: created |
| 17385 |
|
| 17386 |
* renaming.hh: created |
| 17387 |
|
| 17388 |
===================================Maude83a=========================================== |
| 17389 |
|
| 17390 |
2003-11-12 Steven Eker <[email protected]> |
| 17391 |
|
| 17392 |
* preModule.cc (PreModule): delete module expressions in imports |
| 17393 |
|
| 17394 |
2003-11-11 Steven Eker <[email protected]> |
| 17395 |
|
| 17396 |
* command.cc: added support for special and poly attributes |
| 17397 |
|
| 17398 |
2003-11-10 Steven Eker <[email protected]> |
| 17399 |
|
| 17400 |
* prelude.maude: added format attributes to meta hook ops |
| 17401 |
|
| 17402 |
* termPrint.cc (disambiguatorSort): added |
| 17403 |
(prettyPrint): use suffix |
| 17404 |
(suffix): use disambiguatorSort() |
| 17405 |
|
| 17406 |
2003-11-07 Steven Eker <[email protected]> |
| 17407 |
|
| 17408 |
* ops.cc (addHook): only set basic type if it is not STANDARD; |
| 17409 |
this fixes the object level Bubble Exclude bug |
| 17410 |
|
| 17411 |
* mixfixModule.hh (CommonTokens): findBubbleSpecIndex() decl |
| 17412 |
replaces findBubbleSpec() decl |
| 17413 |
|
| 17414 |
* mixfixModule.cc (copyFixUpBubbleSpec): use findBubbleSpecIndex() |
| 17415 |
(findBubbleSpecIndex): was findBubbleSpec() |
| 17416 |
(copyBubbleSpec): use findBubbleSpecIndex() |
| 17417 |
(getDataAttachments): use findBubbleSpecIndex() |
| 17418 |
(getSymbolAttachments): use findBubbleSpecIndex() |
| 17419 |
|
| 17420 |
* mixfixModule.hh (CommonTokens): updated decl for findBubbleSpec() |
| 17421 |
|
| 17422 |
* mixfixModule.cc (getSymbolAttachments): handle bubbles |
| 17423 |
(getDataAttachments): handle bubbles |
| 17424 |
(findBubbleSpec): made const |
| 17425 |
|
| 17426 |
* visibleModule.cc (showAttributes): use MixfixModule versions of |
| 17427 |
getDataAttachments(), getSymbolAttachments(), getTermAttachments() |
| 17428 |
|
| 17429 |
* mixfixModule.cc (getDataAttachments): added |
| 17430 |
(getSymbolAttachments): added |
| 17431 |
(getTermAttachments): added |
| 17432 |
|
| 17433 |
* mixfixModule.hh (CommonTokens): added decls for |
| 17434 |
getDataAttachments(), getSymbolAttachments(), getTermAttachments() |
| 17435 |
|
| 17436 |
* visibleModule.cc (showAttributes): use hasSpecial() rather than |
| 17437 |
hasAttachments() |
| 17438 |
(showPolymorphAttributes): use hasSpecial() rather than |
| 17439 |
hasAttachments() |
| 17440 |
|
| 17441 |
* symbolType.hh (hasSpecial): added |
| 17442 |
|
| 17443 |
2003-11-06 Steven Eker <[email protected]> |
| 17444 |
|
| 17445 |
* mixfixModule.cc (getPolymorphDataAttachment): added |
| 17446 |
(getPolymorphSymbolAttachment): added |
| 17447 |
(getPolymorphTermAttachment): added |
| 17448 |
|
| 17449 |
* mixfixModule.hh (CommonTokens): added decls for |
| 17450 |
getPolymorphDataAttachment(), getPolymorphSymbolAttachment(), |
| 17451 |
getPolymorphTermAttachment() |
| 17452 |
|
| 17453 |
* visibleModule.cc: simplified using hookSort() |
| 17454 |
(showPolymorphAttributes): handle attachments |
| 17455 |
|
| 17456 |
* mixfixModule.hh (hookSort): added |
| 17457 |
|
| 17458 |
* symbolType.hh (class SymbolType): reordered enum BasicTypes to |
| 17459 |
make those that are instantiated with the special attribute |
| 17460 |
contiguous |
| 17461 |
|
| 17462 |
* visibleModule.hh (class VisibleModule): updated showDecls() decl |
| 17463 |
|
| 17464 |
* visibleModule.cc (showOps): don't print internally created |
| 17465 |
symbols, even in "all" case |
| 17466 |
(showDecls): don't print internally created decls; take index |
| 17467 |
rather than sort |
| 17468 |
(showOps): new showDecls() convention |
| 17469 |
|
| 17470 |
2003-11-05 Steven Eker <[email protected]> |
| 17471 |
|
| 17472 |
* quotedIdentifierOpSymbol.cc (getDataAttachments): use CODE_CASE() |
| 17473 |
|
| 17474 |
* loopSymbol.cc (getDataAttachments): use APPEND_DATA() |
| 17475 |
|
| 17476 |
* visibleModule.cc (showAttributes): changed formatting of |
| 17477 |
specials |
| 17478 |
|
| 17479 |
* loopSymbol.cc (getDataAttachments): added |
| 17480 |
(getSymbolAttachments): added |
| 17481 |
|
| 17482 |
* quotedIdentifierOpSymbol.cc (getSymbolAttachments): call |
| 17483 |
FreeSymbol::getSymbolAttachments() for cleaness |
| 17484 |
|
| 17485 |
* loopSymbol.hh (class LoopSymbol): added decls for |
| 17486 |
getDataAttachments() and getSymbolAttachments() |
| 17487 |
|
| 17488 |
2003-11-04 Steven Eker <[email protected]> |
| 17489 |
|
| 17490 |
* visibleModule.cc (showDecls): use new showAttributes() calling |
| 17491 |
convention |
| 17492 |
|
| 17493 |
* visibleModule.hh (class VisibleModule): updated decl for |
| 17494 |
showAttributes() |
| 17495 |
|
| 17496 |
* visibleModule.cc (showAttributes): handle attachments; take |
| 17497 |
OpDeclaration arg |
| 17498 |
|
| 17499 |
2003-11-03 Steven Eker <[email protected]> |
| 17500 |
|
| 17501 |
* quotedIdentifierOpSymbol.cc (eqRewrite): use safeCast() |
| 17502 |
(getDataAttachments): added |
| 17503 |
(getSymbolAttachments): added |
| 17504 |
|
| 17505 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 17506 |
added decls for getDataAttachments() and getSymbolAttachments() |
| 17507 |
|
| 17508 |
* quotedIdentifierSymbol.cc (getDataAttachments): added |
| 17509 |
|
| 17510 |
* quotedIdentifierSymbol.hh (class QuotedIdentifierSymbol): added |
| 17511 |
decl for getDataAttachments() |
| 17512 |
|
| 17513 |
2003-10-29 Steven Eker <[email protected]> |
| 17514 |
|
| 17515 |
* prelude.maude: added upOpDecls(), upImports() |
| 17516 |
|
| 17517 |
* preModule.hh (getNrAutoImports): added |
| 17518 |
(getNrImports): added |
| 17519 |
(getAutoImport): added |
| 17520 |
(getImportMode): added |
| 17521 |
(getImport): added |
| 17522 |
|
| 17523 |
2003-10-28 Steven Eker <[email protected]> |
| 17524 |
|
| 17525 |
* prelude.maude: added upSorts(), upSubsortDecls() |
| 17526 |
|
| 17527 |
* visibleModule.cc (showAttributes): code cleaning |
| 17528 |
|
| 17529 |
* mixfixModule.hh (getPolymorphPrec): added |
| 17530 |
(getPolymorphGather): added |
| 17531 |
(getPolymorphFormat): added |
| 17532 |
|
| 17533 |
* visibleModule.cc (showPolymorphAttributes): added handling for |
| 17534 |
prec, gather and format |
| 17535 |
|
| 17536 |
* mixfixModule.hh (getPolymorphIdentity): added |
| 17537 |
(getPolymorphStrategy): added |
| 17538 |
(getPolymorphFrozen): added |
| 17539 |
|
| 17540 |
* visibleModule.cc (showPolymorphAttributes): added handling for |
| 17541 |
identity, strategy and frozen |
| 17542 |
|
| 17543 |
2003-10-27 Steven Eker <[email protected]> |
| 17544 |
|
| 17545 |
* visibleModule.hh (class VisibleModule): added decl for |
| 17546 |
showPolymorphAttributes() |
| 17547 |
|
| 17548 |
* visibleModule.cc (showModule): call showPolymorphs() |
| 17549 |
(showPolymorphAttributes): added |
| 17550 |
|
| 17551 |
* interpreter.cc (showOps): call showPolymorphs() |
| 17552 |
|
| 17553 |
* mixfixModule.hh (getPolymorphName): added |
| 17554 |
(getPolymorphDomainAndRange): added |
| 17555 |
|
| 17556 |
* visibleModule.hh (class VisibleModule): added decls for |
| 17557 |
showPolymorphs() and showPolymorphDecl() |
| 17558 |
|
| 17559 |
* visibleModule.cc (showVars): rewritten using FOR_EACH_CONST() |
| 17560 |
(showSummary): split symbols into user symbols and total symbols; |
| 17561 |
print number of polymorphic operators |
| 17562 |
(showPolymorphDecl): added |
| 17563 |
(showPolymorphs): added |
| 17564 |
|
| 17565 |
* mixfixModule.cc (copyFixUpPolymorph): don't copy specialTerms |
| 17566 |
(~MixfixModule): deepSelfDestruct() term hook terms rather than |
| 17567 |
specialTerms |
| 17568 |
|
| 17569 |
* mixfixModule.hh (CommonTokens): deleted decls for |
| 17570 |
fixUpPolymorph() |
| 17571 |
(CommonTokens): deleted specialTerms and shareWithSymbol from |
| 17572 |
struct Polymorph |
| 17573 |
|
| 17574 |
* entry.cc (addPolymorph): don't clear shareWithSymbol |
| 17575 |
|
| 17576 |
* mixfixModule.cc (fixUpPolymorph): deleted both versions |
| 17577 |
(copyFixUpPolymorph): deleted support for shareWithSymbol |
| 17578 |
(copyPolymorph): don't clear shareWithSymbol |
| 17579 |
|
| 17580 |
* importModule.hh (getNrImportedPolymorphs): added |
| 17581 |
|
| 17582 |
2003-10-24 Steven Eker <[email protected]> |
| 17583 |
|
| 17584 |
* mixfixModule.hh (getPolymorphType): added |
| 17585 |
|
| 17586 |
* mixfixModule.cc (instantiatePolymorph): no need to create Token |
| 17587 |
from name |
| 17588 |
(instantiatePolymorph): set symbol line number |
| 17589 |
|
| 17590 |
* entry.cc (addPolymorph): copy name Token |
| 17591 |
|
| 17592 |
* mixfixModule.hh (CommonTokens): made Polymorph name field into a |
| 17593 |
Token |
| 17594 |
|
| 17595 |
2003-10-23 Steven Eker <[email protected]> |
| 17596 |
|
| 17597 |
* entry.cc (newFancySymbol): don't pass term args to |
| 17598 |
EqualitySymbol() or BranchSymbol() |
| 17599 |
(addPolymorph): set overloaded flags in symbolInfo.iflags |
| 17600 |
|
| 17601 |
2003-10-22 Steven Eker <[email protected]> |
| 17602 |
|
| 17603 |
* mixfixModule.cc (instantiatePolymorph): deep copy term hooks |
| 17604 |
|
| 17605 |
* fixUp.cc (fixUpSymbols): handle identities for polymorphs |
| 17606 |
(fixUpSymbols): fixed warning messages for bad special |
| 17607 |
|
| 17608 |
* process.cc (processSorts): use lessThan from CommonTokens |
| 17609 |
|
| 17610 |
* fixUp.cc (findHookSymbol): use colon and partial from |
| 17611 |
CommonTokens |
| 17612 |
|
| 17613 |
* commonTokens.hh (class CommonTokens): added lessThan and partial |
| 17614 |
|
| 17615 |
* commonTokens.cc (CommonTokens): added lessThan and partial |
| 17616 |
|
| 17617 |
2003-10-20 Steven Eker <[email protected]> |
| 17618 |
|
| 17619 |
* prelude.maude: added op poly : NatList -> Attr [ctor] and |
| 17620 |
polySymbol hook |
| 17621 |
|
| 17622 |
* specialSymbolTypes.cc (MACRO): deleted UP_SYMBOL, DOWN_SYMBOL |
| 17623 |
instantiations |
| 17624 |
|
| 17625 |
* symbolType.hh (class SymbolType): deleted UP_SYMBOL, DOWN_SYMBOL |
| 17626 |
from enum BasicTypes |
| 17627 |
|
| 17628 |
2003-10-17 Steven Eker <[email protected]> |
| 17629 |
|
| 17630 |
* mixfixModule.cc (instantiatePolymorph): fixed bug where we were |
| 17631 |
using idHooks purpose for attaching an opHook |
| 17632 |
|
| 17633 |
* prelude.maude: updated definitions of if_then_else_fi, upTerm |
| 17634 |
and downTerm |
| 17635 |
|
| 17636 |
2003-10-16 Steven Eker <[email protected]> |
| 17637 |
|
| 17638 |
* fixUp.cc (fixUpSymbols): rewritten |
| 17639 |
|
| 17640 |
* preModule.hh (Parent): added decl for polymorph version of |
| 17641 |
defaultFixUp() |
| 17642 |
|
| 17643 |
* fixUp.cc (defaultFixUp): added polymorph version |
| 17644 |
|
| 17645 |
* mixfixModule.cc (instantiatePolymorph): rewritten to use |
| 17646 |
standardized method for polymorphs |
| 17647 |
|
| 17648 |
2003-10-15 Steven Eker <[email protected]> |
| 17649 |
|
| 17650 |
* entry.cc (addPolymorph): zero polymorph identity |
| 17651 |
|
| 17652 |
* mixfixModule.cc (addIdHookToPolymorph): added |
| 17653 |
(addOpHookToPolymorph): added |
| 17654 |
(addTermHookToPolymorph): added |
| 17655 |
(copyFixUpPolymorph): copy identity and hooks |
| 17656 |
(addIdentityToPolymorph): added |
| 17657 |
(copyPolymorph): zero polymorph identity |
| 17658 |
|
| 17659 |
* mixfixModule.hh (CommonTokens): added structs IdHook, OpHook and |
| 17660 |
TermHook |
| 17661 |
(CommonTokens): added identity, idHooks, opHooks, termHooks to |
| 17662 |
struct Polymorph |
| 17663 |
|
| 17664 |
* entry.cc (newFancySymbol): handle BRANCH_SYMBOL and |
| 17665 |
EQUALITY_SYMBOL |
| 17666 |
|
| 17667 |
* symbolType.hh (hasAttachments): BRANCH_SYMBOL and |
| 17668 |
EQUALITY_SYMBOL now are treated as having attachments |
| 17669 |
|
| 17670 |
* fixUp.cc (fixUpSymbols): check for polymorphs using POLY flag; |
| 17671 |
reorganized |
| 17672 |
|
| 17673 |
2003-10-14 Steven Eker <[email protected]> |
| 17674 |
|
| 17675 |
* mixfixModule.cc (findSymbol): rewritten to handle polymorphs in |
| 17676 |
a generic way and to be more picky about matching components |
| 17677 |
(instantiatePolymorph): must not change original polymorph |
| 17678 |
domainAndRange now that we rely on it to know which arguments are |
| 17679 |
polymorphic - make a copy |
| 17680 |
|
| 17681 |
2003-10-13 Steven Eker <[email protected]> |
| 17682 |
|
| 17683 |
* process.cc (processOps): don't pass polyArgs to addPolymorph() |
| 17684 |
|
| 17685 |
* entry.cc (addPolymorph): don't take polyArgs argument |
| 17686 |
|
| 17687 |
* mixfixModule.hh (CommonTokens): removed polyArgs from struct |
| 17688 |
Polymorph |
| 17689 |
(CommonTokens): updated decl for addPolymorph() |
| 17690 |
|
| 17691 |
* mixfixModule.cc (copyPolymorph): use domainAndRange to decide |
| 17692 |
how to copy sorts; copy frozen |
| 17693 |
|
| 17694 |
* makeGrammar.cc (makeVariableProductions): use new nonTerminal() |
| 17695 |
(makeBoolProductions): use new nonTerminal() |
| 17696 |
(makePolymorphProductions): rewritten to use new nonTerminal() and |
| 17697 |
polyArgs |
| 17698 |
(makePolymorphProductions): use domainAndRange instead of polyArgs |
| 17699 |
|
| 17700 |
* mixfixModule.cc (nonTerminal): added Sort* version |
| 17701 |
|
| 17702 |
* mixfixModule.hh (CommonTokens): added decl for Sort* version of |
| 17703 |
nonTerminal() |
| 17704 |
|
| 17705 |
* entry.cc (addPolymorph): handle frozen and polyArgs atrguments |
| 17706 |
|
| 17707 |
* mixfixModule.hh (CommonTokens): updated decl for addPolymorph() |
| 17708 |
(CommonTokens): added polyArgs and frozen to struct Polymorph |
| 17709 |
|
| 17710 |
* symbolType.hh (isPolymorph): deleted |
| 17711 |
(isCreatedOnTheFly): don't use isPolymorph() |
| 17712 |
|
| 17713 |
* process.cc (checkOpTypes): rewritten using polyArgs |
| 17714 |
(computeOpTypes): rewritten using polyArgs |
| 17715 |
(processOps): don't use isPolymorph(); use new addPolymorph() |
| 17716 |
convention |
| 17717 |
|
| 17718 |
* ops.cc (setLatexMacro): set LATEX flag |
| 17719 |
|
| 17720 |
2003-10-10 Steven Eker <[email protected]> |
| 17721 |
|
| 17722 |
* preModule.hh (Parent): added polyArgs to struct OpDef; added |
| 17723 |
decl for setPoly() |
| 17724 |
|
| 17725 |
* ops.cc (setPoly): added |
| 17726 |
|
| 17727 |
* symbolType.hh (class SymbolType): added POLY to enum Flags |
| 17728 |
|
| 17729 |
* modules.yy (attrKeyword): added KW_POLY |
| 17730 |
(attribute): added KW_POLY |
| 17731 |
|
| 17732 |
* top.yy: added decl for KW_POLY |
| 17733 |
|
| 17734 |
* lexer.ll (id): added keywords poly, polymorphic |
| 17735 |
|
| 17736 |
===================================Maude83=========================================== |
| 17737 |
|
| 17738 |
2003-10-09 Steven Eker <[email protected]> |
| 17739 |
|
| 17740 |
* command.cc (printAttributes): need to check for DITTO in first if |
| 17741 |
(printAttributes): fix spacing before [ |
| 17742 |
|
| 17743 |
2003-10-08 Steven Eker <[email protected]> |
| 17744 |
|
| 17745 |
* import.cc (processImports): handle struct Import |
| 17746 |
|
| 17747 |
* command.cc (showModule): handle struct Import |
| 17748 |
|
| 17749 |
* preModule.hh (Parent): updated decl for addImport() |
| 17750 |
|
| 17751 |
* preModule.cc (addImport): moved here; now handle mode |
| 17752 |
|
| 17753 |
* preModule.hh (Parent): added struct Import |
| 17754 |
|
| 17755 |
* moduleExpression.cc (operator<<): added |
| 17756 |
|
| 17757 |
* command.cc (printAttributes): handle format properly |
| 17758 |
|
| 17759 |
2003-09-29 Steven Eker <[email protected]> |
| 17760 |
|
| 17761 |
* mixfixModule.hh (CommonTokens): added decl for Symbol* version |
| 17762 |
of fixUpPolymorph() |
| 17763 |
|
| 17764 |
* mixfixModule.cc (fixUpPolymorph): added Symbol* version |
| 17765 |
|
| 17766 |
* fixUp.cc (fixUpSymbols): handle UP_SYMBOL and DOWN_SYMBOL |
| 17767 |
|
| 17768 |
* makeGrammar.cc (makePolymorphProductions): handle UP_SYMBOL and |
| 17769 |
DOWN_SYMBOL |
| 17770 |
|
| 17771 |
* mixfixModule.hh (CommonTokens): added shareWithSymbol to struct |
| 17772 |
Polymorph |
| 17773 |
|
| 17774 |
* mixfixModule.cc (copyPolymorph): clear shareWithSymbol |
| 17775 |
|
| 17776 |
* entry.cc (addPolymorph): clear shareWithSymbol |
| 17777 |
|
| 17778 |
* mixfixModule.cc (findSymbol): handle UP_SYMBOL and DOWN_SYMBOL |
| 17779 |
(instantiatePolymorph): handle UP_SYMBOL and DOWN_SYMBOL |
| 17780 |
(copyFixUpPolymorph): handle shareWithSymbol |
| 17781 |
(copyPolymorph): handle UP_SYMBOL and DOWN_SYMBOL |
| 17782 |
|
| 17783 |
* process.cc (checkOpTypes): handle UP_SYMBOL and DOWN_SYMBOL |
| 17784 |
(computeOpTypes): handle UP_SYMBOL and DOWN_SYMBOL |
| 17785 |
|
| 17786 |
* symbolType.hh (isPolymorph): rewritten |
| 17787 |
(isCreatedOnTheFly): rewritten |
| 17788 |
|
| 17789 |
* specialSymbolTypes.cc (MACRO): added UpSymbol and DownSymbol |
| 17790 |
|
| 17791 |
* symbolType.hh (class SymbolType): added UP_SYMBOL and |
| 17792 |
DOWN_SYMBOL |
| 17793 |
|
| 17794 |
2003-09-23 Steven Eker <[email protected]> |
| 17795 |
|
| 17796 |
* interact.cc (handleDebug): check to see if pe is 0 before |
| 17797 |
checking its label |
| 17798 |
|
| 17799 |
2003-09-17 Steven Eker <[email protected]> |
| 17800 |
|
| 17801 |
* termPrint.cc (prefix): deleted (this was commented out before) |
| 17802 |
|
| 17803 |
* mixfixModule.hh (CommonTokens): added decl for handleVariable() |
| 17804 |
|
| 17805 |
* bufferPrint.cc (handleVariable): added |
| 17806 |
(prettyPrint): use handleVariable() |
| 17807 |
|
| 17808 |
* mixfixModule.hh (CommonTokens): added decl for printKind() |
| 17809 |
|
| 17810 |
* bufferPrint.cc (printKind): replaces printSort() |
| 17811 |
(prettyPrint): use printKind in variable case |
| 17812 |
|
| 17813 |
2003-09-15 Steven Eker <[email protected]> |
| 17814 |
|
| 17815 |
* bufferPrint.cc (printSort): added |
| 17816 |
|
| 17817 |
2003-09-09 Steven Eker <[email protected]> |
| 17818 |
|
| 17819 |
* modules.yy (listBarDot): added |
| 17820 |
(endTokens2): deleted |
| 17821 |
(noTrailingDot2): deleted |
| 17822 |
(oDeclaration): listBarDot replaces endTokens2 (3 places) |
| 17823 |
|
| 17824 |
2003-09-08 Steven Eker <[email protected]> |
| 17825 |
|
| 17826 |
* visibleModule.cc (showAttributes): print space after left/right |
| 17827 |
when printing identity |
| 17828 |
|
| 17829 |
2003-09-05 Steven Eker <[email protected]> |
| 17830 |
|
| 17831 |
* command.cc (printAttributes): added |
| 17832 |
(printOpDef): rewritten to use printAttributes( |
| 17833 |
|
| 17834 |
2003-09-04 Steven Eker <[email protected]> |
| 17835 |
|
| 17836 |
* mixfix.hh: added class Renaming |
| 17837 |
|
| 17838 |
* top.yy: added yyModuleExpression to union |
| 17839 |
|
| 17840 |
* modules.yy (fDeclaration): use moduleExpr |
| 17841 |
|
| 17842 |
* import.cc (processImports): quick hack to use ModuleExpression |
| 17843 |
|
| 17844 |
* preModule.hh (addImport): updated |
| 17845 |
(Parent): imports is now a Vector<ModuleExpression*> |
| 17846 |
|
| 17847 |
* moduleExpression.cc: created |
| 17848 |
|
| 17849 |
* moduleExpression.hh: created |
| 17850 |
|
| 17851 |
* mixfix.hh: added class ModuleExpression |
| 17852 |
|
| 17853 |
2003-09-03 Steven Eker <[email protected]> |
| 17854 |
|
| 17855 |
* top.yy: added KW_TO, KW_LABEL, '+', '*' |
| 17856 |
|
| 17857 |
* lexer.ll: added KW_TO, KW_LABEL, '+', '*' |
| 17858 |
|
| 17859 |
* modules.yy (identifier): added KW_TO, KW_LABEL, '+', '*' |
| 17860 |
|
| 17861 |
2003-08-20 Steven Eker <[email protected]> |
| 17862 |
|
| 17863 |
* prettyPrint.cc (operator<<): added Assert() to check for null |
| 17864 |
component |
| 17865 |
(operator<<): decided to make sort print function bullet proof |
| 17866 |
instead; it can now be called before connnected components are |
| 17867 |
calculated and sort indices are assigned |
| 17868 |
|
| 17869 |
===================================Maude82=========================================== |
| 17870 |
|
| 17871 |
2003-07-22 Steven Eker <[email protected]> |
| 17872 |
|
| 17873 |
* main.cc (printHelp): added |
| 17874 |
(printVersion): added |
| 17875 |
(main): added --help and --version flags |
| 17876 |
|
| 17877 |
* interact.cc (segmentationFaultHandler): use PACKAGE_BUGREPORT |
| 17878 |
|
| 17879 |
2003-07-21 Steven Eker <[email protected]> |
| 17880 |
|
| 17881 |
* quotedIdentifierDagNode.cc (compareArguments): use new internal |
| 17882 |
ordering on quoted identifiers |
| 17883 |
|
| 17884 |
* quotedIdentifierTerm.cc (compareArguments): use new internal |
| 17885 |
ordering on quoted identifiers (both versions) |
| 17886 |
|
| 17887 |
2003-07-16 Steven Eker <[email protected]> |
| 17888 |
|
| 17889 |
* token.hh: use ropeStuff.hh |
| 17890 |
|
| 17891 |
* entry.cc (addOpDeclaration): if we detect empty syntax for a |
| 17892 |
single argument operator, clear PREC, GATHER and FORMAT flags and |
| 17893 |
clear mixfix syntax to avoid infinite recursion in MSCP later on |
| 17894 |
|
| 17895 |
2003-07-01 Steven Eker <[email protected]> |
| 17896 |
|
| 17897 |
* banner.cc: #include <config.h> |
| 17898 |
|
| 17899 |
===================================Maude81=========================================== |
| 17900 |
|
| 17901 |
2003-05-31 Steven Eker <[email protected]> |
| 17902 |
|
| 17903 |
* interact.cc (segmentationFaultHandler): use system call rather |
| 17904 |
than stream to output message since line wrapper can't be relied |
| 17905 |
on |
| 17906 |
|
| 17907 |
* fixUp.cc (findHookSymbol): made slightly more robust in the case |
| 17908 |
of a missing sort |
| 17909 |
|
| 17910 |
2003-05-30 Steven Eker <[email protected]> |
| 17911 |
|
| 17912 |
* maudemlBuffer.cc (generate): (Term* version) use variable q |
| 17913 |
(generate): (DagNode* version) use variable q |
| 17914 |
|
| 17915 |
* lexerAux.cc: deleted SUNOS #ifdef |
| 17916 |
|
| 17917 |
2003-05-28 Steven Eker <[email protected]> |
| 17918 |
|
| 17919 |
* banner.cc: replaced LIBv3 #ifdef |
| 17920 |
|
| 17921 |
2003-05-23 Steven Eker <[email protected]> |
| 17922 |
|
| 17923 |
* importModule.cc (donateStatements): copy metadata (this fixes a |
| 17924 |
bug) |
| 17925 |
|
| 17926 |
* prelude.maude: added config, object, message and nonexec ops to |
| 17927 |
META-MODULE; removed frozen hack |
| 17928 |
|
| 17929 |
* mixfixParser.cc (makeStatementPart): use setNonexec() |
| 17930 |
|
| 17931 |
* prettyPrint.cc (printAttributes): handle nonexec |
| 17932 |
|
| 17933 |
* importModule.cc (donateStatements): copy nonexec status |
| 17934 |
|
| 17935 |
2003-05-21 Steven Eker <[email protected]> |
| 17936 |
|
| 17937 |
* execute.cc (fRewrite): call setObjectMode() |
| 17938 |
|
| 17939 |
* entry.cc (addOpDeclaration): don't fill out configSymbols |
| 17940 |
|
| 17941 |
* userLevelRewritingContext.cc (UserLevelRewritingContext): call |
| 17942 |
ObjectSystemRewritingContext() (both versions) |
| 17943 |
|
| 17944 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 17945 |
derive from ObjectSystemRewritingContext rather than |
| 17946 |
RewritingContext |
| 17947 |
|
| 17948 |
* mixfixModule.cc (setConfigMode): deleted |
| 17949 |
(closeSignature): reverted |
| 17950 |
|
| 17951 |
* mixfixModule.hh (CommonTokens): deleted data member |
| 17952 |
configSymbols and decl for setConfigMode() - setting state info |
| 17953 |
like this would play havoc with re-entrancy |
| 17954 |
|
| 17955 |
* execute.cc (fRewrite): call setConfigMode() |
| 17956 |
|
| 17957 |
* mixfixModule.cc (closeSignature): use configSymbols |
| 17958 |
|
| 17959 |
* mixfixModule.hh (CommonTokens): added data member configSymbols |
| 17960 |
|
| 17961 |
* mixfixModule.cc (setConfigMode): rewritten to use configSymbols |
| 17962 |
|
| 17963 |
* entry.cc (addOpDeclaration): put symbols with config attribute |
| 17964 |
in configSymbols |
| 17965 |
|
| 17966 |
2003-05-20 Steven Eker <[email protected]> |
| 17967 |
|
| 17968 |
* mixfixModule.hh (CommonTokens): added decl for setConfigMode() |
| 17969 |
|
| 17970 |
* mixfixModule.cc (setConfigMode): added |
| 17971 |
|
| 17972 |
* entry.cc (addOpDeclaration): warn about operators that have both |
| 17973 |
object and msg attributes or that have an object or msg attribute |
| 17974 |
and no arguments |
| 17975 |
|
| 17976 |
2003-05-05 Steven Eker <[email protected]> |
| 17977 |
|
| 17978 |
* banner.cc: removed SUNOS and LIBv3 #ifdefs |
| 17979 |
|
| 17980 |
===================================Maude80a=========================================== |
| 17981 |
|
| 17982 |
2003-05-03 Steven Eker <[email protected]> |
| 17983 |
|
| 17984 |
* prelude.maude: added |
| 17985 |
|
| 17986 |
2003-05-01 Steven Eker <[email protected]> |
| 17987 |
|
| 17988 |
* compiler.cc (makeBaseName): use ostringstream |
| 17989 |
|
| 17990 |
* quotedIdentifierOpSymbol.cc (eqRewrite): use ostringstream |
| 17991 |
|
| 17992 |
* quotedIdentifierDagNode.cc (overwriteWithClone): rewritten |
| 17993 |
(makeClone): rewritten |
| 17994 |
|
| 17995 |
2003-04-18 Steven Eker <[email protected]> |
| 17996 |
|
| 17997 |
* loopSymbol.cc (extractQidList): use DagArgumentIterator |
| 17998 |
|
| 17999 |
2003-04-09 Steven Eker <[email protected]> |
| 18000 |
|
| 18001 |
* mixfixModule.hh (CommonTokens): updated many decls for color arg |
| 18002 |
|
| 18003 |
* termPrint.cc (computeColor): added |
| 18004 |
(prefix): deleted |
| 18005 |
(suffix): take color arg |
| 18006 |
(handleIter): take color arg |
| 18007 |
(handleMinus): take color arg |
| 18008 |
(handleDivision): take color arg |
| 18009 |
(handleFloat): take color arg |
| 18010 |
(handleString): take color arg |
| 18011 |
(handleQuotedIdentifier): take color arg |
| 18012 |
(handleVariable): take color arg |
| 18013 |
(prettyPrint): pass color arg to many functions |
| 18014 |
|
| 18015 |
2003-04-07 Steven Eker <[email protected]> |
| 18016 |
|
| 18017 |
* model-checker.maude: added => and <=> LTL operators |
| 18018 |
|
| 18019 |
===================================Maude80=========================================== |
| 18020 |
|
| 18021 |
2003-03-21 Steven Eker <[email protected]> |
| 18022 |
|
| 18023 |
* execute.cc (reduce): added threshold search version |
| 18024 |
|
| 18025 |
2003-03-18 Steven Eker <[email protected]> |
| 18026 |
|
| 18027 |
* search.cc (search): fixed symmetric bug |
| 18028 |
|
| 18029 |
* match.cc (match): fixed bug where we were printing patternTerm |
| 18030 |
when we printed the command even though this may have been |
| 18031 |
invalidated by normalization |
| 18032 |
|
| 18033 |
2003-02-26 Steven Eker <[email protected]> |
| 18034 |
|
| 18035 |
* xmlBuffer.cc: removed #pragma |
| 18036 |
(endElement): updated Assert() |
| 18037 |
|
| 18038 |
* xmlBuffer.hh: removed #pragma |
| 18039 |
|
| 18040 |
* visibleModule.cc: removed #pragma |
| 18041 |
(showDecls): updated Assert() |
| 18042 |
|
| 18043 |
* visibleModule.hh: removed #pragma |
| 18044 |
|
| 18045 |
* userLevelRewritingContext.cc: removed #pragma |
| 18046 |
(tracePostEqRewrite): updated Assert() |
| 18047 |
(printSubstitution): updated Assert() |
| 18048 |
|
| 18049 |
* userLevelRewritingContext.hh: removed #pragma |
| 18050 |
|
| 18051 |
* token.cc: removed #pragma |
| 18052 |
(codeToInt64): DebugAdvisoryCheck() -> DebugAdvisory() |
| 18053 |
(codeToInt64): updated Assert() |
| 18054 |
(codeToDouble): updated Assert() |
| 18055 |
(bubbleToPrefixNameCode): updated Assert() |
| 18056 |
(getRational): updated Assert() |
| 18057 |
|
| 18058 |
* token.hh: removed #pragma |
| 18059 |
|
| 18060 |
* symbolType.cc: removed #pragma |
| 18061 |
|
| 18062 |
* symbolType.hh: removed #pragma |
| 18063 |
|
| 18064 |
* quotedIdentifierTerm.cc: removed #pragma |
| 18065 |
|
| 18066 |
* quotedIdentifierTerm.hh: removed #pragma |
| 18067 |
|
| 18068 |
* quotedIdentifierSymbol.cc: removed #pragma |
| 18069 |
|
| 18070 |
* quotedIdentifierSymbol.hh: removed #pragma |
| 18071 |
|
| 18072 |
* quotedIdentifierOpSymbol.cc: removed #pragma |
| 18073 |
(eqRewrite): updated Assert() |
| 18074 |
|
| 18075 |
* quotedIdentifierOpSymbol.hh: removed #pragma |
| 18076 |
|
| 18077 |
* quotedIdentifierDagNode.cc: removed #pragma |
| 18078 |
|
| 18079 |
* quotedIdentifierDagNode.hh: removed #pragma |
| 18080 |
|
| 18081 |
* profileModule.cc: removed #pragma |
| 18082 |
|
| 18083 |
* profileModule.hh: removed #pragma |
| 18084 |
|
| 18085 |
* process.cc (computeType): updated Assert()s |
| 18086 |
|
| 18087 |
* prettyPrint.cc (computeGraphStatus): updated Assert() |
| 18088 |
|
| 18089 |
* preModule.cc: removed #pragma |
| 18090 |
(regretToInform): updated Assert() |
| 18091 |
|
| 18092 |
* preModule.hh: removed #pragma |
| 18093 |
|
| 18094 |
* ops.cc (convertSortsToKinds): updated Assert() |
| 18095 |
|
| 18096 |
* moduleDatabase.cc: removed #pragma |
| 18097 |
|
| 18098 |
* moduleDatabase.hh: removed #pragma |
| 18099 |
|
| 18100 |
* mixfixParser.cc: removed #pragma |
| 18101 |
(parseSentence): updated DebugAdvisoryCheck() |
| 18102 |
(parseSentence): updated Assert() |
| 18103 |
(makeTerms): updated Assert() |
| 18104 |
(insertStatement): updated Assert() |
| 18105 |
(makeMatchCommand): updated Assert() |
| 18106 |
(makeSearchCommand): updated Assert() |
| 18107 |
(makeTerm): updated Assert()s |
| 18108 |
|
| 18109 |
* mixfixParser.hh: removed #pragma |
| 18110 |
|
| 18111 |
* mixfixModule.cc: removed #pragma |
| 18112 |
(findSymbol): updated Assert() |
| 18113 |
(computePrecAndGather): updated Assert()s |
| 18114 |
|
| 18115 |
* mixfixModule.hh: removed #pragma |
| 18116 |
|
| 18117 |
* metadataStore.cc: removed #pragma |
| 18118 |
|
| 18119 |
* metadataStore.hh: removed #pragma |
| 18120 |
|
| 18121 |
* maudemlBuffer.cc: removed #pragma |
| 18122 |
|
| 18123 |
* maudemlBuffer.hh: removed #pragma |
| 18124 |
|
| 18125 |
* loopSymbol.cc: removed #pragma |
| 18126 |
|
| 18127 |
* loopSymbol.hh: removed #pragma |
| 18128 |
|
| 18129 |
* interpreter.cc: removed #pragma |
| 18130 |
|
| 18131 |
* interpreter.hh: removed #pragma |
| 18132 |
|
| 18133 |
* importTranslation.cc: removed #pragma |
| 18134 |
(translate): updated Assert() (both versions) |
| 18135 |
|
| 18136 |
* importTranslation.hh: removed #pragma |
| 18137 |
|
| 18138 |
* importModule.cc: removed #pragma |
| 18139 |
(donateOps): updated Assert()s |
| 18140 |
(fixUpDonatedOps): updated Assert()s |
| 18141 |
|
| 18142 |
* importModule.hh: removed #pragma |
| 18143 |
|
| 18144 |
* graphPrint.cc (graphCount): updated Assert()s |
| 18145 |
|
| 18146 |
* fileTable.cc: removed #pragma |
| 18147 |
|
| 18148 |
* fileTable.hh: removed #pragma |
| 18149 |
|
| 18150 |
* execute.cc (cont): fixed buggy IssueWarning() |
| 18151 |
|
| 18152 |
* entry.cc (addSort): updated Assert() |
| 18153 |
(hasSameDomain): updated Assert()s |
| 18154 |
(addOpDeclaration): updated Assert() |
| 18155 |
|
| 18156 |
* dagNodePrint.cc (computeColor): updated Assert() |
| 18157 |
|
| 18158 |
* compiler.cc: removed #pragma |
| 18159 |
(makeExecutable): fixed buggy IssueWarning() |
| 18160 |
|
| 18161 |
* compiler.hh: removed #pragma |
| 18162 |
|
| 18163 |
* commonTokens.cc: removed #pragma |
| 18164 |
|
| 18165 |
* commonTokens.hh: removed #pragma |
| 18166 |
|
| 18167 |
===================================Maude79=========================================== |
| 18168 |
|
| 18169 |
2003-02-20 Steven Eker <[email protected]> |
| 18170 |
|
| 18171 |
* interact.cc (segmentationFaultHandler): updated bug report address |
| 18172 |
|
| 18173 |
* entry.cc (addOpDeclaration): added WarningCheck for 1 arg ops with |
| 18174 |
empty syntax |
| 18175 |
|
| 18176 |
* model-checker.maude: split off fmod SATISFACTION; use modelCheck |
| 18177 |
for model checker |
| 18178 |
|
| 18179 |
* prelude.maude: NUMBER-CONVERSION -> CONVERSION |
| 18180 |
|
| 18181 |
2003-02-19 Steven Eker <[email protected]> |
| 18182 |
|
| 18183 |
* makeGrammar.cc (makeComplexProductions): use =>1 instead of => |
| 18184 |
for one step rewriting |
| 18185 |
|
| 18186 |
* commonTokens.hh (class CommonTokens): added arrowOne |
| 18187 |
|
| 18188 |
* commonTokens.cc (CommonTokens): addedarrowOne |
| 18189 |
|
| 18190 |
* search.cc (search): use =>1 instead of => for one step rewriting |
| 18191 |
|
| 18192 |
===================================Maude78=========================================== |
| 18193 |
|
| 18194 |
2003-01-06 Steven Eker <[email protected]> |
| 18195 |
|
| 18196 |
* main.cc (main): removed various commented out crap |
| 18197 |
|
| 18198 |
2003-01-03 Steven Eker <[email protected]> |
| 18199 |
|
| 18200 |
* lexerAux.cc (includeFile): save fakeNewline status |
| 18201 |
(handleEof): restore fakeNewline status |
| 18202 |
(cleanUpLexer): clear fakeNewline flag |
| 18203 |
|
| 18204 |
2003-01-02 Steven Eker <[email protected]> |
| 18205 |
|
| 18206 |
* lexerAux.cc (getInput): set result = YY_NULL if there are no |
| 18207 |
more characters available from file (rather than , for |
| 18208 |
portability). |
| 18209 |
|
| 18210 |
2002-11-27 Steven Eker <[email protected]> |
| 18211 |
|
| 18212 |
* main.cc (findPrelude): removed extraneous quote from |
| 18213 |
IssueWarning() |
| 18214 |
|
| 18215 |
* banner.cc: fixed #include for LIBv3 |
| 18216 |
|
| 18217 |
2002-11-25 Steven Eker <[email protected]> |
| 18218 |
|
| 18219 |
* interpreter.cc (setCurrentModule): removed default arg |
| 18220 |
|
| 18221 |
2002-11-15 Steven Eker <[email protected]> |
| 18222 |
|
| 18223 |
* entry.cc (addOpDeclaration): use new style |
| 18224 |
IssueWarning()/WarningCheck()s |
| 18225 |
(addVariableAlias): use new style WarningCheck() |
| 18226 |
(newFancySymbol): use new style IssueWarning()s |
| 18227 |
(addPolymorph): use new style IssueWarning()/WarningCheck()s |
| 18228 |
|
| 18229 |
* doParse.cc (parseTerm): use new style IssueWarning()s |
| 18230 |
(parseStatement): use new style IssueWarning()s |
| 18231 |
(parseMatchCommand): use new style IssueWarning()s |
| 18232 |
(parseSearchCommand): use new style IssueWarning()s |
| 18233 |
(parseSentence): use new style IssueWarning()s |
| 18234 |
|
| 18235 |
* moduleDatabase.cc (insertModule): use new style IssueAdvisory() |
| 18236 |
|
| 18237 |
* fixUp.cc (fixUpSymbols): use new style |
| 18238 |
IssueWarning()/WarningCheck() |
| 18239 |
|
| 18240 |
* import.cc (processImports): use new style |
| 18241 |
IssueWarning()/WarningCheck() |
| 18242 |
(importModule): use new style IssueWarning()s |
| 18243 |
|
| 18244 |
* importModule.cc (donateSorts): use new style IssueWarning() |
| 18245 |
(donateOps): use new style IssueWarning() |
| 18246 |
|
| 18247 |
* interact.cc (commandLoop): use new style IssueWarning() |
| 18248 |
|
| 18249 |
* interpreter.cc (setCurrentModule): use new style IssueWarning()s |
| 18250 |
(makeClean): use new style IssueAdvisory() |
| 18251 |
|
| 18252 |
* loopMode.cc (contLoop2): use new style IssueWarning()s |
| 18253 |
(contLoop): use new style IssueAdvisory()s |
| 18254 |
|
| 18255 |
* main.cc (findPrelude): use new style IssueWarning() |
| 18256 |
(main): use new style IssueWarning() |
| 18257 |
(findFile): use new style IssueWarning() |
| 18258 |
|
| 18259 |
* match.cc (match): use new style IssueWarning() |
| 18260 |
|
| 18261 |
* mixfixParser.cc (makeStatementPart): use new style |
| 18262 |
WarningCheck()s |
| 18263 |
|
| 18264 |
* lexerAux.cc (includeFile): use new style IssueWarning()s |
| 18265 |
|
| 18266 |
* lexer.flex: use new style IssueWarning()s |
| 18267 |
|
| 18268 |
* bottom.y (yyerror): use new style IssueWarning() |
| 18269 |
|
| 18270 |
* modules.y: use new style IssueWarning()s |
| 18271 |
|
| 18272 |
* top.y: use new style IssueWarning()s |
| 18273 |
|
| 18274 |
* ops.cc (convertSortsToKinds): use new style IssueWarning() |
| 18275 |
(setPrec): use new style IssueWarning() |
| 18276 |
(setGather): use new style IssueWarning()s |
| 18277 |
(setFormat): use new style IssueWarning()s |
| 18278 |
(setFrozen): use new style IssueWarning()/WarningCheck()s |
| 18279 |
(setStrat): use new style IssueWarning() |
| 18280 |
|
| 18281 |
* preModule.cc (getFlatModule): use new style IssueWarning() |
| 18282 |
(getFlatSignature): use new style IssueAdvisory() |
| 18283 |
|
| 18284 |
* process.cc (process): use new style IssueWarning()s |
| 18285 |
(processSorts): use new style IssueWarning()/WarningCheck() |
| 18286 |
(getSort): use new style IssueWarning() |
| 18287 |
|
| 18288 |
* search.cc (search): use new style IssueWarning() |
| 18289 |
(showSearchPath): use new style IssueWarning()s |
| 18290 |
(showSearchGraph): use new style IssueWarning() |
| 18291 |
|
| 18292 |
2002-11-14 Steven Eker <[email protected]> |
| 18293 |
|
| 18294 |
* mixfixParser.cc (parseSentence): Assert() to check for bad error |
| 18295 |
position being returned from MSCP |
| 18296 |
|
| 18297 |
* interpreter.cc (parse): use getFlatModule() rather than |
| 18298 |
getFlatSignature() since we have now deferred sort table |
| 18299 |
calculations until the module is flattened |
| 18300 |
|
| 18301 |
2002-11-12 Steven Eker <[email protected]> |
| 18302 |
|
| 18303 |
* dagNodePrint.cc (handleIter): only compute color info if |
| 18304 |
PRINT_COLOR is set to avoid UMRs |
| 18305 |
(prettyPrint): only compute color info if |
| 18306 |
PRINT_COLOR is set to avoid UMRs |
| 18307 |
|
| 18308 |
2002-11-11 Steven Eker <[email protected]> |
| 18309 |
|
| 18310 |
* prelude.maude: added owise meta attribute |
| 18311 |
|
| 18312 |
* mixfixParser.cc (makeStatementPart): added line number to |
| 18313 |
warnings |
| 18314 |
|
| 18315 |
* mixfixModule.hh (CommonTokens): updated decl for printAttributes() |
| 18316 |
|
| 18317 |
* prettyPrint.cc (printAttributes): handle owise |
| 18318 |
|
| 18319 |
* importModule.cc (donateStatements): pass owise flag to Equation() |
| 18320 |
|
| 18321 |
* mixfixParser.cc (makeAttributePart): handle MAKE_OWISE_ATTRIBUTE |
| 18322 |
(makeStatementPart): pass owise flag to Equation() |
| 18323 |
|
| 18324 |
* mixfixParser.hh (class MixfixParser): added MAKE_OWISE_ATTRIBUTE |
| 18325 |
to enum SemanticActions |
| 18326 |
(class MixfixParser): added enum Flags |
| 18327 |
(class MixfixParser): updated decls for makeAttributePart() and |
| 18328 |
makeStatementPart() |
| 18329 |
|
| 18330 |
* makeGrammar.cc (makeAttributeProductions): added syntax for |
| 18331 |
otherwise and owise |
| 18332 |
|
| 18333 |
* commonTokens.hh (class CommonTokens): added otherwise and owise |
| 18334 |
|
| 18335 |
* commonTokens.cc (CommonTokens): added otherwise and owise |
| 18336 |
|
| 18337 |
2002-11-07 Steven Eker <[email protected]> |
| 18338 |
|
| 18339 |
* lexerAux.cc (getInput): deleted commented out i/o code |
| 18340 |
|
| 18341 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 18342 |
added decl for changePrompt() |
| 18343 |
|
| 18344 |
* interact.cc (changePrompt): added |
| 18345 |
(handleDebug): call changePrompt() |
| 18346 |
(setHandlers): call changePrompt(), setContPrompt() |
| 18347 |
(commandLoop): deleted messy prompt setting code |
| 18348 |
(setHandlers): deleted commented out SIGWINCH code |
| 18349 |
|
| 18350 |
* match.cc (doMatching): DagNode::okToCollectGarbage() -> |
| 18351 |
MemoryCell::okToCollectGarbage() |
| 18352 |
|
| 18353 |
2002-11-06 Steven Eker <[email protected]> |
| 18354 |
|
| 18355 |
* bufferPrint.cc (handleFormat): use ansiEscapeSequences.cc |
| 18356 |
|
| 18357 |
* loopMode.cc (printBubble): use ansiEscapeSequences.cc |
| 18358 |
|
| 18359 |
* ops.cc (checkFormatString): use ansiEscapeSequences.cc |
| 18360 |
|
| 18361 |
* prettyPrint.cc (fancySpace): use ansiEscapeSequences.cc |
| 18362 |
|
| 18363 |
* ansiEscapeSequences.cc: added |
| 18364 |
|
| 18365 |
* ops.cc (checkFormatString): added 14 extra allow chars |
| 18366 |
|
| 18367 |
* prettyPrint.cc (fancySpace): added remaining 14 ANSI escape |
| 18368 |
sequences |
| 18369 |
|
| 18370 |
2002-11-04 Steven Eker <[email protected]> |
| 18371 |
|
| 18372 |
* token.cc (fixUp): added |
| 18373 |
|
| 18374 |
* token.hh (class Token): added decl for fixUp() |
| 18375 |
|
| 18376 |
* lexer.flex: allow \ newline in stringContent; added FIX_UP macro; |
| 18377 |
use it to fix up identifiers with \ newline in them |
| 18378 |
|
| 18379 |
|
| 18380 |
2002-10-22 Steven Eker <[email protected]> |
| 18381 |
|
| 18382 |
* prelude.maude: added extra decl for _^_ in NAT, INT and RAT |
| 18383 |
|
| 18384 |
2002-10-21 Steven Eker <[email protected]> |
| 18385 |
|
| 18386 |
* commands.y: use MemoryCell::setShowGC() (2 places) |
| 18387 |
|
| 18388 |
* prelude.maude: corrected declaration for abs in RAT |
| 18389 |
|
| 18390 |
2002-10-08 Steven Eker <[email protected]> |
| 18391 |
|
| 18392 |
* entry.cc (newFancySymbol): check that iter symbols only have a |
| 18393 |
single domain sort |
| 18394 |
|
| 18395 |
* ops.cc (setFrozen): handle case where list of arguments is |
| 18396 |
empty; check for trying to set frozen attribute on a constant |
| 18397 |
|
| 18398 |
* modules.y: use setFrozen() even for case where there is no |
| 18399 |
frozen list |
| 18400 |
|
| 18401 |
* visibleModule.cc (showAttributes): updated printout of frozen |
| 18402 |
attribute |
| 18403 |
|
| 18404 |
* command.cc (printOpDef): updated printout of frozen attribute |
| 18405 |
|
| 18406 |
* preModule.hh (Parent): struct OpDef data member frozen is now a |
| 18407 |
NatSet |
| 18408 |
|
| 18409 |
* ops.cc (setFrozen): frozen is now a NatSet; check for duplicate |
| 18410 |
args |
| 18411 |
|
| 18412 |
* mixfixModule.hh (CommonTokens): updated decl for addOpDeclaration() |
| 18413 |
|
| 18414 |
* entry.cc (addOpDeclaration): new frozen handling |
| 18415 |
|
| 18416 |
* importModule.cc (donateOps): cleaned up frozen handling |
| 18417 |
|
| 18418 |
2002-10-03 Steven Eker <[email protected]> |
| 18419 |
|
| 18420 |
* command.cc (printOpDef): fix missing ( in frozen case |
| 18421 |
|
| 18422 |
2002-10-02 Steven Eker <[email protected]> |
| 18423 |
|
| 18424 |
* command.cc (printOpDef): handle frozen attribute with list of |
| 18425 |
arg numbers |
| 18426 |
|
| 18427 |
* visibleModule.cc (showAttributes): handle frozen attribute with |
| 18428 |
list of arg numbers |
| 18429 |
|
| 18430 |
* importModule.cc (donateOps): pass frozen arg to addOpDeclaration() |
| 18431 |
|
| 18432 |
* process.cc (processOps): pass frozen arg to addOpDeclaration() |
| 18433 |
|
| 18434 |
* mixfixModule.hh (CommonTokens): updated decl for |
| 18435 |
addOpDeclaration() |
| 18436 |
|
| 18437 |
* entry.cc (addOpDeclaration): take and handle frozen arg |
| 18438 |
|
| 18439 |
* modules.y: added syntax for partially frozen attribute |
| 18440 |
|
| 18441 |
* ops.cc (setFrozen): added |
| 18442 |
|
| 18443 |
* preModule.hh (Parent): added data member frozen to struct OpDef |
| 18444 |
(Parent): added decl for setFrozen() |
| 18445 |
|
| 18446 |
2002-09-27 Steven Eker <[email protected]> |
| 18447 |
|
| 18448 |
* modules.y: use KW_ convention for keywords |
| 18449 |
|
| 18450 |
* top.y: use KW_ convention for keywords |
| 18451 |
|
| 18452 |
* lexer.flex: use KW_ convention for keywords |
| 18453 |
|
| 18454 |
* interact.cc (setHandlers): don't call new_GetLine() or |
| 18455 |
gl_trap_signal() |
| 18456 |
|
| 18457 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 18458 |
deleted decls for getInput(), displayPrompt(), setAutoWrap() |
| 18459 |
|
| 18460 |
* interact.cc (commandLoop): don't call resetCursor() |
| 18461 |
(setAutoWrap): deleted |
| 18462 |
(displayPrompt): deleted |
| 18463 |
(getInput): deleted |
| 18464 |
(setInteractive): don't call displayPrompt() |
| 18465 |
|
| 18466 |
* main.cc (main): use ioManager.setAutoWrap() |
| 18467 |
|
| 18468 |
2002-09-26 Steven Eker <[email protected]> |
| 18469 |
|
| 18470 |
* lexerAux.cc (getInput): use ioManager.getInput() |
| 18471 |
|
| 18472 |
* main.cc (main): use ioManager.setCommandLineEditing(); added |
| 18473 |
global variable ioManager |
| 18474 |
|
| 18475 |
* interact.cc (setHandlers): use gl_trap_signal() |
| 18476 |
|
| 18477 |
2002-09-25 Steven Eker <[email protected]> |
| 18478 |
|
| 18479 |
* interact.cc (setHandlers): added hack to init tecla |
| 18480 |
(commandLoop): don't call displayPrompt() |
| 18481 |
(setInteractive): don't call displayPrompt() |
| 18482 |
(commandLoop): call resetCursor() |
| 18483 |
(commandLoop): clear continuation flag |
| 18484 |
(getInput): use continuation flag |
| 18485 |
(getInput): rewritten to respect max_size |
| 18486 |
|
| 18487 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 18488 |
added decl for getInput() |
| 18489 |
|
| 18490 |
* interact.cc (getInput): added |
| 18491 |
|
| 18492 |
* lexerAux.cc (getInput): use UserLevelRewritingContext::getInput() |
| 18493 |
|
| 18494 |
2002-09-06 Steven Eker <[email protected]> |
| 18495 |
|
| 18496 |
* mixfixModule.hh (CommonTokens): many decls added and changed to |
| 18497 |
accomodate new Term* -> ostream& pretty printer |
| 18498 |
|
| 18499 |
* termPrint.cc: complete rewrite to handle disambiguation for |
| 18500 |
nats/ints/rats/vars |
| 18501 |
|
| 18502 |
* prettyPrint.cc (fancySpace): don't output attributes if we're |
| 18503 |
are in print color mode |
| 18504 |
|
| 18505 |
* entry.cc (addOpDeclaration): added WarningCheck() for pseudo |
| 18506 |
variable that cannot be distinguished from the real thing |
| 18507 |
|
| 18508 |
* dagNodePrint.cc (handleVariable): handle disambiguation (except |
| 18509 |
for kinds) and color |
| 18510 |
|
| 18511 |
* entry.cc (addOpDeclaration): fill out overloadedVariables |
| 18512 |
|
| 18513 |
* mixfixModule.hh (CommonTokens): added data memeber |
| 18514 |
overloadedVariables |
| 18515 |
|
| 18516 |
2002-09-05 Steven Eker <[email protected]> |
| 18517 |
|
| 18518 |
* dagNodePrint.cc (handleDivision): handle disambiguation |
| 18519 |
(prettyPrint): new handleDivision() calling convention |
| 18520 |
(handleIter): handle disambiguation in succ case |
| 18521 |
(prettyPrint): hoist common coloringInfo calcs |
| 18522 |
|
| 18523 |
* mixfixModule.hh (CommonTokens): updated decl for |
| 18524 |
handleDivision() |
| 18525 |
|
| 18526 |
* dagNodePrint.cc (prettyPrint): new handleMinus() calling |
| 18527 |
convention |
| 18528 |
|
| 18529 |
* mixfixModule.hh (CommonTokens): updated decl for handleMinus() |
| 18530 |
|
| 18531 |
* dagNodePrint.cc (handleMinus): handle disambiguation |
| 18532 |
|
| 18533 |
* sharedPrint.cc: created |
| 18534 |
|
| 18535 |
* dagNodePrint.cc: major rewrite |
| 18536 |
|
| 18537 |
* mixfixModule.hh (CommonTokens): added PSEUDOS to enum |
| 18538 |
InternalFlags |
| 18539 |
(CommonTokens): added decls for ambiguous() and prefix() |
| 18540 |
(CommonTokens): added decls for handleFloat(), handleString(), |
| 18541 |
handleQuotedIdentifier(), handleVariable(), suffix() |
| 18542 |
|
| 18543 |
* dagNodePrint.cc (prettyPrint): check for PSEUDO_NAT, PSEUDO_NEG |
| 18544 |
and PSEUDO_RAT |
| 18545 |
|
| 18546 |
* entry.cc (newFancySymbol): update kindsWithMinus and |
| 18547 |
kindsWithDivision |
| 18548 |
|
| 18549 |
* mixfixModule.hh (CommonTokens): made newFancySymbol() non static |
| 18550 |
|
| 18551 |
* entry.cc (newFancySymbol): update kindsWithSucc |
| 18552 |
|
| 18553 |
* prettyPrint.cc (operator<<): check PRINT_COLOR flag |
| 18554 |
|
| 18555 |
* mixfixModule.hh (CommonTokens): deleted static data member |
| 18556 |
printCtors |
| 18557 |
|
| 18558 |
* dagNodePrint.cc (computeColor): check PRINT_COLOR flag |
| 18559 |
|
| 18560 |
* interpreter.hh: added PRINT_COLOR to enum Flags |
| 18561 |
|
| 18562 |
* commands.y: added set print color on/off |
| 18563 |
|
| 18564 |
* top.y: added KW_COLOR |
| 18565 |
|
| 18566 |
* lexer.flex: added KW_COLOR |
| 18567 |
|
| 18568 |
2002-09-04 Steven Eker <[email protected]> |
| 18569 |
|
| 18570 |
* token.hh (class Token): added decl for getRational() |
| 18571 |
|
| 18572 |
* token.cc (getRational): added |
| 18573 |
|
| 18574 |
* entry.cc (addOpDeclaration): support for PSEUDO_NAT, |
| 18575 |
PSEUDO_NEG and PSEUDO_RAT |
| 18576 |
|
| 18577 |
* mixfixModule.hh (CommonTokens): added decl for hasSameDomain() |
| 18578 |
(CommonTokens): added data members overloadedIntegers, |
| 18579 |
overloadedRationals, kindsWithSucc, kindsWithMinus, |
| 18580 |
kindsWithDivision |
| 18581 |
(CommonTokens): added PSEUDO_NAT, PSEUDO_NEG, PSEUDO_RAT to enum |
| 18582 |
InternalFlags |
| 18583 |
|
| 18584 |
* entry.cc (hasSameDomain): added, in order to deal with assoc |
| 18585 |
domain overloading |
| 18586 |
(addOpDeclaration): use hasSameDomain() |
| 18587 |
|
| 18588 |
* quotedIdentifierSymbol.hh (class QuotedIdentifierSymbol): added |
| 18589 |
decl for isConstructor() |
| 18590 |
|
| 18591 |
* quotedIdentifierSymbol.cc (isConstructor): added |
| 18592 |
|
| 18593 |
2002-09-03 Steven Eker <[email protected]> |
| 18594 |
|
| 18595 |
* mixfixModule.hh (CommonTokens): updated decls for prettyPrint(), |
| 18596 |
handleIter(), computeColor( |
| 18597 |
|
| 18598 |
* dagNodePrint.cc (computeColor): use struct ColoringInfo |
| 18599 |
(handleIter): use struct ColoringInfo |
| 18600 |
|
| 18601 |
* prettyPrint.cc (operator<<): use struct ColoringInfo |
| 18602 |
|
| 18603 |
* mixfixModule.hh (CommonTokens): updated decls for DagNode* |
| 18604 |
versions of handleIter(), handleMinus(), handleDivision() |
| 18605 |
(CommonTokens): added decl for computeColor() |
| 18606 |
(CommonTokens): added struct ColoringInfo |
| 18607 |
|
| 18608 |
* dagNodePrint.cc (prettyPrint): handle coloring in unflatten |
| 18609 |
assoc case |
| 18610 |
(handleIter): handle color arg |
| 18611 |
(handleMinus): handle color arg |
| 18612 |
(computeColor): added |
| 18613 |
(prettyPrint): use computeColor() |
| 18614 |
(prettyPrint): pass color arg to handleIter(), handleMinus() and |
| 18615 |
handleDivision() |
| 18616 |
|
| 18617 |
* prettyPrint.cc (operator<<): pass ectra arg to prettyPrint() |
| 18618 |
|
| 18619 |
* mixfixModule.hh (CommonTokens): updated decl for DagNode* |
| 18620 |
version of prettyPrint() |
| 18621 |
|
| 18622 |
* dagNodePrint.cc (handleIter): pass reducedDirectlyAbove arg to |
| 18623 |
prettyPrint() |
| 18624 |
(prettyPrint): use cyan for unreduced node that have a reduced |
| 18625 |
node above them but not directly above them |
| 18626 |
|
| 18627 |
2002-08-29 Steven Eker <[email protected]> |
| 18628 |
|
| 18629 |
* mixfixModule.hh (CommonTokens): updated decls for printTokens() |
| 18630 |
and printTails() |
| 18631 |
|
| 18632 |
* prettyPrint.cc (printTokens): handle color arg |
| 18633 |
(printTails): handle color arg |
| 18634 |
|
| 18635 |
* dagNodePrint.cc (prettyPrint): handle printCtors in mixfix case |
| 18636 |
|
| 18637 |
2002-08-28 Steven Eker <[email protected]> |
| 18638 |
|
| 18639 |
* dagNodePrint.cc (prettyPrint): handle printCtors in prefix case |
| 18640 |
|
| 18641 |
* mixfixModule.hh (CommonTokens): updated decls for DagNode* |
| 18642 |
versions of handleIter() and prettyPrint() |
| 18643 |
|
| 18644 |
* dagNodePrint.cc (handleIter): take and pass visited, statusVec |
| 18645 |
and reducedAbove |
| 18646 |
(prettyPrint): take and pass visited, statusVec and reducedAbove |
| 18647 |
|
| 18648 |
* prettyPrint.cc (operator<<): (DagNode* version) call |
| 18649 |
computeGraphStatus() |
| 18650 |
|
| 18651 |
* mixfixModule.hh (CommonTokens): added enum DagNodeStatus |
| 18652 |
(CommonTokens): added decl for computeGraphStatus() |
| 18653 |
(CommonTokens): added static data member printCtors |
| 18654 |
|
| 18655 |
* prettyPrint.cc (graphStatus): added |
| 18656 |
|
| 18657 |
* lexer.flex: added : space to skipped IssueWarning() |
| 18658 |
|
| 18659 |
2002-08-27 Steven Eker <[email protected]> |
| 18660 |
|
| 18661 |
* importModule.cc (donateOps): set or clear CTOR flag before |
| 18662 |
passing symbolType to MixfixModule::addOpDeclaration() |
| 18663 |
|
| 18664 |
* entry.cc (addOpDeclaration): don't store ctor flag in |
| 18665 |
symbolInfo[].symbolType since this is a per-symbol struct whereas |
| 18666 |
ctor flag can vary between op decls for the same symbol |
| 18667 |
|
| 18668 |
2002-08-26 Steven Eker <[email protected]> |
| 18669 |
|
| 18670 |
* symbolType.hh (class SymbolType): added decl for dittoProblem() |
| 18671 |
|
| 18672 |
* entry.cc (addOpDeclaration): use dittoProblem() |
| 18673 |
|
| 18674 |
* symbolType.cc (dittoProblem): added |
| 18675 |
(compatible): exclude DITTO when checking for compatibility |
| 18676 |
|
| 18677 |
* entry.cc (addOpDeclaration): allow ditto to be combined with |
| 18678 |
ctor |
| 18679 |
|
| 18680 |
* prelude.maude: made QID-LIST ops ctors; use ditto for |
| 18681 |
op __ : TypeList TypeList |
| 18682 |
in fmod META-MODULE; made true and false ctors |
| 18683 |
|
| 18684 |
* modules.y: use setFlag(SymbolType::CTOR) |
| 18685 |
|
| 18686 |
* visibleModule.cc (showDecls): use isConstructor() |
| 18687 |
(showAttributes): handle iter theory |
| 18688 |
|
| 18689 |
* bufferPrint.cc (prettyPrint): deleted miValue |
| 18690 |
|
| 18691 |
* dagNodePrint.cc (prettyPrint): deleted miValue |
| 18692 |
|
| 18693 |
* termPrint.cc (prettyPrint): deleted miValue |
| 18694 |
|
| 18695 |
* visibleModule.cc (showDecls): use new getOpDeclarations() |
| 18696 |
semantics |
| 18697 |
|
| 18698 |
* quotedIdentifierSymbol.cc (compileOpDeclarations): use new |
| 18699 |
getOpDeclarations() semantics |
| 18700 |
|
| 18701 |
* prettyPrint.cc (chooseDisambiguator): use new |
| 18702 |
getOpDeclarations() semantics |
| 18703 |
|
| 18704 |
* importModule.cc (donateOps): use new getOpDeclarations() |
| 18705 |
semantics |
| 18706 |
|
| 18707 |
* mixfixModule.cc (instantiatePolymorph): use new |
| 18708 |
addOpDeclarations() semantics |
| 18709 |
(copyBubbleSpec): use new getOpDeclarations() semantics |
| 18710 |
(mayAssoc): use new getOpDeclarations() semantics |
| 18711 |
(findSymbol): use new getOpDeclarations() semantics |
| 18712 |
(instantiateVariable): use new addOpDeclarations() semantics; |
| 18713 |
variables are always constructors |
| 18714 |
(instantiateSortTest): use new addOpDeclarations() semantics; sort |
| 18715 |
tests are never constructors |
| 18716 |
|
| 18717 |
* entry.cc (addBubbleSpec): use new getOpDeclarations() semantics |
| 18718 |
(addOpDeclaration): use new getOpDeclarations() and |
| 18719 |
addOpDeclarations() semantics |
| 18720 |
|
| 18721 |
2002-08-23 Steven Eker <[email protected]> |
| 18722 |
|
| 18723 |
* userLevelRewritingContext.cc (dontTrace): added Assert to tray |
| 18724 |
and catch bug reported by Paco |
| 18725 |
(dontTrace): removed Assert(); handle the case where pe == 0, |
| 18726 |
fixing bug reported by Paco |
| 18727 |
|
| 18728 |
===================================Maude75================================================== |
| 18729 |
|
| 18730 |
2002-08-02 Steven Eker <[email protected]> |
| 18731 |
|
| 18732 |
* modules.y: added KW_ENDOM to startKeyword2 |
| 18733 |
|
| 18734 |
2002-08-01 Steven Eker <[email protected]> |
| 18735 |
|
| 18736 |
* token.cc (codeToRope): replaced Assert(false,...) with |
| 18737 |
CantHappen() |
| 18738 |
|
| 18739 |
* prettyPrint.cc (operator<<): replaced Assert(false,...) with |
| 18740 |
CantHappen() |
| 18741 |
|
| 18742 |
* mixfixParser.cc (makeTerm): replaced Assert(false,...) with |
| 18743 |
CantHappen() |
| 18744 |
(makeConditionFragment): replaced Assert(false,...) with |
| 18745 |
CantHappen() |
| 18746 |
(makeStatementPart): replaced Assert(false,...) with CantHappen() |
| 18747 |
|
| 18748 |
* interact.cc (handleDebug): replaced Assert(false,...) with |
| 18749 |
CantHappen() |
| 18750 |
|
| 18751 |
* importModule.cc (removeDependent): replaced Assert(false,...) |
| 18752 |
with CantHappen() |
| 18753 |
(deepCopyCondition): replaced Assert(false,...) with CantHappen() |
| 18754 |
(deepSelfDestruct): replaced DebugAdvisoryCheck(false, ...) with |
| 18755 |
DebugAdvisory() |
| 18756 |
(unprotect): replaced DebugAdvisoryCheck(false, ...) with |
| 18757 |
DebugAdvisory() |
| 18758 |
(removeDependent): replaced DebugAdvisoryCheck(false, ...) with |
| 18759 |
DebugAdvisory() |
| 18760 |
|
| 18761 |
2002-07-31 Steven Eker <[email protected]> |
| 18762 |
|
| 18763 |
* visibleModule.cc (showAttributes): fix bug that we were not |
| 18764 |
setting space after comm |
| 18765 |
(showAttributes): handle MESSAGE, OBJECT and CONFIG flags |
| 18766 |
|
| 18767 |
* command.cc (printOpDef): handle MESSAGE, OBJECT and CONFIG flags |
| 18768 |
|
| 18769 |
* lexer.flex: move in to <INITIAL,CMD_MODE> |
| 18770 |
|
| 18771 |
* modules.y: removed KW_PWD, KW_CD, KW_PUSHD, KW_POPD, KW_LS, IN, |
| 18772 |
KW_LOAD, KW_QUIT, KW_EOF from startKeyword2; removed directive |
| 18773 |
from fDeclaration |
| 18774 |
|
| 18775 |
* top.y: tokens KW_PWD KW_CD KW_PUSHD KW_POPD KW_LS KW_LOAD |
| 18776 |
KW_QUIT KW_EOF no longer declared to have a type |
| 18777 |
|
| 18778 |
* lexer.flex: moved in, load, pwd, cd, pushd, popd, ls, quit, q, |
| 18779 |
eof, from <INITIAL,ID_MODE> to <INITIAL> |
| 18780 |
|
| 18781 |
2002-07-30 Steven Eker <[email protected]> |
| 18782 |
|
| 18783 |
* lexer.flex (id): added | , class and subclass to tokens that are |
| 18784 |
return in ID_MODE |
| 18785 |
|
| 18786 |
* modules.y: added '|' to identifier; added syntax for subclasses; |
| 18787 |
added KW_CLASS and KW_SUBCLASS to startKeyword2 |
| 18788 |
|
| 18789 |
* top.y: added tokens KW_CLASS, KW_SUBCLASS |
| 18790 |
|
| 18791 |
* modules.y: added syntax for class definitions |
| 18792 |
|
| 18793 |
2002-07-29 Steven Eker <[email protected]> |
| 18794 |
|
| 18795 |
* top.y: added decl for startKeyword2 nonterminal |
| 18796 |
|
| 18797 |
* modules.y: added KW_MSG and KW_MSGS to startKeyword; removed |
| 18798 |
KW_MSG from attrKeyword2; added startKeyword2 so we can exclude |
| 18799 |
msg from identity chunks |
| 18800 |
|
| 18801 |
2002-07-26 Steven Eker <[email protected]> |
| 18802 |
|
| 18803 |
* modules.y: reorganized declarations so that rules cannot appear |
| 18804 |
in fmods; added syntax for msg/msgs statements |
| 18805 |
|
| 18806 |
* top.y: added decls for nonterminals notEndfm and notEndm |
| 18807 |
|
| 18808 |
* modules.y: added omod ... endom syntax; handle ended by warings |
| 18809 |
in an extensible way |
| 18810 |
|
| 18811 |
* top.y: added tokens KW_MSGS and KW_ENDOM; added decl for |
| 18812 |
nonterminal notEndom |
| 18813 |
|
| 18814 |
* lexer.flex (id): added keywords msgs and endom |
| 18815 |
|
| 18816 |
2002-07-25 Steven Eker <[email protected]> |
| 18817 |
|
| 18818 |
* makeGrammar.cc (makeSymbolProductions): deleted MACHINE_INTEGER |
| 18819 |
case |
| 18820 |
|
| 18821 |
* mixfixParser.hh (class MixfixParser): deleted MAKE_MACHINE_INT |
| 18822 |
from enum SemanticActions |
| 18823 |
|
| 18824 |
* symbolType.hh (class SymbolType): deleted MACHINE_INTEGER and |
| 18825 |
MACHINE_INTEGER_OP from enum BasicTypes |
| 18826 |
(hasAttachments): use FLOAT_OP instead of MACHINE_INTEGER_OP |
| 18827 |
|
| 18828 |
* specialSymbolTypes.cc (MACRO): deleted MachineIntegerSymbol and |
| 18829 |
MachineIntegerOpSymbol cases |
| 18830 |
|
| 18831 |
* mixfixParser.cc (makeTerm): deleted MAKE_MACHINE_INT case |
| 18832 |
|
| 18833 |
* mixfixModule.cc (findMachineIntegerSymbol): deleted |
| 18834 |
|
| 18835 |
* maudemlBuffer.cc (generate): (both versions) deleted |
| 18836 |
MachineIntegerSymbol case |
| 18837 |
|
| 18838 |
* entry.cc (addOpDeclaration): deleted PSEUDO_MACHINE_INTEGER and |
| 18839 |
overloadedMachineIntegers stuff |
| 18840 |
(addOpDeclaration): don't update machineIntegerSymbols |
| 18841 |
(newFancySymbol): don't make MachineIntegerSymbols or |
| 18842 |
MachineIntegerOpSymbols |
| 18843 |
|
| 18844 |
* termPrint.cc (prettyPrint): deleted handling for |
| 18845 |
PSEUDO_MACHINE_INTEGERs and MACHINE_INTEGERs |
| 18846 |
|
| 18847 |
* graphPrint.cc (graphPrint): deleted MACHINE_INTEGER case |
| 18848 |
|
| 18849 |
* dagNodePrint.cc (prettyPrint): deleted handling for |
| 18850 |
PSEUDO_MACHINE_INTEGERs and MACHINE_INTEGERs |
| 18851 |
|
| 18852 |
* bufferPrint.cc (prettyPrint): deleted handling for |
| 18853 |
PSEUDO_MACHINE_INTEGERs and MACHINE_INTEGERs |
| 18854 |
|
| 18855 |
* mixfixModule.hh (CommonTokens): deleted decl for |
| 18856 |
findMachineIntegerSymbol(); deleted PSEUDO_MACHINE_INTEGER from |
| 18857 |
enum InternalFlags; deleted data members overloadedMachineIntegers |
| 18858 |
and machineIntegerSymbols |
| 18859 |
|
| 18860 |
===================================Maude74================================================== |
| 18861 |
|
| 18862 |
2002-06-17 Steven Eker <[email protected]> |
| 18863 |
|
| 18864 |
* prettyPrint.cc (printCondition): don't print "." |
| 18865 |
(operator<<): (SortConstraint* version) use printAttributes() |
| 18866 |
(printAttributes): added |
| 18867 |
(operator<<): (Equation* version) use printAttributes() |
| 18868 |
|
| 18869 |
* mixfix.hh: added class MetadataStore |
| 18870 |
|
| 18871 |
* mixfixModule.hh (CommonTokens): derive from MetadataStore |
| 18872 |
|
| 18873 |
* metadataStore.hh (class MetadataStore): created from metadata |
| 18874 |
stuff in MixfixModule |
| 18875 |
|
| 18876 |
* metadataStore.cc (getMetadata): moved here |
| 18877 |
(insertMetadata): moved here |
| 18878 |
|
| 18879 |
* mixfixModule.cc (insertMetadata): added |
| 18880 |
(getMetadata): added |
| 18881 |
|
| 18882 |
* mixfixModule.hh (CommonTokens): added MetadataMap, data member |
| 18883 |
metadataMap, enum ItemType and decls for insertMetadata() and |
| 18884 |
getMetadata() |
| 18885 |
|
| 18886 |
* mixfixParser.cc (makeAttributePart): handle metadata attribute |
| 18887 |
(makeStatementPart): insert metadata |
| 18888 |
|
| 18889 |
2002-06-14 Steven Eker <[email protected]> |
| 18890 |
|
| 18891 |
* mixfixParser.hh (class MixfixParser): added |
| 18892 |
MAKE_LABEL_ATTRIBUTE, MAKE_METADATA_ATTRIBUTE, |
| 18893 |
MAKE_NONEXEC_ATTRIBUTE and MAKE_ATTRIBUTE_LIST to enum |
| 18894 |
SemanticActions |
| 18895 |
(class MixfixParser): added decl for makeAttributePart(), updated |
| 18896 |
decl for makeStatementPart() |
| 18897 |
|
| 18898 |
* mixfixParser.cc (makeAttributePart): added |
| 18899 |
(makeStatementPart): added metadata and flags arguments |
| 18900 |
(makeStatement): call makeAttributePart() |
| 18901 |
|
| 18902 |
* commonTokens.cc (CommonTokens): added label, metadata and nonexec |
| 18903 |
|
| 18904 |
* commonTokens.hh (class CommonTokens): added label, metadata and |
| 18905 |
nonexec |
| 18906 |
|
| 18907 |
* preModule.cc (addStatement): check for labels in attribute list; |
| 18908 |
use CommonTokens |
| 18909 |
(addRule): deleted |
| 18910 |
|
| 18911 |
* preModule.hh (PreModule): derive from ComonTokens |
| 18912 |
(PreModule): deleted decl for addRule() |
| 18913 |
|
| 18914 |
* makeGrammar.cc (makeAttributeProductions): added label and |
| 18915 |
nonexec attributes |
| 18916 |
|
| 18917 |
* mixfixModule.hh (CommonTokens): added decl for |
| 18918 |
makeAttributeProductions() |
| 18919 |
|
| 18920 |
* makeGrammar.cc (makeStatementProductions): added production for |
| 18921 |
statement with attributes |
| 18922 |
(makeAttributeProductions): created |
| 18923 |
(makeGrammar): call makeAttributeProductions() |
| 18924 |
|
| 18925 |
2002-06-13 Steven Eker <[email protected]> |
| 18926 |
|
| 18927 |
* prettyPrint.cc (operator<<): (SortConstraint* version) handle |
| 18928 |
label |
| 18929 |
(operator<<): (Equation* version) handle label |
| 18930 |
|
| 18931 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 18932 |
updated decl for handleDebug() |
| 18933 |
|
| 18934 |
* userLevelRewritingContext.cc (tracePreEqRewrite): pass equation |
| 18935 |
to handleDebug() |
| 18936 |
(tracePreScApplication): pass sc to handleDebug() |
| 18937 |
|
| 18938 |
* trial.cc (traceBeginEqTrial): pass equation to handleDebug() |
| 18939 |
(traceBeginScTrial): pass sc to handleDebug() |
| 18940 |
|
| 18941 |
* interact.cc (handleDebug): deal with PreEquation* rather than |
| 18942 |
Rule* |
| 18943 |
|
| 18944 |
* userLevelRewritingContext.hh (dontTrace): delete 1 arg version |
| 18945 |
(class UserLevelRewritingContext): updated decl for dontTrace() |
| 18946 |
|
| 18947 |
* userLevelRewritingContext.cc (tracePreEqRewrite): pass equation |
| 18948 |
to dontTrace() |
| 18949 |
(tracePreScApplication): pass sc to dontTrace() |
| 18950 |
|
| 18951 |
* trial.cc (traceBeginRuleTrial): test traceRuleFlag |
| 18952 |
(traceBeginEqTrial): pass equation to dontTrace() |
| 18953 |
(traceBeginScTrial): pass sc to dontTrace() |
| 18954 |
|
| 18955 |
* userLevelRewritingContext.cc (dontTrace): moved here; deal with |
| 18956 |
PreEquation* rather than Rule* |
| 18957 |
(dontTrace): don't check traceRuleFlag |
| 18958 |
(tracePreRuleRewrite): test traceRuleFlag |
| 18959 |
|
| 18960 |
* modules.y: use addStatement() rather than addRule() |
| 18961 |
|
| 18962 |
* preModule.cc (addStatement): moved here; check for labels |
| 18963 |
|
| 18964 |
* mixfixModule.hh (CommonTokens): added decl for |
| 18965 |
makeComponentProductions() |
| 18966 |
(CommonTokens): RULE_BODY -> RL_BODY; added STATEMENT_PART, |
| 18967 |
ATTRIBUTE_PART, MB_BODY, EQ_BODY to enum NonTerminal |
| 18968 |
|
| 18969 |
* makeGrammar.cc (makeStatementProductions): rewritten; statements |
| 18970 |
now consists of statment parts; now have MB_BODY, EQ_BODY so that |
| 18971 |
mbs and eqs can be prefixed by a label; RULE_BODY becomes RL_BODY |
| 18972 |
(makeConditionProductions): added to contain all the condition |
| 18973 |
code from makeStatementProductions() |
| 18974 |
(makeGrammar): call makeConditionProductions(); |
| 18975 |
|
| 18976 |
* mixfixParser.hh (class MixfixParser): added decl for |
| 18977 |
makeStatementPart() |
| 18978 |
(class MixfixParser): added MAKE_ATTRIBUTE_PART to enum |
| 18979 |
SemanticActions |
| 18980 |
|
| 18981 |
* mixfixParser.cc (makeStatementPart): added |
| 18982 |
(makeStatement): use makeStatementPart() |
| 18983 |
|
| 18984 |
2002-06-12 Steven Eker <[email protected]> |
| 18985 |
|
| 18986 |
* importModule.cc (donateStatements): copy label arg for eqs and |
| 18987 |
mbs |
| 18988 |
|
| 18989 |
* mixfixParser.cc (makeStatement): pass NONE as first arg of |
| 18990 |
Equation() and SortConstraint() |
| 18991 |
|
| 18992 |
* quotedIdentifierOpSymbol.cc (eqRewrite): oracle "or" changed to |
| 18993 |
"mo" for "mos-oracle" |
| 18994 |
|
| 18995 |
2002-06-10 Steven Eker <[email protected]> |
| 18996 |
|
| 18997 |
* makeGrammar.cc (makeSymbolProductions): MACHINE_FLOAT -> FLOAT |
| 18998 |
|
| 18999 |
* mixfixParser.hh (class MixfixParser): MACHINE_FLOAT -> FLOAT |
| 19000 |
|
| 19001 |
* symbolType.hh (class SymbolType): MACHINE_FLOAT -> FLOAT |
| 19002 |
|
| 19003 |
* specialSymbolTypes.cc (MACRO): MachineFloat -> Float |
| 19004 |
|
| 19005 |
* termPrint.cc (prettyPrint): MachineFloat -> Float |
| 19006 |
|
| 19007 |
* mixfixParser.cc (makeTerm): MachineFloat -> Float |
| 19008 |
|
| 19009 |
* mixfixModule.cc: MachineFloat -> Float |
| 19010 |
|
| 19011 |
* maudemlBuffer.cc (generate): MachineFloat -> Float |
| 19012 |
|
| 19013 |
* graphPrint.cc (graphPrint): MachineFloat -> Float |
| 19014 |
|
| 19015 |
* entry.cc: MachineFloat -> Float |
| 19016 |
|
| 19017 |
* dagNodePrint.cc (prettyPrint): MachineFloat -> Float |
| 19018 |
|
| 19019 |
* bufferPrint.cc (prettyPrint): MachineFloat -> Float |
| 19020 |
|
| 19021 |
* mixfixModule.hh: MachineFloat -> Float |
| 19022 |
|
| 19023 |
2002-06-03 Steven Eker <[email protected]> |
| 19024 |
|
| 19025 |
* maudemlBuffer.cc (generate): (term and dagnode versions) handle |
| 19026 |
iter theory |
| 19027 |
|
| 19028 |
* graphPrint.cc (graphPrint): moved here |
| 19029 |
(graphCount): moved here |
| 19030 |
(graphPrint): deleted comment out code from pre mpz_class |
| 19031 |
implementation |
| 19032 |
(graphPrint): handle iter theory |
| 19033 |
|
| 19034 |
2002-05-24 Steven Eker <[email protected]> |
| 19035 |
|
| 19036 |
* mixfixModule.hh (CommonTokens): added decl for buffer versions |
| 19037 |
of handleMinus() and handleDivision() |
| 19038 |
|
| 19039 |
* termPrint.cc (prettyPrint): removed old iter code |
| 19040 |
|
| 19041 |
* bufferPrint.cc (handleMinus): added |
| 19042 |
(handleDivision): added |
| 19043 |
(prettyPrint): use handleMinus() and handleDivision() |
| 19044 |
|
| 19045 |
* mixfixModule.hh (CommonTokens): added decl for buffer version of |
| 19046 |
handleIter() |
| 19047 |
|
| 19048 |
* bufferPrint.cc (handleIter): added |
| 19049 |
(prettyPrint): use handleIter() |
| 19050 |
|
| 19051 |
* termPrint.cc (handleIter): use makeIterName() |
| 19052 |
|
| 19053 |
* dagNodePrint.cc (handleIter): use makeIterName() |
| 19054 |
|
| 19055 |
* mixfixModule.hh (CommonTokens): added decl for makeIterName() |
| 19056 |
|
| 19057 |
* prettyPrint.cc (makeIterName): added |
| 19058 |
|
| 19059 |
* interact.cc (commandLoop): treat an error from yyparse() just |
| 19060 |
like a ctrl-C for cleanup purposes. This fixes a bug where if the |
| 19061 |
user quits part way through a module with ^D we have a module in a |
| 19062 |
bad state that we don't delete |
| 19063 |
|
| 19064 |
2002-05-23 Steven Eker <[email protected]> |
| 19065 |
|
| 19066 |
* termPrint.cc (prettyPrint): (Term* version) use handleMinus() |
| 19067 |
and handleDivision() |
| 19068 |
(handleDivision): added Term* version |
| 19069 |
|
| 19070 |
* mixfixModule.hh (CommonTokens): added decls for Term* versions |
| 19071 |
of handleIter(), handleMinus(), handleDivision() |
| 19072 |
|
| 19073 |
* termPrint.cc (prettyPrint): (Term* version) moved here |
| 19074 |
(prettyPrint): use handleIter() |
| 19075 |
(handleIter): added Term* version |
| 19076 |
|
| 19077 |
* dagNodePrint.cc (handleDivision): use PRINT_RAT flag |
| 19078 |
|
| 19079 |
* interpreter.hh (endif): added PRINT_RAT to enum Flags |
| 19080 |
|
| 19081 |
* commands.y: added syntax for set print rat on/off . |
| 19082 |
|
| 19083 |
* top.y: added KW_RAT |
| 19084 |
|
| 19085 |
* lexer.flex: added KW_RAT |
| 19086 |
|
| 19087 |
* makeGrammar.cc (makeSymbolProductions): added DIVISION_SYMBOL |
| 19088 |
case |
| 19089 |
(makeSpecialProductions): added RATIONAL cases for both seen and |
| 19090 |
unseen tokens |
| 19091 |
|
| 19092 |
* mixfixModule.hh (CommonTokens): added RATIONAL to enum |
| 19093 |
NonTerminal and renumbered |
| 19094 |
|
| 19095 |
* mixfixParser.cc: added MAKE_RATIONAL case |
| 19096 |
|
| 19097 |
* mixfixParser.hh (class MixfixParser): added MAKE_RATIONAL to |
| 19098 |
enum SemanticActions |
| 19099 |
|
| 19100 |
* token.hh (class Token): added decl for looksLikeRational() |
| 19101 |
|
| 19102 |
* token.cc (looksLikeRational): added |
| 19103 |
(checkForSpecialProperty): use looksLikeRational() |
| 19104 |
|
| 19105 |
* token.hh (class Token): added RATIONAL to enum SpecialProperties |
| 19106 |
|
| 19107 |
* mixfixModule.hh (CommonTokens): added decl for handleDivision() |
| 19108 |
|
| 19109 |
* dagNodePrint.cc (handleMinus): rewritten to be simpler as the |
| 19110 |
cost if an extra mpz_class copy |
| 19111 |
(handleDivision): added |
| 19112 |
(prettyPrint): use handleDivision() |
| 19113 |
|
| 19114 |
2002-05-22 Steven Eker <[email protected]> |
| 19115 |
|
| 19116 |
* token.cc (bubbleToPrefixNameCode): patched second (old) |
| 19117 |
algorithm to avoid spurious backquote between token that ends in _ |
| 19118 |
and token that starts with nonspecial. |
| 19119 |
(extractMixfix): allow prefix name with ITER_SYMBOL special |
| 19120 |
property such as |_|^2 to be spit into mixfix syntax |
| 19121 |
|
| 19122 |
2002-05-21 Steven Eker <[email protected]> |
| 19123 |
|
| 19124 |
* symbolType.hh (class SymbolType): added DIVISION_SYMBOL to enum |
| 19125 |
BasicTypes |
| 19126 |
|
| 19127 |
* specialSymbolTypes.cc (MACRO): added DivisionSymbol |
| 19128 |
|
| 19129 |
* commands.y: added syntax for set print number on/off command |
| 19130 |
|
| 19131 |
* top.y: added KW_NUMBER |
| 19132 |
|
| 19133 |
* lexer.flex: added KW_NUMBER |
| 19134 |
|
| 19135 |
* dagNodePrint.cc (handleIter): respect PRINT_NUMBER flag |
| 19136 |
(handleMinus): respect PRINT_NUMBER flag |
| 19137 |
|
| 19138 |
* interpreter.hh (endif): added 9 print flags to enum Flags |
| 19139 |
|
| 19140 |
2002-05-20 Steven Eker <[email protected]> |
| 19141 |
|
| 19142 |
* mixfixModule.hh (CommonTokens): added decl for handleMinus() |
| 19143 |
|
| 19144 |
* dagNodePrint.cc (handleMinus): added |
| 19145 |
(prettyPrint): use handleMinus() |
| 19146 |
|
| 19147 |
* mixfixModule.hh (CommonTokens): added decl for handleIter() |
| 19148 |
|
| 19149 |
* dagNodePrint.cc (prettyPrint): (DagNode* version) moved here |
| 19150 |
(handleIter): added |
| 19151 |
(prettyPrint): use handleIter() |
| 19152 |
|
| 19153 |
* prettyPrint.cc (prettyPrint): (DagNode* version) added |
| 19154 |
SUCC_SYMBOL case |
| 19155 |
|
| 19156 |
* token.cc (codeToInt64): added hack to catch out of range integer |
| 19157 |
errors that are now possible; this will go away with MachineInts |
| 19158 |
|
| 19159 |
* mixfixParser.cc (makeTerm): make sure that the C-string -> |
| 19160 |
mpz_class conversion is done base 10 even if string start with a 0 |
| 19161 |
|
| 19162 |
* token.cc (checkForSpecialProperty): support arbitrary precision |
| 19163 |
integers |
| 19164 |
|
| 19165 |
* mixfixParser.cc (makeTerm): added MAKE_INTEGER case |
| 19166 |
|
| 19167 |
* mixfixParser.hh (class MixfixParser): added MAKE_INTEGER to |
| 19168 |
|
| 19169 |
* makeGrammar.cc (makeSymbolProductions): added negative integer |
| 19170 |
syntax for MINUS_SYMBOL case |
| 19171 |
|
| 19172 |
* mixfixModule.hh (CommonTokens): added ZERO to enum NonTerminal |
| 19173 |
and renumbered following constants |
| 19174 |
|
| 19175 |
* makeGrammar.cc (makeSymbolProductions): handle Token::ZERO case |
| 19176 |
(makeSpecialProductions): handle Token::ZERO case |
| 19177 |
|
| 19178 |
* token.cc (checkForSpecialProperty): handle ZERO case |
| 19179 |
|
| 19180 |
* entry.cc (addOpDeclaration): handle Token::ZERO case when |
| 19181 |
checking for PSEUDO_MACHINE_INTEGERs |
| 19182 |
|
| 19183 |
* token.hh (class Token): added ZERO to enum SpecialProperties |
| 19184 |
|
| 19185 |
* mixfixParser.hh (class MixfixParser): added MAKE_NATURAL to enum |
| 19186 |
SemanticActions |
| 19187 |
|
| 19188 |
* mixfixParser.cc (makeTerm): added MAKE_NATURAL case |
| 19189 |
|
| 19190 |
* makeGrammar.cc (makeSymbolProductions): added natural number |
| 19191 |
syntax for SUCC_SYMBOL case |
| 19192 |
|
| 19193 |
2002-05-17 Steven Eker <[email protected]> |
| 19194 |
|
| 19195 |
* specialSymbolTypes.cc (MACRO): MINUS_SYMBOL added |
| 19196 |
|
| 19197 |
* entry.cc (newFancySymbol): added MINUS_SYMBOL case |
| 19198 |
|
| 19199 |
* symbolType.hh (class SymbolType): added MINUS_SYMBOL to enum |
| 19200 |
BasicTypes |
| 19201 |
|
| 19202 |
2002-05-15 Steven Eker <[email protected]> |
| 19203 |
|
| 19204 |
* importModule.cc (fixUpDonatedOps): for all symbol types where |
| 19205 |
hasAttachments() is true we handle fixups in an incremental |
| 19206 |
manner; previous we only did this for symbol type |
| 19207 |
QUOTED_IDENTIFIER and actually for a QUOTED_IDENTIFIER where we |
| 19208 |
were responsibleForFixUp we would do it twice! |
| 19209 |
|
| 19210 |
* specialSymbolTypes.cc (MACRO): added CUI_NumberOpSymbol |
| 19211 |
|
| 19212 |
* entry.cc (newFancySymbol): support CUI_NUMBER_OP_SYMBOL within |
| 19213 |
CUI_SYMBOL case |
| 19214 |
|
| 19215 |
* symbolType.hh (class SymbolType): added CUI_NUMBER_OP_SYMBOL to |
| 19216 |
enum BasicTypes |
| 19217 |
|
| 19218 |
2002-05-13 Steven Eker <[email protected]> |
| 19219 |
|
| 19220 |
* entry.cc (newFancySymbol): added ACU_NUMBER_OP_SYMBOL case |
| 19221 |
|
| 19222 |
* specialSymbolTypes.cc (MACRO): added ACU_NumberOpSymbol |
| 19223 |
|
| 19224 |
* symbolType.hh (class SymbolType): added ACU_NUMBER_OP_SYMBOL to |
| 19225 |
enum BasicTypes |
| 19226 |
|
| 19227 |
2002-05-09 Steven Eker <[email protected]> |
| 19228 |
|
| 19229 |
* symbolType.hh (hasAttachments): test against |
| 19230 |
END_OF_SYMBOLS_WITH_ATTACHMENTS rather than LOOP_SYMBOL |
| 19231 |
(class SymbolType): added END_OF_SYMBOLS_WITH_ATTACHMENTS to enum |
| 19232 |
BasicTypes |
| 19233 |
|
| 19234 |
* entry.cc (newFancySymbol): added SUCC_SUMBOL and |
| 19235 |
NUMBER_OP_SYMBOL cases |
| 19236 |
|
| 19237 |
* symbolType.hh (class SymbolType): added SUCC_SUMBOL and |
| 19238 |
NUMBER_OP_SYMBOL to enum BasicTypes |
| 19239 |
|
| 19240 |
* specialSymbolTypes.cc (MACRO): added SuccSymbol and |
| 19241 |
NumberOpSymbol |
| 19242 |
|
| 19243 |
2002-05-08 Steven Eker <[email protected]> |
| 19244 |
|
| 19245 |
* prettyPrint.cc (prettyPrint): (DagNode* version) don't use s^n |
| 19246 |
notation when n = 1 |
| 19247 |
(prettyPrint): (Term* version) support s^n notation |
| 19248 |
|
| 19249 |
2002-05-02 Steven Eker <[email protected]> |
| 19250 |
|
| 19251 |
* prettyPrint.cc (prettyPrint): (DagNode* version) simplified |
| 19252 |
using mpz_class operator<<() |
| 19253 |
|
| 19254 |
* mixfixParser.cc (makeTerm): BigNum -> mpz_class |
| 19255 |
(translateSpecialToken): BigNum -> mpz_class |
| 19256 |
|
| 19257 |
* makeGrammar.cc (makeSpecialProductions): BigNum -> mpz_class |
| 19258 |
|
| 19259 |
* token.cc (split): becomes mpz_class version |
| 19260 |
|
| 19261 |
* token.hh: decl for BigNum split() becomes decl for mpz_class |
| 19262 |
split() |
| 19263 |
|
| 19264 |
* prettyPrint.cc (graphPrint): mpz_class replaces class BigNum |
| 19265 |
(graphCount): mpz_class replaces class BigNum |
| 19266 |
|
| 19267 |
* mixfixModule.hh (CommonTokens): updated decl for graphCount() |
| 19268 |
|
| 19269 |
2002-05-01 Steven Eker <[email protected]> |
| 19270 |
|
| 19271 |
* mixfixParser.cc (insertIterSymbolTerminal): resize() if needed |
| 19272 |
|
| 19273 |
* makeGrammar.cc (makeSpecialProductions): handle productions and |
| 19274 |
terminal insertion for iter symbols |
| 19275 |
|
| 19276 |
* mixfixModule.hh (findIterSymbolIndex): added |
| 19277 |
|
| 19278 |
* mixfixParser.hh (class MixfixParser): added decl for |
| 19279 |
insertIterSymbolTerminal() |
| 19280 |
|
| 19281 |
* mixfixParser.cc (insertIterSymbolTerminal): added |
| 19282 |
|
| 19283 |
* mixfixParser.hh (class MixfixParser): added data member iterSymbolTerminals |
| 19284 |
|
| 19285 |
* mixfixParser.cc (translateSpecialToken): added ITER_SYMBOL case |
| 19286 |
|
| 19287 |
* token.cc (checkForSpecialProperty): check for ITER_SYMBOL |
| 19288 |
property |
| 19289 |
|
| 19290 |
* makeGrammar.cc (makeSymbolProductions): add foo^n(t) syntax for |
| 19291 |
symbols foo with the iter attribute |
| 19292 |
|
| 19293 |
* mixfixParser.hh (class MixfixParser): added MAKE_ITER to enum |
| 19294 |
SemanticActions |
| 19295 |
|
| 19296 |
* mixfixParser.cc (makeTerm): added MAKE_ITER case |
| 19297 |
|
| 19298 |
* token.hh (class Token): added decl for BigNum version of split() |
| 19299 |
|
| 19300 |
* token.cc (split): added BigNum version |
| 19301 |
|
| 19302 |
* mixfixModule.hh (CommonTokens): added decl |
| 19303 |
foriterSymbolNonTerminal() |
| 19304 |
|
| 19305 |
* mixfixModule.cc (iterSymbolNonTerminal): added |
| 19306 |
|
| 19307 |
* makeGrammar.cc (makeGrammar): take iterSymbols into account when |
| 19308 |
calculating componentNonTerminalBase |
| 19309 |
|
| 19310 |
* entry.cc (addOpDeclaration): update iterSymbols |
| 19311 |
|
| 19312 |
* mixfixModule.hh (CommonTokens): added data member iterSymbols |
| 19313 |
|
| 19314 |
* mixfixModule.cc (nonTerminal): use componentNonTerminalBase |
| 19315 |
|
| 19316 |
* makeGrammar.cc (makeGrammar): set componentNonTerminalBase |
| 19317 |
|
| 19318 |
* mixfixModule.hh (CommonTokens): added data member |
| 19319 |
componentNonTerminalBase |
| 19320 |
|
| 19321 |
* token.hh (class Token): added ITER_SYMBOL to SpecialProperties |
| 19322 |
|
| 19323 |
2002-04-24 Steven Eker <[email protected]> |
| 19324 |
|
| 19325 |
* prettyPrint.cc (prettyPrint): (DagNode* version) handle ITER |
| 19326 |
flag/S_Symbol |
| 19327 |
|
| 19328 |
* entry.cc (newFancySymbol): support ITER flag/S_Symbol |
| 19329 |
|
| 19330 |
* modules.y: added syntax for iter attribute |
| 19331 |
|
| 19332 |
* top.y: added KW_ITER |
| 19333 |
|
| 19334 |
* lexer.flex: added iter token |
| 19335 |
|
| 19336 |
* symbolType.hh (class SymbolType): added ITER to enum Flags |
| 19337 |
|
| 19338 |
2002-04-19 Steven Eker <[email protected]> |
| 19339 |
|
| 19340 |
* mixfixParser.cc (insertBubbleProduction): set bubblesAllowed = |
| 19341 |
true; this fixes a nasty bug we introduced when we split out class |
| 19342 |
MixfixParser |
| 19343 |
|
| 19344 |
* mixfixModule.hh (CommonTokens): deleted decl for old |
| 19345 |
instantiatePolymorph() |
| 19346 |
|
| 19347 |
* mixfixModule.cc (instantiatePolymorph): collapse the two |
| 19348 |
versions into a single function |
| 19349 |
(findSymbol): use new instantiatePolymorph() interface |
| 19350 |
|
| 19351 |
* visibleModule.hh (class VisibleModule): updated decl for |
| 19352 |
showSummary() |
| 19353 |
|
| 19354 |
* visibleModule.cc (showSummary): use getParserStats() |
| 19355 |
(showSummary): can't be const since we may force creation of a |
| 19356 |
parser |
| 19357 |
|
| 19358 |
* mixfixParser.hh (getNrProductions): added |
| 19359 |
|
| 19360 |
* mixfixModule.hh (CommonTokens): added decl for getParserStats() |
| 19361 |
|
| 19362 |
* doParse.cc (getParserStats): added |
| 19363 |
|
| 19364 |
* makeGrammar.cc (makeComplexProductions): use new CommonTokens |
| 19365 |
(makeStatementProductions): use new CommonTokens |
| 19366 |
|
| 19367 |
* commonTokens.hh (class CommonTokens): added static data members |
| 19368 |
arrowPlus, arrowStar, arrowBang, suchThat, such, that, mb, cmb, |
| 19369 |
eq, ceq, rl, crl, cq, ifToken |
| 19370 |
|
| 19371 |
* commonTokens.cc (CommonTokens): added tokens arrowPlus, |
| 19372 |
arrowStar, arrowBang, suchThat, such, that, mb, cmb, eq, ceq, rl, |
| 19373 |
crl, cq, ifToken |
| 19374 |
|
| 19375 |
* makeGrammar.cc (makeComponentProductions): arrow2 -> arrow |
| 19376 |
|
| 19377 |
* commonTokens.cc (CommonTokens): arrow2 -> arrow |
| 19378 |
|
| 19379 |
* commonTokens.hh (class CommonTokens): arrow2 -> arrow |
| 19380 |
|
| 19381 |
* mixfix.hh: added fwd decl for class CommonTokens |
| 19382 |
|
| 19383 |
* mixfixModule.cc (MixfixModule): don't init token codes |
| 19384 |
|
| 19385 |
* mixfixModule.hh (MixfixModule): derive from CommonTokens; delete |
| 19386 |
own static token data members |
| 19387 |
|
| 19388 |
* commonTokens.hh: created |
| 19389 |
|
| 19390 |
* commonTokens.cc: created |
| 19391 |
|
| 19392 |
* mixfixModule.hh (class MixfixModule): deleted decl for |
| 19393 |
parseCommand() |
| 19394 |
|
| 19395 |
2002-04-17 Steven Eker <[email protected]> |
| 19396 |
|
| 19397 |
* commands.y: added set omod include command |
| 19398 |
|
| 19399 |
* top.y: added token KW_OMOD |
| 19400 |
|
| 19401 |
* lexer.flex: added keyword omod |
| 19402 |
|
| 19403 |
* mixfixModule.hh (class MixfixModule): deleted decls for |
| 19404 |
showOps(), showVars(), showMbs(), showEqs(), showRls(), showAll(), |
| 19405 |
showSummary() and printAttributes() |
| 19406 |
|
| 19407 |
* prettyPrint.cc (showOps): deleted |
| 19408 |
(printAttributes): deleted |
| 19409 |
(showVars): deleted |
| 19410 |
(showMbs): deleted |
| 19411 |
(showEqs): deleted |
| 19412 |
(showRls): deleted |
| 19413 |
(showAll): deleted |
| 19414 |
(showSummary): deleted |
| 19415 |
|
| 19416 |
* interpreter.hh (endif): added decls for showModule() and |
| 19417 |
showVars() |
| 19418 |
|
| 19419 |
* interpreter.cc (showVars): added |
| 19420 |
(showModule): added |
| 19421 |
|
| 19422 |
* commands.y: use interpreter.showModule(true) for show all |
| 19423 |
command; use interpreter.showVars() for show vars |
| 19424 |
|
| 19425 |
* visibleModule.cc (showVars): added |
| 19426 |
|
| 19427 |
* mixfixModule.hh (class MixfixModule): deletd decl for |
| 19428 |
showSorts(); made AliasMap public |
| 19429 |
(getVariableAliases): added |
| 19430 |
|
| 19431 |
* prettyPrint.cc (showSorts): deleted |
| 19432 |
|
| 19433 |
* commands.y: use showSortsAndSubsorts() |
| 19434 |
|
| 19435 |
* interpreter.hh (endif): added decl for showSortsAndSubsorts() |
| 19436 |
|
| 19437 |
* interpreter.cc (showSortsAndSubsorts): added |
| 19438 |
|
| 19439 |
* visibleModule.hh (class VisibleModule): added decl for |
| 19440 |
showSortsAndSubsorts() |
| 19441 |
|
| 19442 |
* visibleModule.cc (showSortsAndSubsorts): added |
| 19443 |
|
| 19444 |
* mixfixModule.hh (getModuleType): made const |
| 19445 |
|
| 19446 |
* visibleModule.hh (class VisibleModule): added decls for |
| 19447 |
showSorts1(), showSubsorts(), showModule() |
| 19448 |
|
| 19449 |
* visibleModule.cc (showSubsorts): added |
| 19450 |
(showSorts1): added |
| 19451 |
(showModule): added |
| 19452 |
|
| 19453 |
* importModule.cc (donateSorts): use getNrImportedSubsortSorts() |
| 19454 |
|
| 19455 |
* importModule.hh (getNrImportedSorts): added |
| 19456 |
(getNrUserSorts): added |
| 19457 |
(getNrImportedSubsortSorts): added |
| 19458 |
|
| 19459 |
* commands.y: use Interpreter version of showOps() |
| 19460 |
|
| 19461 |
* interpreter.hh (endif): added decl for showOps() |
| 19462 |
|
| 19463 |
* interpreter.cc (showOps): added |
| 19464 |
|
| 19465 |
* visibleModule.cc (showDecls): added |
| 19466 |
(printAttributes): becomes showAttributes() |
| 19467 |
|
| 19468 |
* importModule.cc (donateOps): use getNrImportedDeclarations() |
| 19469 |
(fixUpDonatedOps): use getNrImportedDeclarations() |
| 19470 |
|
| 19471 |
* importModule.hh (getNrImportedSymbols): added |
| 19472 |
(getNrUserSymbols): added |
| 19473 |
(getNrImportedDeclarations): added |
| 19474 |
(getNrUserDeclarations): added |
| 19475 |
|
| 19476 |
* visibleModule.cc (showOps): added |
| 19477 |
|
| 19478 |
2002-04-16 Steven Eker <[email protected]> |
| 19479 |
|
| 19480 |
* visibleModule.hh (class VisibleModule): added decl for |
| 19481 |
printAttributes() |
| 19482 |
|
| 19483 |
* visibleModule.cc (printAttributes): added |
| 19484 |
|
| 19485 |
* symbolType.hh (class SymbolType): added ATTRIBUTES toenum Flags |
| 19486 |
|
| 19487 |
* commands.y: use Interpreter version of showSummary() |
| 19488 |
|
| 19489 |
* interpreter.cc (showSummary): added |
| 19490 |
|
| 19491 |
* interpreter.hh (endif): added decl for showSummary() |
| 19492 |
|
| 19493 |
* mixfixModule.hh (class MixfixModule): deleted decl for |
| 19494 |
showComponents() |
| 19495 |
|
| 19496 |
* prettyPrint.cc (showComponents): deleted |
| 19497 |
|
| 19498 |
* commands.y: use showKinds() in place of showComponents() |
| 19499 |
|
| 19500 |
* interpreter.hh (endif): added decl for showKinds() |
| 19501 |
|
| 19502 |
* interpreter.cc (showKinds): added |
| 19503 |
|
| 19504 |
* visibleModule.cc (showSummary): added |
| 19505 |
|
| 19506 |
* visibleModule.hh (class VisibleModule): added decls for |
| 19507 |
showSummary() and showKinds() |
| 19508 |
|
| 19509 |
* visibleModule.cc (showKinds): added |
| 19510 |
|
| 19511 |
* commands.y: use Interpreter versions of showMbs(), showEqs(), |
| 19512 |
showRls() |
| 19513 |
|
| 19514 |
* interpreter.cc (showMbs): added |
| 19515 |
(showEqs): added |
| 19516 |
(showRls): added |
| 19517 |
|
| 19518 |
* interpreter.hh (endif): added decls for showMbs(), showEqs() and |
| 19519 |
showRls() |
| 19520 |
|
| 19521 |
* compiler.cc (fullCompile): ImportModule -> VisibleModule |
| 19522 |
|
| 19523 |
* loopMode.cc: renamed from loopMode2.cc; ImportModule -> |
| 19524 |
VisibleModule in 4 places |
| 19525 |
|
| 19526 |
* search.cc: renamed from search2.cc; ImportModule -> |
| 19527 |
VisibleModule in 3 places |
| 19528 |
|
| 19529 |
* match.cc: renamed from match2.cc; ImportModule -> VisibleModule |
| 19530 |
in 3 places |
| 19531 |
|
| 19532 |
* execute.cc: renamed from execute2.cc; ImportModule -> |
| 19533 |
VisibleModule in many places |
| 19534 |
|
| 19535 |
* interpreter.hh: ImportModule -> VisibleModule in many places |
| 19536 |
|
| 19537 |
* process.cc (process): ImportModule -> VisibleModule |
| 19538 |
|
| 19539 |
* import.cc (importModule): ImportModule -> VisibleModule |
| 19540 |
|
| 19541 |
* preModule.cc: ImportModule -> VisibleModule in 3 places |
| 19542 |
|
| 19543 |
* preModule.hh: ImportModule -> VisibleModule in many places |
| 19544 |
|
| 19545 |
* visibleModule.hh: created |
| 19546 |
|
| 19547 |
* visibleModule.cc: created |
| 19548 |
|
| 19549 |
2002-04-15 Steven Eker <[email protected]> |
| 19550 |
|
| 19551 |
* mixfixModule.hh (class MixfixModule): deleted decl for |
| 19552 |
specialNameToBasicType() |
| 19553 |
|
| 19554 |
* mixfixModule.cc (specialNameToBasicType): deleted |
| 19555 |
|
| 19556 |
* ops.cc (addHook): use SymbolType::specialNameToBasicType() |
| 19557 |
|
| 19558 |
* symbolType.hh (class SymbolType): added decl for |
| 19559 |
specialNameToBasicType() |
| 19560 |
|
| 19561 |
* symbolType.cc (specialNameToBasicType): added |
| 19562 |
|
| 19563 |
2002-04-12 Steven Eker <[email protected]> |
| 19564 |
|
| 19565 |
* mixfixParser2.cc (getTokenSet): moved here |
| 19566 |
(insertVariableTerminal): fix bug where we were inserting into |
| 19567 |
specialTerminals rather than variableTerminals |
| 19568 |
|
| 19569 |
* mixfixParser.hh (getTokenSet): added |
| 19570 |
|
| 19571 |
* makeGrammar.cc (makeSpecialProductions): use getTokenSet() |
| 19572 |
|
| 19573 |
* prettyPrint.cc (showSummary): temporarily commented out grammar |
| 19574 |
stuff |
| 19575 |
|
| 19576 |
* mixfixModule.hh (class MixfixModule): data member parser becomes |
| 19577 |
a MixfixParser* |
| 19578 |
(class MixfixModule): deleted data members actions, data, |
| 19579 |
specialTerminals, currentSentence, currentOffset, tokens |
| 19580 |
(class MixfixModule): deleted enum Actions |
| 19581 |
(class MixfixModule): delete data member variableTokenCode |
| 19582 |
(class MixfixModule): deleted decl for insertProd() |
| 19583 |
|
| 19584 |
* mixfixModule.cc (makeGrammar): deleted |
| 19585 |
(makeVariableProductions): deleted |
| 19586 |
(makeSpecialProductions): deleted |
| 19587 |
(makePolymorphProductions): deleted |
| 19588 |
(makeBoolProductions): deleted |
| 19589 |
(makeComplexProductions): deleted |
| 19590 |
(makeStatementProductions): deleted |
| 19591 |
(makeComponentProductions): deleted |
| 19592 |
(makeSymbolProductions): deleted |
| 19593 |
(makeLabelProductions): deleted |
| 19594 |
(makeBubbleProductions): deleted |
| 19595 |
|
| 19596 |
* mixfix.hh: added fwd decl for class MixfixParser |
| 19597 |
|
| 19598 |
* doParse.cc: created |
| 19599 |
|
| 19600 |
* mixfixParser2.cc (parseSentence): use nrParses |
| 19601 |
(makeTerms): added |
| 19602 |
(insertStatement): added |
| 19603 |
(parseSentence): treat -ve number of parses as INT_MAX rather than 2 |
| 19604 |
(makeMatchCommand): added |
| 19605 |
(makeSearchCommand): added |
| 19606 |
|
| 19607 |
* mixfixParser.hh (class MixfixParser): added data member nrParses |
| 19608 |
|
| 19609 |
* mixfixParser2.cc (parseSentence): was parseSentence2() |
| 19610 |
(parseSentence): set currentSentence & currentOffset |
| 19611 |
|
| 19612 |
* makeGrammar.cc: created |
| 19613 |
|
| 19614 |
* mixfixParser.hh (class MixfixParser): added decls for |
| 19615 |
insertBubbleProduction(), insertSpecialTerminal(), |
| 19616 |
insertVariableTerminal(), translateSpecialToken() |
| 19617 |
|
| 19618 |
* mixfixParser2.cc (insertVariableTerminal): added |
| 19619 |
(translateSpecialToken): added |
| 19620 |
(parseSentence2): added |
| 19621 |
(MixfixParser): initialize specialTerminals and |
| 19622 |
variableTerminals to maximum needed size |
| 19623 |
(insertVariableTerminal): no need to resize variableTerminals |
| 19624 |
(insertSpecialTerminal): no need to resize specialTerminals |
| 19625 |
(insertProduction): renamed from insertProd() |
| 19626 |
(insertBubbleProduction): added |
| 19627 |
|
| 19628 |
2002-04-11 Steven Eker <[email protected]> |
| 19629 |
|
| 19630 |
* mixfixParser2.cc (insertSpecialTerminal): added |
| 19631 |
|
| 19632 |
* mixfixParser.hh (class MixfixParser): added bubblesAllowed data member |
| 19633 |
|
| 19634 |
* mixfixParser2.cc (MixfixParser): initialize bubblesAllowed flag |
| 19635 |
|
| 19636 |
* mixfixModule.hh (class MixfixModule): updated decl for makeBubble() |
| 19637 |
|
| 19638 |
* mixfixModule.cc (makeBubble): make token arg const |
| 19639 |
|
| 19640 |
* mixfixParser2.cc (makeTerm): removed new variable hack now that |
| 19641 |
new variable symtax is properly supported; use makeBubble() |
| 19642 |
|
| 19643 |
2002-04-10 Steven Eker <[email protected]> |
| 19644 |
|
| 19645 |
* mixfixModule.cc (makeBubble): added |
| 19646 |
|
| 19647 |
* mixfixModule.hh (class MixfixModule): added decl for makeBubble |
| 19648 |
|
| 19649 |
* mixfixParser2.cc (MixfixParser): initialize client |
| 19650 |
|
| 19651 |
* mixfixParser.hh (class MixfixParser): make client a reference |
| 19652 |
rather than a const pointer |
| 19653 |
|
| 19654 |
2002-04-09 Steven Eker <[email protected]> |
| 19655 |
|
| 19656 |
* mixfixParser2.cc: created |
| 19657 |
|
| 19658 |
* mixfixParser.hh: created |
| 19659 |
|
| 19660 |
* mixfixModule.cc (makeTrueTerm): moved here |
| 19661 |
|
| 19662 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 19663 |
makeTrueTerm() |
| 19664 |
(makeTrueTerm): added |
| 19665 |
|
| 19666 |
* mixfixModule.cc (instantiatePolymorph): added new version |
| 19667 |
|
| 19668 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 19669 |
instantiatePolymorph() version that takes a polymorphIndex and a |
| 19670 |
kindIndex |
| 19671 |
|
| 19672 |
* compiler.cc: renamed from compiler2.cc |
| 19673 |
|
| 19674 |
* import.cc (findModule): deleted |
| 19675 |
|
| 19676 |
* preModule.hh (PreModule): deleted decl for findModule() |
| 19677 |
|
| 19678 |
===================================Maude72================================================== |
| 19679 |
|
| 19680 |
2002-04-08 Steven Eker <[email protected]> |
| 19681 |
|
| 19682 |
* main.hh: added decl for findExecutableDirectory(); updated decl |
| 19683 |
for findPrelude() |
| 19684 |
|
| 19685 |
* main.cc (findExecutableDirectory): added |
| 19686 |
(findPrelude): use executableDirectory; also look for prelude in |
| 19687 |
current directory |
| 19688 |
(findFile): use executableDirectory; also look for users file in |
| 19689 |
executable directory |
| 19690 |
|
| 19691 |
2002-04-05 Steven Eker <[email protected]> |
| 19692 |
|
| 19693 |
* bufferPrint.cc (handleFormat): implemented |
| 19694 |
(bufferPrint): clear globalIndent |
| 19695 |
|
| 19696 |
* execute2.cc (reduce): check getFlag(SHOW_COMMAND) |
| 19697 |
(fRewriteCont): check getFlag(SHOW_COMMAND) |
| 19698 |
(fRewrite): check getFlag(SHOW_COMMAND) |
| 19699 |
(rewriteCont): check getFlag(SHOW_COMMAND) |
| 19700 |
(rewrite): check getFlag(SHOW_COMMAND) |
| 19701 |
|
| 19702 |
* search2.cc (showSearchGraph): check getFlag(SHOW_COMMAND) |
| 19703 |
(showSearchPath): check getFlag(SHOW_COMMAND) |
| 19704 |
(search): check getFlag(SHOW_COMMAND) |
| 19705 |
(searchCont): check getFlag(SHOW_COMMAND) |
| 19706 |
|
| 19707 |
* maudemlBuffer.hh (class MaudemlBuffer): added decls for |
| 19708 |
generateShowSearchPath() and generateShowSearchGraph() |
| 19709 |
|
| 19710 |
* maudemlBuffer.cc (generateShowSearchGraph): added |
| 19711 |
(generateShowSearchGraph): added |
| 19712 |
|
| 19713 |
* search2.cc (showSearchPath): call generateSearchPath() |
| 19714 |
(showSearchGraph): use generateSearchGraph() |
| 19715 |
|
| 19716 |
* maudemlBuffer.cc (generate): renamed to generateSearchGraph() |
| 19717 |
|
| 19718 |
* maudemlBuffer.hh (class MaudemlBuffer): added decl for |
| 19719 |
generateSearchPath() |
| 19720 |
|
| 19721 |
* maudemlBuffer.cc (generateSearchResult): handle NONE case |
| 19722 |
(generateSearchPath): added |
| 19723 |
|
| 19724 |
* search2.cc (doSearching): use new generateSearchResult(); |
| 19725 |
|
| 19726 |
* maudemlBuffer.hh (class MaudemlBuffer): added decl for |
| 19727 |
generateStats(), updated decl for generateSearchResult() |
| 19728 |
|
| 19729 |
* maudemlBuffer.cc (generateSubstitution): removed const_cast |
| 19730 |
(generateStats): added |
| 19731 |
(generateResult): use generateStats() |
| 19732 |
(generateSearchResult): use generateStats() |
| 19733 |
|
| 19734 |
* userLevelRewritingContext.cc (printSubstitution): removed |
| 19735 |
const_cast |
| 19736 |
|
| 19737 |
* mixfixParser.cc (parseTerm2): call makeGrammar() to make sure |
| 19738 |
complex parser is set one way or the other (we fixed the same bug |
| 19739 |
in parseTerm() on 2001-05-01) |
| 19740 |
|
| 19741 |
2002-04-04 Steven Eker <[email protected]> |
| 19742 |
|
| 19743 |
* search2.cc (doSearching): call generateSearchResult() |
| 19744 |
|
| 19745 |
* maudemlBuffer.cc (generateSearchResult): added |
| 19746 |
(generateSubstitution): added |
| 19747 |
(generateAssignment): added |
| 19748 |
|
| 19749 |
* maudemlBuffer.hh (class MaudemlBuffer): added decls for |
| 19750 |
generateSearchResult(), generateSubstitution(), generateAssignment() |
| 19751 |
|
| 19752 |
* search2.cc (searchCont): call generateContinue() |
| 19753 |
|
| 19754 |
* execute2.cc (fRewriteCont): call generateContinue() |
| 19755 |
|
| 19756 |
* maudemlBuffer.hh (class MaudemlBuffer): added decl for |
| 19757 |
generateContinue() |
| 19758 |
|
| 19759 |
* maudemlBuffer.cc (generateContinue): added |
| 19760 |
|
| 19761 |
* execute2.cc (rewriteCont): call enerateContinue() |
| 19762 |
|
| 19763 |
* maudemlBuffer.hh (class MaudemlBuffer): added decls for |
| 19764 |
generateReduce(), generateRewrite(), generateFrewrite(), |
| 19765 |
generateSearch() |
| 19766 |
|
| 19767 |
* maudemlBuffer.cc (generateSearch): added |
| 19768 |
(generateFrewrite): added |
| 19769 |
(generateRewrite): added |
| 19770 |
|
| 19771 |
* execute2.cc (fRewrite): call generateFrewrite() |
| 19772 |
(rewrite): call generateRewrite() |
| 19773 |
|
| 19774 |
* search2.cc (search): call generateSearch() |
| 19775 |
|
| 19776 |
* maudemlBuffer.cc (generateReduce): added |
| 19777 |
|
| 19778 |
* execute2.cc (reduce): call generateReduce() |
| 19779 |
|
| 19780 |
* mixfixModule.hh (class MixfixModule): added decl for buffer |
| 19781 |
version of printPrefixName() |
| 19782 |
|
| 19783 |
* bufferPrint.cc (printPrefixName): added buffer version |
| 19784 |
(prettyPrint): use printPrefixName() |
| 19785 |
|
| 19786 |
* mixfixModule.hh (class MixfixModule): updated decls for buffer |
| 19787 |
versions of printTokens() and printTails(); added decl for handleFormat() |
| 19788 |
|
| 19789 |
* bufferPrint.cc (prettyPrint): pass const SymbolInfo& to |
| 19790 |
printTokens() and printTails() |
| 19791 |
(printTokens): handle format attribute |
| 19792 |
(printTails): handle format attribute |
| 19793 |
(handleFormat): added |
| 19794 |
|
| 19795 |
* preModule.hh (Parent): made checkFormatString() public for |
| 19796 |
metalevel use |
| 19797 |
|
| 19798 |
* loopMode2.cc (printBubble): support \s for space plus ANSI stuff |
| 19799 |
|
| 19800 |
* profileModule.hh (class ProfileModule): added decl for |
| 19801 |
showSymbol() |
| 19802 |
|
| 19803 |
* profileModule.cc (showSymbol): added |
| 19804 |
(showProfile): print builtin/memo rewrites |
| 19805 |
|
| 19806 |
2002-04-03 Steven Eker <[email protected]> |
| 19807 |
|
| 19808 |
* interpreter.cc (showProfile): moved here |
| 19809 |
|
| 19810 |
* interact.cc (clearDebug): moved here |
| 19811 |
|
| 19812 |
* userLevelRewritingContext.hh (clearDebug): use |
| 19813 |
getFlag(Interpreter::EXCEPTION_FLAGS) |
| 19814 |
|
| 19815 |
* interact.cc (commandLoop): use |
| 19816 |
getFlag(Interpreter::EXCEPTION_FLAGS) |
| 19817 |
(handleDebug): use getFlag(Interpreter::TRACE) (2 places) |
| 19818 |
(handleDebug): use getFlag(Interpreter::EXCEPTION_FLAGS) |
| 19819 |
(handleDebug): use interpreter.getFlag(Interpreter::BREAK) |
| 19820 |
|
| 19821 |
* userLevelRewritingContext.hh (setTraceFlag): deleted |
| 19822 |
(setBreakFlag): deleted |
| 19823 |
(class UserLevelRewritingContext): deleted static data members |
| 19824 |
traceFlag and breakFlag |
| 19825 |
|
| 19826 |
* commands.y: use setFlag(Interpreter::TRACE, ) in place of |
| 19827 |
setTraceFlag(); use setFlag(Interpreter::BREAK, ) in place of |
| 19828 |
setBreakFlag(); |
| 19829 |
|
| 19830 |
* interpreter.cc (setFlag): moved here, support EXCEPTION_FLAGS |
| 19831 |
|
| 19832 |
* interpreter.hh (Interpreter): added EXCEPTION_FLAGS to enum |
| 19833 |
Flags |
| 19834 |
|
| 19835 |
* execute2.cc (makeDag): simplified normalize() call |
| 19836 |
|
| 19837 |
* importModule.hh (getNrOriginalMembershipAxioms): added |
| 19838 |
(getNrOriginalEquations): added |
| 19839 |
|
| 19840 |
* mixfixParser.cc (parseSentence2): fixed bug where we were testing |
| 19841 |
for r < 1 rather than r < 0 and treating the no-parse case and |
| 19842 |
ambiguous |
| 19843 |
|
| 19844 |
* importModule.hh (getNrOriginalRules): added |
| 19845 |
|
| 19846 |
2002-04-02 Steven Eker <[email protected]> |
| 19847 |
|
| 19848 |
* mixfix.hh: added few decl for class Compiler |
| 19849 |
|
| 19850 |
* interpreter.hh (endif): added AUTO_CLEAR_PROFILE to DEFAULT_FLAGS |
| 19851 |
|
| 19852 |
* profileModule.cc (clearProfileInfo): beocmes clearProfile() |
| 19853 |
|
| 19854 |
* profileModule.hh (class ProfileModule): clearProfileInfo() -> |
| 19855 |
clearProfile() |
| 19856 |
|
| 19857 |
* execute2.cc (startUsingModule): call clearProfile() if |
| 19858 |
AUTO_CLEAR_PROFILE flag is set |
| 19859 |
|
| 19860 |
* trial.cc (traceBeginEqTrial): call profileEqConditionStart() |
| 19861 |
(traceBeginRuleTrial): call profileRlConditionStart() |
| 19862 |
(traceBeginScTrial): call profileMbConditionStart() |
| 19863 |
(traceEndFragment): call profileFragment() |
| 19864 |
|
| 19865 |
* userLevelRewritingContext.cc (tracePreEqRewrite): call |
| 19866 |
profileEqRewrite() |
| 19867 |
(tracePreRuleRewrite): call tracePreRuleRewrite() |
| 19868 |
(tracePreScApplication): call profileMbRewrite() |
| 19869 |
|
| 19870 |
* interpreter.hh (showProfile): added |
| 19871 |
|
| 19872 |
* commands.y: added commands set profile on/off . |
| 19873 |
set clear profile on/off . show profile . |
| 19874 |
|
| 19875 |
* top.y: added token KW_PROFILE |
| 19876 |
|
| 19877 |
* lexer.flex: TRACE -> KW_TRACE |
| 19878 |
added keyword KW_PROFILE |
| 19879 |
|
| 19880 |
* commands.y: TRACE -> KW_TRACE |
| 19881 |
|
| 19882 |
* top.y: TRACE -> KW_TRACE |
| 19883 |
|
| 19884 |
* mixfixModule.cc (MixfixModule): call ProfileModule ctor |
| 19885 |
|
| 19886 |
* mixfixModule.hh (class MixfixModule): derive from ProfileModule |
| 19887 |
|
| 19888 |
* profileModule.hh (class ProfileModule): added decls for |
| 19889 |
showProfile() and showFragmentProfile() |
| 19890 |
|
| 19891 |
* profileModule.cc (showFragmentProfile): added |
| 19892 |
(showProfile): added |
| 19893 |
|
| 19894 |
* profileModule.hh (class ProfileModule): added decls for |
| 19895 |
profileFragment() and updateFragmentInfo() |
| 19896 |
|
| 19897 |
* profileModule.cc (profileFragment): added |
| 19898 |
(updateFragmentInfo): added |
| 19899 |
|
| 19900 |
2002-04-01 Steven Eker <[email protected]> |
| 19901 |
|
| 19902 |
* profileModule.hh: created |
| 19903 |
|
| 19904 |
* profileModule.cc: created |
| 19905 |
|
| 19906 |
* trial.cc (traceEndFragment): use *preEquation rather than |
| 19907 |
variableInfo |
| 19908 |
|
| 19909 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 19910 |
updated traceEndFragment() decl |
| 19911 |
|
| 19912 |
* interact.cc (segmentationFaultHandler): call _exit() rather than |
| 19913 |
exit() because machine state could be very screwed up |
| 19914 |
|
| 19915 |
2002-03-29 Steven Eker <[email protected]> |
| 19916 |
|
| 19917 |
* mixfixParser.cc (parseSentence2): patch possible wrap around |
| 19918 |
error in MSCP10 for highly ambiguous sentences; added |
| 19919 |
DebugAdvisoryCheck() to look for this |
| 19920 |
|
| 19921 |
* trial.cc (traceBeginFragment): rewritten using preEquation and |
| 19922 |
fragmentIndex rather than fragment |
| 19923 |
(traceEndFragment): rewritten using preEquation and fragmentIndex |
| 19924 |
rather than fragment |
| 19925 |
|
| 19926 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 19927 |
updated traceBeginFragment() and traceEndFragment() decls to take |
| 19928 |
const PreEquation* and an index rather than ConditionFragment* |
| 19929 |
|
| 19930 |
2002-03-28 Steven Eker <[email protected]> |
| 19931 |
|
| 19932 |
* preModule.hh (Parent): deleted static data member defaultImports |
| 19933 |
|
| 19934 |
* commands.y: use ModuleDatabase::setInclude() |
| 19935 |
|
| 19936 |
* moduleDatabase.hh: NameSet -> IntSet for simplicity |
| 19937 |
|
| 19938 |
* preModule.cc (finishModule): use getIncludes() |
| 19939 |
|
| 19940 |
* moduleDatabase.hh (getIncludes): added |
| 19941 |
(getOmodIncludes): added |
| 19942 |
(class ModuleDatabase): added decls for setInclude() and |
| 19943 |
getOmodIncludes() |
| 19944 |
|
| 19945 |
* moduleDatabase.cc (setInclude): moved here from import.hh |
| 19946 |
(setOmodInclude): added |
| 19947 |
|
| 19948 |
* interpreter.hh (Interpreter): removed creduce() friendship hack |
| 19949 |
|
| 19950 |
* preModule.hh (PreModule): deleted decl for parse() |
| 19951 |
|
| 19952 |
* interpreter.hh (Interpreter): added decl for parse() |
| 19953 |
|
| 19954 |
* commands.y: use Interpreter::parse() |
| 19955 |
|
| 19956 |
* interpreter.cc (parse): moved here from command.cc |
| 19957 |
|
| 19958 |
2002-03-27 Steven Eker <[email protected]> |
| 19959 |
|
| 19960 |
* preModule.cc (PreModule): don't clear isCompiled |
| 19961 |
|
| 19962 |
* preModule.hh (PreModule): delete all the decls for the |
| 19963 |
compilation functions; deleted the various flag static data |
| 19964 |
members; deleted data member isCompiled |
| 19965 |
|
| 19966 |
* compiler2.cc (invalidate): added |
| 19967 |
|
| 19968 |
* preModule.cc (regretToInform): call invalidate() |
| 19969 |
|
| 19970 |
* commands.y: use Interpreter::creduce() |
| 19971 |
|
| 19972 |
* interact.cc (commandLoop): removed hack to unlink executable |
| 19973 |
|
| 19974 |
* compiler2.cc (~Compiler): unlink executable |
| 19975 |
|
| 19976 |
* interpreter.hh (Interpreter): derive from Compiler |
| 19977 |
(Interpreter): added decl for creduce() |
| 19978 |
|
| 19979 |
* execute2.cc (creduce): moved here |
| 19980 |
|
| 19981 |
* commands.y: is Interpreter versions of addSelected(), |
| 19982 |
traceSelect(), breakSelect(), traceExclude(), printConceal() |
| 19983 |
|
| 19984 |
* interpreter.hh (class Interpreter): added data member selected; |
| 19985 |
added decls for addSelected(), traceSelect(), breakSelect(), |
| 19986 |
traceExclude(), printConceal() |
| 19987 |
|
| 19988 |
* interpreter.cc (addSelected): moved here from command.cc |
| 19989 |
(traceSelect): moved here from command.cc |
| 19990 |
(breakSelect): moved here from command.cc |
| 19991 |
(traceExclude): moved here from command.cc |
| 19992 |
(printConceal): moved here from command.cc |
| 19993 |
|
| 19994 |
* commands.y: don't call setShowStats(), setShowLoopStats(), |
| 19995 |
setShowTiming(), setShowBreakdown(), setShowLoopTiming(), |
| 19996 |
setShowCmd(), setAutoClearMemo(), setCompileCount() |
| 19997 |
|
| 19998 |
* preModule.hh (setShowStats): deleted |
| 19999 |
(setShowLoopStats): deleted |
| 20000 |
(setShowCmd): deleted |
| 20001 |
(setShowTiming): deleted |
| 20002 |
(setShowLoopTiming): deleted |
| 20003 |
(setCompileCount): deleted |
| 20004 |
(setAutoClearMemo): deleted |
| 20005 |
|
| 20006 |
* command.cc (selectModule): deleted |
| 20007 |
|
| 20008 |
* interpreter.cc (setCurrentModule): (Vector<Token>& version) now |
| 20009 |
implement the guts of selectModule() rather than calling it |
| 20010 |
(setCurrentModule): (PreModule* version) check if the new current |
| 20011 |
module is really the same as the old current module |
| 20012 |
|
| 20013 |
* import.cc ((importModule): use getModule() |
| 20014 |
(findModule): use getModule() |
| 20015 |
|
| 20016 |
* preModule.cc (finishModule): use insertModule() |
| 20017 |
|
| 20018 |
* preModule.hh (PreModule): deleted all continuation data members; |
| 20019 |
deleted savedLoopSubject; deleted the decls for functions that were |
| 20020 |
moved to Interpreter |
| 20021 |
|
| 20022 |
* interpreter.hh (class Interpreter): derive from class ModuleDatabase |
| 20023 |
|
| 20024 |
* compiler.cc (creduce): added hacks |
| 20025 |
|
| 20026 |
* command.cc (loseFocus): don't call clearContinueInfo() |
| 20027 |
|
| 20028 |
* moduleDatabase.hh: created |
| 20029 |
|
| 20030 |
* moduleDatabase.cc: created |
| 20031 |
|
| 20032 |
* interpreter.cc (setCurrentModule): call clearContinueInfo(); |
| 20033 |
|
| 20034 |
* interpreter.hh (setFlag): fixed bug where we were ignoring polarity |
| 20035 |
|
| 20036 |
* match2.cc (match): this -> currentModule |
| 20037 |
|
| 20038 |
* search2.cc (search): this -> currentModule |
| 20039 |
|
| 20040 |
* execute2.cc (reduce): fix bug: need to print currentModule and |
| 20041 |
not this |
| 20042 |
(rewrite): this -> currentModule |
| 20043 |
(fRewrite): this -> currentModule |
| 20044 |
|
| 20045 |
* interpreter.hh (class Interpreter): added DEFAULT_FLAGS to enum Flags |
| 20046 |
|
| 20047 |
* interpreter.cc (Interpreter): use DEFAULT_FLAGS |
| 20048 |
|
| 20049 |
2002-03-26 Steven Eker <[email protected]> |
| 20050 |
|
| 20051 |
* commands.y: rewritten using CM and interpreter |
| 20052 |
|
| 20053 |
* bottom.y (cleanUpParser): call makeClean() |
| 20054 |
|
| 20055 |
* modules.y: rewritten using CM and interpreter |
| 20056 |
|
| 20057 |
* top.y: added #defined CM; commented out definition of |
| 20058 |
currentModule |
| 20059 |
|
| 20060 |
* interpreter.hh (class Interpreter): added many decls |
| 20061 |
|
| 20062 |
* interpreter.cc (setCurrentModule): added PreModule* version |
| 20063 |
(makeClean): added |
| 20064 |
|
| 20065 |
* match2.cc: created from PreModule's match.cc |
| 20066 |
|
| 20067 |
* search2.cc: created from PreModule's search.cc |
| 20068 |
|
| 20069 |
* loopMode2.cc: created from PreModule's loopMode.cc |
| 20070 |
|
| 20071 |
* interpreter.cc (setCurrentModule): added |
| 20072 |
|
| 20073 |
* interpreter.hh (getCurrentModule): added |
| 20074 |
(class Interpreter): added decl for setCurrentModule() |
| 20075 |
|
| 20076 |
* execute2.cc: created from PreModule's execute.cc |
| 20077 |
|
| 20078 |
* interpreter.cc (Interpreter): initialize the new data members |
| 20079 |
|
| 20080 |
* interpreter.hh (setFlag): added |
| 20081 |
(getFlag): added |
| 20082 |
(class Interpreter): added enum Flags, together with a bunch of |
| 20083 |
data members that were static data in PreModule |
| 20084 |
|
| 20085 |
* maudemlBuffer.cc (MaudemlBuffer): pass flushLevel = 1 |
| 20086 |
|
| 20087 |
* xmlBuffer.hh (class XmlBuffer): updated ctor decl; added data |
| 20088 |
member flushLevel |
| 20089 |
|
| 20090 |
* xmlBuffer.cc (endElement): support flushLevel |
| 20091 |
(XmlBuffer): set flushLevel |
| 20092 |
|
| 20093 |
===================================Maude71a================================================== |
| 20094 |
|
| 20095 |
2002-03-22 Steven Eker <[email protected]> |
| 20096 |
|
| 20097 |
* execute.cc (endRewriting): use generateResult() |
| 20098 |
|
| 20099 |
* maudemlBuffer.cc (generate): (DagNode*) fixed bug with visit |
| 20100 |
PointerSet use |
| 20101 |
(generateResult): added |
| 20102 |
|
| 20103 |
* mixfix.hh: MaudeML_Buffer -> MaudemlBuffer, XML_Buffer -> XmlBuffer |
| 20104 |
|
| 20105 |
* search.cc (showSearchGraph): MaudeML_Buffer -> MaudemlBuffer |
| 20106 |
|
| 20107 |
* execute.cc (endRewriting): MaudeML_Buffer -> MaudemlBuffer |
| 20108 |
|
| 20109 |
* interpreter.cc (beginXmlLog): MaudeML_Buffer -> MaudemlBuffer |
| 20110 |
|
| 20111 |
* interpreter.hh (class Interpreter): MaudeML_Buffer -> MaudemlBuffer |
| 20112 |
|
| 20113 |
* maudemlBuffer.cc: was MaudeML_Buffer.cc |
| 20114 |
|
| 20115 |
* maudemlBuffer.hh: was MaudeML_Buffer.hh |
| 20116 |
|
| 20117 |
* xmlBuffer.cc: was XML_Buffer.cc |
| 20118 |
|
| 20119 |
* xmlBuffer.hh: was XML_Buffer.hh |
| 20120 |
|
| 20121 |
* MaudeML_Buffer.hh (class MaudeML_Buffer): added decls for below |
| 20122 |
functions |
| 20123 |
|
| 20124 |
* MaudeML_Buffer.cc (generate): (DagNode* version) fixed opName |
| 20125 |
bug in string case |
| 20126 |
(generate): added Term* version |
| 20127 |
(generate): added Rule* version |
| 20128 |
(generate): added ConditionFragment* version |
| 20129 |
(generateCondition): added |
| 20130 |
|
| 20131 |
* MaudeML_Buffer.hh (class MaudeML_Buffer): added decl for |
| 20132 |
RewriteSequenceSearch* version of generate() |
| 20133 |
|
| 20134 |
* MaudeML_Buffer.cc (generate): added RewriteSequenceSearch* |
| 20135 |
version |
| 20136 |
|
| 20137 |
* execute.cc (endRewriting): use getXmlBuffer() |
| 20138 |
|
| 20139 |
* main.hh: deleted decl for xmlBuffer global variable |
| 20140 |
|
| 20141 |
* main.cc: added def for global variable interpreter; deleted |
| 20142 |
xmlBuffer global variable |
| 20143 |
(main): support -xml-log= flag |
| 20144 |
|
| 20145 |
* main.hh: added global decl for interpreter |
| 20146 |
|
| 20147 |
* mixfix.hh: removed metalevel decls (should have gone long ago); |
| 20148 |
added decls for classes SymbolType, XML_Buffer, MaudeML_Buffer and |
| 20149 |
Interpreter |
| 20150 |
|
| 20151 |
* interpreter.cc: created |
| 20152 |
|
| 20153 |
* interpreter.hh: created |
| 20154 |
|
| 20155 |
2002-03-20 Steven Eker <[email protected]> |
| 20156 |
|
| 20157 |
* execute.cc (endRewriting): use xmlBuffer->generate() |
| 20158 |
|
| 20159 |
* main.hh: added decl for xmlBuffer global variable |
| 20160 |
|
| 20161 |
* main.cc: added xmlBuffer global variable |
| 20162 |
|
| 20163 |
* MaudeML_Buffer.cc: created |
| 20164 |
|
| 20165 |
* MaudeML_Buffer.hh (class MaudeML_Buffer): created |
| 20166 |
|
| 20167 |
* XML_Buffer.cc: const char* -> const string& throughout |
| 20168 |
|
| 20169 |
* XML_Buffer.hh: created |
| 20170 |
const char* -> const string& |
| 20171 |
|
| 20172 |
* XML_Buffer.cc: created |
| 20173 |
|
| 20174 |
2002-03-11 Steven Eker <[email protected]> |
| 20175 |
|
| 20176 |
* preModule.cc: deleted explicit template instantiations |
| 20177 |
|
| 20178 |
* mixfixModule.cc: deleted explicit template instantiations |
| 20179 |
|
| 20180 |
* main.cc: deleted explicit template instantiations |
| 20181 |
|
| 20182 |
===================================Maude71================================================== |
| 20183 |
|
| 20184 |
2002-03-08 Steven Eker <[email protected]> |
| 20185 |
|
| 20186 |
* autoWrapBuffer.cc: complete rewrite using new representation |
| 20187 |
(breakLine): fix bug where we were always erasing buffer after |
| 20188 |
printing it out |
| 20189 |
|
| 20190 |
* autoWrapBuffer.hh: rewritten using a string as the |
| 20191 |
pendingBuffer; since we now handle escape sequences there is no |
| 20192 |
bound on the growth of the pending buffer; keep pending width to |
| 20193 |
hold the number of buffered chars excluding tabs and escape |
| 20194 |
sequences |
| 20195 |
|
| 20196 |
* autoWrapBuffer.cc (~AutoWrapBuffer): deleted |
| 20197 |
|
| 20198 |
* autoWrapBuffer.hh (streambuf): added decl for handleChar() |
| 20199 |
|
| 20200 |
* autoWrapBuffer.cc (handleChar): added |
| 20201 |
(overflow): don't call breakLine() if we are processing an escape |
| 20202 |
sequence; since the escape sequence will not increase |
| 20203 |
cursorPosition, any decision on inserting a newline can be |
| 20204 |
deferred. Although a \n following an escape sequence is unlikely |
| 20205 |
it is possible with the format attribute |
| 20206 |
(overflow): use handleChar() (3 places) |
| 20207 |
(resetCursor): clear inEscape flag |
| 20208 |
(AutoWrapBuffer): call resetCursor() |
| 20209 |
|
| 20210 |
* prettyPrint.cc (printPrefixName): addded |
| 20211 |
(prettyPrint): (both versions) use printPrefixName(), in prefix |
| 20212 |
case execute 2nd format exstrcut after prefix name rather than |
| 20213 |
after closing paren |
| 20214 |
|
| 20215 |
2002-02-28 Steven Eker <[email protected]> |
| 20216 |
|
| 20217 |
* entry.cc (newFancySymbol): ModelSymbol -> |
| 20218 |
ModelCheckerSymbol; MODEL_SYMBOL -> MODEL_CHECKER_SYMBOL |
| 20219 |
|
| 20220 |
* specialSymbolTypes.cc (MACRO): ModelSymbol -> |
| 20221 |
ModelCheckerSymbol; MODEL_SYMBOL -> MODEL_CHECKER_SYMBOL |
| 20222 |
|
| 20223 |
* symbolType.hh (class SymbolType): MODEL_SYMBOL -> |
| 20224 |
MODEL_CHECKER_SYMBOL |
| 20225 |
|
| 20226 |
2002-02-22 Steven Eker <[email protected]> |
| 20227 |
|
| 20228 |
* specialSymbolTypes.cc: added SatSolverSymbol |
| 20229 |
|
| 20230 |
* entry.cc (newFancySymbol): added SatSolverSymbol |
| 20231 |
|
| 20232 |
* symbolType.hh (class SymbolType): added SAT_SOLVER_SYMBOL |
| 20233 |
|
| 20234 |
2002-02-20 Steven Eker <[email protected]> |
| 20235 |
|
| 20236 |
* main.cc (main): call isatty() on standard output when deciding |
| 20237 |
whether to enable ANSI escape codes in default case |
| 20238 |
|
| 20239 |
2002-02-14 Steven Eker <[email protected]> |
| 20240 |
|
| 20241 |
* symbolType.hh (hasAllFlags): fixed nasty precedence bug |
| 20242 |
|
| 20243 |
* main.cc (main): replaced -no-escape flag with -ansi-color and |
| 20244 |
-no-ansi-color |
| 20245 |
|
| 20246 |
2002-02-13 Steven Eker <[email protected]> |
| 20247 |
|
| 20248 |
* main.cc (main): handle -no-escape flag |
| 20249 |
(main): don't print banner until we've handled flags |
| 20250 |
|
| 20251 |
* autoWrapBuffer.cc (AutoWrapBuffer): initialize inEscape |
| 20252 |
(overflow): handle escape sequences |
| 20253 |
|
| 20254 |
* autoWrapBuffer.hh (streambuf): added data member inEscape |
| 20255 |
|
| 20256 |
* entry.cc (addPolymorph): allow format attribute for non-mixfix |
| 20257 |
polymorphs |
| 20258 |
(addOpDeclaration): allow format attribute for non-mixfix |
| 20259 |
operators |
| 20260 |
|
| 20261 |
* prettyPrint.cc (prettyPrint): (Term and DagNode versions) |
| 20262 |
support format attribute in not mixfix syntax case |
| 20263 |
|
| 20264 |
* mixfixModule.hh (class MixfixModule): added static data member |
| 20265 |
attributeUsed |
| 20266 |
|
| 20267 |
* prettyPrint.cc (operator<<): (Term and DagNode versions) handle |
| 20268 |
attributeUsed flag |
| 20269 |
(fancySpace): set attributeUsed flag when attribute used |
| 20270 |
|
| 20271 |
* banner.cc (printBanner): colorized "Maude" |
| 20272 |
|
| 20273 |
* prettyPrint.cc (fancySpace): support colors, underlining, bold |
| 20274 |
|
| 20275 |
* ops.cc (checkFormatString): added characters for colors, |
| 20276 |
underlining, bold and original |
| 20277 |
|
| 20278 |
2002-02-12 Steven Eker <[email protected]> |
| 20279 |
|
| 20280 |
* prelude.maude: metaMatch now takes a condition; added format |
| 20281 |
attributes |
| 20282 |
|
| 20283 |
2002-02-11 Steven Eker <[email protected]> |
| 20284 |
|
| 20285 |
* prelude.maude: added op nil : -> EqCondition |
| 20286 |
|
| 20287 |
* match.cc (doMatching): call clearCount() |
| 20288 |
|
| 20289 |
2002-02-07 Steven Eker <[email protected]> |
| 20290 |
|
| 20291 |
* prettyPrint.cc (operator<<): (ConditionFragment version) |
| 20292 |
rewritten to handle EqualityConditionFragment, |
| 20293 |
SortTestConditionFragment, AssignmentConditionFragment and |
| 20294 |
RewriteConditionFragment |
| 20295 |
|
| 20296 |
* mixfixModule.cc: added #includes for new classes |
| 20297 |
|
| 20298 |
* mixfixParser.cc (makeConditionFragment): rewritten to classes |
| 20299 |
EqualityConditionFragment, SortTestConditionFragment, |
| 20300 |
AssignmentConditionFragment and RewriteConditionFragment |
| 20301 |
|
| 20302 |
* importModule.cc (deepCopyCondition): rewritten to handle |
| 20303 |
EqualityConditionFragment, SortTestConditionFragment, |
| 20304 |
AssignmentConditionFragment and RewriteConditionFragment |
| 20305 |
|
| 20306 |
2002-02-05 Steven Eker <[email protected]> |
| 20307 |
|
| 20308 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 20309 |
deleted static data member eagerStrategy |
| 20310 |
|
| 20311 |
* quotedIdentifierOpSymbol.cc (QuotedIdentifierOpSymbol): deleted |
| 20312 |
strategy argument passed to FreeSymbol() |
| 20313 |
|
| 20314 |
* modules.y: fixed bug where we weren't able to parse "format" as |
| 20315 |
an ordinary identifier since it was not in attrKeyword2 |
| 20316 |
|
| 20317 |
2002-02-04 Steven Eker <[email protected]> |
| 20318 |
|
| 20319 |
* prettyPrint.cc (printTokens): fix off by 1 error in final |
| 20320 |
fancySpace() call |
| 20321 |
|
| 20322 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 20323 |
printTails() |
| 20324 |
|
| 20325 |
* prettyPrint.cc (printTails): handle formatted printing |
| 20326 |
(prettyPrint): (both versions) new printTails() calling |
| 20327 |
convention |
| 20328 |
|
| 20329 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 20330 |
printTokens() |
| 20331 |
|
| 20332 |
* prettyPrint.cc (printTokens): handle formatted printing |
| 20333 |
(prettyPrint): (both versions) new printTokens() calling |
| 20334 |
convention |
| 20335 |
|
| 20336 |
* entry.cc (addPolymorph): check for bad format length; clear |
| 20337 |
gather/prec/format flags if number of underscore is wrong (this |
| 20338 |
may fix an unobserved bug) |
| 20339 |
(addOpDeclaration): check for bad format length; clear |
| 20340 |
gather/prec/format flags if number of underscore is wrong (this |
| 20341 |
may fix an unobserved bug) |
| 20342 |
|
| 20343 |
* process.cc (processOps): pass format arg to addOpDeclaration() |
| 20344 |
and addPolymorph() |
| 20345 |
|
| 20346 |
* mixfixModule.cc (copyPolymorph): copy format info |
| 20347 |
|
| 20348 |
* importModule.cc (donateOps): pass format to addOpDeclaration() |
| 20349 |
|
| 20350 |
* mixfixModule.hh (getFormat): added |
| 20351 |
(class MixfixModule): added decl for getFormat(); udated decls for |
| 20352 |
addOpDeclaration() and addPolymorph() |
| 20353 |
|
| 20354 |
* entry.cc (addOpDeclaration): support format arg |
| 20355 |
(addPolymorph): support format arg |
| 20356 |
|
| 20357 |
2002-02-01 Steven Eker <[email protected]> |
| 20358 |
|
| 20359 |
* mixfixModule.hh (setPrintFormat): added |
| 20360 |
(class MixfixModule): added format field to struct SymbolInfo |
| 20361 |
|
| 20362 |
* commands.y: added syntax for set print format on/off command |
| 20363 |
|
| 20364 |
* mixfixModule.hh (class MixfixModule): added static data member |
| 20365 |
printFormat |
| 20366 |
|
| 20367 |
* preModule.hh: added decl for check FormatString() |
| 20368 |
|
| 20369 |
* ops.cc (checkFormatString): added |
| 20370 |
|
| 20371 |
* preModule.hh: added decl for setFormat(); added format field to |
| 20372 |
struct OpDef |
| 20373 |
|
| 20374 |
* ops.cc (setFormat): added |
| 20375 |
|
| 20376 |
* modules.y: added syntax for format attribute |
| 20377 |
|
| 20378 |
* top.y: added token KW_FORMAT |
| 20379 |
|
| 20380 |
* lexer.flex: added format token |
| 20381 |
|
| 20382 |
* prettyPrint.cc (operator<<): (DagNode* and Term* versions) clear |
| 20383 |
globalIndent |
| 20384 |
|
| 20385 |
* mixfixModule.hh (class MixfixModule): added static data member |
| 20386 |
globalIndent; |
| 20387 |
(class MixfixModule): added decl for fancySpace() |
| 20388 |
|
| 20389 |
* prettyPrint.cc (fancySpace): added |
| 20390 |
|
| 20391 |
* prelude.maude: simplify using ditto attribute |
| 20392 |
|
| 20393 |
* entry.cc (addOpDeclaration): deleted code that checked for |
| 20394 |
redecl of a variable; added Assert() that this function doesn't |
| 20395 |
handle variables anymore |
| 20396 |
(addOpDeclaration): added check for illegal use of ditto with |
| 20397 |
other attributes |
| 20398 |
(addOpDeclaration): allow symbolTypes to differ if new symbolType |
| 20399 |
just DITTO flag; check for use of ditto without previous |
| 20400 |
declaration to refer to |
| 20401 |
|
| 20402 |
* command.cc (printOpDef): handle ditto attribute |
| 20403 |
|
| 20404 |
* symbolType.hh (class SymbolType): added DITTO to enum Flags |
| 20405 |
|
| 20406 |
* modules.y: added syntax for ditto attribute |
| 20407 |
|
| 20408 |
* top.y: added token KW_DITTO |
| 20409 |
|
| 20410 |
* lexer.flex: added ditto token |
| 20411 |
|
| 20412 |
* prettyPrint.cc (graphPrint): fixed bug where we weren't |
| 20413 |
handling variables, floats and strings as special cases |
| 20414 |
(graphPrint): fixed simalr bug for Qids |
| 20415 |
|
| 20416 |
* mixfixModule.cc (makeSpecialProductions): fix fall thru bug |
| 20417 |
where CONTAINS_COLON fell into ENDS_IN_COLON, creating a spurious |
| 20418 |
production |
| 20419 |
|
| 20420 |
2002-01-31 Steven Eker <[email protected]> |
| 20421 |
|
| 20422 |
* modules.y: rewritten using class SymbolType |
| 20423 |
|
| 20424 |
* ops.cc (addVarDecl): use setBasicType() |
| 20425 |
|
| 20426 |
* command.cc (printOpDef): rewritten using class SymbolType |
| 20427 |
(showModule): rewritten using class SymbolType |
| 20428 |
|
| 20429 |
* mixfixModule.cc (specialNameToFlag): becomes |
| 20430 |
specialNameToBasicType() |
| 20431 |
|
| 20432 |
* ops.cc (setFlag): rewritten using class SymbolType |
| 20433 |
(setPrec): rewritten using class SymbolType |
| 20434 |
(setGather): rewritten using class SymbolType |
| 20435 |
(setStrat): rewritten using class SymbolType |
| 20436 |
(addHook): rewritten using class SymbolType |
| 20437 |
|
| 20438 |
* fixUp.cc (fixUpSymbols): rewritten using class SymbolType |
| 20439 |
|
| 20440 |
* process.cc (checkOpTypes): rewritten using class SymbolType |
| 20441 |
(computeOpTypes): rewritten using class SymbolType |
| 20442 |
(processOps): rewritten using class SymbolType |
| 20443 |
|
| 20444 |
* preModule.hh (Parent): flags field in struct OpDef becomes symbolType |
| 20445 |
|
| 20446 |
* preModule.cc (OpDef): don't clear flags |
| 20447 |
|
| 20448 |
* importModule.cc (donateOps): rewritten using class SymbolType |
| 20449 |
(fixUpDonatedOps): rewritten using class SymbolType |
| 20450 |
|
| 20451 |
* bufferPrint.cc (prettyPrint): rewritten using class SymbolType |
| 20452 |
|
| 20453 |
* prettyPrint.cc: rewritten using class SymbolType |
| 20454 |
|
| 20455 |
2002-01-30 Steven Eker <[email protected]> |
| 20456 |
|
| 20457 |
* specialSymbolTypes.cc (MACRO): use class SymbolType |
| 20458 |
|
| 20459 |
* symbolType.cc: created |
| 20460 |
|
| 20461 |
* symbolType.hh: created |
| 20462 |
|
| 20463 |
* entry.cc: rewritten using class SymbolType |
| 20464 |
|
| 20465 |
* mixfixModule.cc (findSymbol): don't take flags arguments |
| 20466 |
(findSymbol): use getBasicType() |
| 20467 |
(instantiateSortTest): use setBasicType() |
| 20468 |
(instantiateVariable): use setBasicType() |
| 20469 |
(instantiatePolymorph): use getBasicType() |
| 20470 |
(copyPolymorph): use getBasicType() |
| 20471 |
(computePrecAndGather): use hasFlag() |
| 20472 |
(makeSymbolProductions): use hasFlag() and getBasicType() |
| 20473 |
|
| 20474 |
* mixfixModule.hh (class MixfixModule): deleted enum SymbolFlags; |
| 20475 |
int flags replaced by SymbolType symbolType throughout |
| 20476 |
|
| 20477 |
* token.hh: ifdef LIBv3 for libstdc++-v3 |
| 20478 |
|
| 20479 |
* autoWrapBuffer.cc (sync): ifdef LIBv3 for libstdc++-v3 |
| 20480 |
|
| 20481 |
===================================Maude70================================================== |
| 20482 |
|
| 20483 |
2002-01-24 Steven Eker <[email protected]> |
| 20484 |
|
| 20485 |
* top.y: declared KW_VERBOSE |
| 20486 |
|
| 20487 |
* lexer.flex: added KW_VERBOSE |
| 20488 |
|
| 20489 |
* commands.y: added syntax/semantics for set verbose on/off . |
| 20490 |
|
| 20491 |
2002-01-23 Steven Eker <[email protected]> |
| 20492 |
|
| 20493 |
* search.cc (doSearching): print a "No more solutions" message |
| 20494 |
with timing info after last solution found |
| 20495 |
|
| 20496 |
2002-01-21 Steven Eker <[email protected]> |
| 20497 |
|
| 20498 |
* execute.cc (cont): limit == 0 is a no-op |
| 20499 |
|
| 20500 |
* lexer.flex: don't allow 0 in NUMBER_TOK |
| 20501 |
|
| 20502 |
* search.cc (printSearchTiming): use printStats() |
| 20503 |
(doSearching): clear rewrite count stored in |
| 20504 |
RewriteSequenceSearch context |
| 20505 |
|
| 20506 |
* preModule.hh: updated decl for printSearchTiming() |
| 20507 |
|
| 20508 |
* search.cc (printSearchTiming): print number of rewrites |
| 20509 |
(doSearching): pass RewriteSequenceSearch* to printSearchTiming() |
| 20510 |
(2 places) |
| 20511 |
|
| 20512 |
2002-01-18 Steven Eker <[email protected]> |
| 20513 |
|
| 20514 |
* lexer.flex: allo 0 to be recognized as a NUMBER_TOK in <CMD_MODE> |
| 20515 |
allow 0 to be recognized as a NUMBER in <INITIAL> |
| 20516 |
|
| 20517 |
* search.cc (doSearching): use getSubstitition() rather than getContext() |
| 20518 |
(showSearchPath): don't call getStateRule() on state 0 |
| 20519 |
|
| 20520 |
2001-12-21 Steven Eker <[email protected]> |
| 20521 |
|
| 20522 |
* userLevelRewritingContext.hh (beAdoptedBy): added |
| 20523 |
(class UserLevelRewritingContext): parent is no longer a const |
| 20524 |
|
| 20525 |
2001-12-10 Steven Eker <[email protected]> |
| 20526 |
|
| 20527 |
* autoWrapBuffer.cc (sync): sync() -> pubsync() |
| 20528 |
(breakLine): xsputc() -> sputc() (2 places) |
| 20529 |
(overflow): xsputc() -> sputc() (3 places) |
| 20530 |
|
| 20531 |
* interact.cc (segmentationFaultHandler): (...) -> int |
| 20532 |
(interruptHandler): (...) -> (int) |
| 20533 |
|
| 20534 |
* entry.cc (newFancySymbol): replaced nested ?: with nested |
| 20535 |
if-then-else to avoid problem with distinct pointers |
| 20536 |
|
| 20537 |
* token.hh: #include <rope> -> #include <ext/rope> |
| 20538 |
|
| 20539 |
===================================Maude69================================================== |
| 20540 |
|
| 20541 |
2001-10-23 Steven Eker <[email protected]> |
| 20542 |
|
| 20543 |
* prelude.maude: added trueTerm and falseTerm hooks to op _|=_ |
| 20544 |
|
| 20545 |
2001-08-08 Steven Eker <[email protected]> |
| 20546 |
|
| 20547 |
* search.cc (showSearchGraph): added |
| 20548 |
|
| 20549 |
* lexerAux.cc (getInput): fake a \n for files that don't end in \n |
| 20550 |
in order that commands on the last line work properly, and so that |
| 20551 |
we keep line numbers straight |
| 20552 |
|
| 20553 |
* trial.cc (traceBeginRuleTrial): use new handleDebug() convention |
| 20554 |
|
| 20555 |
* userLevelRewritingContext.cc (tracePreRuleRewrite): use new |
| 20556 |
handleDebug() convention |
| 20557 |
|
| 20558 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 20559 |
updated decl for handleDebug() |
| 20560 |
|
| 20561 |
* interact.cc (handleDebug): handle breaking on rule labels |
| 20562 |
|
| 20563 |
* userLevelRewritingContext.hh (dontTrace): delete old version |
| 20564 |
|
| 20565 |
* userLevelRewritingContext.cc (tracePreEqRewrite): use new |
| 20566 |
dontTrace() |
| 20567 |
(tracePreRuleRewrite): use new dontTrace(); don't check |
| 20568 |
traceRuleFlag |
| 20569 |
(tracePreScApplication): use new dontTrace() |
| 20570 |
|
| 20571 |
* trial.cc (traceBeginEqTrial): use new dontTrace() |
| 20572 |
(traceBeginScTrial): use new dontTrace() |
| 20573 |
(traceBeginRuleTrial): use new dontTrace(); don't check |
| 20574 |
traceRuleFlag |
| 20575 |
|
| 20576 |
* userLevelRewritingContext.hh (dontTrace): added two new versions |
| 20577 |
of dontTrace() |
| 20578 |
|
| 20579 |
2001-06-05 Steven Eker <[email protected]> |
| 20580 |
|
| 20581 |
* specialSymbolTypes.cc: added macro for ModelSymbol |
| 20582 |
|
| 20583 |
* entry.cc (newFancySymbol): handle ModelSymbol |
| 20584 |
|
| 20585 |
* mixfixModule.hh (class MixfixModule): added MODEL_SYMBOL to enum |
| 20586 |
SymbolFlags |
| 20587 |
|
| 20588 |
2001-05-14 Steven Eker <[email protected]> |
| 20589 |
|
| 20590 |
* loopMode.cc (doLoop): don't call unprotect(); copy module into |
| 20591 |
savedModule instead |
| 20592 |
(loop): call startUsingModule() |
| 20593 |
(doLoop): don't call clearContinueInfo(), clearTrialCount(), |
| 20594 |
clearMemo() or protect() |
| 20595 |
(contLoop): call startUsingModule() when we try to reinitialize |
| 20596 |
|
| 20597 |
2001-05-11 Steven Eker <[email protected]> |
| 20598 |
|
| 20599 |
* search.cc (doSearching): use |
| 20600 |
UserLevelRewritingContext::aborted() |
| 20601 |
|
| 20602 |
* loopMode.cc (doLoop): use UserLevelRewritingContext::aborted() |
| 20603 |
|
| 20604 |
* match.cc (doMatching): use UserLevelRewritingContext::aborted() |
| 20605 |
(match): use UserLevelRewritingContext::aborted() |
| 20606 |
|
| 20607 |
* execute.cc (endRewriting): use |
| 20608 |
UserLevelRewritingContext::aborted() |
| 20609 |
|
| 20610 |
* userLevelRewritingContext.hh (aborted): added so that we can |
| 20611 |
check the abortFlag in otehr classes of mixfix frontend without |
| 20612 |
having a UserLevelRewritingContext object on which to make a |
| 20613 |
virtual function call to traceAbort() |
| 20614 |
|
| 20615 |
* preModule.hh (Parent): updated decl for printStats() |
| 20616 |
|
| 20617 |
* execute.cc (printStats): take timingFlag |
| 20618 |
(endRewriting): pass timing flag to printStats() |
| 20619 |
|
| 20620 |
* loopMode.cc (doLoop): pass timing flag to printStats() |
| 20621 |
|
| 20622 |
* search.cc (printSearchTiming): test showTiming and isRunning() |
| 20623 |
|
| 20624 |
* match.cc (printMatchTiming): test showTiming and isRunning() |
| 20625 |
|
| 20626 |
* execute.cc (printStats): test showTiming flag |
| 20627 |
|
| 20628 |
* timer.cc (Timer): don't test timingOn |
| 20629 |
(start): don't test timingOn |
| 20630 |
(stop): don't test timingOn |
| 20631 |
(getTimes): don't test timingOn |
| 20632 |
|
| 20633 |
* timer.hh (class Timer): deleted timingOn static data member |
| 20634 |
(setTiming): deleted |
| 20635 |
(isRunning): added |
| 20636 |
|
| 20637 |
2001-05-10 Steven Eker <[email protected]> |
| 20638 |
|
| 20639 |
* search.cc (doSearching): always save state and module so that we |
| 20640 |
can run showSearchPath() on it |
| 20641 |
|
| 20642 |
* preModule.hh (Parent): added decl for showSearchPath() |
| 20643 |
|
| 20644 |
* search.cc (showSearchPath): added |
| 20645 |
|
| 20646 |
* commands.y: added syntax for show path command |
| 20647 |
|
| 20648 |
* top.y: added token KW_PATH |
| 20649 |
|
| 20650 |
* lexer.flex: added keyword path |
| 20651 |
|
| 20652 |
* search.cc (doSearching): print state info with soluntions |
| 20653 |
|
| 20654 |
2001-05-09 Steven Eker <[email protected]> |
| 20655 |
|
| 20656 |
* preModule.hh: added decls for doSearching() and searchCont() |
| 20657 |
|
| 20658 |
* search.cc (doSearching): added |
| 20659 |
(search): rewritten using startUsingModule() and doSearching() |
| 20660 |
(searchCont): added |
| 20661 |
|
| 20662 |
* preModule.hh: added decl for data member |
| 20663 |
savedRewriteSequenceSearch |
| 20664 |
|
| 20665 |
* execute.cc (clearContinueInfo): delete savedRewriteSequenceSearch |
| 20666 |
|
| 20667 |
* match.cc (doMatching): call clearContinueInfo(), clearDebug() |
| 20668 |
and okToCollectGarbage() after we're done matching |
| 20669 |
(match): rewritten using doMatching() and startUsingModule() |
| 20670 |
(doMatching): take Timer& arg and call printMatchTiming() |
| 20671 |
(doMatching): code cleaning |
| 20672 |
|
| 20673 |
* commands.y: make static call to cont(); don't use selectModule() |
| 20674 |
|
| 20675 |
* preModule.hh: make cont() static |
| 20676 |
|
| 20677 |
* execute.cc (cont): use continueFunc for simple function call |
| 20678 |
|
| 20679 |
* preModule.hh : updated decl for beginRewriting(); added |
| 20680 |
decl for startUsingModule(); added decl for static data member |
| 20681 |
savedModule; added static data members savedMatchSearchState and |
| 20682 |
savedSolutionCount |
| 20683 |
(Parent): made rewriteCont(), fRewriteCont(), matchCont() static; |
| 20684 |
make ContinueFuncPtr type a simple pointer to functionn type |
| 20685 |
|
| 20686 |
* execute.cc (clearContinueInfo): unprotect savedModule |
| 20687 |
(startUsingModule): added |
| 20688 |
(beginRewriting): don't call clearTrialCount(), clearMemo(), |
| 20689 |
protect() or clearContinueInfo() here |
| 20690 |
(endRewriting): rewritten |
| 20691 |
(reduce): call startUsingModule(); |
| 20692 |
(rewriteCont): rewritten |
| 20693 |
(rewrite): rewritten |
| 20694 |
(fRewrite): rewritten |
| 20695 |
(fRewriteCont): rewritten |
| 20696 |
|
| 20697 |
2001-05-08 Steven Eker <[email protected]> |
| 20698 |
|
| 20699 |
* loopMode.cc (doLoop): store &PreModule::ruleCont in continueFunc |
| 20700 |
|
| 20701 |
* preModule.hh: updated def for ContinueFuncPtr; added decls for |
| 20702 |
rewriteCont() and fRewriteCont() |
| 20703 |
|
| 20704 |
* execute.cc (rewriteCont): added |
| 20705 |
(fRewriteCont): added |
| 20706 |
(fRewrite): pass &fRewriteCont to endRewriting() |
| 20707 |
(rewrite): pass &rewriteCont to endRewriting() |
| 20708 |
(cont): rewritten |
| 20709 |
|
| 20710 |
2001-05-07 Steven Eker <[email protected]> |
| 20711 |
|
| 20712 |
* match.cc (match): pass duty of garbage collecting pattern to |
| 20713 |
MatchSearchState |
| 20714 |
|
| 20715 |
* preModule.hh: added decl for Term* version of makeDag() |
| 20716 |
|
| 20717 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 20718 |
Vector<ConditionFragment*>& version of printCondition() |
| 20719 |
|
| 20720 |
* prettyPrint.cc (printCondition): added const |
| 20721 |
Vector<ConditionFragment*>& version |
| 20722 |
(printCondition): use Vector<ConditionFragment*>& version |
| 20723 |
|
| 20724 |
* match.cc (match): print out condition when printing out command |
| 20725 |
|
| 20726 |
* search.cc (search): print command if showCmd flag set |
| 20727 |
|
| 20728 |
* match.cc (match): handle NONE rather than UNBOUNDED in no limit |
| 20729 |
case |
| 20730 |
|
| 20731 |
* commands.y: pass NONE to match in no limit case |
| 20732 |
|
| 20733 |
* search.cc (search): use makeDag() |
| 20734 |
|
| 20735 |
* match.cc (match): use makeDag() |
| 20736 |
|
| 20737 |
* execute.cc (makeDag): added Term* version |
| 20738 |
(makeDag): use Term* version |
| 20739 |
|
| 20740 |
2001-05-04 Steven Eker <[email protected]> |
| 20741 |
|
| 20742 |
* preModule.hh (Parent): delete static data member init |
| 20743 |
|
| 20744 |
* loopMode.cc (doLoop): use class timer |
| 20745 |
|
| 20746 |
* preModule.hh (Parent): updated decls for printStats() and |
| 20747 |
endRewriting() |
| 20748 |
|
| 20749 |
* execute.cc (beginRewriting): don't call setitimer() |
| 20750 |
(reduce): use class timer |
| 20751 |
(rewrite): use class timer |
| 20752 |
(fRewrite): use class timer |
| 20753 |
(cont): use class timer |
| 20754 |
(endRewriting): take Timer& arg |
| 20755 |
(printStats): rewritten |
| 20756 |
|
| 20757 |
* preModule.hh (Parent): updated decls for printMatchTiming() and |
| 20758 |
printSearchTiming() |
| 20759 |
|
| 20760 |
* search.cc (search): don't call setitimer(); use class Timer |
| 20761 |
(printSearchTiming): use class Timer |
| 20762 |
|
| 20763 |
* match.cc (match): don't call setitimer(); use class Timer |
| 20764 |
(printMatchTiming): use class Timer |
| 20765 |
|
| 20766 |
* interact.cc (setHandlers): don't ignore SIGALRM, SIGVTALRM, |
| 20767 |
SIGPROF since these are handled by class Timer now |
| 20768 |
|
| 20769 |
* timer.cc: created |
| 20770 |
|
| 20771 |
* timer.hh: created |
| 20772 |
|
| 20773 |
2001-05-03 Steven Eker <[email protected]> |
| 20774 |
|
| 20775 |
* mixfixParser.cc (parseMatchCommand): handle such that condition |
| 20776 |
(parseSearchCommand): handle such that condition |
| 20777 |
|
| 20778 |
* mixfixModule.hh (class MixfixModule): added SUCH_THAT to enum |
| 20779 |
NonTerminal |
| 20780 |
|
| 20781 |
* mixfixModule.cc (makeComplexProductions): allow "s.t." and |
| 20782 |
"such that" syntax for attching conditions to match and search |
| 20783 |
commands |
| 20784 |
|
| 20785 |
* top.y: deleted decls for cTokenBarMatchLeq, |
| 20786 |
cTokenBarMatchLeqColon, cTokenBarMatchLeqNumber, |
| 20787 |
cTokenBarMatchLeqRight; delete static variable pattern |
| 20788 |
|
| 20789 |
* commands.y: deleted MATCH_LEQ and UNIFY_EQ from command mode |
| 20790 |
token types; deleted nonterminals mNumberModuleTerm, |
| 20791 |
mNumberModuleTerm1, mNumberModuleTerm2, mModuleAndTerm, mInEnd, |
| 20792 |
cTokensBarMatchLeq, cTokensBarMatchLeqColon, cTokenBarMatchLeq, |
| 20793 |
cTokenBarMatchLeqColon, cTokenBarMatchLeqNumber, |
| 20794 |
cTokenBarMatchLeqRight |
| 20795 |
|
| 20796 |
* top.y: deleted tokens MATCH_LEQ and UNIFY_EQ |
| 20797 |
|
| 20798 |
* lexer.flex: deleted tokens "<=?" and "=?" from <CMD_MODE> |
| 20799 |
|
| 20800 |
* mixfixParser.cc (parseMatchCommand): added |
| 20801 |
|
| 20802 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 20803 |
parseMatchCommand() |
| 20804 |
|
| 20805 |
* commands.y: changed syntax of match/xmatch commands to parse |
| 20806 |
pattern and subject in a single bubble |
| 20807 |
|
| 20808 |
* preModule.hh (Parent): updated decl for match() |
| 20809 |
|
| 20810 |
* match.cc (printMatchTiming): moved here |
| 20811 |
(match): moved here; now take single bubble argument and use |
| 20812 |
parseMatchCommand() |
| 20813 |
|
| 20814 |
2001-05-02 Steven Eker <[email protected]> |
| 20815 |
|
| 20816 |
* preModule.hh: deleted decls for tryMatch() and dagNodeLt() |
| 20817 |
|
| 20818 |
* search.cc (tryMatch): deleted |
| 20819 |
(search): support limit arg |
| 20820 |
|
| 20821 |
* preModule.hh: updated decl for search() |
| 20822 |
|
| 20823 |
* commands.y: support number in search command |
| 20824 |
|
| 20825 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 20826 |
updated decl for printSubstitution() |
| 20827 |
|
| 20828 |
* userLevelRewritingContext.cc (printSubstitution): made |
| 20829 |
Substitution arg a const ref |
| 20830 |
|
| 20831 |
* search.cc (search): rewritten using class RewriteSequenceSearch |
| 20832 |
|
| 20833 |
* mixfixParser.cc (parseSearchCommand): pass searchType via int& |
| 20834 |
for simplicity |
| 20835 |
|
| 20836 |
* mixfixModule.cc (makeComplexProductions): use |
| 20837 |
RewriteSequenceSearch::SearchType |
| 20838 |
|
| 20839 |
* mixfixModule.hh (class MixfixModule): deleted enum SearchType |
| 20840 |
(class MixfixModule): updated decl for parseSearchCommand() |
| 20841 |
|
| 20842 |
* preModule.hh: added decl for tryMatch() |
| 20843 |
|
| 20844 |
* search.cc (tryMatch): added |
| 20845 |
(search): rewritten using tryMatch() and supporting searchType |
| 20846 |
|
| 20847 |
2001-05-01 Steven Eker <[email protected]> |
| 20848 |
|
| 20849 |
* mixfixParser.cc (parseSearchCommand): handle SearchType arg |
| 20850 |
|
| 20851 |
* mixfixModule.hh (class MixfixModule): added enum SearchType |
| 20852 |
(class MixfixModule): parseSearchCommand() decl takes searchType |
| 20853 |
arg |
| 20854 |
|
| 20855 |
* search.cc (search): rewritten using parseSearchCommand() |
| 20856 |
(search): check for variables that are bound before they are used |
| 20857 |
in condition |
| 20858 |
|
| 20859 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 20860 |
parseSearchCommand() |
| 20861 |
|
| 20862 |
* mixfixParser.cc (parseSearchCommand): added |
| 20863 |
|
| 20864 |
* mixfixModule.cc (makeComplexProductions): added productions for |
| 20865 |
SEARCH_CONNECTIVE, SEARCH_COMMAND and MATCH_COMMAND |
| 20866 |
|
| 20867 |
* mixfixModule.hh (class MixfixModule): added static data member |
| 20868 |
gatherAnyAnyAny |
| 20869 |
|
| 20870 |
* mixfixModule.cc (makeComponentProductions): add productions for |
| 20871 |
MATCH_PAIR and SEARCH_PAIR in the complexParser case |
| 20872 |
|
| 20873 |
* mixfixParser.cc (parseTerm): call makeGrammar() to make sure |
| 20874 |
complex parser is set one way or the other |
| 20875 |
|
| 20876 |
* mixfixModule.hh (class MixfixModule): makeCommandProductions() |
| 20877 |
decl becomes makeComplexProductions() |
| 20878 |
(class MixfixModule): decl for nonTerminal() is no longer static |
| 20879 |
|
| 20880 |
* mixfixParser.cc (parseSentence2): don't test before calling |
| 20881 |
makeGrammar() |
| 20882 |
(parseCommand): call makeGrammar() to ensure we have a complex parser |
| 20883 |
|
| 20884 |
* prettyPrint.cc (showSummary): don't test before calling |
| 20885 |
makeGrammar() since makeGrammar() now tests for th existence of |
| 20886 |
parser |
| 20887 |
(showSummary): use nonTerminal() to calculate number of |
| 20888 |
nonterminals |
| 20889 |
|
| 20890 |
* mixfixModule.cc (makeGrammar): take complex flag; check for |
| 20891 |
existence of appropriate kind of parser |
| 20892 |
(makeCommandProductions): becomes makeComplexProductions() |
| 20893 |
(nonTerminal): now depend on complexParser flag |
| 20894 |
|
| 20895 |
* mixfixModule.hh (class MixfixModule): split enum NonTerminal |
| 20896 |
into complex and simple parts |
| 20897 |
(class MixfixModule): added data member complexParser |
| 20898 |
(class MixfixModule): makeGrammar() now takes complex flag |
| 20899 |
|
| 20900 |
2001-04-27 Steven Eker <[email protected]> |
| 20901 |
|
| 20902 |
* search.cc (search): rewritten using MatchSearchState and |
| 20903 |
RewriteSearchState inseatd on OneStep |
| 20904 |
|
| 20905 |
2001-04-26 Steven Eker <[email protected]> |
| 20906 |
|
| 20907 |
* search.cc: removed various experimental crud and got old search |
| 20908 |
facility working (doesn't handle new conditions correctly though) |
| 20909 |
|
| 20910 |
* execute.cc (match): use new MatchSearchState() interface; |
| 20911 |
pattern and context are now local objects rather than pointers to |
| 20912 |
objects on the heap that need to be garbage collected |
| 20913 |
|
| 20914 |
2001-04-17 Steven Eker <[email protected]> |
| 20915 |
|
| 20916 |
* mixfixModule.hh (class MixfixModule): printAttributes() made |
| 20917 |
non-static |
| 20918 |
|
| 20919 |
* prettyPrint.cc (printAttributes): handle config, object and msg |
| 20920 |
attributes |
| 20921 |
|
| 20922 |
* mixfixModule.cc (closeSignature): add object and message info |
| 20923 |
to ConfigSymbols |
| 20924 |
|
| 20925 |
* mixfixModule.hh (class MixfixModule): added data members |
| 20926 |
objectSymbols and messageSymbols |
| 20927 |
|
| 20928 |
* entry.cc (addOpDeclaration): handle OBJECT and MESSAGE flags |
| 20929 |
(newFancySymbol): handle ConfigSymbol |
| 20930 |
|
| 20931 |
* mixfixModule.hh (class MixfixModule): added CONFIG, OBJECT and |
| 20932 |
MESSAGE to enum SymbolFlags |
| 20933 |
|
| 20934 |
* modules.y: added syntax for config, obj and msg attributes |
| 20935 |
|
| 20936 |
* top.y: added tokens KW_CONFIG, KW_OBJ, KW_MSG |
| 20937 |
|
| 20938 |
* lexer.flex (id): added keywords obj, msg and config |
| 20939 |
|
| 20940 |
2001-04-04 Steven Eker <[email protected]> |
| 20941 |
|
| 20942 |
* preModule.hh: added decl for breakSelect() |
| 20943 |
|
| 20944 |
* command.cc (breakSelect): added |
| 20945 |
|
| 20946 |
* commands.y: added set break on/off command; added break |
| 20947 |
select/deselect <symbols> command . |
| 20948 |
|
| 20949 |
* top.y: aded token KW_BREAK |
| 20950 |
|
| 20951 |
* lexer.flex: added keyword break |
| 20952 |
|
| 20953 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 20954 |
added decls for selectBreakSymbols(), setBreakFlag() |
| 20955 |
|
| 20956 |
* interact.cc (selectBreakSymbols): added |
| 20957 |
|
| 20958 |
* userLevelRewritingContext.hh (setBreakFlag): added |
| 20959 |
|
| 20960 |
* interact.cc (commandLoop): take breakFlag into account when |
| 20961 |
calling setTraceStatus() |
| 20962 |
(handleDebug): take breakFlag into account when calling |
| 20963 |
setTraceStatus() |
| 20964 |
|
| 20965 |
* userLevelRewritingContext.hh (clearDebug): take breakFlag into |
| 20966 |
account when calling setTraceStatus() |
| 20967 |
(setTraceFlag): take breakFlag into account when calling |
| 20968 |
setTraceStatus() |
| 20969 |
|
| 20970 |
* interact.cc (handleDebug): support breakFlag |
| 20971 |
|
| 20972 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 20973 |
updated decl for handleDebug(); added static data members |
| 20974 |
breakFlag and breakSymbols |
| 20975 |
|
| 20976 |
* userLevelRewritingContext.cc (tracePreEqRewrite): pass redex to |
| 20977 |
handleDebug() |
| 20978 |
(tracePreRuleRewrite): pass redex to handleDebug() |
| 20979 |
(tracePreScApplication): pass subject to handleDebug() |
| 20980 |
|
| 20981 |
* trial.cc (traceBeginEqTrial): pass subject to handleDebug() |
| 20982 |
(traceBeginRuleTrial): pass subject to handleDebug() |
| 20983 |
(traceBeginScTrial): pass subject to handleDebug() |
| 20984 |
|
| 20985 |
===================================Engine65================================================== |
| 20986 |
|
| 20987 |
2001-03-30 Steven Eker <[email protected]> |
| 20988 |
|
| 20989 |
* preModule.hh (Parent): delete decl for eRewrite() |
| 20990 |
|
| 20991 |
* lexer.flex: use yyInt64 and stringToInt64() |
| 20992 |
|
| 20993 |
* top.y: number and number2 now Int64; yyInt becomes yyInt64 |
| 20994 |
|
| 20995 |
* commands.y: use Token::codeToInt64() throughout |
| 20996 |
|
| 20997 |
* execute.cc (eRewrite): deleted |
| 20998 |
|
| 20999 |
* command.cc (printOpDef): handle frozen attribute |
| 21000 |
|
| 21001 |
* prettyPrint.cc (printAttributes): handle frozen attribute |
| 21002 |
|
| 21003 |
2001-03-29 Steven Eker <[email protected]> |
| 21004 |
|
| 21005 |
* prelude.maude: added ops frozen and metaFrewrite |
| 21006 |
|
| 21007 |
2001-03-28 Steven Eker <[email protected]> |
| 21008 |
|
| 21009 |
* loopMode.cc (doLoop): call resetRules() |
| 21010 |
|
| 21011 |
* execute.cc (beginRewriting): call clearContinueInfo() |
| 21012 |
(rewrite): call resetRules() |
| 21013 |
(fRewrite): call resetRules() |
| 21014 |
|
| 21015 |
* loopMode.cc (doLoop): rewritten |
| 21016 |
|
| 21017 |
* preModule.hh (Parent): updated endRewriting() decl |
| 21018 |
|
| 21019 |
* execute.cc (cont): save continueFunc and savedContext on the |
| 21020 |
stack in case they get overwritten in the debugger; only restore |
| 21021 |
them if we did not abort |
| 21022 |
(endRewriting): rewritten; now handle store of savedContext and |
| 21023 |
continueFunc |
| 21024 |
(rewrite): rewritten |
| 21025 |
(fRewrite): rewritten |
| 21026 |
(cont): rewritten |
| 21027 |
(reduce): rewritten |
| 21028 |
|
| 21029 |
2001-03-27 Steven Eker <[email protected]> |
| 21030 |
|
| 21031 |
* entry.cc (addOpDeclaration): call setFrozen() for frozen symbols |
| 21032 |
|
| 21033 |
* mixfixModule.hh (class MixfixModule): added FROZEN flag to enum |
| 21034 |
SymbolFlags |
| 21035 |
|
| 21036 |
* modules.y: added semantics for frozen attribute |
| 21037 |
|
| 21038 |
* execute.cc (cont): limit is now an Int64 |
| 21039 |
|
| 21040 |
* commands.y: use new rewrite(), eRewrite() and cont() conventions |
| 21041 |
|
| 21042 |
* preModule.hh (Parent): updated decls for rewrite(), eRewrite() |
| 21043 |
and cont() |
| 21044 |
|
| 21045 |
* execute.cc (beginRewriting): don't do saved.setNode(0) |
| 21046 |
(rewrite): use NONE (-1) rather than UNBOUNDED for no limit case, |
| 21047 |
limit is now an Int64 |
| 21048 |
(eRewrite): ditto |
| 21049 |
|
| 21050 |
* command.cc (loseFocus): call clearContinueInfo() rather than |
| 21051 |
doing saved.setNode(0) |
| 21052 |
|
| 21053 |
* preModule.hh: deleted static member saved |
| 21054 |
|
| 21055 |
* loopMode.cc (loop): moved here |
| 21056 |
(contLoop2): moved here |
| 21057 |
(contLoop): moved here |
| 21058 |
(doLoop): moved here |
| 21059 |
(printBubble): moved here |
| 21060 |
(contLoop2): rewritten using savedContext rather than saved |
| 21061 |
(doLoop): rewritten using savedContext rather than saved |
| 21062 |
|
| 21063 |
2001-03-26 Steven Eker <[email protected]> |
| 21064 |
|
| 21065 |
* main.cc (main): support interactive flag; call |
| 21066 |
createRootBuffer() after processing flags and pass |
| 21067 |
forceInteractive flag |
| 21068 |
|
| 21069 |
* lexerAux.cc (handleEof): fixed bug: only include a pending file |
| 21070 |
if we have returned to the top level. |
| 21071 |
(cleanUpLexer): use rootInteractive flag rather than isatty() |
| 21072 |
(createRootBuffer): take forceInteractive flag; set |
| 21073 |
rootInteractive flag |
| 21074 |
(includeFile): pass false to setInteractive() rather than using |
| 21075 |
isatty() |
| 21076 |
(handleEof): only call UserLevelRewritingContext::setInteractive() |
| 21077 |
after we have returned to the top level; use rootInteractive flag |
| 21078 |
rather than isatty() |
| 21079 |
|
| 21080 |
2001-03-23 Steven Eker <[email protected]> |
| 21081 |
|
| 21082 |
* execute.cc (endRewriting): call clearContinueInfo() if module |
| 21083 |
disappears after being unprotected; don't save result |
| 21084 |
(reduce): call clearContinueInfo() |
| 21085 |
|
| 21086 |
* preModule.hh (Parent): added decl for clearContinueInfo() |
| 21087 |
|
| 21088 |
* execute.cc (rewrite): rewritten using savedContext and |
| 21089 |
continueFunc |
| 21090 |
(cont): rewritten using savedContext and continueFunc |
| 21091 |
(fRewrite): rewritten using savedContext and continueFunc |
| 21092 |
(cont): call clearCount() |
| 21093 |
(clearContinueInfo): added |
| 21094 |
|
| 21095 |
* preModule.hh: added static data member savedContext, typedef |
| 21096 |
ContinueFuncPtr and static data member continueFunc |
| 21097 |
|
| 21098 |
* execute.cc (cont): support fairContinue() |
| 21099 |
(fRewrite): use savedContext |
| 21100 |
|
| 21101 |
2001-03-22 Steven Eker <[email protected]> |
| 21102 |
|
| 21103 |
* execute.cc (fRewrite): take gas argument |
| 21104 |
|
| 21105 |
* preModule.hh: updated decl for fRewrite() |
| 21106 |
|
| 21107 |
* commands.y: updated all token rules now that "," is a special |
| 21108 |
token; added syntax for [<number>,<number>] in <Module> : <term> . |
| 21109 |
updated syntax for frewrite command |
| 21110 |
|
| 21111 |
* lexer.flex: added "," to tokens that are treated as special in |
| 21112 |
command mode |
| 21113 |
|
| 21114 |
* modules.y: support frozen attribute syntax |
| 21115 |
|
| 21116 |
* preModule.hh: updated decl for printStats(); added static data |
| 21117 |
member showBreakdown |
| 21118 |
(setShowBreakdown): added |
| 21119 |
|
| 21120 |
* execute.cc (endRewriting): pass context to printStats() |
| 21121 |
(doLoop): pass context to printStats() |
| 21122 |
(printStats): support showBreakdown flag |
| 21123 |
|
| 21124 |
2001-03-20 Steven Eker <[email protected]> |
| 21125 |
|
| 21126 |
* top.y: added tokens KW_FROZEN and KW_BREAKDOWN |
| 21127 |
|
| 21128 |
* lexer.flex: added keywords frozen and breakdown |
| 21129 |
|
| 21130 |
2001-03-16 Steven Eker <[email protected]> |
| 21131 |
|
| 21132 |
* execute.cc (endRewriting): count() -> getTotalCount() |
| 21133 |
(doLoop): count() -> getTotalCount() |
| 21134 |
|
| 21135 |
* quotedIdentifierOpSymbol.cc (eqRewrite): incrementCount() -> |
| 21136 |
incrementEqCount() (3 places) |
| 21137 |
|
| 21138 |
2001-03-13 Steven Eker <[email protected]> |
| 21139 |
|
| 21140 |
* preModule.hh (Parent): added decl for fRewrite() |
| 21141 |
|
| 21142 |
* execute.cc (fRewrite): added |
| 21143 |
|
| 21144 |
* commands.y: added syntax for frewrite command |
| 21145 |
|
| 21146 |
2001-03-06 Steven Eker <[email protected]> |
| 21147 |
|
| 21148 |
* preModule.hh (Parent): added decl for eRewrite() |
| 21149 |
|
| 21150 |
* execute.cc (eRewrite): added |
| 21151 |
|
| 21152 |
* commands.y: added syntax for erewite command |
| 21153 |
|
| 21154 |
* top.y: added tokens KW_EREWRITE, KW_FREWRITE, KW_OREWRITE |
| 21155 |
|
| 21156 |
* lexer.flex: added keywords erewrite, frewrite and orewrite |
| 21157 |
|
| 21158 |
2001-02-22 Steven Eker <[email protected]> |
| 21159 |
|
| 21160 |
* importModule.cc (ImportModule): removed unneeded #includes |
| 21161 |
|
| 21162 |
* preModule.cc: removed unneeded #includes |
| 21163 |
|
| 21164 |
===================================Engine65================================================== |
| 21165 |
|
| 21166 |
2001-02-21 Steven Eker <[email protected]> |
| 21167 |
|
| 21168 |
* fixUp.cc (fixUpSymbols): use dynamic_cast to check that symbol |
| 21169 |
we're about to add an identity to is really a BinarySymbol and not |
| 21170 |
a FreeSymbol created to fix up an error detected earlier |
| 21171 |
|
| 21172 |
2001-02-20 Steven Eker <[email protected]> |
| 21173 |
|
| 21174 |
* descentFunctions.cc (dagifySubstitution): fixed nasty bug where |
| 21175 |
we were failing to delete last created DagRoot if the substitution |
| 21176 |
was badly sorted - this leads to dag nodes that are still |
| 21177 |
reachable after their module (and symbols) have been deleted, |
| 21178 |
causing chaos during the mark phase of the next garbage collect |
| 21179 |
(metaXmatch): fixed bug where we we're counting rewrites done |
| 21180 |
during solve phase of matching |
| 21181 |
(metaMatch): symmetric bug fix |
| 21182 |
|
| 21183 |
2001-02-14 Steven Eker <[email protected]> |
| 21184 |
|
| 21185 |
* metaDownOps.cc (downOpDecl): handle polymorphs having arbitrary |
| 21186 |
junk in "Universal" positions of meta op decl |
| 21187 |
(downOpDecls): static_cast -> safeCast |
| 21188 |
(downBubbleSpec): static_cast -> safeCast (3 places) |
| 21189 |
(downOpDecl): static_cast -> safeCast |
| 21190 |
|
| 21191 |
* metaDownFixUps.cc (fixUpPolymorph): implemented |
| 21192 |
|
| 21193 |
* metaDownOps.cc (downOpDecl): don't call setLineNumber() in |
| 21194 |
normal case (addOpDeclaration() does this if needed) |
| 21195 |
(downOpDecl): added IssueAdvisory() |
| 21196 |
|
| 21197 |
* metaDownFixUps.cc: IssueWarning() becomes IssueAdvisory() |
| 21198 |
(downOpHook): added AdvisoryCheck() |
| 21199 |
(fixUpBubble): simplified using downOpHook() |
| 21200 |
|
| 21201 |
* metaDownOps.cc (downAttr): IssueWarning() becomes |
| 21202 |
IssueAdvisory() |
| 21203 |
|
| 21204 |
* mixfixModule.cc (findSymbol): only try to make a sort test |
| 21205 |
operator if trueSymbol and falseSymbol are defined; actually if |
| 21206 |
they're not both defined we won't get the grammar rules for sort |
| 21207 |
tests but that doesn't stop the user from trying to make them at |
| 21208 |
the meta level, causing a seg fault |
| 21209 |
|
| 21210 |
* metaDownOps.cc (downAttrSet): handle identity arg |
| 21211 |
(downAttr): handle identity arg |
| 21212 |
|
| 21213 |
* metaLevel.hh (class MetaLevel): updated many decls |
| 21214 |
|
| 21215 |
* metaDownOps.cc (downOpDecl): rewritten using new |
| 21216 |
addComplexSymbol() calls |
| 21217 |
(downHookList): renamed to checkHookList() |
| 21218 |
(downIdHook): renamed to checkHook() and rewritten using |
| 21219 |
specialNameToFlag() |
| 21220 |
(downAttr): use checkHookList() |
| 21221 |
|
| 21222 |
* mixfixModule.hh (class MixfixModule): added POLYMORPH to enum |
| 21223 |
SymbolFlags |
| 21224 |
|
| 21225 |
* ops.cc (addHook): simplified using specialNameToFlag() |
| 21226 |
|
| 21227 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 21228 |
specialNameToFlag() |
| 21229 |
|
| 21230 |
* mixfixModule.cc (specialNameToFlag): added |
| 21231 |
|
| 21232 |
* metaDownFixUps.cc (downFixUps): meta fixup stuff moved here |
| 21233 |
|
| 21234 |
* metaDownOps.cc (downHook): handle idHookSymbol case |
| 21235 |
(fixUpPolymorph): added |
| 21236 |
(downFixUpBubble): renamed to fixUpBubble() |
| 21237 |
|
| 21238 |
2001-02-13 Steven Eker <[email protected]> |
| 21239 |
|
| 21240 |
* metaDownOps.cc (downDefaultFixUp): renamed to fixUpSpecialSymbol() |
| 21241 |
(downFixUps): rewritten |
| 21242 |
|
| 21243 |
* metaLevel.hh (class MetaLevel): added ComplexSymbolType |
| 21244 |
|
| 21245 |
* metaModule.cc: rewritten |
| 21246 |
|
| 21247 |
* metaModule.hh: rewritten |
| 21248 |
|
| 21249 |
* metaDownOps.cc: move op/attr/special functions here |
| 21250 |
|
| 21251 |
* importModule.cc (fixUpDonatedOps): allow the case where a |
| 21252 |
donated symbol has both an identity and a special |
| 21253 |
|
| 21254 |
* fixUp.cc (fixUpSymbols): allow a symbol to have both an identity |
| 21255 |
and a special |
| 21256 |
|
| 21257 |
2001-02-12 Steven Eker <[email protected]> |
| 21258 |
|
| 21259 |
* metaLevel.hh (class MetaLevel): added decls for |
| 21260 |
downDefaultFixUp(), downHook(), downOpHook() |
| 21261 |
|
| 21262 |
* metaDown.cc (downOpDecl): use HAS_ATTACHMENTS and don't consider |
| 21263 |
originator flag for ops that have identity or HAS_ATTACHMENTS |
| 21264 |
(downDefaultFixUp): added |
| 21265 |
(downHook): added |
| 21266 |
(downOpHook): added |
| 21267 |
(downFixUps): call downDefaultFixUp() |
| 21268 |
|
| 21269 |
* fixUp.cc (fixUpSymbols): no longer treat QUOTED_IDENTIFIER as a |
| 21270 |
special case |
| 21271 |
|
| 21272 |
* mixfixModule.hh (class MixfixModule): added QUOTED_IDENTIFIER to |
| 21273 |
HAS_ATTACHMENTS disjuction |
| 21274 |
|
| 21275 |
* fixUp.cc (fixUpSymbols): no longer consider originator flag for |
| 21276 |
HAS_ATTACHMENTS symbols |
| 21277 |
(fixUpSymbols): qidBaseSymbol -> qidSymbol |
| 21278 |
(fixUpSymbols): no longer consider originator flag identities; |
| 21279 |
check for and issue warning in case of clashing identities |
| 21280 |
|
| 21281 |
* metaLevelOpSymbol.cc (copyAttachments): added test to protect |
| 21282 |
from multiple calls |
| 21283 |
|
| 21284 |
* metaLevel.cc (bind): Term* version: avoid potential memory leak |
| 21285 |
by using BIND_TERM() macro |
| 21286 |
|
| 21287 |
* interact.cc (commandLoop): flush() cout before input in the case |
| 21288 |
we're no going to call displayPrompt() |
| 21289 |
|
| 21290 |
2001-02-08 Steven Eker <[email protected]> |
| 21291 |
|
| 21292 |
* metaDown.cc (downIdHook): rewritten using specialSymbolTypes.cc |
| 21293 |
|
| 21294 |
* ops.cc (addHook): rewritten using specialSymbolTypes.cc |
| 21295 |
|
| 21296 |
* specialSymbolTypes.cc: created |
| 21297 |
|
| 21298 |
* metaDown.cc: qidBaseSymbol -> qidSymbol throughout |
| 21299 |
(downMachineInt): machineIntBaseSymbol -> machineIntSymbol |
| 21300 |
|
| 21301 |
* metaUp.cc: qidBaseSymbol -> qidSymbol throughout |
| 21302 |
(upMachineInt): machineIntBaseSymbol -> machineIntSymbol |
| 21303 |
|
| 21304 |
* loopSymbol.cc: qidBaseSymbol -> qidSymbol throughout |
| 21305 |
|
| 21306 |
* loopSymbol.hh (class LoopSymbol): qidBaseSymbol -> qidSymbol |
| 21307 |
|
| 21308 |
* metaLevelSignature.cc (MACRO): qidBaseSymbol -> qidSymbol, |
| 21309 |
machineIntBaseSymbol -> machineIntSymbol |
| 21310 |
|
| 21311 |
2001-02-06 Steven Eker <[email protected]> |
| 21312 |
|
| 21313 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decls for |
| 21314 |
getCachedRewriteSearchState() and getCachedMatchSearchState(); |
| 21315 |
deleted decl for getCachedState() |
| 21316 |
|
| 21317 |
* descentFunctions.cc (getCachedRewriteSearchState): added |
| 21318 |
(getCachedMatchSearchState): added |
| 21319 |
(getCachedMatchSearchState): added |
| 21320 |
(getCachedState): deleted |
| 21321 |
(metaApply): use getCachedRewriteSearchState() and class |
| 21322 |
RewriteSearchState |
| 21323 |
(metaXapply): use getCachedRewriteSearchState() and class |
| 21324 |
RewriteSearchState |
| 21325 |
(metaMatch): use getCachedMatchSearchState() and class |
| 21326 |
MatchSearchState |
| 21327 |
(metaXmatch): use getCachedMatchSearchState() and class |
| 21328 |
MatchSearchState |
| 21329 |
|
| 21330 |
* execute.cc (match): SearchState -> MatchSearchState |
| 21331 |
|
| 21332 |
* descentFunctions.cc (metaApply): don't pass arg to |
| 21333 |
findNextRewrite(); use addInCount() |
| 21334 |
(metaXapply): don't pass arg to findNextRewrite(); use |
| 21335 |
addInCount() |
| 21336 |
|
| 21337 |
2001-02-05 Steven Eker <[email protected]> |
| 21338 |
|
| 21339 |
* descentFunctions.cc (metaMatch): use getPattern(), getContext() |
| 21340 |
instead of getMatch() |
| 21341 |
(metaXmatch): use getPattern(), getContext() instead of getMatch() |
| 21342 |
(metaApply): use getRule(), getReplacement() and getContext() |
| 21343 |
instead of getResult() |
| 21344 |
(metaXapply): use getRule(), getReplacement() and getContext() |
| 21345 |
instead of getResult() |
| 21346 |
|
| 21347 |
* execute.cc (match): use getPattern(), getContext(), |
| 21348 |
getExtensionInfo() instead of getMatch() |
| 21349 |
|
| 21350 |
* descentFunctions.cc (metaXapply): use |
| 21351 |
PositionState::rebuildDag() |
| 21352 |
(metaApply): use PositionState::rebuildDag() |
| 21353 |
(metaXmatch): use PositionState::rebuildDag() |
| 21354 |
|
| 21355 |
2001-02-02 Steven Eker <[email protected]> |
| 21356 |
|
| 21357 |
* descentFunctions.cc (metaXmatch): getTerm() -> getLhs() |
| 21358 |
|
| 21359 |
* mixfixParser.cc (makeStatement): simplified using default last |
| 21360 |
arg of Equation ctor |
| 21361 |
(makeStatement): simplified using default last arg of Rule and |
| 21362 |
SortConstraint ctors |
| 21363 |
|
| 21364 |
2001-02-01 Steven Eker <[email protected]> |
| 21365 |
|
| 21366 |
* preModule.hh: added decl for printSearchTiming() |
| 21367 |
|
| 21368 |
* search.cc (printSearchTiming): added |
| 21369 |
(search): simplified using printSearchTiming() |
| 21370 |
|
| 21371 |
* execute.cc (match): call clearDebug() since the user may have |
| 21372 |
interrupted rewriting and may have set some debug state |
| 21373 |
(match): check context->traceAbort() after calling |
| 21374 |
state.findNextMatch() (two places) since the user may have |
| 21375 |
interrupted rewriting and then issued an abort command |
| 21376 |
(match): check context->traceAbort() after calling |
| 21377 |
computeTrueSort() |
| 21378 |
(match): call clearMemo() if needed; move context->traceAbort() |
| 21379 |
after contruction of state to aviod memory leak |
| 21380 |
|
| 21381 |
2001-01-29 Steven Eker <[email protected]> |
| 21382 |
|
| 21383 |
* execute.cc (match): handle extension info |
| 21384 |
|
| 21385 |
* descentFunctions.cc (metaXmatch): pass dummy 3rd arg to |
| 21386 |
getMatch() |
| 21387 |
(metaMatch): pass dummy 3rd arg to getMatch() |
| 21388 |
|
| 21389 |
* execute.cc (match): reimplemented using classes Pattern and |
| 21390 |
SearchState |
| 21391 |
|
| 21392 |
2001-01-23 Steven Eker <[email protected]> |
| 21393 |
|
| 21394 |
* lexer.flex: fixed extremely minor bug in that the Maude |
| 21395 |
identifiers .*** and .--- were being treated at end-of-command |
| 21396 |
. followed by comment in CMD_MODE |
| 21397 |
|
| 21398 |
* metaLevelSignature.cc (MACRO): deleted existingModuleSymbol |
| 21399 |
|
| 21400 |
* metaDown.cc (downModule): deleted existingModuleSymbol code |
| 21401 |
|
| 21402 |
2001-01-19 Steven Eker <[email protected]> |
| 21403 |
|
| 21404 |
* quotedIdentifierSymbol.hh (class QuotedIdentifierSymbol): |
| 21405 |
deleted declarations for fixUp() and copyFixUp() |
| 21406 |
|
| 21407 |
* quotedIdentifierSymbol.cc (fixUp): deleted |
| 21408 |
(copyFixUp): deleted |
| 21409 |
|
| 21410 |
* importModule.cc (fixUpDonatedOps): use copyAttachments() in |
| 21411 |
QUOTED_IDENTIFIER case |
| 21412 |
|
| 21413 |
* fixUp.cc (fixUpSymbols): use defaultFixUp() in QUOTED_IDENTIFIER |
| 21414 |
case |
| 21415 |
|
| 21416 |
* quotedIdentifierSymbol.hh (class QuotedIdentifierSymbol): added |
| 21417 |
decls for attachData() and copyAttachments() |
| 21418 |
|
| 21419 |
* quotedIdentifierSymbol.cc (attachData): added |
| 21420 |
(attachData): added |
| 21421 |
(COPY_SORT): added |
| 21422 |
(copyAttachments): added |
| 21423 |
|
| 21424 |
* loopSymbol.cc (attachData): call FreeSymbol::attachData() |
| 21425 |
(copyAttachments): simplified using COPY_SYMBOL and COPY_TERM; |
| 21426 |
call FreeSymbol::copyAttachments() |
| 21427 |
|
| 21428 |
* quotedIdentifierOpSymbol.cc (eqRewrite): use CODE() |
| 21429 |
|
| 21430 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 21431 |
deleted enum OpType |
| 21432 |
|
| 21433 |
* quotedIdentifierOpSymbol.cc (attachData): don't handle name and |
| 21434 |
type operations |
| 21435 |
(eqRewrite): don't handle name and type operations |
| 21436 |
(copyAttachments): simplified using COPY_SYMBOL and COPY_TERM; |
| 21437 |
call FreeSymbol::copyAttachments() |
| 21438 |
(attachData): simplified using BIND_OP; call |
| 21439 |
FreeSymbol::attachData() |
| 21440 |
(attachSymbol): call FreeSymbol::attachSymbol() |
| 21441 |
|
| 21442 |
2001-01-18 Steven Eker <[email protected]> |
| 21443 |
|
| 21444 |
* preModule.cc (getFlatModule): need to call resetImports() after |
| 21445 |
importStatements() regardless of what happens. This fixes a nasty |
| 21446 |
bug where if we imported statements from the same included module |
| 21447 |
twice in a row (to different importers) without an intervening |
| 21448 |
signature importation the second importantion would quietly fail |
| 21449 |
(because the flag indicate that the statemenst have already been |
| 21450 |
imported) and the second importer would not get the statements. |
| 21451 |
|
| 21452 |
2001-01-17 Steven Eker <[email protected]> |
| 21453 |
|
| 21454 |
* prelude.maude: getName() and getType() are now defined in maude |
| 21455 |
rather than being builtin |
| 21456 |
|
| 21457 |
2001-01-16 Steven Eker <[email protected]> |
| 21458 |
|
| 21459 |
* metaLevelOpSymbol.cc (attachSymbol): simplified using bind() |
| 21460 |
return value |
| 21461 |
(attachTerm): simplified using bind() return value |
| 21462 |
|
| 21463 |
* metaLevel.hh (class MetaLevel): updated decls for bind() (both |
| 21464 |
versions) |
| 21465 |
|
| 21466 |
* metaLevel.cc (bind): return bool (both versions) |
| 21467 |
|
| 21468 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): deleted decls |
| 21469 |
for fixUp(), copyFixUp() |
| 21470 |
|
| 21471 |
* metaLevelOpSymbol.cc (attachSymbol): simplified using BIND_SYMBOL() |
| 21472 |
(fixUp): deleted |
| 21473 |
(copyFixUp): deleted |
| 21474 |
|
| 21475 |
2001-01-15 Steven Eker <[email protected]> |
| 21476 |
|
| 21477 |
* loopSymbol.hh (class LoopSymbol): deleted decls for fixUp(), |
| 21478 |
copyFixUp() |
| 21479 |
|
| 21480 |
* loopSymbol.cc (attachSymbol): simplified using BIND_SYMBOL() |
| 21481 |
(fixUp): deleted |
| 21482 |
(copyFixUp): deleted |
| 21483 |
|
| 21484 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 21485 |
deleted decls for fixUp(), copyFixUp() |
| 21486 |
|
| 21487 |
* quotedIdentifierOpSymbol.cc (fixUp): deleted |
| 21488 |
(copyFixUp): deleted |
| 21489 |
(attachSymbol): simplified using BIND_SYMBOL() |
| 21490 |
|
| 21491 |
2001-01-12 Steven Eker <[email protected]> |
| 21492 |
|
| 21493 |
* importModule.cc (fixUpDonatedOps): removed special handling for |
| 21494 |
LOOP_SYMBOL |
| 21495 |
|
| 21496 |
* fixUp.cc (fixUpSymbols): removed special handling for |
| 21497 |
LOOP_SYMBOL |
| 21498 |
|
| 21499 |
* mixfixModule.hh (class MixfixModule): added LOOP_SYMBOL to |
| 21500 |
HAS_ATTACHMENTS |
| 21501 |
|
| 21502 |
* loopSymbol.cc (LoopSymbol): clear qidBaseSymbol, |
| 21503 |
nilQidListSymbol, qidListSymbol |
| 21504 |
(copyAttachments): added |
| 21505 |
(attachSymbol): added |
| 21506 |
|
| 21507 |
2001-01-11 Steven Eker <[email protected]> |
| 21508 |
|
| 21509 |
* loopSymbol.cc (attachData): added |
| 21510 |
|
| 21511 |
* loopSymbol.hh (class LoopSymbol): added decls for attachData(), |
| 21512 |
attachSymbol(), copyAttachments() |
| 21513 |
|
| 21514 |
* importModule.cc (fixUpDonatedOps): don't handle |
| 21515 |
QUOTED_IDENTIFIER_OP as a special case |
| 21516 |
|
| 21517 |
* fixUp.cc (fixUpSymbols): don't handle QUOTED_IDENTIFIER_OP as a |
| 21518 |
special case |
| 21519 |
|
| 21520 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 21521 |
added decls for attachData(), attachSymbol(), copyAttachments() |
| 21522 |
(class QuotedIdentifierOpSymbol): make op an int |
| 21523 |
|
| 21524 |
* quotedIdentifierOpSymbol.cc (QuotedIdentifierOpSymbol): |
| 21525 |
initialize op, quotedIdentifierSymbol, stringSymbol |
| 21526 |
(attachData): added |
| 21527 |
(attachSymbol): added |
| 21528 |
(copyAttachments): added |
| 21529 |
|
| 21530 |
* fixUp.cc (fixUpSymbols): don't handle META_LEVEL_OP_SYMBOL as a |
| 21531 |
special case |
| 21532 |
|
| 21533 |
* importModule.cc (fixUpDonatedOps): don't handle |
| 21534 |
META_LEVEL_OP_SYMBOL as a special case |
| 21535 |
|
| 21536 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decls for |
| 21537 |
attachSymbol(), attachTerm(), copyAttachments(), okToBind() |
| 21538 |
|
| 21539 |
* metaLevelOpSymbol.cc (postInterSymbolPass): set metaLevel = |
| 21540 |
shareWith->metaLevel here since we no that this pass will only |
| 21541 |
happen after all fix ups have been done |
| 21542 |
(eqRewrite): don't test and set metaLevel here because in the |
| 21543 |
shareWith case it will already have been done in |
| 21544 |
postInterSymbolPass |
| 21545 |
(copyAttachments): added |
| 21546 |
(attachTerm): added |
| 21547 |
(attachSymbol): added |
| 21548 |
(okToBind): added |
| 21549 |
|
| 21550 |
2001-01-10 Steven Eker <[email protected]> |
| 21551 |
|
| 21552 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decl for |
| 21553 |
attachData() |
| 21554 |
|
| 21555 |
* metaLevelOpSymbol.cc (attachData): added |
| 21556 |
|
| 21557 |
* fixUp.cc (fixUpSymbols): use defaultFixUp() for |
| 21558 |
MACHINE_INTEGER_OP, MACHINE_FLOAT_OP, STRING_OP cases |
| 21559 |
|
| 21560 |
* preModule.hh (Parent): added decl for defaultFixUp() |
| 21561 |
|
| 21562 |
* fixUp.cc (defaultFixUp): added |
| 21563 |
|
| 21564 |
* importModule.cc (fixUpDonatedOps): use copyAttachments() in |
| 21565 |
MACHINE_INTEGER_OP, MACHINE_FLOAT_OP, STRING_OP cases |
| 21566 |
|
| 21567 |
2001-01-05 Steven Eker <[email protected]> |
| 21568 |
|
| 21569 |
* descentFunctions.cc (metaXmatch): fixed memory leak where if we |
| 21570 |
obtained a state with remove() but didn't use it because of |
| 21571 |
solutionNr we were not deleting it. |
| 21572 |
(metaMatch): fixed symmetric memory leak |
| 21573 |
(getCachedState): added |
| 21574 |
(metaXapply): fixed memory leak using getCachedState() |
| 21575 |
(metaMatch): use getCachedState() |
| 21576 |
(metaApply): use getCachedState() |
| 21577 |
|
| 21578 |
2001-01-03 Steven Eker <[email protected]> |
| 21579 |
|
| 21580 |
* descentFunctions.cc (metaXmatch): implemented |
| 21581 |
|
| 21582 |
* metaLevel.hh (class MetaLevel): added decls for upNoMatchPair() |
| 21583 |
and upMatchPair() |
| 21584 |
|
| 21585 |
* metaUp.cc (upMatchPair): added |
| 21586 |
(upNoMatchPair): added |
| 21587 |
|
| 21588 |
* descentFunctions.cc (metaMatch): implemented |
| 21589 |
|
| 21590 |
* metaLevel.hh (class MetaLevel): added decl for upNoMatchSubst() |
| 21591 |
|
| 21592 |
* metaUp.cc (upNoMatchSubst): added |
| 21593 |
|
| 21594 |
* metaLevel.hh (class MetaLevel): made upSubstition() public |
| 21595 |
|
| 21596 |
2000-12-22 Steven Eker <[email protected]> |
| 21597 |
|
| 21598 |
* descentFunctions.cc (metaXapply): implemented |
| 21599 |
(metaApply): add 1 to rewrite count for apply here |
| 21600 |
(metaXapply): add 1 to rewrite count for apply here |
| 21601 |
(metaXapply): clone the replacement so we have a dagnode that is |
| 21602 |
only pointed to from one place - so context will build correctly |
| 21603 |
(metaXapply): bring minDepth and maxDepth into int range |
| 21604 |
|
| 21605 |
* metaUp.cc (upFailure4Tuple): added |
| 21606 |
|
| 21607 |
* metaLevel.hh (class MetaLevel): added decls for |
| 21608 |
upResult4Tuple(), upFailure4Tuple(), upContext() |
| 21609 |
|
| 21610 |
* metaUp.cc (upContext): added |
| 21611 |
(upResult4Tuple): added |
| 21612 |
|
| 21613 |
* descentFunctions.cc (metaApply): delete state if we fail |
| 21614 |
|
| 21615 |
2000-12-21 Steven Eker <[email protected]> |
| 21616 |
|
| 21617 |
* descentFunctions.cc (metaApply): added 3 loops to destruct stuff |
| 21618 |
we've finishded with |
| 21619 |
|
| 21620 |
* metaOpCache.cc (insert): must clone metaOp to avoid overwriting |
| 21621 |
(remove): fixed bug where we were return incorrect lastSolutionNr |
| 21622 |
|
| 21623 |
2000-12-20 Steven Eker <[email protected]> |
| 21624 |
|
| 21625 |
* metaOpCache.hh: created |
| 21626 |
|
| 21627 |
* descentFunctions.cc (metaApply): rewritten using MetaOpCache |
| 21628 |
|
| 21629 |
* metaLevel.hh (class MetaLevel): updated decl for downModule() |
| 21630 |
|
| 21631 |
* metaDown.cc (downModule): commented out existingModule code; |
| 21632 |
return MetaModule* rather than ImportModule* |
| 21633 |
|
| 21634 |
* metaModule.hh (class MetaModule): derive from MetaOpCache |
| 21635 |
|
| 21636 |
* metaOpCache.cc: created |
| 21637 |
|
| 21638 |
* descentFunctions.cc (metaWellFormedSubstitution): use DagRoot |
| 21639 |
|
| 21640 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): updated decl for |
| 21641 |
dagifySubstitution() |
| 21642 |
|
| 21643 |
* descentFunctions.cc (dagifySubstitution): use DagRoot |
| 21644 |
(metaApply): use DagRoot for substitutions |
| 21645 |
|
| 21646 |
2000-12-19 Steven Eker <[email protected]> |
| 21647 |
|
| 21648 |
* descentFunctions.cc (metaApply): use new SearchState interface; |
| 21649 |
fix bug where we weren't counting objectContext2 rewrites |
| 21650 |
|
| 21651 |
2000-12-18 Steven Eker <[email protected]> |
| 21652 |
|
| 21653 |
* metaUp.cc (upTerm): const correctness |
| 21654 |
(upAssignment): const correctness |
| 21655 |
|
| 21656 |
* metaLevel.hh (class MetaLevel): const correctness for upTerm() |
| 21657 |
and upAssignment() |
| 21658 |
|
| 21659 |
* quotedIdentifierTerm.hh (getIdIndex): made const |
| 21660 |
|
| 21661 |
* descentFunctions.cc (metaApply): pass substitution and variable |
| 21662 |
infor to upResultTriple() |
| 21663 |
|
| 21664 |
* metaLevel.hh (class MetaLevel): added decls for upSubstition(), |
| 21665 |
upAssignment(); updated decl for upResultTriple() |
| 21666 |
|
| 21667 |
* metaUp.cc (upSubstition): added |
| 21668 |
(upAssignment): added |
| 21669 |
(upSubstition): use upSubstition() |
| 21670 |
|
| 21671 |
* descentFunctions.cc (metaApply): call setInitialSubstitution() |
| 21672 |
|
| 21673 |
2000-12-14 Steven Eker <[email protected]> |
| 21674 |
|
| 21675 |
* descentFunctions.cc (metaApply): make sure state goes out of |
| 21676 |
scope and is deleted before we delete objectContext since |
| 21677 |
~SearchState writes into this context (can we avoid doing this?) |
| 21678 |
|
| 21679 |
* metaLevel.hh (class MetaLevel): added decls for upResultTriple() |
| 21680 |
and upFailureTriple() |
| 21681 |
|
| 21682 |
* metaUp.cc (upResultTriple): added |
| 21683 |
(upFailureTriple): added |
| 21684 |
|
| 21685 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added dec for |
| 21686 |
term2RewritingContext() |
| 21687 |
|
| 21688 |
2000-12-06 Steven Eker <[email protected]> |
| 21689 |
|
| 21690 |
* descentFunctions.cc (term2RewritingContext): added |
| 21691 |
|
| 21692 |
2000-12-05 Steven Eker <[email protected]> |
| 21693 |
|
| 21694 |
* descentFunctions.cc (metaWellFormedSubstitution): call |
| 21695 |
dagifySubstitution() |
| 21696 |
(dagifySubstitution): added |
| 21697 |
|
| 21698 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decl for |
| 21699 |
noDuplicates() |
| 21700 |
|
| 21701 |
* descentFunctions.cc (noDuplicates): added |
| 21702 |
(metaWellFormedSubstitution): use noDuplicates |
| 21703 |
|
| 21704 |
2000-12-04 Steven Eker <[email protected]> |
| 21705 |
|
| 21706 |
* descentFunctions.cc (metaWellFormedTerm): fixed memory leak |
| 21707 |
where we weren't destructed term |
| 21708 |
(metaWellFormedSubstition): added |
| 21709 |
|
| 21710 |
* descentSignature.cc (MACRO): added decl for |
| 21711 |
metaWellFormedSubstitution |
| 21712 |
|
| 21713 |
* metaDown.cc (downSubstitution): rewritten to treat variables as |
| 21714 |
terms |
| 21715 |
(downAssignment): rewritten to treat variables as terms |
| 21716 |
|
| 21717 |
2000-11-28 Steven Eker <[email protected]> |
| 21718 |
|
| 21719 |
* descentSignature.cc (MACRO): increased the number of args for |
| 21720 |
metaXapply and metaXmatch |
| 21721 |
|
| 21722 |
2000-11-20 Steven Eker <[email protected]> |
| 21723 |
|
| 21724 |
* lexerAux.cc (eatComment): `( and `) no longer count for |
| 21725 |
balancing parens in multiline comments |
| 21726 |
|
| 21727 |
* execute.cc (printBubble): rewritten to do the right thing with |
| 21728 |
\`( etc |
| 21729 |
|
| 21730 |
2000-11-14 Steven Eker <[email protected]> |
| 21731 |
|
| 21732 |
* metaLevelSignature.cc (MACRO): delete decls for membPredSymbol |
| 21733 |
and lazyMembPredSymbol |
| 21734 |
|
| 21735 |
* metaDown.cc (downTerm): commented out special case code for |
| 21736 |
SORT_TEST operators |
| 21737 |
|
| 21738 |
* metaUp.cc (upDagNode): commented out special case code for |
| 21739 |
SORT_TEST operators |
| 21740 |
(upTerm): commented out special case code for SORT_TEST operators |
| 21741 |
|
| 21742 |
* mixfixModule.cc (findSymbol): check for sort tests |
| 21743 |
|
| 21744 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decls for |
| 21745 |
metaMaximalSorts() and metaMinimalSorts() |
| 21746 |
|
| 21747 |
* descentSignature.cc (MACRO): added decls for metaMaximalSorts |
| 21748 |
and metaMinimalSorts |
| 21749 |
|
| 21750 |
* descentFunctions.cc (metaMinimalSorts): added |
| 21751 |
(metaMaximalSorts): added |
| 21752 |
|
| 21753 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decl for |
| 21754 |
metaGetKinds() |
| 21755 |
|
| 21756 |
* descentFunctions.cc (metaGetKinds): added |
| 21757 |
|
| 21758 |
* descentSignature.cc: added decl for metaGetKinds |
| 21759 |
|
| 21760 |
* metaLevel.hh (class MetaLevel): added decl for upKindSet() |
| 21761 |
|
| 21762 |
* metaUp.cc (upKindSet): added |
| 21763 |
|
| 21764 |
* metaLevelSignature.cc (MACRO): added decls for |
| 21765 |
emptyKindSetSymbol and kindSetSymbol |
| 21766 |
|
| 21767 |
* descentSignature.cc (MACRO): added decl for metaGetKind |
| 21768 |
|
| 21769 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decl for |
| 21770 |
metaGetKind() |
| 21771 |
|
| 21772 |
* descentFunctions.cc (metaGetKind): added |
| 21773 |
|
| 21774 |
2000-11-13 Steven Eker <[email protected]> |
| 21775 |
|
| 21776 |
* descentSignature.cc (MACRO): added decls for |
| 21777 |
metaWellFormedModule and metaWellFormedTerm |
| 21778 |
|
| 21779 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decls for |
| 21780 |
metaWellFormedModule() and metaWellFormedTerm() |
| 21781 |
|
| 21782 |
* descentFunctions.cc (metaWellFormedModule): added |
| 21783 |
(metaWellFormedTerm): added |
| 21784 |
|
| 21785 |
2000-11-10 Steven Eker <[email protected]> |
| 21786 |
|
| 21787 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 21788 |
updated decls for traceBeginFragment() and traceEndFragment() |
| 21789 |
|
| 21790 |
* trial.cc (traceEndTrial): check abortFlag before printing |
| 21791 |
message |
| 21792 |
(traceExhausted): check abortFlag before printing message |
| 21793 |
(traceBeginFragment): take trialRef argument and test it and |
| 21794 |
abortFlag before printing message |
| 21795 |
(traceEndFragment): take trialRef argument and test it and |
| 21796 |
abortFlag before printing message |
| 21797 |
|
| 21798 |
===================================Engine64================================================== |
| 21799 |
|
| 21800 |
2000-11-08 Steven Eker <[email protected]> |
| 21801 |
|
| 21802 |
* execute.cc (printBubble): rewritten to not print spaces arround |
| 21803 |
special characters |
| 21804 |
|
| 21805 |
2000-11-01 Steven Eker <[email protected]> |
| 21806 |
|
| 21807 |
* descentFunctions.cc (metaLeastSort): rewritten to calculate |
| 21808 |
semantic sort |
| 21809 |
|
| 21810 |
2000-10-24 Steven Eker <[email protected]> |
| 21811 |
|
| 21812 |
* descentFunctions.cc (metaParse): use new upAmbiguity() |
| 21813 |
|
| 21814 |
* metaLevel.hh (class MetaLevel): updated decl for upAmbiguity() |
| 21815 |
|
| 21816 |
* metaUp.cc (upAmbiguity): now take Term*s as arguments |
| 21817 |
|
| 21818 |
* descentFunctions.cc (metaParse): use Term* version of |
| 21819 |
upResultPair() |
| 21820 |
|
| 21821 |
* metaLevel.hh (class MetaLevel): added decl for Term* version of |
| 21822 |
upResultPair() |
| 21823 |
|
| 21824 |
* metaUp.cc (upResultPair): added Term* version |
| 21825 |
|
| 21826 |
* metaLevel.hh (class MetaLevel): added decl for upTerm() |
| 21827 |
|
| 21828 |
* metaUp.cc (upTerm): added |
| 21829 |
|
| 21830 |
* descentFunctions.cc (metaParse): rewritten with new semantics |
| 21831 |
(metaSortLeq): don't call FreeSymbol::eqRewrite() |
| 21832 |
(metaSameKind): don't call FreeSymbol::eqRewrite() |
| 21833 |
|
| 21834 |
* metaLevel.hh (class MetaLevel): added decl for downComponent() |
| 21835 |
|
| 21836 |
* metaDown.cc (downComponent): added |
| 21837 |
|
| 21838 |
* descentSignature.cc (MACRO): metaParse now take 3 arguments |
| 21839 |
|
| 21840 |
* metaLevelSignature.cc (MACRO): added decl for anyTypeSymbol |
| 21841 |
|
| 21842 |
* mixfixModule.hh (class MixfixModule): added decl for parseTerm2() |
| 21843 |
(class MixfixModule): added decl for parseSentence2() |
| 21844 |
|
| 21845 |
* mixfixParser.cc (parseSentence2): added |
| 21846 |
(parseSentence): rewritten in terms of parseSentence2() |
| 21847 |
(parseTerm): allow for parseSentence() returning -1 |
| 21848 |
(parseStatement): allow for parseSentence() returning -1 |
| 21849 |
(parseCommand): allow for parseSentence() returning -1 |
| 21850 |
(parseTerm2): added |
| 21851 |
|
| 21852 |
2000-10-11 Steven Eker <[email protected]> |
| 21853 |
|
| 21854 |
* metaUp.cc (upDagNode): fix bug: Vector<DagNode*> args(2) cannot |
| 21855 |
be static because of recursion |
| 21856 |
|
| 21857 |
2000-10-10 Steven Eker <[email protected]> |
| 21858 |
|
| 21859 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): deleted data |
| 21860 |
member op; deleted enum OpType |
| 21861 |
|
| 21862 |
* metaLevelOpSymbol.cc (fixUp): use descentSignature.cc to set |
| 21863 |
descentFunction |
| 21864 |
|
| 21865 |
* descentSignature.cc: created |
| 21866 |
|
| 21867 |
* descentFunctions.cc (metaApply): added stub |
| 21868 |
(metaXapply): added stub |
| 21869 |
(metaMatch): added stub |
| 21870 |
(metaXmatch): added stub |
| 21871 |
|
| 21872 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): deleted decls |
| 21873 |
for errorRewrite() and errorRewrite2() |
| 21874 |
(class MetaLevelOpSymbol): added decls for metaXapply(), |
| 21875 |
metaMatch() and metaXmatch() |
| 21876 |
|
| 21877 |
* metaLevelOpSymbol.cc (eqRewrite): call FreeSymbol::eqRewrite() |
| 21878 |
if our descent function fails |
| 21879 |
|
| 21880 |
* metaLevelSignature.cc: updated noParseSymbol, added |
| 21881 |
ambiguitySymbol, deleted all error constructors |
| 21882 |
|
| 21883 |
* metaLevel.hh (class MetaLevel): added decl for upAmbiguity(); |
| 21884 |
deleted decl for upErrorResultPair(); updated decl for upNoParse() |
| 21885 |
|
| 21886 |
* metaUp.cc (upErrorResultPair): deleted |
| 21887 |
(upMachineInt): added |
| 21888 |
(upNoParse): take badTokenIndex arg |
| 21889 |
(upAmbiguity): added |
| 21890 |
|
| 21891 |
* descentFunctions.cc: descent functions moved here |
| 21892 |
(metaReduce): don't rewrite in error case |
| 21893 |
(metaRewrite): don't rewrite in error case |
| 21894 |
(metaParse): don't rewrite in error case |
| 21895 |
|
| 21896 |
* metaLevelOpSymbol.cc (eqRewrite): greatly simplified using |
| 21897 |
descentFunction pointer to memberFunction |
| 21898 |
|
| 21899 |
2000-10-09 Steven Eker <[email protected]> |
| 21900 |
|
| 21901 |
* token.cc (checkForSpecialProperty): handle null strings rather |
| 21902 |
than asserting that they don't arise |
| 21903 |
|
| 21904 |
===================================Engine63================================================== |
| 21905 |
|
| 21906 |
2000-09-14 Steven Eker <[email protected]> |
| 21907 |
|
| 21908 |
* bufferPrint.cc (prettyPrint): ugly hack to print variables |
| 21909 |
correctly |
| 21910 |
|
| 21911 |
* metaLevel.hh (class MetaLevel): added decl for upQidList() |
| 21912 |
|
| 21913 |
* metaUp.cc (upQidList): added |
| 21914 |
|
| 21915 |
* metaLevelOpSymbol.cc (metaPrettyPrint): rewritten |
| 21916 |
|
| 21917 |
* metaLevel.hh (class MetaLevel): added decl for upNoParse() |
| 21918 |
|
| 21919 |
* metaUp.cc (upNoParse): added |
| 21920 |
|
| 21921 |
* metaLevelOpSymbol.cc (metaParse): rewritten |
| 21922 |
|
| 21923 |
* metaLevel.hh (class MetaLevel): added decl for upSortSet() |
| 21924 |
|
| 21925 |
* metaUp.cc (upSortSet): added |
| 21926 |
|
| 21927 |
* metaLevelOpSymbol.cc (metaCompleteName): added |
| 21928 |
(eqRewrite): call metaCompleteName() |
| 21929 |
(metaGlbSorts): rewritten |
| 21930 |
(metaLesserSorts): rewritten |
| 21931 |
|
| 21932 |
* metaLevel.hh (class MetaLevel): made downSimpleSort() and |
| 21933 |
downType() public |
| 21934 |
|
| 21935 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): |
| 21936 |
META_SAME_COMPONENT -> META_SAME_KIND; metaSameComponent() -> |
| 21937 |
metaSameKind() |
| 21938 |
|
| 21939 |
* metaLevelOpSymbol.cc (metaLeastSort): rewritten |
| 21940 |
(metaSameComponent): becomes metaSameKind() |
| 21941 |
(metaSameKind): use downType() |
| 21942 |
(fixUp): sameComponent -> sameKind |
| 21943 |
(fixUp): deleted sortInKind |
| 21944 |
(eqRewrite): call metaSameKind() |
| 21945 |
|
| 21946 |
* metaLevel.hh (class MetaLevel): make upType() public |
| 21947 |
|
| 21948 |
* metaLevelOpSymbol.cc (metaSortLeq): rewritten |
| 21949 |
(metaSameComponent): rewritten |
| 21950 |
|
| 21951 |
* metaLevel.hh (class MetaLevel): added decl for upBool() |
| 21952 |
|
| 21953 |
* metaUp.cc (upDagNode): handle MACHINE_FLOAT case |
| 21954 |
(upBool): added |
| 21955 |
|
| 21956 |
* metaDown.cc (downTerm): added FLOAT case |
| 21957 |
|
| 21958 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 21959 |
findMachineFloatSymbol() |
| 21960 |
|
| 21961 |
* mixfixModule.cc (findMachineFloatSymbol): added |
| 21962 |
|
| 21963 |
2000-09-13 Steven Eker <[email protected]> |
| 21964 |
|
| 21965 |
* metaDown.cc (downTerm): support Strings; added missing break |
| 21966 |
|
| 21967 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 21968 |
findStringSymbol() |
| 21969 |
|
| 21970 |
* mixfixModule.cc (findStringSymbol): added |
| 21971 |
|
| 21972 |
* metaDown.cc (downTerm): use downType2() (2 places) |
| 21973 |
|
| 21974 |
* metaLevel.hh (class MetaLevel): added decl for downType2() |
| 21975 |
|
| 21976 |
* metaDown.cc (downType2): added |
| 21977 |
(downType): use downType2() |
| 21978 |
|
| 21979 |
* metaLevelOpSymbol.cc (metaRewrite): rewritten |
| 21980 |
|
| 21981 |
* metaDown.cc (downTerm): fixed bug where we were useing id rather |
| 21982 |
than cName |
| 21983 |
|
| 21984 |
* token.cc (doubleToCode): fill in auxProperties |
| 21985 |
(int64ToCode): fill in auxProperties |
| 21986 |
|
| 21987 |
* metaLevelOpSymbol.cc (metaReduce): rewritten |
| 21988 |
|
| 21989 |
* metaUp.cc (upResultPair): added |
| 21990 |
(upType): added |
| 21991 |
(upErrorResultPair): added |
| 21992 |
|
| 21993 |
* metaLevel.hh (class MetaLevel): added decls for upQid(), |
| 21994 |
upJoin(), upConstant(), upVariable(), upDagNode() |
| 21995 |
|
| 21996 |
* metaUp.cc: created |
| 21997 |
|
| 21998 |
2000-09-12 Steven Eker <[email protected]> |
| 21999 |
|
| 22000 |
* metaLevel.hh (class MetaLevel): deleted downVariable() |
| 22001 |
|
| 22002 |
* metaDown.cc (downTerm): rewritten |
| 22003 |
(downVariable): deleted |
| 22004 |
|
| 22005 |
* metaLevel.hh (class MetaLevel): added decls for downCondition(), |
| 22006 |
downConditionFragment() |
| 22007 |
|
| 22008 |
* metaDown.cc (downCondition): added |
| 22009 |
(downConditionFragment): added |
| 22010 |
(downMembAx): use downCondition() |
| 22011 |
(downEquation): use downCondition() |
| 22012 |
(downRule): use downCondition() |
| 22013 |
|
| 22014 |
* token.cc (splitKind): added |
| 22015 |
|
| 22016 |
* token.hh (class Token): added decl for splitKind() |
| 22017 |
|
| 22018 |
* metaLevel.hh (class MetaLevel): added decls for downTypeList() and downType() |
| 22019 |
|
| 22020 |
* metaDown.cc (downMachineIntList): don't recognize empty |
| 22021 |
MachineInt lists |
| 22022 |
(downTypeList): added |
| 22023 |
(downType): added |
| 22024 |
(downOpDecl): use downTypeList() and downType() |
| 22025 |
|
| 22026 |
2000-09-11 Steven Eker <[email protected]> |
| 22027 |
|
| 22028 |
* metaLevel.hh (class MetaLevel): added decl for downSort() |
| 22029 |
(class MetaLevel): deleted decls for downQidSet() downVarDecls(), |
| 22030 |
downVarDecl() |
| 22031 |
|
| 22032 |
* metaDown.cc (downModule): don't call downVarDecls(); vhanged arg |
| 22033 |
number for md, eq and rl parts |
| 22034 |
(downImport): handle protectingSymbol |
| 22035 |
(downQidSet): becomes downSortSet() |
| 22036 |
(downSort): added |
| 22037 |
(downSortSet): becomes donwSorts() |
| 22038 |
(downVarDecls): deleted |
| 22039 |
(downVarDecl): deleted |
| 22040 |
|
| 22041 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added |
| 22042 |
META_XAPPLY, META_MATCH, META_XMATCH, META_COMPLETE_NAME, |
| 22043 |
META_SORT_IN_KIND to enum OpType |
| 22044 |
|
| 22045 |
* metaLevelOpSymbol.cc (fixUp): added meta-xapply, meta-match, |
| 22046 |
meta-xmatch, completeName, sortInKind |
| 22047 |
|
| 22048 |
* metaLevelSignature.cc (MACRO): deleted nilMachineIntListSymbol |
| 22049 |
(MACRO): complete rewrite |
| 22050 |
|
| 22051 |
2000-09-08 Steven Eker <[email protected]> |
| 22052 |
|
| 22053 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 22054 |
enum OpType simplified |
| 22055 |
|
| 22056 |
* quotedIdentifierOpSymbol.cc: implemented "constantName", |
| 22057 |
"constantType", "variableName" and "variableType" operations |
| 22058 |
(fixUp): simplified just to "name" and "type" due to subsort |
| 22059 |
polymorphic overloading |
| 22060 |
|
| 22061 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 22062 |
added new constants to enum OpType |
| 22063 |
|
| 22064 |
* quotedIdentifierOpSymbol.cc (fixUp): added opNames |
| 22065 |
"constantName", "constantType", "variableName" and "variableType" |
| 22066 |
|
| 22067 |
* token.cc (split): split og '.' as well as ':' |
| 22068 |
|
| 22069 |
* quotedIdentifierSymbol.cc (determineSort): use |
| 22070 |
Token::auxProperty() |
| 22071 |
|
| 22072 |
* token.hh (class Token): added decls for computeAuxProperty() and |
| 22073 |
skipSortName() |
| 22074 |
|
| 22075 |
* token.cc (computeAuxProperty): added |
| 22076 |
(skipSortName): added |
| 22077 |
(checkForSpecialProperty): call computeAuxProperty() |
| 22078 |
|
| 22079 |
* token.hh (class Token): removed CONTAINS_DOT, BRACKETED from |
| 22080 |
enum SpecialProperties; |
| 22081 |
(class Token): added enum AuxProperties |
| 22082 |
(class Token): added static data member auxProperties |
| 22083 |
(auxProperty): added |
| 22084 |
(class Token): added decl for auxProperty() |
| 22085 |
|
| 22086 |
* importModule.cc (fixUpDonatedOps): do incremental fixup for |
| 22087 |
symbols with QUOTED_IDENTIFIER flag |
| 22088 |
|
| 22089 |
2000-09-06 Steven Eker <[email protected]> |
| 22090 |
|
| 22091 |
* quotedIdentifierSymbol.cc (copyFixUp): fix bug where we were |
| 22092 |
translating our sorts rather than original sorts |
| 22093 |
|
| 22094 |
* fixUp.cc (fixUpSymbols): call fixUp() on QuotedIdentifierSymbols |
| 22095 |
|
| 22096 |
* importModule.cc (fixUpDonatedOps): call copyFixUp() on |
| 22097 |
QuotedIdentifierSymbols |
| 22098 |
|
| 22099 |
* metaLevelSignature.cc (MACRO): NA_Symbol* -> |
| 22100 |
QuotedIdentifierSymbol* |
| 22101 |
|
| 22102 |
* metaDown.cc (downTerm): NA_Symbol* -> QuotedIdentifierSymbol* |
| 22103 |
(downFixUpBubble): NA_Symbol* -> QuotedIdentifierSymbol* (2 places) |
| 22104 |
|
| 22105 |
* fixUp.cc (fixUpSymbols): cast to QuotedIdentifierSymbol* (3 |
| 22106 |
places) |
| 22107 |
|
| 22108 |
* entry.cc (newFancySymbol): create new QuotedIdentifierSymbol |
| 22109 |
|
| 22110 |
* mixfixParser.cc (makeTerm): cast to QuotedIdentifierSymbol* |
| 22111 |
|
| 22112 |
* mixfixModule.cc (findQuotedIdentifierSymbol): cast to and return |
| 22113 |
QuotedIdentifierSymbol* |
| 22114 |
(copyFixUpBubbleSpec): cast to QuotedIdentifierSymbol* |
| 22115 |
(fixUpBubbleSpec): 2nd arg is now a QuotedIdentifierSymbol* |
| 22116 |
|
| 22117 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 22118 |
fixUpBubbleSpec() |
| 22119 |
(class MixfixModule): updated decl for |
| 22120 |
findQuotedIdentifierSymbol() |
| 22121 |
(class MixfixModule): qidSymbol in struct BubbleSpec becomes a |
| 22122 |
QuotedIdentifierSymbol* |
| 22123 |
|
| 22124 |
* loopSymbol.cc (fixUp): first arg is now a |
| 22125 |
QuotedIdentifierSymbol* |
| 22126 |
(copyFixUp): cast to QuotedIdentifierSymbol* |
| 22127 |
|
| 22128 |
* loopSymbol.hh (class LoopSymbol): qidBaseSymbol becomes a |
| 22129 |
QuotedIdentifierSymbol |
| 22130 |
(class LoopSymbol): updated fixUp() decl |
| 22131 |
|
| 22132 |
* quotedIdentifierOpSymbol.cc (fixUp): 2nd arg now a |
| 22133 |
QuotedIdentifierSymbol* |
| 22134 |
(copyFixUp): cast to QuotedIdentifierSymbol* |
| 22135 |
|
| 22136 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 22137 |
updated decl for fixUp(); quotedIdentifierSymbol is now a |
| 22138 |
QuotedIdentifierSymbol* |
| 22139 |
|
| 22140 |
* quotedIdentifierDagNode.cc (QuotedIdentifierDagNode): first arg |
| 22141 |
is now a QuotedIdentifierSymbol* |
| 22142 |
(overwriteWithClone): cast to QuotedIdentifierSymbol* |
| 22143 |
(makeClone): cast to QuotedIdentifierSymbol* |
| 22144 |
|
| 22145 |
* quotedIdentifierDagNode.hh (class QuotedIdentifierDagNode): |
| 22146 |
updated ctor decl |
| 22147 |
|
| 22148 |
* quotedIdentifierTerm.cc (QuotedIdentifierTerm): first arg is now |
| 22149 |
a QuotedIdentifierSymbol* |
| 22150 |
(deepCopy2): cast to QuotedIdentifierSymbol* |
| 22151 |
(overwriteWithDagNode): cast to QuotedIdentifierSymbol* |
| 22152 |
(makeDagNode): cast to QuotedIdentifierSymbol* |
| 22153 |
|
| 22154 |
* quotedIdentifierTerm.hh (class QuotedIdentifierTerm): updated |
| 22155 |
ctor decl |
| 22156 |
|
| 22157 |
* mixfix.hh: added class QuotedIdentifierSymbol |
| 22158 |
|
| 22159 |
* quotedIdentifierSymbol.cc: created |
| 22160 |
|
| 22161 |
* token.hh (class Token): added CONTAINS_DOT and BRACKETED |
| 22162 |
|
| 22163 |
* quotedIdentifierSymbol.hh: created |
| 22164 |
|
| 22165 |
2000-08-30 Steven Eker <[email protected]> |
| 22166 |
|
| 22167 |
* prettyPrint.cc (showAll): don't display kinds |
| 22168 |
(showSorts): use new formula for nrSorts |
| 22169 |
|
| 22170 |
* command.cc (parse): use Term::getSort() rather than |
| 22171 |
ComplexSort() |
| 22172 |
|
| 22173 |
* prettyPrint.cc (showOps): don't use ComplexSort() |
| 22174 |
|
| 22175 |
* compiler.cc (creduce): use DagNode::getSort() rather than |
| 22176 |
ComplexSort() |
| 22177 |
|
| 22178 |
* execute.cc (endRewriting): use DagNode::getSort() rather than |
| 22179 |
ComplexSort() |
| 22180 |
(doLoop): use DagNode::getSort() rather than ComplexSort() |
| 22181 |
|
| 22182 |
* userLevelRewritingContext.cc (tracePreScApplication): use |
| 22183 |
DagNode::getSort() rather than ComplexSort() |
| 22184 |
|
| 22185 |
* prettyPrint.cc (operator<<): treat nil sort pointer as "(SORT |
| 22186 |
UNKNOWN)" |
| 22187 |
|
| 22188 |
* command.cc (operator<<): don't put space after comma in kind |
| 22189 |
name |
| 22190 |
|
| 22191 |
* mixfixParser.cc (makeTerm): allow sortName to be NONE in |
| 22192 |
MAKE_VARIABLE case |
| 22193 |
|
| 22194 |
* token.cc (split): return suffix as NONE for tokens ending in : |
| 22195 |
|
| 22196 |
* mixfixModule.hh (class MixfixModule): added ENDS_IN_COLON_NT to |
| 22197 |
enum NonTerminal; BASE = -22 |
| 22198 |
|
| 22199 |
* mixfixModule.cc (makeComponentProductions): support |
| 22200 |
( <FooTerm> ) . [ <FooSortList> ] disambiguation |
| 22201 |
(makeComponentProductions): added syntax for sort lists |
| 22202 |
(makeSpecialProductions): handle ENDS_IN_COLON |
| 22203 |
|
| 22204 |
* mixfixModule.hh (class MixfixModule): added SORT_LIST_TYPE to |
| 22205 |
enum NonTerminalType; NUMBER_OF_TYPES = 5 |
| 22206 |
|
| 22207 |
* prettyPrint.cc (showSummary): fix # user sorts, now that sorts |
| 22208 |
and error sorts (kinds) end up in sort vector |
| 22209 |
(showComponents): don't use ComplexSort |
| 22210 |
(showSorts): don't output information on kinds |
| 22211 |
(showSummary): call makeGrammar if we don't have any productions |
| 22212 |
|
| 22213 |
* fixUp.cc (findHookSymbol): look for ~> rather than -> in |
| 22214 |
op-hooks |
| 22215 |
|
| 22216 |
===================================Engine62================================================== |
| 22217 |
|
| 22218 |
2000-08-29 Steven Eker <[email protected]> |
| 22219 |
|
| 22220 |
* top.y: added decl for indentifier; added decl for ',' |
| 22221 |
|
| 22222 |
* modules.y: added identifier nonterminal |
| 22223 |
|
| 22224 |
* lexer.flex: ',' now returns ',' rather than IDENTIFIER in |
| 22225 |
ID_MODE |
| 22226 |
|
| 22227 |
* preModule.hh (Parent): added friend decl for operator<< |
| 22228 |
|
| 22229 |
* command.cc (printOpDef): use types rathe than |
| 22230 |
domainAndRangeTokens |
| 22231 |
(operator<<): added for PreModule::Type |
| 22232 |
|
| 22233 |
* preModule.hh (Parent): added decls for checkOpTypes(), |
| 22234 |
checkType(), computeOpTypes(), computeType() |
| 22235 |
|
| 22236 |
* process.cc (checkOpTypes): added |
| 22237 |
(checkType): added |
| 22238 |
(computeOpTypes): added |
| 22239 |
(computeType): added |
| 22240 |
(processSorts): don't look up sorts occuring in op declarations |
| 22241 |
(process): call checkOpTypes() and computeOpTypes() |
| 22242 |
|
| 22243 |
2000-08-28 Steven Eker <[email protected]> |
| 22244 |
|
| 22245 |
* ops.cc (addVarDecl): now just take a token |
| 22246 |
|
| 22247 |
* modules.y: deleted listBarColon; added varNameList |
| 22248 |
|
| 22249 |
* preModule.hh: addSortSpec() -> addType(); struct SortSpec -> |
| 22250 |
struct type |
| 22251 |
|
| 22252 |
* ops.cc (addSortSpec): becomes addType() |
| 22253 |
(addType): rewrittenusing types nomenclature |
| 22254 |
(convertSortsToKinds): rewritten using types nomenclature |
| 22255 |
|
| 22256 |
* modules.y: sortSpec -> type; sortSpecList -> typeList; |
| 22257 |
addSortSpec() -> addType() |
| 22258 |
|
| 22259 |
* top.y: deleted tokenBarArrow; arrow declared type <yyBool>; |
| 22260 |
sortToken declared type <yyToken> |
| 22261 |
|
| 22262 |
* preModule.hh (Parent): added decls for addSortSpec() and |
| 22263 |
convertSortsToKinds(); deleted decl for setDomainAndRange() |
| 22264 |
|
| 22265 |
* ops.cc (setDomainAndRange): deleted |
| 22266 |
(convertSortsToKinds): added |
| 22267 |
|
| 22268 |
* lexer.flex: added KW_PARTIAL |
| 22269 |
|
| 22270 |
* top.y: added KW_PARTIAL |
| 22271 |
|
| 22272 |
* modules.y: added PARTIAL to most nonterminal that accept ARROW; |
| 22273 |
deleted nonterminal tokenBarArrow |
| 22274 |
|
| 22275 |
2000-08-25 Steven Eker <[email protected]> |
| 22276 |
|
| 22277 |
* modules.y: deleted listBarArrow; added arrow and call to |
| 22278 |
convertSortsToKinds() |
| 22279 |
|
| 22280 |
2000-08-22 Steven Eker <[email protected]> |
| 22281 |
|
| 22282 |
* modules.y: added non-terminals attrKeyword2, sortToken, |
| 22283 |
sortTokens and sortSpec |
| 22284 |
added non-terminal sortSpecList and redefined domainRangeAttr |
| 22285 |
|
| 22286 |
* ops.cc (addSortSpec): added |
| 22287 |
|
| 22288 |
* preModule.hh: added struct SortSpec; domainAndRangeTokens |
| 22289 |
becomes sortSpecs |
| 22290 |
|
| 22291 |
2000-07-31 Steven Eker <[email protected]> |
| 22292 |
|
| 22293 |
* importModule.cc (donateOps): use an ImportTranslation to |
| 22294 |
translate sorts in operator decls so that error sorts are |
| 22295 |
translated correctly |
| 22296 |
|
| 22297 |
* importTranslation.cc (translate): (Sort* version): moved here |
| 22298 |
(translate): (Sort* version): translate error sorts correctly |
| 22299 |
|
| 22300 |
* prettyPrint.cc (operator<<): added Sort* version |
| 22301 |
|
| 22302 |
* metaFastUp.cc (fastUpSort): removed hack for handling union |
| 22303 |
sorts since they should no longer exist |
| 22304 |
|
| 22305 |
===================================Engine61================================================== |
| 22306 |
|
| 22307 |
2000-07-28 Steven Eker <[email protected]> |
| 22308 |
|
| 22309 |
* trial.cc (traceBeginFragment): handle firstAttempt arg |
| 22310 |
|
| 22311 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 22312 |
added firstAttempt arg to traceBeginFragment() decl |
| 22313 |
|
| 22314 |
* prettyPrint.cc (operator<<): (ConditionFragment*) version |
| 22315 |
(printCondition): use ConditionFragment* operator<< |
| 22316 |
|
| 22317 |
* trial.cc (traceBeginFragment): added |
| 22318 |
(traceEndFragment): added |
| 22319 |
|
| 22320 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 22321 |
added decls for traceBeginFragment() and traceEndFragment() |
| 22322 |
|
| 22323 |
* execute.cc (match): use getNrProtectedVariables() instead of |
| 22324 |
nrVariables() (2 places) |
| 22325 |
|
| 22326 |
* userLevelRewritingContext.cc (printSubstitution): use |
| 22327 |
getNrRealVariables() instead of nrVariables(); now assert that |
| 22328 |
we're not dealing with an abstraction variable |
| 22329 |
|
| 22330 |
* metaFastUp.cc (fastUpSubstitution): use getNrRealVariables() |
| 22331 |
instead of nrVariables() |
| 22332 |
|
| 22333 |
* metaLevelOpSymbol.cc (metaApply): use getNrRealVariables() |
| 22334 |
instead of nrVariables() |
| 22335 |
(initializeSubstitution): use getNrRealVariables() instead of |
| 22336 |
nrVariables() |
| 22337 |
|
| 22338 |
2000-07-25 Steven Eker <[email protected]> |
| 22339 |
|
| 22340 |
* command.cc (dump): added |
| 22341 |
|
| 22342 |
* preModule.hh (Parent): added decl for dump() |
| 22343 |
|
| 22344 |
* commands.y: added dump command |
| 22345 |
|
| 22346 |
* top.y: added KW_DUMP |
| 22347 |
|
| 22348 |
* lexer.flex: added KW_DUMP |
| 22349 |
|
| 22350 |
2000-07-21 Steven Eker <[email protected]> |
| 22351 |
|
| 22352 |
* userLevelRewritingContext.cc (printSubstitution): handle unbound |
| 22353 |
variables |
| 22354 |
|
| 22355 |
2000-07-19 Steven Eker <[email protected]> |
| 22356 |
|
| 22357 |
* mixfixModule.cc (instantiateSortTest): changed concrete syntax |
| 22358 |
for sort test operators |
| 22359 |
|
| 22360 |
* mixfixModule.hh (class MixfixModule): update friend decl |
| 22361 |
|
| 22362 |
* prettyPrint.cc (printCondition): print /\ bewteen fragments |
| 22363 |
(operator<<): term version now takes const 2nd arg |
| 22364 |
(operator<<): cast away const for the moment |
| 22365 |
|
| 22366 |
* mixfixModule.hh (class MixfixModule): updated makeCondition() |
| 22367 |
decl; added makeConditionFragment() decl |
| 22368 |
|
| 22369 |
* mixfixParser.cc (makeCondition): rewritten |
| 22370 |
(makeConditionFragment): added |
| 22371 |
(makeStatement): use new makeCondition() |
| 22372 |
|
| 22373 |
* mixfixModule.cc (makeStatementProductions): generate productiosn |
| 22374 |
for complex conditions |
| 22375 |
(makeBoolProductions): now we allow condition fragments just to be |
| 22376 |
a bool |
| 22377 |
|
| 22378 |
2000-07-18 Steven Eker <[email protected]> |
| 22379 |
|
| 22380 |
* mixfixModule.cc (MixfixModule): initialize assign, colon3 and |
| 22381 |
wedge |
| 22382 |
(makeBoolProductions): use COLON2_PAIR in place of COLON_PAIR and |
| 22383 |
COLON3_PAIR in place of COLON2_PAIR |
| 22384 |
|
| 22385 |
* mixfixModule.hh (class MixfixModule): added static data members |
| 22386 |
assign, colon3 and wedge |
| 22387 |
(class MixfixModule): added COLON3_PAIR, ASSIGN_PAIR, |
| 22388 |
RULE_CONDITION, CONDITION_FRAGMENT, RULE_CONDITION_FRAGMENT to |
| 22389 |
enum NonTerminal |
| 22390 |
|
| 22391 |
* userLevelRewritingContext.cc (tracePreScApplication): use getSort() |
| 22392 |
|
| 22393 |
* prettyPrint.cc (operator<<): use getLhs(), getSort() |
| 22394 |
(operator<<): use getLhs(), getRhs() |
| 22395 |
(operator<<): use getLhs(), getRhs(), getLabel() |
| 22396 |
|
| 22397 |
* metaLevelOpSymbol.cc (metaApply): use getLabel() |
| 22398 |
|
| 22399 |
* importModule.cc (deepCopyCondition): use Sort* translate() |
| 22400 |
(donateStatements): use Sort* translate() |
| 22401 |
(donateStatements): use deepCopyCondition() (3 places) and new |
| 22402 |
statement ctors |
| 22403 |
(donateStatements): use getLhs(), getRhs() |
| 22404 |
(donateStatements): use getSort() |
| 22405 |
(donateStatements): use getLabel() |
| 22406 |
|
| 22407 |
* importTranslation.cc (translate): simplified using new |
| 22408 |
translate() functions |
| 22409 |
|
| 22410 |
* importTranslation.hh (class ImportTranslation): added decl for |
| 22411 |
Sort* version of translate() |
| 22412 |
(translate): (Sort* version) added |
| 22413 |
(class ImportTranslation): added decl for ConnectedComponent* |
| 22414 |
version of translate() |
| 22415 |
(translate): (ConnectedComponent* version) added |
| 22416 |
|
| 22417 |
2000-07-17 Steven Eker <[email protected]> |
| 22418 |
|
| 22419 |
* importModule.hh (class ImportModule): added decl for deepCopyCondition() |
| 22420 |
|
| 22421 |
* importModule.cc (deepCopyCondition): added |
| 22422 |
|
| 22423 |
* mixfixParser.cc (makeStatement): use new Rule and SortConstraint |
| 22424 |
ctors |
| 22425 |
|
| 22426 |
* mixfixModule.hh (class MixfixModule): added decl for printCondition() |
| 22427 |
|
| 22428 |
* prettyPrint.cc (printCondition): added |
| 22429 |
(operator<<): (Rule, Equation and SortConstraint versions) use |
| 22430 |
printCondition() |
| 22431 |
|
| 22432 |
2000-07-14 Steven Eker <[email protected]> |
| 22433 |
|
| 22434 |
* mixfixParser.cc (makeStatement): use new Equation ctor |
| 22435 |
|
| 22436 |
2000-06-28 Steven Eker <[email protected]> |
| 22437 |
|
| 22438 |
* mixfixModule.hh (class MixfixModule): changed |
| 22439 |
overloadedMachineFloats from set<Int64> to set<double> |
| 22440 |
|
| 22441 |
* prettyPrint.cc (prettyPrint): handle pseudo variables (both |
| 22442 |
versions) |
| 22443 |
|
| 22444 |
* mixfixParser.cc (parseSentence): use findSort() |
| 22445 |
|
| 22446 |
* mixfixModule.cc (makeSpecialProductions): use findSort() |
| 22447 |
|
| 22448 |
* entry.cc (addSort): rewritten |
| 22449 |
(addOpDeclaration): use findSort() to check for existance of sort |
| 22450 |
|
| 22451 |
* mixfixModule.cc (findSort): rewritten using map |
| 22452 |
|
| 22453 |
* mixfixModule.hh (class MixfixModule): changed sortNames from an |
| 22454 |
IntSet to a map<int, Sort*> |
| 22455 |
|
| 22456 |
* entry.cc (addOpDeclaration): check for pseudo variables |
| 22457 |
|
| 22458 |
* mixfixModule.hh (class MixfixModule): added PSEUDO_VARIABLE to |
| 22459 |
InternalFlags |
| 22460 |
|
| 22461 |
* entry.cc (newFancySymbol): no longer create variable symbols here |
| 22462 |
|
| 22463 |
* lexerAux.cc (eatComment): use outputLine() |
| 22464 |
|
| 22465 |
* fileTable.hh (class FileTable): added decl for outputLine() |
| 22466 |
|
| 22467 |
* fileTable.cc (beginModule): use outputLine() |
| 22468 |
(outputLine): added |
| 22469 |
|
| 22470 |
* lexerAux.cc (eatComment): handle OBJ3 style pass-through comments |
| 22471 |
|
| 22472 |
* lexer.flex: treat ---> equal to ***> and replace char with |
| 22473 |
yyless(0); treat --- equal to *** |
| 22474 |
|
| 22475 |
* mixfixModule.hh (class MixfixModule): added decl for printVariable() |
| 22476 |
|
| 22477 |
* prettyPrint.cc (printVariable): added |
| 22478 |
(prettyPrint): use printVariable() (both versions) |
| 22479 |
|
| 22480 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 22481 |
setPrintWithAliases() and static data member printWithAliases |
| 22482 |
(setPrintWithAliases): added |
| 22483 |
|
| 22484 |
* lexer.flex: added KW_ALIASES; made paren synonym for parens |
| 22485 |
|
| 22486 |
* top.y: added KW_ALIASES |
| 22487 |
|
| 22488 |
* commands.y: added syntax for print with aliases on/off . |
| 22489 |
|
| 22490 |
* userLevelRewritingContext.cc (printSubstitution): use |
| 22491 |
const_cast<> default pretty printer is used for variable term |
| 22492 |
|
| 22493 |
* mixfixModule.cc (makeSymbolProductions): need to use |
| 22494 |
if-then-continue after all since we can makeGrammar() at any time |
| 22495 |
now that parsers get deleted and reconstructed |
| 22496 |
|
| 22497 |
* mixfixModule.hh (class MixfixModule): deleted INVISIBLE from |
| 22498 |
enum SymbolFlags; deleted decl for findInvisibleVariable() |
| 22499 |
|
| 22500 |
* mixfixModule.cc (makeSymbolProductions): check for VARIABLE |
| 22501 |
rather than INVISIBLE; use Assert() that than if-then-continue |
| 22502 |
since these kind of symbols should not have be created prior to |
| 22503 |
generating the grammar |
| 22504 |
(findSymbol): no need to check for INVISIBLE symbols now |
| 22505 |
(findInvisibleVariable): deleted |
| 22506 |
|
| 22507 |
* entry.cc (addOpDeclaration): removed uses of INVISIBLE flag |
| 22508 |
|
| 22509 |
2000-06-27 Steven Eker <[email protected]> |
| 22510 |
|
| 22511 |
* prettyPrint.cc (showVars): use variableAliases |
| 22512 |
|
| 22513 |
* mixfixModule.cc (instantiateVariable): cannot use |
| 22514 |
variableTokenCode since we may not have made the grammar (nowadays |
| 22515 |
it's only made when we need to parse something); instead we use |
| 22516 |
sort->id() - ugly but it should never be seen by user |
| 22517 |
|
| 22518 |
* importTranslation.cc (translate): use instantiateVariable() |
| 22519 |
|
| 22520 |
* importModule.cc (donateOps): check for variable and sort test |
| 22521 |
symbols; these shound no longer be among user symbols to be donated |
| 22522 |
|
| 22523 |
* mixfixParser.cc (makeTerm): handle MAKE_VARIABLE_FROM_ALIAS |
| 22524 |
|
| 22525 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 22526 |
makeVariableProductions() |
| 22527 |
|
| 22528 |
* mixfixModule.cc (makeVariableProductions): added |
| 22529 |
(makeGrammar): call makeVariableProductions() |
| 22530 |
|
| 22531 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 22532 |
addVariableAlias() |
| 22533 |
|
| 22534 |
* entry.cc (addVariableAlias): added |
| 22535 |
|
| 22536 |
* mixfixModule.hh (class MixfixModule): added variableAliases data member |
| 22537 |
|
| 22538 |
* process.cc (processOps): use addVariableAlias() |
| 22539 |
|
| 22540 |
* prettyPrint.cc (prettyPrint): support variables (both versions) |
| 22541 |
|
| 22542 |
* mixfixModule.cc (instantiateVariable): translate |
| 22543 |
variableTokenCode to actual variable token code |
| 22544 |
|
| 22545 |
* token.cc (checkForSpecialProperty): get CONTAINS_COLON, |
| 22546 |
ENDS_IN_COLON the right way around |
| 22547 |
(extractMixfix): need to do processing on tokens with |
| 22548 |
CONTAINS_COLON and ENDS_IN_COLON otherwise we could lose mixfix |
| 22549 |
syntax for sort test operators |
| 22550 |
|
| 22551 |
2000-06-26 Steven Eker <[email protected]> |
| 22552 |
|
| 22553 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 22554 |
instantiateSortTest() |
| 22555 |
|
| 22556 |
* mixfixModule.cc (instantiateVariable): added |
| 22557 |
|
| 22558 |
* mixfixParser.cc (parseSentence): handle undeclared variables |
| 22559 |
(makeTerm): handle makeVariable |
| 22560 |
|
| 22561 |
* mixfixModule.cc (makeComponentProductions): fill out |
| 22562 |
variableTokenCode and add productions for undeclared variables |
| 22563 |
|
| 22564 |
* mixfixModule.hh (class MixfixModule): added data members |
| 22565 |
variableTokenCode and variableBase |
| 22566 |
|
| 22567 |
* token.hh (class Token): added decl for split |
| 22568 |
|
| 22569 |
* token.cc (split): added |
| 22570 |
|
| 22571 |
* mixfixModule.hh (class MixfixModule): added MAKE_VARIABLE and |
| 22572 |
MAKE_VARIABLE_FROM_ALIAS to enum Actions |
| 22573 |
|
| 22574 |
* mixfixModule.cc (makeSpecialProductions): added code for |
| 22575 |
<FooTerm> ::= X:Foo where X:Foo is known token |
| 22576 |
|
| 22577 |
* token.cc (checkForSpecialProperty): check for colons |
| 22578 |
|
| 22579 |
* token.hh (class Token): added special properties CONTAINS_COLON |
| 22580 |
and ENDS_IN_COLON |
| 22581 |
|
| 22582 |
* userLevelRewritingContext.cc (printSubstitution): use |
| 22583 |
VariableTerm* instead of VariableSymbol*; use getSort() |
| 22584 |
(printSubstitution): use safeCast() |
| 22585 |
|
| 22586 |
===================================Engine57================================================== |
| 22587 |
|
| 22588 |
2000-06-19 Steven Eker <[email protected]> |
| 22589 |
|
| 22590 |
* fixUp.cc (fixUpSymbols): pass decFloatSymbol to string op |
| 22591 |
fixUp() |
| 22592 |
|
| 22593 |
2000-06-13 Steven Eker <[email protected]> |
| 22594 |
|
| 22595 |
* fixUp.cc (fixUpSymbols): pass machineFloatSymbol to string op |
| 22596 |
fixUp() |
| 22597 |
|
| 22598 |
2000-06-12 Steven Eker <[email protected]> |
| 22599 |
|
| 22600 |
* fixUp.cc (fixUpSymbols): pass machineIntegerSymbol to fix up of |
| 22601 |
MachineFloatOpSymbol |
| 22602 |
|
| 22603 |
* importModule.cc (fixUpDonatedOps): handle importation of |
| 22604 |
MACHINE_FLOAT_OPs |
| 22605 |
|
| 22606 |
* fixUp.cc (fixUpSymbols): support MACHINE_FLOAT_OP |
| 22607 |
|
| 22608 |
* mixfixModule.hh (class MixfixModule): added FLOAT_NT to enum |
| 22609 |
NonTerminal |
| 22610 |
|
| 22611 |
* mixfixModule.cc (makeSpecialProductions): support floats |
| 22612 |
|
| 22613 |
* token.hh (class Token): added LAST_PROPERTY to enum |
| 22614 |
SpecialProperties |
| 22615 |
|
| 22616 |
* mixfixModule.cc (makeSymbolProductions): support MACHINE_FLOAT |
| 22617 |
|
| 22618 |
* mixfixModule.hh (class MixfixModule): added MAKE_MACHINE_FLOAT |
| 22619 |
to enum Actions |
| 22620 |
|
| 22621 |
* mixfixParser.cc (makeTerm): support MAKE_MACHINE_INT |
| 22622 |
|
| 22623 |
* bufferPrint.cc (prettyPrint): support machine floats |
| 22624 |
|
| 22625 |
* prettyPrint.cc (prettyPrint): (both versions) support machine |
| 22626 |
floats |
| 22627 |
|
| 22628 |
* token.hh (class Token): added decls for codeToDouble() and |
| 22629 |
doubleToCode() |
| 22630 |
|
| 22631 |
* token.cc (codeToDouble): added |
| 22632 |
(doubleToCode): added |
| 22633 |
|
| 22634 |
* entry.cc (addOpDeclaration): update machineFloatSymbols |
| 22635 |
(newFancySymbol): support MACHINE_FLOAT and MACHINE_FLOAT_OP |
| 22636 |
|
| 22637 |
* mixfixModule.hh (class MixfixModule): added data members |
| 22638 |
overloadedMachineFloats and machineFloatSymbols |
| 22639 |
(class MixfixModule): added PSEUDO_MACHINE_FLOAT to enum |
| 22640 |
InternalFlags |
| 22641 |
|
| 22642 |
* entry.cc (addOpDeclaration): added check for pseudo machine |
| 22643 |
floats |
| 22644 |
|
| 22645 |
* ops.cc (addHook): added MachineFloatSymbol and |
| 22646 |
MachineFloatOpSymbol hooks |
| 22647 |
|
| 22648 |
2000-06-09 Steven Eker <[email protected]> |
| 22649 |
|
| 22650 |
* mixfixModule.hh (class MixfixModule): added MACHINE_FLOAT and |
| 22651 |
MACHINE_FLOAT_OP to enum SymbolFlags |
| 22652 |
|
| 22653 |
* token.cc (checkForSpecialProperty): added identification for |
| 22654 |
Floats |
| 22655 |
|
| 22656 |
* token.hh (class Token): added FLOAT to enum SpecialProperties |
| 22657 |
|
| 22658 |
2000-05-23 Steven Eker <[email protected]> |
| 22659 |
|
| 22660 |
* metaDown.cc (downModule): check for bad module after closing |
| 22661 |
sort set and after downing fixups |
| 22662 |
|
| 22663 |
2000-05-19 Steven Eker <[email protected]> |
| 22664 |
|
| 22665 |
* token.cc (bubbleToPrefixNameCode): fixed nasty bug where we were |
| 22666 |
putting ` at start |
| 22667 |
|
| 22668 |
2000-05-17 Steven Eker <[email protected]> |
| 22669 |
|
| 22670 |
* token.cc (extractMixfix): rewritten to handle strings |
| 22671 |
|
| 22672 |
* token.hh (class Token): deleted decl for prefixNameCode() |
| 22673 |
|
| 22674 |
* token.cc (prefixNameCode): deleted prefixNameCode() |
| 22675 |
|
| 22676 |
* ops.cc (addOpDecl): no longer treat one token as a special case |
| 22677 |
|
| 22678 |
* fixUp.cc (findHookSymbol): use bubbleToPrefixNameCode() |
| 22679 |
|
| 22680 |
* command.cc (addSelected): use bubbleToPrefixNameCode() |
| 22681 |
|
| 22682 |
* token.hh (makePrefixName): use bubbleToPrefixNameCode() |
| 22683 |
(class Token): added decl for bubbleToPrefixNameCode() |
| 22684 |
|
| 22685 |
* token.cc (ropeToPrefixNameCode): handle quoted strings within |
| 22686 |
rope |
| 22687 |
(bubbleToPrefixNameCode): added |
| 22688 |
|
| 22689 |
* lexer.flex: redefined maudeId to allow multiple double quoted |
| 22690 |
strings with in a maudeId |
| 22691 |
|
| 22692 |
* quotedIdentifierOpSymbol.cc (eqRewrite): use |
| 22693 |
ropeToPrefixNameCode() |
| 22694 |
|
| 22695 |
* token.hh (class Token): added decl for ropeToPrefixNameCode() |
| 22696 |
|
| 22697 |
* token.cc (ropeToPrefixNameCode): added |
| 22698 |
|
| 22699 |
2000-05-16 Steven Eker <[email protected]> |
| 22700 |
|
| 22701 |
* fixUp.cc (fixUpSymbols): don't pass machineIntegerSymbol, |
| 22702 |
trueTerm and falseTerm to QuotedIdentifierOpSymbol |
| 22703 |
|
| 22704 |
* quotedIdentifierOpSymbol.cc (postInterSymbolPass): deleted |
| 22705 |
(copyFixUp): don't copy trueTerm and falseTerm |
| 22706 |
|
| 22707 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 22708 |
deleted decls for reset() and postInterSymbolPass(); updated decl |
| 22709 |
for fixUp() |
| 22710 |
|
| 22711 |
* quotedIdentifierOpSymbol.cc (fixUp): don't set trueTerm and |
| 22712 |
falseTerm |
| 22713 |
(reset): deleted |
| 22714 |
|
| 22715 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 22716 |
deleted data members trueTerm and falseTerm |
| 22717 |
|
| 22718 |
* quotedIdentifierOpSymbol.cc (fixUp): don't set |
| 22719 |
machineIntegerSymbol; don't handle CONC, INDEX, STRIP, CONVERT and |
| 22720 |
LESS_THAN |
| 22721 |
(copyFixUp): don't copy machineIntegerSymbol |
| 22722 |
(eqRewrite): don't handle CONC, INDEX, STRIP, CONVERT and |
| 22723 |
LESS_THAN |
| 22724 |
|
| 22725 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 22726 |
deleted data member machineIntegerSymbol; |
| 22727 |
(class QuotedIdentifierOpSymbol): updated fixUp() decl |
| 22728 |
(class QuotedIdentifierOpSymbol): deleted CONC, INDEX, STRIP, |
| 22729 |
CONVERT and LESS_THAN from enum OpType |
| 22730 |
|
| 22731 |
* fixUp.cc (fixUpSymbols): support stringBaseSymbol for |
| 22732 |
QuotedIdentiferOpSymbols |
| 22733 |
|
| 22734 |
* quotedIdentifierOpSymbol.cc (fixUp): hanle stringSymbol arg |
| 22735 |
(copyFixUp): copy stringSymbol |
| 22736 |
(eqRewrite): added QID and STRING operations |
| 22737 |
|
| 22738 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 22739 |
added data member stringSymbol; |
| 22740 |
(class QuotedIdentifierOpSymbol): updated fixUp() decl |
| 22741 |
|
| 22742 |
* quotedIdentifierOpSymbol.cc (fixUp): added support for STRING |
| 22743 |
and QID |
| 22744 |
|
| 22745 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 22746 |
added STRING and QID to enum OpType |
| 22747 |
|
| 22748 |
* token.cc (checkForSpecialProperty): use stringToInt64() to |
| 22749 |
decide if a token could represent a MachineInt |
| 22750 |
|
| 22751 |
* quotedIdentifierOpSymbol.cc (eqRewrite): use new int64ToString() |
| 22752 |
|
| 22753 |
* metaFastUp.cc (fastUpTerm): (both versions) use int64ToCode() |
| 22754 |
|
| 22755 |
* bufferPrint.cc: use int64ToCode() |
| 22756 |
|
| 22757 |
* token.hh (class Token): int64ToString() decl becomes |
| 22758 |
int64ToCode() |
| 22759 |
|
| 22760 |
* token.cc (codeToInt64): use stringToInt64() |
| 22761 |
(int64ToString): becomes int64ToCode(); |
| 22762 |
(int64ToCode): use int64ToString() |
| 22763 |
|
| 22764 |
2000-05-15 Steven Eker <[email protected]> |
| 22765 |
|
| 22766 |
* token.cc (ropeToString): support \a (alert/bell) and \v |
| 22767 |
(vertical tab) |
| 22768 |
(codeToRope): support \a (alert/bell) and \v (vertical tab) |
| 22769 |
|
| 22770 |
* lexer.flex: exclude control chars from stringContent; fix \\" |
| 22771 |
bug; exclude control chars from normal |
| 22772 |
token -> maudeId, stringToken -> stringId, regularToken -> |
| 22773 |
regularId; use RETURN(*yytext) in 2 places |
| 22774 |
|
| 22775 |
2000-05-12 Steven Eker <[email protected]> |
| 22776 |
|
| 22777 |
* lexer.flex: reformulated notion of token to make it simpler and |
| 22778 |
to exclude "s except as part of a double quoted identifier (or |
| 22779 |
quoted double quoted identifier (actually token really corresponds |
| 22780 |
to MaudeId in other discussions) |
| 22781 |
|
| 22782 |
2000-05-08 Steven Eker <[email protected]> |
| 22783 |
|
| 22784 |
* modules.y: use setLatexMacro() |
| 22785 |
|
| 22786 |
* preModule.hh (Parent): added decl for setLatexMacro() |
| 22787 |
|
| 22788 |
* ops.cc (setLatexMacro): added |
| 22789 |
|
| 22790 |
* preModule.hh: added latexMacro field to struct OpDef |
| 22791 |
|
| 22792 |
2000-05-04 Steven Eker <[email protected]> |
| 22793 |
|
| 22794 |
* lexerAux.cc (lexerLatexMode): clear latexCode |
| 22795 |
|
| 22796 |
* lexer.flex: use latexCode variable to assemble latex string, to |
| 22797 |
avoid what looks tike a flex bug when we try to assemble it |
| 22798 |
implicitly in yytext |
| 22799 |
|
| 22800 |
2000-05-03 Steven Eker <[email protected]> |
| 22801 |
|
| 22802 |
* top.y: added token decl for LATEX_TOK |
| 22803 |
|
| 22804 |
* modules.y: use lexerLatexMode() |
| 22805 |
|
| 22806 |
* lexerAux.cc (lexerLatexMode): added |
| 22807 |
|
| 22808 |
* lexer.flex: added start condition LATEX_MODE |
| 22809 |
|
| 22810 |
* compiler.cc (fullCompile): changed names for environment |
| 22811 |
variables; don't unlink source files ifdef ANNOTATE |
| 22812 |
|
| 22813 |
2000-04-25 Steven Eker <[email protected]> |
| 22814 |
|
| 22815 |
* entry.cc (newFancySymbol): use class StringSymbol |
| 22816 |
|
| 22817 |
* fixUp.cc (fixUpSymbols): use StringSymbol* |
| 22818 |
|
| 22819 |
* mixfixParser.cc (makeTerm): use StringSymbol* |
| 22820 |
|
| 22821 |
2000-04-24 Steven Eker <[email protected]> |
| 22822 |
|
| 22823 |
* token.cc (ropeToString): alway generate 3 octal digits for |
| 22824 |
numeric escape codes |
| 22825 |
(codeToRope): only look at max 3 octal digits afer \; don't use |
| 22826 |
strtol() |
| 22827 |
|
| 22828 |
* entry.cc (addOpDeclaration): clear any axioms flags if we fail |
| 22829 |
to create a fancy symbol |
| 22830 |
|
| 22831 |
* mixfixModule.hh (class MixfixModule): added AXIOMS to enum |
| 22832 |
SymbolFlags |
| 22833 |
|
| 22834 |
* fixUp.cc (fixUpSymbols): use dynamic_cast<BinarySymbol*>() since |
| 22835 |
there is no guarentee that our symbol is not a FreeSymbol (due to |
| 22836 |
an earlier error); this fixes a nasty bug. |
| 22837 |
|
| 22838 |
* autoWrapBuffer.cc (AutoWrapBuffer): initialize seenBackSlash and |
| 22839 |
inString |
| 22840 |
(overflow): update seenBackSlash and inString; only treat space, |
| 22841 |
",", [, (, and { as special if !inString |
| 22842 |
(resetCursor): clear seenBackQuote, seenBackSlash and inString |
| 22843 |
(overflow): return EOF if our arg is EOF |
| 22844 |
|
| 22845 |
* autoWrapBuffer.hh (class AutoWrapBuffer): added data members |
| 22846 |
seenBackSlash and inString; seenBackQuote made a Bool |
| 22847 |
|
| 22848 |
2000-04-19 Steven Eker <[email protected]> |
| 22849 |
|
| 22850 |
* mixfixModule.cc (findMachineIntegerSymbol): moved here; no |
| 22851 |
longer inline |
| 22852 |
(findQuotedIdentifierSymbol): moved here; no longer inline |
| 22853 |
|
| 22854 |
* bufferPrint.cc (prettyPrint): use |
| 22855 |
machineIntegerSymbols instead of machineIntegerComponents and |
| 22856 |
quotedIdentifierSymbols instead of quotedIdentifierComponents; use |
| 22857 |
new interface to overloadedQuotedIdentifiers |
| 22858 |
|
| 22859 |
* prettyPrint.cc (prettyPrint): (both versions) use |
| 22860 |
machineIntegerSymbols instead of machineIntegerComponents and |
| 22861 |
quotedIdentifierSymbols instead of quotedIdentifierComponents; use |
| 22862 |
new interface to overloadedQuotedIdentifiers |
| 22863 |
|
| 22864 |
* entry.cc (addOpDeclaration): use new machineIntegerSymbols def |
| 22865 |
|
| 22866 |
* mixfixModule.hh (class MixfixModule): quotedIdentifierSymbols |
| 22867 |
and machineIntegerSymbols become map<>s; |
| 22868 |
overloadedQuotedIdentifiers becomes a set<>; |
| 22869 |
machineIntegerComponents and quotedIdentifierComponents deleted |
| 22870 |
(findMachineIntegerSymbol): rewritten using new |
| 22871 |
machineIntegerSymbols def; made const; made arg const ptr |
| 22872 |
(findQuotedIdentifierSymbol): rewritten using new |
| 22873 |
machineIntegerSymbols def; made const; made arg const ptr |
| 22874 |
|
| 22875 |
* bufferPrint.cc (prettyPrint): handle strings and pseudo strings |
| 22876 |
|
| 22877 |
* prettyPrint.cc (prettyPrint): (Term* version) added code for |
| 22878 |
string case |
| 22879 |
(prettyPrint): (DagNode* version) use new ropeToString() interface |
| 22880 |
|
| 22881 |
* token.hh (class Token): updated decl for ropeToString() |
| 22882 |
|
| 22883 |
* token.cc (ropeToString): now built result in string arg for efficiency |
| 22884 |
|
| 22885 |
2000-04-18 Steven Eker <[email protected]> |
| 22886 |
|
| 22887 |
* prettyPrint.cc (prettyPrint): use stringSymbols.size() rather |
| 22888 |
than stringComponents.cardinality |
| 22889 |
|
| 22890 |
* entry.cc (addOpDeclaration): fill out stringSymbols rather than |
| 22891 |
stringComponents |
| 22892 |
|
| 22893 |
* mixfixModule.hh (class MixfixModule): added stringSymbols, |
| 22894 |
commented out stringComponents; |
| 22895 |
|
| 22896 |
* prettyPrint.cc (prettyPrint): (DagNode* version) do string and |
| 22897 |
pseudo-string disambiguation |
| 22898 |
|
| 22899 |
* entry.cc (addOpDeclaration): fill in overloadedStrings; set |
| 22900 |
PSEUDO_STRING flag if needed |
| 22901 |
(addOpDeclaration): add entry to stringComponents when needed |
| 22902 |
|
| 22903 |
* mixfixModule.hh (class MixfixModule): added data members |
| 22904 |
overloadedStrings and stringComponents |
| 22905 |
|
| 22906 |
* token.cc (codeToRope): handle \t and \b |
| 22907 |
(ropeToString): handle \t and \b |
| 22908 |
(ropeToString): cast unprintable chars to <unsigned char> to make |
| 22909 |
sure we don't get negative numbers when converting to octal; |
| 22910 |
only generate needed number of octal digits. |
| 22911 |
(ropeToString): now "\0" is handled by default case code |
| 22912 |
|
| 22913 |
* fixUp.cc (fixUpSymbols): fixed bug where we were setting |
| 22914 |
falseterm instead of notFoundTerm |
| 22915 |
|
| 22916 |
* token.cc (codeToRope): initialize seenBackslash |
| 22917 |
|
| 22918 |
2000-04-17 Steven Eker <[email protected]> |
| 22919 |
|
| 22920 |
* prettyPrint.cc (prettyPrint): use Token::ropeToString (DagNode* |
| 22921 |
version) |
| 22922 |
|
| 22923 |
* mixfixParser.cc: use Token::codeToRope() |
| 22924 |
|
| 22925 |
* token.cc (codeToRope): added |
| 22926 |
(ropeToString): added |
| 22927 |
|
| 22928 |
* token.hh (class Token): added decls for codeToRope() and ropeToString() |
| 22929 |
|
| 22930 |
* prettyPrint.cc (prettyPrint): fixed bug where we were check |
| 22931 |
flags rather tha iflags for PSEUDO_QUOTED_IDENTIFIER |
| 22932 |
(prettyPrint): crude handling of strings (DagNode* version) |
| 22933 |
|
| 22934 |
* mixfixParser.cc (makeTerm): added MAKE_STRING case |
| 22935 |
|
| 22936 |
* mixfixModule.hh (class MixfixModule): added MAKE_STRING to enum Actions |
| 22937 |
|
| 22938 |
* mixfixModule.cc (makeSpecialProductions): added production for |
| 22939 |
new "anonymous string" ("[ STRING ]") token |
| 22940 |
(makeSymbolProductions): added productions for string base symbol(s) |
| 22941 |
|
| 22942 |
* mixfixModule.hh (class MixfixModule): added STRING_NT to enum NonTerminal |
| 22943 |
|
| 22944 |
* mixfixModule.cc (makeSpecialProductions): add special |
| 22945 |
productions for identifiers that look like strings |
| 22946 |
|
| 22947 |
* lexer.flex: recognize string tokens properly |
| 22948 |
|
| 22949 |
* token.cc (prefixNameCode): don't process single tokens that are STRINGS |
| 22950 |
|
| 22951 |
* lexer.flex: fixed stringCont def so that we can have spaces in strings |
| 22952 |
|
| 22953 |
* token.cc (extractMixfix): don't try to extract mixfix syntax for |
| 22954 |
tokens with special properties |
| 22955 |
|
| 22956 |
* token.hh (class Token): added STRING to enum SpecialProperties |
| 22957 |
|
| 22958 |
* token.cc (checkForSpecialProperty): added recognition for strings |
| 22959 |
|
| 22960 |
2000-04-14 Steven Eker <[email protected]> |
| 22961 |
|
| 22962 |
* importModule.cc (fixUpDonatedOps): handle StringOpSymbol |
| 22963 |
|
| 22964 |
* fixUp.cc (fixUpSymbols): handle StringOpSymbol |
| 22965 |
|
| 22966 |
2000-04-12 Steven Eker <[email protected]> |
| 22967 |
|
| 22968 |
* ops.cc (addHook): recognize StringSymbol and StringOpSymbol |
| 22969 |
hooks |
| 22970 |
|
| 22971 |
* entry.cc (newFancySymbol): handle STRING and STRING_OP flags |
| 22972 |
|
| 22973 |
* lexer.flex: STRING -> STRING_TOK |
| 22974 |
|
| 22975 |
* top.y: STRING -> STRING_TOK |
| 22976 |
|
| 22977 |
* entry.cc (addOpDeclaration): use iflags thoughout |
| 22978 |
(addPolymorph): clear iflags |
| 22979 |
|
| 22980 |
* mixfixModule.cc (instantiateSortTest): set iflags |
| 22981 |
(copyPolymorph): copy iflags |
| 22982 |
(computePrecAndGather): use iflags thoughout |
| 22983 |
|
| 22984 |
* bufferPrint.cc (prettyPrint): use iflags thoughout |
| 22985 |
|
| 22986 |
* prettyPrint.cc (prettyPrint): (both versions) use iflags thoughout |
| 22987 |
|
| 22988 |
* mixfixModule.hh (class MixfixModule): added enum InternalFlags |
| 22989 |
to take LEFT_BARE, RIGHT_BARE, ADHOC_OVERLOADED, |
| 22990 |
DOMAIN_OVERLOADED, RANGE_OVERLOADED, PSEUDO_MACHINE_INTEGER, |
| 22991 |
PSEUDO_QUOTED_IDENTIFIER; removed these from enum SymbolFlags; |
| 22992 |
renumbered both enums |
| 22993 |
(class MixfixModule): META_LEVEL_OP deleted |
| 22994 |
(class MixfixModule): added PSEUDO_STRING to InternalFlags |
| 22995 |
(class MixfixModule): added STRING and STRING_OP to SymbolFlags |
| 22996 |
(class MixfixModule): rearranged SymbolInfo and added iflags |
| 22997 |
|
| 22998 |
===================================Maude 1.0.5 finished======================================= |
| 22999 |
|
| 23000 |
2000-04-05 Steven Eker <[email protected]> |
| 23001 |
|
| 23002 |
* main.cc (findFile): look for .fm extension |
| 23003 |
|
| 23004 |
* interact.cc: sunos 4 ifdef |
| 23005 |
|
| 23006 |
2000-03-30 Steven Eker <[email protected]> |
| 23007 |
|
| 23008 |
* mixfixParser.cc (parseCommand): ifdef'd |
| 23009 |
(makeCommand): ifdef'd |
| 23010 |
|
| 23011 |
2000-03-29 Steven Eker <[email protected]> |
| 23012 |
|
| 23013 |
* prettyPrint.cc (graphPrint): fixed delete bug (need to use |
| 23014 |
delete[] for BigNum strings) |
| 23015 |
|
| 23016 |
2000-03-21 Steven Eker <[email protected]> |
| 23017 |
|
| 23018 |
* autoWrapBuffer.cc (sync): don't output pending buffer unless it |
| 23019 |
consists of a single space or tab; this avoids outputing stuff |
| 23020 |
where it turns out we don't have a save point to line break later |
| 23021 |
on. the drawback is that we violate the semnatics of sync() |
| 23022 |
somewhat |
| 23023 |
|
| 23024 |
* fileTable.cc (printLineNumber): fixed bug where we were using |
| 23025 |
"cout" rather than "s" |
| 23026 |
|
| 23027 |
2000-03-20 Steven Eker <[email protected]> |
| 23028 |
|
| 23029 |
* process.cc (process): check for bad module before calling |
| 23030 |
closeSignature() |
| 23031 |
|
| 23032 |
* entry.cc (addOpDeclaration): now call markAsBad() when ther is a |
| 23033 |
clash of symbol attributes; there is a problem that translating of |
| 23034 |
terms assumes that FooSymbol maps to a FooSymbol; bad things |
| 23035 |
happen if this is violated so we don't want to translate terms |
| 23036 |
|
| 23037 |
2000-03-17 Steven Eker <[email protected]> |
| 23038 |
|
| 23039 |
* search.cc (search): if def'd guts |
| 23040 |
|
| 23041 |
2000-03-16 Steven Eker <[email protected]> |
| 23042 |
|
| 23043 |
* process.cc (process): added extra check for bad module before |
| 23044 |
calling closeFixUps() just incase we had a bad identity |
| 23045 |
|
| 23046 |
* metaDown.cc (downFixUpBubble): WarningCheck() -> IssueWarning() |
| 23047 |
(downAttr): WarningCheck() -> IssueWarning() |
| 23048 |
|
| 23049 |
* execute.cc (cont): standardized IssueWarning() |
| 23050 |
|
| 23051 |
* command.cc (selectModule): standardized IssueWarning()s |
| 23052 |
|
| 23053 |
* ops.cc (addVarDecl): standardized IssueWarning() |
| 23054 |
(setPrec): standardized IssueWarning() |
| 23055 |
(setGather): standardized IssueWarning() |
| 23056 |
|
| 23057 |
* process.cc (processSorts): standardized IssueWarning() and |
| 23058 |
WarningCheck() |
| 23059 |
(getSort): standardized IssueWarning() |
| 23060 |
|
| 23061 |
* import.cc (findModule): standardized IssueWarning() |
| 23062 |
(importModule): standardized IssueWarning()s |
| 23063 |
|
| 23064 |
* compiler.cc (fullCompile): standardized IssueAdvisory() |
| 23065 |
(makeExecutable): standardized IssueWarning() |
| 23066 |
|
| 23067 |
* preModule.cc (getFlatSignature): standardized IssueAdvisory() |
| 23068 |
(finishModule): standardized IssueAdvisory() |
| 23069 |
|
| 23070 |
* mixfixParser.cc (parseTerm): standardized IssueWarning() |
| 23071 |
(parseSentence): standardized IssueWarning() |
| 23072 |
|
| 23073 |
* entry.cc (addOpDeclaration): standardized IssueWarning()s |
| 23074 |
|
| 23075 |
* metaDown.cc (downFixUpBubble): standardized IssueAdvisory() |
| 23076 |
(downSorts): standardized IssueAdvisory() |
| 23077 |
(downSimpleSort): standardized IssueAdvisory() |
| 23078 |
(downTerm): standardized IssueAdvisory()s |
| 23079 |
(downVariable): standardized IssueAdvisory() |
| 23080 |
|
| 23081 |
* metaFastUp.cc (fastUpSort): standardized IssueAdvisory() |
| 23082 |
|
| 23083 |
* main.cc (main): standardized IssueWarning() |
| 23084 |
|
| 23085 |
* lexerAux.cc (handleEof): pass lineNr arg to includeFile() |
| 23086 |
|
| 23087 |
* main.cc (main): pass lineNr arg to includeFile() |
| 23088 |
|
| 23089 |
* top.y: pass lineNr arg to includeFile() |
| 23090 |
|
| 23091 |
* lexerAux.hh (eatComment): updated decl for includeFile() |
| 23092 |
|
| 23093 |
* lexerAux.cc (includeFile): take lineNr arg; standardized |
| 23094 |
IssueWarning()s |
| 23095 |
|
| 23096 |
* importTranslation.hh (class ImportTranslation): use NO_COPYING() |
| 23097 |
macro |
| 23098 |
|
| 23099 |
* fileTable.hh (class FileTable): use NO_COPYING() macro |
| 23100 |
|
| 23101 |
* metaDown.cc (downFixUps): check that identity is in the correct |
| 23102 |
component |
| 23103 |
|
| 23104 |
* mixfixModule.cc (~MixfixModule): only self destrcut special |
| 23105 |
terms that actually exist |
| 23106 |
|
| 23107 |
* fixUp.cc (fixUpSymbols): extensive use of FIX_UP_FAILED macro in |
| 23108 |
an attempt to make specials slightly more robust |
| 23109 |
|
| 23110 |
* preModule.cc (PreModule): init isCompiled |
| 23111 |
|
| 23112 |
* ops.cc (makeOpDeclsConsistent): fixed bug where we were trying |
| 23113 |
to delete op decls beyond start be vector |
| 23114 |
|
| 23115 |
* execute.cc (match): print maxNrSolutions if != UNBOUNDED |
| 23116 |
|
| 23117 |
* preModule.hh (Parent): added decl for printMatchTiming() |
| 23118 |
|
| 23119 |
* execute.cc (printMatchTiming): added |
| 23120 |
|
| 23121 |
* preModule.hh (Parent): added decl for printStats(), updated decl |
| 23122 |
for printTiming(), deleted decl for printTiming2() |
| 23123 |
|
| 23124 |
* compiler.cc (creduce): use printTiming() rather than |
| 23125 |
printTiming2() |
| 23126 |
|
| 23127 |
* execute.cc (beginRewriting): always set timers as showStats and |
| 23128 |
showTiming flags could be changed during rewriting |
| 23129 |
(doLoop): always set timers as showStats and showTiming flags |
| 23130 |
could be changed during rewriting |
| 23131 |
(match): reorganized; call printMatchTiming(); |
| 23132 |
(printStats): adapted from old printTiming() |
| 23133 |
(printTiming2): renamed to printTiming() |
| 23134 |
(endRewriting): use printStats() |
| 23135 |
(doLoop): use printStats() |
| 23136 |
|
| 23137 |
2000-03-15 Steven Eker <[email protected]> |
| 23138 |
|
| 23139 |
* importModule.cc (fixUpDonatedOps): use copyFixUpBubbleSpec() |
| 23140 |
|
| 23141 |
* mixfixModule.hh (class MixfixModule): added decls for |
| 23142 |
findBubbleSpec(), copyFixUpBubbleSpec(), copyBubbleSpec() |
| 23143 |
|
| 23144 |
* mixfixModule.cc (findBubbleSpec): added |
| 23145 |
(copyFixUpBubbleSpec): added |
| 23146 |
(copyBubbleSpec): added |
| 23147 |
|
| 23148 |
* importModule.cc (donateOps): use copyBubbleSpec() |
| 23149 |
|
| 23150 |
* mixfixParser.cc (parseTerm): don't print term in "no parse for |
| 23151 |
term" message (original code didn't work anyway because end was |
| 23152 |
usually DEFAULT = -1) |
| 23153 |
|
| 23154 |
* preModule.hh (Parent): added decl for contLoop2() |
| 23155 |
|
| 23156 |
* execute.cc (loop): copy sucesfully parsed subject to |
| 23157 |
savedLoopSubject |
| 23158 |
(contLoop2): added |
| 23159 |
(contLoop): rewritten using contLoop2() and savedLoopSubject |
| 23160 |
|
| 23161 |
* preModule.hh (Parent): added static data member savedLoopSubject |
| 23162 |
|
| 23163 |
* importTranslation.cc (translate): init importerVersion = 0; use |
| 23164 |
flags rather than dynamic_cast<>s |
| 23165 |
|
| 23166 |
* metaFastUp.cc (fastUpSort): HACK to try and find non error sort |
| 23167 |
to up in union sort case; fixes Delias problem |
| 23168 |
|
| 23169 |
2000-03-14 Steven Eker <[email protected]> |
| 23170 |
|
| 23171 |
* main.cc (findPrelude): handle case where executableName contains |
| 23172 |
a full path name |
| 23173 |
|
| 23174 |
* fileTable.hh (class FileTable): added AUTOMATIC to enum |
| 23175 |
SpecialLineNumbers |
| 23176 |
|
| 23177 |
* main.cc (findPrelude): output FileTable::AUTOMATIC as line |
| 23178 |
number of warning |
| 23179 |
|
| 23180 |
* top.y: save line number for findFile() before calling |
| 23181 |
eatComment() (both places) |
| 23182 |
|
| 23183 |
* main.hh: updated findFile() decl |
| 23184 |
|
| 23185 |
* top.y: pass lineNumber to findFile() (both places) |
| 23186 |
|
| 23187 |
* lexerAux.cc (handleEof): pass COMMAND_LINE to findFile() |
| 23188 |
|
| 23189 |
* main.cc (findFile): take line number argument |
| 23190 |
|
| 23191 |
* fileTable.cc (printLineNumber): handle COMMAND_LINE |
| 23192 |
|
| 23193 |
* fileTable.hh (class FileTable): added COMMAND_LINE to |
| 23194 |
enum SpecialLineNumbers |
| 23195 |
|
| 23196 |
* quotedIdentifierOpSymbol.cc (eqRewrite): simplified using C++ |
| 23197 |
strings rather than C strings |
| 23198 |
|
| 23199 |
* token.cc (dotNameCode): simplified using C++ strings rather than |
| 23200 |
C strings |
| 23201 |
|
| 23202 |
* metaFastUp.cc (fastUpTerm): (both versions) simplified using |
| 23203 |
quoteNameCode() |
| 23204 |
|
| 23205 |
* bufferPrint.cc (prettyPrint): use quoteNameCode() |
| 23206 |
|
| 23207 |
* token.hh (class Token): added decl for quoteNameCode() |
| 23208 |
|
| 23209 |
* token.cc (quoteNameCode): added |
| 23210 |
|
| 23211 |
* bufferPrint.cc (prettyPrint): simplified using C++ strings |
| 23212 |
rather than C strings |
| 23213 |
|
| 23214 |
* mixfixModule.cc (instantiateSortTest): simplified using C++ |
| 23215 |
strings rather than C strings |
| 23216 |
|
| 23217 |
* directoryManager.cc (realPath): code cleaning |
| 23218 |
(realPath): get find(value, stratIndex) args around the right way |
| 23219 |
|
| 23220 |
2000-03-13 Steven Eker <[email protected]> |
| 23221 |
|
| 23222 |
* directoryManager.hh (class DirectoryManager): deleted static |
| 23223 |
data member buffer |
| 23224 |
(class DirectoryManager): updated decls for cd() and pushd() |
| 23225 |
|
| 23226 |
* directoryManager.cc (cd): take C++ string |
| 23227 |
(pushd): take C++ string |
| 23228 |
(initialize): use local buffer |
| 23229 |
|
| 23230 |
* top.y: use realPath() for "cd" and "pushd" commands |
| 23231 |
|
| 23232 |
* lexerAux.cc (includeFile): rewritten |
| 23233 |
(handleEof): rewritten |
| 23234 |
|
| 23235 |
* top.y: rewrite "in" and "load" commands in terms of new |
| 23236 |
findFile() and includeFile() |
| 23237 |
|
| 23238 |
* main.cc (findPrelude): rewritten |
| 23239 |
(main): use new findPrelude() and includeFile() conventions |
| 23240 |
|
| 23241 |
* main.hh: added decl for findPrelude() and findFile() |
| 23242 |
|
| 23243 |
* main.cc (findPath): deleted |
| 23244 |
(findFile): rewritten |
| 23245 |
|
| 23246 |
* directoryManager.cc (checkAccess): added hack to deal with |
| 23247 |
missing compare() functions in GNU C++ stdlib |
| 23248 |
|
| 23249 |
* directoryManager.hh (class DirectoryManager): updated decl for |
| 23250 |
realPath(), added decl for checkAccess() and searchPath() |
| 23251 |
|
| 23252 |
* directoryManager.cc (realPath): completely rewritten using C++ |
| 23253 |
strings |
| 23254 |
(checkAccess): added |
| 23255 |
(searchPath): added |
| 23256 |
|
| 23257 |
2000-03-07 Steven Eker <[email protected]> |
| 23258 |
|
| 23259 |
* main.hh: added decl for findFile() |
| 23260 |
|
| 23261 |
* main.cc (findFile): added |
| 23262 |
|
| 23263 |
* execute.cc: change init value for counters to 0us; this might |
| 23264 |
avoid the strange results we see on linux |
| 23265 |
|
| 23266 |
2000-03-06 Steven Eker <[email protected]> |
| 23267 |
|
| 23268 |
* metaDown.cc (downModule): call closeFixUps() |
| 23269 |
|
| 23270 |
* process.cc (process): call closeFixUps() |
| 23271 |
|
| 23272 |
* mixfixParser.cc (makeStatement): fixed bug where we weren't |
| 23273 |
setting line number for conditional equations |
| 23274 |
|
| 23275 |
* execute.cc (beginRewriting): call clearMemo() if autoClearMemo |
| 23276 |
(endRewriting): no longer call clearMemo() |
| 23277 |
|
| 23278 |
* commands.y: call setAutoClearMemo() |
| 23279 |
|
| 23280 |
* preModule.hh (Parent): added static data member autoClearMemo |
| 23281 |
(setAutoClearMemo): added |
| 23282 |
(Parent): added decl for setAutoClearMemo() |
| 23283 |
|
| 23284 |
* execute.cc (endRewriting): call clearMemo() if autoClearMemo |
| 23285 |
flag set |
| 23286 |
(endRewriting): call clearMemo() if autoClearMemo flag set |
| 23287 |
|
| 23288 |
* command.cc (loseFocus): call clearMemo(); |
| 23289 |
|
| 23290 |
2000-03-03 Steven Eker <[email protected]> |
| 23291 |
|
| 23292 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 23293 |
newFancySymbol() |
| 23294 |
|
| 23295 |
* entry.cc (newFancySymbol): added |
| 23296 |
(addOpDeclaration): greatly simplified using newFancySymbol |
| 23297 |
|
| 23298 |
* main.cc (main): deleted old auto wrap code |
| 23299 |
|
| 23300 |
* interact.cc (displayPrompt): call resetCursor(); |
| 23301 |
|
| 23302 |
* mixfix.hh: added class AutoWrapBuffer |
| 23303 |
|
| 23304 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 23305 |
added decls for setAutoWrap() and static data members wrapOut and |
| 23306 |
wrapErr |
| 23307 |
|
| 23308 |
* main.cc (main): call setAutoWrap() |
| 23309 |
|
| 23310 |
* interact.cc (setAutoWrap): added |
| 23311 |
|
| 23312 |
* autoWrapBuffer.cc (resetCursor): added |
| 23313 |
|
| 23314 |
* autoWrapBuffer.hh (class AutoWrapBuffer): added decl for |
| 23315 |
resetCursor(); |
| 23316 |
|
| 23317 |
* metaModuleCache.cc (insert): don't economize former LRU module |
| 23318 |
after all; the fragmentation from constantly regenerating parsers |
| 23319 |
seems to be worse than keeping old parsers around |
| 23320 |
(moveToFront): don't economize former LRU module after all |
| 23321 |
|
| 23322 |
* mixfixModule.cc (makeBubbleProductions): fix bubble bug: |
| 23323 |
don't modify original excludedTokens; instead use temporary |
| 23324 |
vector; this is because we need the original values if we have to |
| 23325 |
rebuild the parser, or if we ever allow bubbles to be imported |
| 23326 |
|
| 23327 |
2000-03-02 Steven Eker <[email protected]> |
| 23328 |
|
| 23329 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 23330 |
use NO_COPYING() macro |
| 23331 |
|
| 23332 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 23333 |
use NO_COPYING() macro |
| 23334 |
|
| 23335 |
* quotedIdentifierTerm.hh (class QuotedIdentifierTerm): use |
| 23336 |
NO_COPYING() macro |
| 23337 |
|
| 23338 |
* quotedIdentifierDagNode.hh (class QuotedIdentifierDagNode): use |
| 23339 |
NO_COPYING() macro |
| 23340 |
|
| 23341 |
* metaModule.hh (class MetaModule): use NO_COPYING() macro |
| 23342 |
|
| 23343 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): use NO_COPYING() |
| 23344 |
macro |
| 23345 |
|
| 23346 |
* loopSymbol.hh (class LoopSymbol): use NO_COPYING() macro |
| 23347 |
|
| 23348 |
* metaLevel.hh (class MetaLevel): use NO_COPYING() macro |
| 23349 |
|
| 23350 |
* autoWrapBuffer.hh (class AutoWrapBuffer): use NO_COPYING() macro |
| 23351 |
|
| 23352 |
* lexerAux.cc (handleEof): read pending files in silent mode |
| 23353 |
|
| 23354 |
* fileTable.cc (FileTable): added in order to initialize |
| 23355 |
firstSilent |
| 23356 |
|
| 23357 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 23358 |
deleted decl for beginModule() |
| 23359 |
|
| 23360 |
* interact.cc (beginModule): deleted |
| 23361 |
|
| 23362 |
* modules.y: don't call UserLevelRewritingContext::beginModule() |
| 23363 |
(2 places) |
| 23364 |
|
| 23365 |
* fileTable.cc (beginModule): print module name & line of =s here |
| 23366 |
if we are inside an in'd file and no in silent mode |
| 23367 |
|
| 23368 |
* lexerAux.cc: deleted firstSilent global variable |
| 23369 |
(cleanUpLexer): don't use firstSilent |
| 23370 |
(includeFile): don't use firstSilent or call |
| 23371 |
UserLevelRewritingContext::setSilentFlag(true); pass silent arg to |
| 23372 |
openFile() |
| 23373 |
(handleEof): don't use firstSilent or call |
| 23374 |
UserLevelRewritingContext::setSilentFlag(true) |
| 23375 |
(cleanUpLexer): don't call |
| 23376 |
UserLevelRewritingContext::setSilentFlag(false) |
| 23377 |
|
| 23378 |
* fileTable.hh (class FileTable): added data member firstSilent |
| 23379 |
(class FileTable): updated decl for openFile() |
| 23380 |
|
| 23381 |
* fileTable.cc (openFile): take silent argument; set firstSilent |
| 23382 |
if neccessary; don't print "Reading..." message if in silent mode |
| 23383 |
(closeFile): don't print "Done..." message if in silent mode; set |
| 23384 |
firstSilent to NONE if we just close the first silent file |
| 23385 |
(abortEverything): set firstSilent to NONE if we had files to |
| 23386 |
close |
| 23387 |
|
| 23388 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 23389 |
deleted static data member silentFlag |
| 23390 |
(setSilentFlag): deleted |
| 23391 |
(class UserLevelRewritingContext): deleted decl for |
| 23392 |
setSilentFlag() |
| 23393 |
|
| 23394 |
* interact.cc: deleted silentFlag |
| 23395 |
(beginModule): don't check silentFlag |
| 23396 |
|
| 23397 |
2000-03-01 Steven Eker <[email protected]> |
| 23398 |
|
| 23399 |
* top.y: added load directive |
| 23400 |
|
| 23401 |
* modules.y: added KW_LOAD to startKeyword |
| 23402 |
|
| 23403 |
* top.y: added decl for KW_LOAD |
| 23404 |
|
| 23405 |
* lexer.flex: added KW_LOAD |
| 23406 |
|
| 23407 |
* lexerAux.cc (handleEof): update use of includeFile() |
| 23408 |
|
| 23409 |
* main.cc (main): update decl and use for includeFile() |
| 23410 |
|
| 23411 |
* lexerAux.hh: update decl of includeFile() |
| 23412 |
|
| 23413 |
* top.y: update decl and use for includeFile() |
| 23414 |
|
| 23415 |
* lexerAux.cc: added global variable firstSilent() |
| 23416 |
(cleanUpLexer): set firstSilent = NONE; |
| 23417 |
(includeFile): take silent arg and call setSilentFlag() and set |
| 23418 |
firstSilent when neccessary |
| 23419 |
(handleEof): handle firstSilent |
| 23420 |
|
| 23421 |
* compiler.cc (makeBaseName): nasty hack because string streams |
| 23422 |
are not yet supported in GNU libstdc++ |
| 23423 |
|
| 23424 |
* quotedIdentifierOpSymbol.cc (eqRewrite): replace sprintf() with |
| 23425 |
ostrstream; should use ostringstream |
| 23426 |
|
| 23427 |
* interact.cc (commandLoop): use new makeBaseName() result |
| 23428 |
|
| 23429 |
* preModule.cc (regretToInform): use new makeBaseName() result |
| 23430 |
|
| 23431 |
* compiler.cc (fullCompile): use new makeBaseName() result |
| 23432 |
(outputGraph): use new makeBaseName() result |
| 23433 |
(inputGraph): use new makeBaseName() result |
| 23434 |
(creduce): use new makeBaseName() result |
| 23435 |
|
| 23436 |
* preModule.hh (Parent): updated decl for makeBaseName() |
| 23437 |
|
| 23438 |
* compiler.cc (makeBaseName): rewritten using C++ strings and |
| 23439 |
string streams |
| 23440 |
|
| 23441 |
* top.y: simplify "ls" command code using C++ strings |
| 23442 |
|
| 23443 |
* lexer.flex: use yyless() in STRING_MODE so that line number will |
| 23444 |
be correct in null string case |
| 23445 |
|
| 23446 |
* top.y: added token decl for KW_LATEX |
| 23447 |
|
| 23448 |
* modules.y: added KW_LATEX to attrKeyword |
| 23449 |
|
| 23450 |
* lexer.flex: added KW_LATEX |
| 23451 |
|
| 23452 |
* modules.y: removed NUMBER_TOK from alternatives for token and |
| 23453 |
tokenBarDot since these should never be generated while lexer in |
| 23454 |
ID_MODE and token/tokenBarDot are never used outside of ID_MODE; |
| 23455 |
Added syntax for latex attribute |
| 23456 |
|
| 23457 |
2000-02-29 Steven Eker <[email protected]> |
| 23458 |
|
| 23459 |
* importModule.hh (class ImportModule): use NO_COPYING() macro |
| 23460 |
|
| 23461 |
* mixfixModule.hh (class MixfixModule): use NO_COPYING() macro |
| 23462 |
|
| 23463 |
* metaModuleCache.cc (moveToFront): economize former LRU module |
| 23464 |
(insert): economize former LRU module |
| 23465 |
|
| 23466 |
* metaModuleCache.hh (Parent): use NO_COPYING() macro |
| 23467 |
|
| 23468 |
* mixfixModule.hh (getGather): rewritten using revertGather(), |
| 23469 |
made inline and moved here |
| 23470 |
(class MixfixModule): updated decl for getGather() |
| 23471 |
|
| 23472 |
* importModule.cc (donateOps): use new getGather() interface |
| 23473 |
|
| 23474 |
* entry.cc (addPolymorph): print line number in new prec/gather |
| 23475 |
warnings |
| 23476 |
(addOpDeclaration): print line number in new prec/gather |
| 23477 |
warnings |
| 23478 |
|
| 23479 |
* mixfixModule.cc (revertGather): added |
| 23480 |
(copyPolymorph): use revertGather(); set symbolInfo.next = NONE |
| 23481 |
|
| 23482 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 23483 |
revertGather() |
| 23484 |
|
| 23485 |
2000-02-28 Steven Eker <[email protected]> |
| 23486 |
|
| 23487 |
* entry.cc (addPolymorph): set symbolInfo.next = NONE |
| 23488 |
|
| 23489 |
* mixfixModule.cc (copyPolymorph): do a deep copy of SymbolInfo |
| 23490 |
rather than copying members |
| 23491 |
|
| 23492 |
* entry.cc (addPolymorph): if PREC or GATHER flags are set for |
| 23493 |
an operator without mixfix syntax, give a warning and clear them |
| 23494 |
|
| 23495 |
* command.cc (parse): fixed memory leak by deleting parsed term |
| 23496 |
|
| 23497 |
* entry.cc (addOpDeclaration): if PREC or GATHER flags are set for |
| 23498 |
an operator without mixfix syntax, give a warning and clear them |
| 23499 |
|
| 23500 |
2000-02-25 Steven Eker <[email protected]> |
| 23501 |
|
| 23502 |
* preModule.hh (Parent): updated decl for printBubble() |
| 23503 |
|
| 23504 |
* execute.cc (printBubble): fixed bug where we weren't passing |
| 23505 |
Vector arg by ref |
| 23506 |
|
| 23507 |
===================================Engine56================================================== |
| 23508 |
|
| 23509 |
2000-02-24 Steven Eker <[email protected]> |
| 23510 |
|
| 23511 |
* interact.cc (commandLoop): added hack to unlink executable |
| 23512 |
whether or not we made one; rely on OS for now... |
| 23513 |
|
| 23514 |
* compiler.cc (makeExecutable): rewritten using isCompiled flag |
| 23515 |
|
| 23516 |
* preModule.cc (regretToInform): clear isCompiled and unlink |
| 23517 |
executable if it is set |
| 23518 |
|
| 23519 |
* preModule.hh (Parent): added data member isCompiled |
| 23520 |
|
| 23521 |
* compiler.cc (makeExecutable): now return bool to say whether we |
| 23522 |
succeeded |
| 23523 |
(creduce): don't both trying to run executable if makeExecutable() |
| 23524 |
return false |
| 23525 |
(fullCompile): unlink gernrated .hh and .cc files |
| 23526 |
(inputGraph): unlink .in and .out files |
| 23527 |
|
| 23528 |
* preModule.hh (Parent): updated decls for fullCompile() and |
| 23529 |
makeExecutable() |
| 23530 |
|
| 23531 |
* compiler.cc (fullCompile): added code to generate inFileName and |
| 23532 |
outFileName |
| 23533 |
(outputGraph): more here; use makeBaseName() |
| 23534 |
(depthFirstTraversal): moved here |
| 23535 |
(inputGraph): more here; use makeBaseName() |
| 23536 |
(fullCompile): now return bool to say whether we succeeded |
| 23537 |
|
| 23538 |
* preModule.cc (generateEval): deleted |
| 23539 |
|
| 23540 |
* compiler.cc (makeBaseName): added |
| 23541 |
(fullCompile): use makeBaseName() |
| 23542 |
(creduce): use makeBaseName() |
| 23543 |
|
| 23544 |
* preModule.hh (Parent): added decl for makeBaseName() |
| 23545 |
|
| 23546 |
2000-02-23 Steven Eker <[email protected]> |
| 23547 |
|
| 23548 |
* compiler.cc (creduce): use printTiming2() |
| 23549 |
(fullCompile): use STL string class to build compilation command |
| 23550 |
by looking at environment |
| 23551 |
|
| 23552 |
* preModule.hh (Parent): updated decl for inputGraph() |
| 23553 |
|
| 23554 |
* preModule.cc (inputGraph): pass back cpu and real time as |
| 23555 |
microseconds in 64bit ints |
| 23556 |
|
| 23557 |
* compiler.cc (creduce): rewritten using makeDag() and |
| 23558 |
makeExecutable() |
| 23559 |
|
| 23560 |
* preModule.hh (Parent): added decl for printTiming2(), updated |
| 23561 |
decl for printTiming(), added decl for makeExecutable() |
| 23562 |
|
| 23563 |
* execute.cc (printTiming2): added |
| 23564 |
(printTiming): rewritten using printTiming2() and using 64bit ints |
| 23565 |
to hold number of microseconds rather than 32bit ints to hold |
| 23566 |
number of milliseconds |
| 23567 |
(printTiming): take number of rewrites rather than context |
| 23568 |
(doLoop): use new printTiming() convention |
| 23569 |
(endRewriting): use new printTiming() convention |
| 23570 |
|
| 23571 |
* compiler.cc (makeExecutable): added |
| 23572 |
|
| 23573 |
* execute.cc (match): completely rewritten; much simplified; now |
| 23574 |
call protect() and unprotect() since computeTrueSort() and solve() |
| 23575 |
may do rewriting, which if we were incredibly unlucky could end up |
| 23576 |
in the debugger, allowing the user to to enter a module that |
| 23577 |
invalidates the module we are matching in |
| 23578 |
(printTiming): result and result2 no longer static |
| 23579 |
|
| 23580 |
2000-02-22 Steven Eker <[email protected]> |
| 23581 |
|
| 23582 |
* execute.cc (match): moved here |
| 23583 |
(match): use makeDag() to preprocess subject |
| 23584 |
|
| 23585 |
* compiler.cc (creduce): moved here |
| 23586 |
|
| 23587 |
* preModule.hh (Parent): deleted members importSymbol, |
| 23588 |
importPolymorphIndex and importOriginator from struct OpDecl |
| 23589 |
(Parent): NO_DEFAULTS() -> NO_COPYING() |
| 23590 |
|
| 23591 |
* metaLevelOpSymbol.cc (metaReduce): call protect() and |
| 23592 |
unprotect() |
| 23593 |
(metaRewrite): call protect() and unprotect() |
| 23594 |
(metaApply): call protect() and unprotect() |
| 23595 |
|
| 23596 |
* metaLevel.hh (class MetaLevel): updated decl for downModule() |
| 23597 |
|
| 23598 |
* metaDown.cc (downModule): return ImportModule* rather than |
| 23599 |
MixfixModule* |
| 23600 |
|
| 23601 |
* execute.cc (doLoop): call protect() and unportect() |
| 23602 |
(loop): pass module arg to doLoop() |
| 23603 |
(contLoop): pass module arg to doLoop() |
| 23604 |
(printTiming): decl for result and result2 moved here |
| 23605 |
|
| 23606 |
* importModule.cc (unprotect): return true if unprotect() call |
| 23607 |
results in the module being deleted |
| 23608 |
(ImportModule): initialize protectCount to 0 |
| 23609 |
|
| 23610 |
* preModule.hh (Parent): updated decl for beginRewriting() and |
| 23611 |
endRewriting() |
| 23612 |
|
| 23613 |
* execute.cc (endRewriting): take module arg; call unprotect(); |
| 23614 |
clear saved if we had a traceAbort, or unprotect() deleted module |
| 23615 |
(beginRewriting): call protect() |
| 23616 |
(reduce): pass module arg to beginRewriting() and endRewriting() |
| 23617 |
(rewrite): pass module arg to beginRewriting() and endRewriting() |
| 23618 |
(cont): pass module arg to beginRewriting() and endRewriting() |
| 23619 |
|
| 23620 |
* metaDown.cc (downModule): call localStatementsComplete() |
| 23621 |
|
| 23622 |
* importModule.hh (class ImportModule): added decls for protect() |
| 23623 |
and unprotect() |
| 23624 |
|
| 23625 |
* importModule.cc (unprotect): added |
| 23626 |
(deepSelfDestruct): if we have a > 0 protectCount, mark as DOOMED, |
| 23627 |
rather than doing the delete |
| 23628 |
|
| 23629 |
* importModule.hh (class ImportModule): added data member protect count |
| 23630 |
(protect): added |
| 23631 |
|
| 23632 |
2000-02-21 Steven Eker <[email protected]> |
| 23633 |
|
| 23634 |
* commands.y: added set show loop timing and set show loop stats commands |
| 23635 |
|
| 23636 |
* preModule.hh (setShowLoopTiming): added |
| 23637 |
(setShowLoopStats): added |
| 23638 |
(Parent): added decls for setShowLoopTiming() and |
| 23639 |
setShowLoopStats() |
| 23640 |
|
| 23641 |
2000-02-18 Steven Eker <[email protected]> |
| 23642 |
|
| 23643 |
* preModule.hh (Parent): added decl for printTiming() |
| 23644 |
|
| 23645 |
* execute.cc (printTiming): added; use all integer arithmetic for |
| 23646 |
more stable results |
| 23647 |
(endRewriting): use printTiming() |
| 23648 |
(doLoop): use printTiming() |
| 23649 |
|
| 23650 |
* preModule.hh (Parent): added decl for doLoop(); added static |
| 23651 |
data members showLoopStats and showLoopTiming |
| 23652 |
|
| 23653 |
* execute.cc (endLoop): added |
| 23654 |
(contLoop): simplified using endLoop() |
| 23655 |
(loop): simplified using endLoop() |
| 23656 |
(endLoop): use dynamic_cast to figure out if we have a LoopSymbol |
| 23657 |
since out flat module is no longer reliable (if it got replaced |
| 23658 |
during debug) |
| 23659 |
(contLoop): rewritten, use dynamic_cast to figure out if we have a |
| 23660 |
LoopSymbol |
| 23661 |
(startLoop): added |
| 23662 |
(contLoop): simplified using startLoop() |
| 23663 |
(loop): simplified using startLoop() |
| 23664 |
(doLoop): replaces startLoop() and endLoop() |
| 23665 |
(loop): use doLoop() |
| 23666 |
(contLoop): use doLoop() |
| 23667 |
|
| 23668 |
* preModule.hh (Parent): added decls for beginRewriting(), |
| 23669 |
endRewriting() and makeDag() |
| 23670 |
|
| 23671 |
* execute.cc (beginRewriting): added |
| 23672 |
(endRewriting): added |
| 23673 |
(reduce): moved here, rewritten using beginRewriting() and |
| 23674 |
endRewriting() |
| 23675 |
(rewrite): moved here, rewritten using beginRewriting() and |
| 23676 |
endRewriting() |
| 23677 |
(cont): moved here, rewritten using beginRewriting() and |
| 23678 |
endRewriting() |
| 23679 |
(makeDag): added |
| 23680 |
(reduce): simplified using makeDag() |
| 23681 |
(cont): simplified |
| 23682 |
(rewrite): simplified using makeDag() |
| 23683 |
(loop): simplified using makeDag() |
| 23684 |
|
| 23685 |
* importModule.cc (donateStatements): put line numbers into |
| 23686 |
statement copies |
| 23687 |
|
| 23688 |
2000-02-17 Steven Eker <[email protected]> |
| 23689 |
|
| 23690 |
* lexer.flex: added keywords ctor = constructor |
| 23691 |
|
| 23692 |
* top.y: added decl for KW_CTOR |
| 23693 |
|
| 23694 |
* modules.y: added KW_CTOR |
| 23695 |
|
| 23696 |
* metaLevelSignature.cc (MACRO): added macro for ctorSymbol |
| 23697 |
|
| 23698 |
* metaDown.cc (downAttr): ignore ctorSymbol in attribute list |
| 23699 |
|
| 23700 |
* prelude.maude: added ctor constant to META-LEVEL |
| 23701 |
|
| 23702 |
* metaLevelOpSymbol.cc (metaParse): fixed memory leak by calling |
| 23703 |
deepSelfDestruct() on term obtained from parsing |
| 23704 |
|
| 23705 |
* command.cc (loseFocus): moved here |
| 23706 |
(loseFocus): clear saved to fix contLoop bug |
| 23707 |
(selectModule): no need to clear saved here now |
| 23708 |
(loseFocus): call reset() on flatModule |
| 23709 |
(creduce): don't call reset() |
| 23710 |
(reduce): don't call reset() |
| 23711 |
(rewrite): don't call reset() |
| 23712 |
(cont): don't call reset() |
| 23713 |
(loop): don't call reset() |
| 23714 |
(contLoop): don't call reset() |
| 23715 |
(rewrite): fixed memory leak by calling deepSelfDestruct() on |
| 23716 |
subject term |
| 23717 |
(loop): fixed memory leak by calling deepSelfDestruct() on |
| 23718 |
subject term |
| 23719 |
|
| 23720 |
* preModule.hh (Parent): regretToInform() decl made private |
| 23721 |
(Parent): use NO_DEFAULTS() macro |
| 23722 |
|
| 23723 |
* metaModuleCache.hh (Parent): derivation has to be public |
| 23724 |
|
| 23725 |
* metaDown.cc (downModule): pass cache as parent |
| 23726 |
|
| 23727 |
* metaModule.cc (MetaModule): pass parent arg to ImportModule |
| 23728 |
|
| 23729 |
* metaModule.hh (class MetaModule): added parent arg to ctor |
| 23730 |
|
| 23731 |
* metaModuleCache.hh (Parent): added decls for Pair::clear() and |
| 23732 |
regretToInform() |
| 23733 |
|
| 23734 |
* metaModuleCache.cc (clear): added |
| 23735 |
(regretToInform): added |
| 23736 |
(flush): use clear() |
| 23737 |
(insert): use clear() |
| 23738 |
|
| 23739 |
* metaModuleCache.hh (Parent): have private base |
| 23740 |
ImportModule::Parent |
| 23741 |
(Parent): added decl for regretToInform() |
| 23742 |
|
| 23743 |
* preModule.hh (Parent): updated decl for regretToInform() |
| 23744 |
|
| 23745 |
* preModule.cc (regretToInform): use doomedModule arg |
| 23746 |
|
| 23747 |
* importModule.cc (deepSelfDestruct): have regretToInform() pass |
| 23748 |
back pointer to doomed module for the beefit of parents that have |
| 23749 |
multiple children |
| 23750 |
|
| 23751 |
* preModule.hh (loseFocus): use economize() |
| 23752 |
|
| 23753 |
* mixfixModule.hh (class MixfixModule): changed loseFocus() decl |
| 23754 |
to economize() |
| 23755 |
|
| 23756 |
* mixfixModule.cc (loseFocus): renamed to economize() |
| 23757 |
|
| 23758 |
* metaModuleCache.cc (insert): added DebugAdvisoryCheck() |
| 23759 |
|
| 23760 |
2000-02-16 Steven Eker <[email protected]> |
| 23761 |
|
| 23762 |
* metaDown.cc (downModule): use new cache data member |
| 23763 |
|
| 23764 |
* metaLevel.cc (~MetaLevel): no longer delete cacheModule since |
| 23765 |
this data member has been replaced |
| 23766 |
(MetaLevel): no longer initialize cachedModule |
| 23767 |
(reset): flush the cache; don't reset defunct data members |
| 23768 |
|
| 23769 |
* metaLevel.hh (class MetaLevel): use MetaModuleCache |
| 23770 |
|
| 23771 |
* metaModuleCache.hh: created |
| 23772 |
|
| 23773 |
* metaModuleCache.cc: created |
| 23774 |
|
| 23775 |
* fixUp.cc (fixUpSymbols): moved here |
| 23776 |
(findHookSymbol): moved here |
| 23777 |
(findHook): moved here |
| 23778 |
|
| 23779 |
* process.cc (process): moved here |
| 23780 |
|
| 23781 |
* search.cc (search): call getFlatModule() |
| 23782 |
|
| 23783 |
* preModule.cc (generateEval): use getFlatSignature() |
| 23784 |
(inputGraph): use getFlatSignature() |
| 23785 |
|
| 23786 |
* compiler.cc (fullCompile): don't look at flatModule to get name |
| 23787 |
of module for advisory |
| 23788 |
(fullCompile): use getFlatModule() |
| 23789 |
|
| 23790 |
2000-02-14 Steven Eker <[email protected]> |
| 23791 |
|
| 23792 |
* preModule.cc (PreModule): don't pass type arg to NamedEntity |
| 23793 |
|
| 23794 |
* import.cc (importModule): added call to loseFocus() on imported |
| 23795 |
module to make sure any parser we might have made by importing it |
| 23796 |
is deleted; this is a bit of a hack - need a cleaner method |
| 23797 |
|
| 23798 |
* importModule.cc (removeDependent): added DebugAdvisoryCheck() |
| 23799 |
|
| 23800 |
* import.cc (processImports): use autoImports rather than defaultImports |
| 23801 |
(importModule): added |
| 23802 |
(processImports): use importModule() |
| 23803 |
|
| 23804 |
* preModule.cc (finishModule): set autoImports |
| 23805 |
|
| 23806 |
* preModule.hh (class PreModule): added data member autoImports |
| 23807 |
|
| 23808 |
* preModule.cc (getFlatSignature): use this rather than moduleName |
| 23809 |
(finishModule): use id() rather than moduleName; use this rather |
| 23810 |
than moduleName |
| 23811 |
(process): use id() rather than moduleName |
| 23812 |
|
| 23813 |
* command.cc (showModule): use this rather than moduleName |
| 23814 |
|
| 23815 |
* preModule.cc (PreModule): initialize NamedEntity base |
| 23816 |
|
| 23817 |
* preModule.hh (class PreModule): derive from NamedEntity; deleted |
| 23818 |
data member moduleName |
| 23819 |
|
| 23820 |
* import.cc (processImports): check for null flat module and issue |
| 23821 |
recursive import warning (2 places) |
| 23822 |
|
| 23823 |
* preModule.cc (getFlatSignature): don't return pointer to flatten |
| 23824 |
module that is still being processed; this can only happen because |
| 23825 |
of a recursive import |
| 23826 |
|
| 23827 |
2000-02-11 Steven Eker <[email protected]> |
| 23828 |
|
| 23829 |
* importModule.cc (deepSelfDestruct): no longer use DOOMED state; |
| 23830 |
let a module remove itself from all dependent lists but take this |
| 23831 |
into account when traversing dependent lists |
| 23832 |
|
| 23833 |
* preModule.cc (process): need to pass pointer to us to |
| 23834 |
ImportModule ctor! |
| 23835 |
|
| 23836 |
* preModule.hh (loseFocus): check to be sure flatModule != 0 |
| 23837 |
|
| 23838 |
* preModule.cc (process): call localStatementsComplete() |
| 23839 |
|
| 23840 |
* importModule.hh (class ImportModule): added decl for |
| 23841 |
localStatementsComplete() |
| 23842 |
|
| 23843 |
* importModule.cc (localStatementsComplete): added as a nasty hack |
| 23844 |
to overcome initialization problem |
| 23845 |
(importStatements): no longer set nrOriginal* here |
| 23846 |
|
| 23847 |
* preModule.cc (finishModule): set isCompleteFlag |
| 23848 |
|
| 23849 |
* command.cc (parse): use getFlatSignature() |
| 23850 |
(creduce): use getFlatModule() |
| 23851 |
(reduce): use getFlatModule() |
| 23852 |
(loop): use getFlatModule() |
| 23853 |
(cont): use getFlatModule() |
| 23854 |
(contLoop): use getFlatModule() |
| 23855 |
(selectModule): use getFlatSignature() |
| 23856 |
(match): use getFlatSignature() |
| 23857 |
(showModule): use moduleName and moduleType |
| 23858 |
|
| 23859 |
* preModule.cc (PreModule): clear isCompleteFlag |
| 23860 |
|
| 23861 |
* preModule.hh (class PreModule): added decl for isComplete() |
| 23862 |
(class PreModule): added data member isCompleteFlag |
| 23863 |
(isComplete): added |
| 23864 |
|
| 23865 |
* bottom.y (cleanUpParser): use isComplete() |
| 23866 |
|
| 23867 |
* commands.y: use getFlatSignature() in places where we don't need |
| 23868 |
the statements |
| 23869 |
|
| 23870 |
* metaDown.cc (downImport): use getFlatSignature() |
| 23871 |
|
| 23872 |
* import.cc (processImports): rewritten, using closeSignature() |
| 23873 |
|
| 23874 |
* preModule.cc (PreModule): call deepSelfDestruct() |
| 23875 |
(finishModule): added |
| 23876 |
(process): create ImportModule |
| 23877 |
(process): don't import statements or close theory |
| 23878 |
|
| 23879 |
* preModule.hh (class PreModule): derive from ImportModule::Parent |
| 23880 |
|
| 23881 |
* preModule.cc (getFlatModule): moved here |
| 23882 |
(getFlatSignature): created |
| 23883 |
(PreModule): don't create ImportModule, initialize LineNumber, |
| 23884 |
moduleName and moduleType |
| 23885 |
|
| 23886 |
* preModule.hh (class PreModule): derive from LineNumber |
| 23887 |
(class PreModule): added moduleName and moduleType data members |
| 23888 |
(class PreModule): added decl for getFlatSignature(); |
| 23889 |
getFlatModule() no longer const |
| 23890 |
|
| 23891 |
* symbolTranslation.hh: deleted |
| 23892 |
|
| 23893 |
* symbolTranslation.cc: deleted |
| 23894 |
|
| 23895 |
* metaModule.cc: deleted obsolete imporation code |
| 23896 |
|
| 23897 |
2000-02-10 Steven Eker <[email protected]> |
| 23898 |
|
| 23899 |
* preModule.cc (PreModule): delete init of importPhase |
| 23900 |
|
| 23901 |
* importModule.cc (deepSelfDestruct): status -> importPhase |
| 23902 |
|
| 23903 |
* importModule.hh (class ImportModule): DOOMED moved from enum |
| 23904 |
Status to enum Phase; enum Status deleted |
| 23905 |
(class ImportModule): data member status deleted |
| 23906 |
|
| 23907 |
* preModule.hh (class PreModule): deleted tons of old import decls |
| 23908 |
|
| 23909 |
* preModule.cc: deleted old versions of process() and |
| 23910 |
nativeCompile() |
| 23911 |
|
| 23912 |
* import.cc: deleted tons of old import code |
| 23913 |
|
| 23914 |
* metaModule.hh (addImport): deleted |
| 23915 |
|
| 23916 |
* metaDown.cc (downImport): use new importation conventions |
| 23917 |
|
| 23918 |
* preModule.hh (getFlatModule): return ImportModule* |
| 23919 |
(class PreModule): updated decl for getFlatModule() |
| 23920 |
|
| 23921 |
* metaDown.cc (downModule): use new importation conventions |
| 23922 |
|
| 23923 |
* metaModule.cc (MetaModule): init ImportModule |
| 23924 |
|
| 23925 |
* metaModule.hh (class MetaModule): derive from ImportModule; |
| 23926 |
delete out all importation decls; all import functionality purged |
| 23927 |
from file |
| 23928 |
|
| 23929 |
2000-02-09 Steven Eker <[email protected]> |
| 23930 |
|
| 23931 |
* mixfixModule.cc (getGather): move here; now do conversion from |
| 23932 |
internal rep to interface rep |
| 23933 |
|
| 23934 |
* importTranslation.cc (translate): handle sort test symbols |
| 23935 |
|
| 23936 |
* mixfixModule.cc (copyPolymorph): must translate sorts! |
| 23937 |
|
| 23938 |
2000-02-08 Steven Eker <[email protected]> |
| 23939 |
|
| 23940 |
* importTranslation.cc (translate): treat variables specially |
| 23941 |
since we know they will be invisible in importer |
| 23942 |
(translate): fixed bug in domain component traslation |
| 23943 |
|
| 23944 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 23945 |
findInvisibleVariable() |
| 23946 |
|
| 23947 |
* mixfixModule.cc (findInvisibleVariable): added |
| 23948 |
|
| 23949 |
* entry.cc (addOpDeclaration): add invisible symbols to linked |
| 23950 |
list just like normal symbols; don't check for overloading between |
| 23951 |
an invisible symbol an any other symbol |
| 23952 |
|
| 23953 |
* importModule.cc (donateOps): make imported variables invisible |
| 23954 |
|
| 23955 |
* process.cc (processOps): commented out what appears to be a |
| 23956 |
sperfluous call to setLineNumber() |
| 23957 |
|
| 23958 |
* importModule.cc (donateOps): fixed no common ancestor warning |
| 23959 |
bug for ops with > 1 decl |
| 23960 |
(donateOps): set prec correctly |
| 23961 |
|
| 23962 |
* import.cc (processImports): rewritten to use ImportModule |
| 23963 |
|
| 23964 |
* importModule.cc (importStatements): set |
| 23965 |
nrOriginalMembershipAxioms, nrOriginalEquations and |
| 23966 |
nrOriginalRules |
| 23967 |
|
| 23968 |
* importModule.hh (class ImportModule): added decls for |
| 23969 |
resetImports() and resetImportPhase() |
| 23970 |
|
| 23971 |
* importModule.cc (resetImports): added |
| 23972 |
(resetImportPhase): added |
| 23973 |
|
| 23974 |
* preModule.cc (PreModule): use ImportModule |
| 23975 |
(process): rewritten using ImportModule |
| 23976 |
|
| 23977 |
* mixfix.hh: added class ImportModule and class ImportTranslation |
| 23978 |
|
| 23979 |
* importModule.hh (class ImportModule): added decl for addImport() |
| 23980 |
|
| 23981 |
* importModule.cc (fixUpDonatedOps): handle polymorphs |
| 23982 |
(addImport): added |
| 23983 |
|
| 23984 |
* importModule.hh (class ImportModule): added data members |
| 23985 |
nrImportedPolymorphs and firstPolymorphCopy |
| 23986 |
|
| 23987 |
* importModule.cc (donateOps): handle polymorphs |
| 23988 |
|
| 23989 |
2000-02-07 Steven Eker <[email protected]> |
| 23990 |
|
| 23991 |
* mixfixModule.hh (class MixfixModule): added decls for |
| 23992 |
copyPolymorph(), getNrPolymorphs() |
| 23993 |
(getNrPolymorphs): added |
| 23994 |
|
| 23995 |
* mixfixModule.cc (copyPolymorph): added |
| 23996 |
|
| 23997 |
* mixfix.hh: added forward decl for class LoopSymbol |
| 23998 |
|
| 23999 |
* importModule.hh (class ImportModule): added decls for |
| 24000 |
fixUpImportedOps() and fixUpDonatedOps() |
| 24001 |
|
| 24002 |
* importModule.cc (fixUpImportedOps): added |
| 24003 |
(fixUpDonatedOps): added |
| 24004 |
|
| 24005 |
* mixfixModule.hh (getPrec): added |
| 24006 |
(getGather): added |
| 24007 |
(class MixfixModule): made getFlags() const |
| 24008 |
|
| 24009 |
* importModule.hh (class ImportModule): added decls for |
| 24010 |
importOps() and donateOps(); added data member |
| 24011 |
responsibleForFixUp() |
| 24012 |
|
| 24013 |
* importModule.cc (donateOps): rewritten using nrImportedDecls[] |
| 24014 |
and nrUserDecls[] |
| 24015 |
|
| 24016 |
2000-02-04 Steven Eker <[email protected]> |
| 24017 |
|
| 24018 |
* importModule.cc (donateStatements): added |
| 24019 |
(importStatements): added |
| 24020 |
|
| 24021 |
* importTranslation.cc: created |
| 24022 |
|
| 24023 |
* importTranslation.hh: created |
| 24024 |
|
| 24025 |
* importModule.cc (buildTranslationTable): deleted |
| 24026 |
(insertTranslations): deleted |
| 24027 |
|
| 24028 |
2000-02-03 Steven Eker <[email protected]> |
| 24029 |
|
| 24030 |
* importModule.cc: added DEBUG_ADVISORY() |
| 24031 |
|
| 24032 |
2000-02-02 Steven Eker <[email protected]> |
| 24033 |
|
| 24034 |
* preModule.cc (process): fixed missing & bug which cause us to |
| 24035 |
copy sort vector rather than take a reference |
| 24036 |
|
| 24037 |
* importModule.hh: created |
| 24038 |
|
| 24039 |
* importModule.cc: created |
| 24040 |
|
| 24041 |
2000-02-01 Steven Eker <[email protected]> |
| 24042 |
|
| 24043 |
* lexer.flex: make q a synonym for even inside module |
| 24044 |
|
| 24045 |
* top.y: make quit work correctly inside of module |
| 24046 |
|
| 24047 |
* ops.cc (makeOpDeclsConsistent): handle the no defs, no decls |
| 24048 |
case correctly by doing nothing |
| 24049 |
|
| 24050 |
* lexer.flex: added q as a synonym for quit but only on the |
| 24051 |
in command mode |
| 24052 |
|
| 24053 |
2000-01-31 Steven Eker <[email protected]> |
| 24054 |
|
| 24055 |
* preModule.cc (inputGraph): set sort index of top dag node |
| 24056 |
|
| 24057 |
2000-01-27 Steven Eker <[email protected]> |
| 24058 |
|
| 24059 |
* compiler.cc (fullCompile): call generateSortVector() on each |
| 24060 |
sort |
| 24061 |
|
| 24062 |
===================================Engine55================================================== |
| 24063 |
|
| 24064 |
1999-12-20 Steven Eker <[email protected]> |
| 24065 |
|
| 24066 |
* compiler.cc (fullCompile): handle compileCount flag |
| 24067 |
|
| 24068 |
* command.cc (creduce): handle compileCount flag |
| 24069 |
|
| 24070 |
* preModule.hh (class PreModule): added decl for setCompileCount() |
| 24071 |
(setCompileCount): moved here |
| 24072 |
|
| 24073 |
* command.cc (setCompileCount): added |
| 24074 |
|
| 24075 |
* lexer.flex: added keywords compile and count |
| 24076 |
|
| 24077 |
* top.y: added tokens for compile and count |
| 24078 |
|
| 24079 |
* commands.y: added set compile count on/off command |
| 24080 |
|
| 24081 |
1999-12-07 Steven Eker <[email protected]> |
| 24082 |
|
| 24083 |
* lexer.flex: recognize "." as a "." in command mode if followed |
| 24084 |
by eather "***" or "---" as well as "\n". this enable us to handle |
| 24085 |
commands with comments on their ends correctly |
| 24086 |
|
| 24087 |
* interact.cc (setHandlers): pass bus errors to segmentation fault |
| 24088 |
handler as a stop gap; don't bother setting up an alternative |
| 24089 |
signal stack since there does seem to be a reliable way to |
| 24090 |
distinguish between stack overflows and normal seg faults |
| 24091 |
|
| 24092 |
1999-12-06 Steven Eker <[email protected]> |
| 24093 |
|
| 24094 |
* trial.cc (traceBeginEqTrial): use dontTrace() |
| 24095 |
(traceBeginRuleTrial): use dontTrace() |
| 24096 |
(traceBeginScTrial): use dontTrace() |
| 24097 |
|
| 24098 |
* preModule.hh (class PreModule): added decl for traceExclude() |
| 24099 |
|
| 24100 |
* command.cc (traceExclude): added |
| 24101 |
|
| 24102 |
* top.y: added nonterminal exlcude and toekn KW_EXCLUDE |
| 24103 |
|
| 24104 |
* commands.y: added syntax for trace exclude/include |
| 24105 |
|
| 24106 |
* userLevelRewritingContext.cc (tracePreEqRewrite): use dontTrace() |
| 24107 |
(tracePreRuleRewrite): use dontTrace() |
| 24108 |
(tracePreScApplication): use dontTrace() |
| 24109 |
(excludeModules): added |
| 24110 |
|
| 24111 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 24112 |
added static data member excluded |
| 24113 |
(dontTrace): added |
| 24114 |
(class UserLevelRewritingContext): added decl for dontTrace() |
| 24115 |
|
| 24116 |
1999-12-03 Steven Eker <[email protected]> |
| 24117 |
|
| 24118 |
* metaLevelOpSymbol.cc (reset): check to see that metaLevel != 0 |
| 24119 |
since we can rely on our symbol having been fixed up when we're |
| 24120 |
called (say because of deletion of an incompletely built meta |
| 24121 |
module) |
| 24122 |
(MetaLevelOpSymbol): initialize shareWith amd metaLevel so their |
| 24123 |
in safe states for deletion and reset() |
| 24124 |
|
| 24125 |
1999-11-08 Steven Eker <[email protected]> |
| 24126 |
|
| 24127 |
* preModule.hh (class PreModule): added decl for fullCompiler |
| 24128 |
|
| 24129 |
1999-11-05 Steven Eker <[email protected]> |
| 24130 |
|
| 24131 |
* compiler.cc: created |
| 24132 |
|
| 24133 |
1999-11-04 Steven Eker <[email protected]> |
| 24134 |
|
| 24135 |
* interact.cc (setHandlers): HACK for alpha in |
| 24136 |
!defined(_XOPEN_SOURCE_EXTENDED) case |
| 24137 |
|
| 24138 |
* preModule.cc (nativeCompile): added Alpha case; removed absolute |
| 24139 |
paths from other cases |
| 24140 |
|
| 24141 |
1999-11-02 Steven Eker <[email protected]> |
| 24142 |
|
| 24143 |
* main.cc (findPath): added |
| 24144 |
|
| 24145 |
1999-11-01 Steven Eker <[email protected]> |
| 24146 |
|
| 24147 |
* token.cc (int64ToString): added special case for INT64_MIN to |
| 24148 |
ensure we don't rely on the implementation of % and / on negative |
| 24149 |
64 bit integers |
| 24150 |
|
| 24151 |
1999-10-29 Steven Eker <[email protected]> |
| 24152 |
|
| 24153 |
* metaDown.cc (downAttr): handle Int64 in prec |
| 24154 |
|
| 24155 |
* metaLevelOpSymbol.cc (metaRewrite): almost do Int64 right |
| 24156 |
(metaApply): almost do Int64 right |
| 24157 |
|
| 24158 |
* quotedIdentifierOpSymbol.cc (eqRewrite): use Token::codeToInt64() |
| 24159 |
(eqRewrite): use int64ToString() |
| 24160 |
|
| 24161 |
* metaFastUp.cc (fastUpTerm): (both versions), use |
| 24162 |
Token::int64ToString() |
| 24163 |
|
| 24164 |
* entry.cc (addOpDeclaration): use Token::codeToInt64() |
| 24165 |
|
| 24166 |
* mixfixModule.hh (class MixfixModule): overloadedMachineIntegers |
| 24167 |
is now a set<Int64> |
| 24168 |
|
| 24169 |
* bufferPrint.cc (prettyPrint): handle 64 bit machine ints |
| 24170 |
correctly |
| 24171 |
|
| 24172 |
* prettyPrint.cc (prettyPrint): (both versions), handle 64 bit |
| 24173 |
machine ints correctly |
| 24174 |
|
| 24175 |
* token.cc (codeToInt64): added |
| 24176 |
(int64ToString): added |
| 24177 |
|
| 24178 |
* token.hh (class Token): added decls for codeToInt64() and |
| 24179 |
int64ToString() |
| 24180 |
|
| 24181 |
* mixfixParser.cc (makeTerm): use Token::codeToInt64() |
| 24182 |
|
| 24183 |
* metaDown.cc (downMachineIntList): cast Int64 to int before |
| 24184 |
making list |
| 24185 |
|
| 24186 |
* metaLevel.hh (class MetaLevel): updated decl for downMachineInt() |
| 24187 |
|
| 24188 |
* metaDown.cc (downMachineInt): int -> Int64 |
| 24189 |
(downTerm): use Token::codeToInt64() |
| 24190 |
|
| 24191 |
* prettyPrint.cc (printAttributes): use |
| 24192 |
dynamic_cast<StandardSymbol*>() before checking for strategy; handle |
| 24193 |
memo |
| 24194 |
(printAttributes): removed dynamic_cast<StandardSymbol*>() |
| 24195 |
|
| 24196 |
* main.cc (findPrelude): rindex() -> strrchr() |
| 24197 |
|
| 24198 |
* lexerAux.cc (includeFile): rindex() -> strrchr() |
| 24199 |
|
| 24200 |
* directoryManager.cc (realPath): index() -> strchr() (*2) |
| 24201 |
|
| 24202 |
===================================Engine53================================================== |
| 24203 |
|
| 24204 |
1999-10-26 Steven Eker <[email protected]> |
| 24205 |
|
| 24206 |
* interact.cc (setHandlers): added code to catch segmentation faults |
| 24207 |
|
| 24208 |
* prettyPrint.cc (showOps): VariableSymbol::dynamicCast() -> |
| 24209 |
dynamic_cast<VariableSymbol*> |
| 24210 |
(showVars): VariableSymbol::dynamicCast() -> |
| 24211 |
dynamic_cast<VariableSymbol*> |
| 24212 |
(printAttributes): use dynamic_casts()s rather than comparisons on |
| 24213 |
theory strings |
| 24214 |
(printAttributes): use variable decls inside of ifs |
| 24215 |
|
| 24216 |
* entry.cc (addOpDeclaration): updated calls to AU_Symbol, |
| 24217 |
ACU_Symbol and CUI_Symbo to pass memo flags |
| 24218 |
|
| 24219 |
1999-10-25 Steven Eker <[email protected]> |
| 24220 |
|
| 24221 |
* userLevelRewritingContext.cc: take extra argument, handle memo |
| 24222 |
table case |
| 24223 |
|
| 24224 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 24225 |
updated decl for tracePreEqRewrite() |
| 24226 |
|
| 24227 |
* quotedIdentifierOpSymbol.cc (eqRewrite): updated 3 calls to |
| 24228 |
tracePreEqRewrite() |
| 24229 |
|
| 24230 |
1999-10-22 Steven Eker <[email protected]> |
| 24231 |
|
| 24232 |
* lexer.flex: recognize memo in INITIAL as well as ID_MODE; |
| 24233 |
recognize do and clear |
| 24234 |
|
| 24235 |
* top.y: added tokens KW_DO KW_CLEAR |
| 24236 |
|
| 24237 |
* commands.y: added do clear memo command |
| 24238 |
added syntax for |
| 24239 |
|
| 24240 |
* entry.cc (addOpDeclaration): support memo for free symbols |
| 24241 |
|
| 24242 |
1999-10-19 Steven Eker <[email protected]> |
| 24243 |
|
| 24244 |
* search.cc (struct hashDagNode): added |
| 24245 |
(search): try using hash_set instead of set |
| 24246 |
(struct dagNodeEq): added |
| 24247 |
(search): try using DagNodeSet instead of hash_set |
| 24248 |
|
| 24249 |
* quotedIdentifierDagNode.cc (getHashValue): added |
| 24250 |
|
| 24251 |
* quotedIdentifierDagNode.hh (class QuotedIdentifierDagNode): |
| 24252 |
added decl for getHashValue() |
| 24253 |
|
| 24254 |
1999-10-14 Steven Eker <[email protected]> |
| 24255 |
|
| 24256 |
* prettyPrint.cc (operator<<): (Term* and DagNode* versions); hack |
| 24257 |
removed |
| 24258 |
|
| 24259 |
* bufferPrint.cc (bufferPrint): hack removed |
| 24260 |
|
| 24261 |
* mixfixModule.cc (loseFocus): no longer inline |
| 24262 |
(closeSignature): added in order to compute pretty print info |
| 24263 |
whether or not we generate a parser |
| 24264 |
(makePolymorphProductions): don't call computePrecAndGather() |
| 24265 |
(makeSymbolProductions): don't call computePrecAndGather() |
| 24266 |
|
| 24267 |
* mixfixModule.hh (class MixfixModule): added decl for closeSignature() |
| 24268 |
|
| 24269 |
* prettyPrint.cc (operator<<): (Term* and DagNode* versions); call |
| 24270 |
makeGrammar() as a HACK to set up gather info |
| 24271 |
|
| 24272 |
===================================Engine52================================================== |
| 24273 |
|
| 24274 |
1999-10-07 Steven Eker <[email protected]> |
| 24275 |
|
| 24276 |
* top.y: added ADVISE as a token |
| 24277 |
|
| 24278 |
* lexer.flex: added advise keyword |
| 24279 |
|
| 24280 |
* commands.y: added syntax for set show advise on/off |
| 24281 |
|
| 24282 |
1999-10-06 Steven Eker <[email protected]> |
| 24283 |
|
| 24284 |
* bufferPrint.cc (bufferPrint): call makeGrammar() as a HACK to |
| 24285 |
set up gather info |
| 24286 |
|
| 24287 |
1999-10-04 Steven Eker <[email protected]> |
| 24288 |
|
| 24289 |
* banner.cc (printBanner): long -> time_t |
| 24290 |
|
| 24291 |
1999-09-01 Steven Eker <[email protected]> |
| 24292 |
|
| 24293 |
* preModule.cc (nativeCompile): #ifdef'd system args to do the |
| 24294 |
best compile for solaris and linux |
| 24295 |
|
| 24296 |
1999-08-27 Steven Eker <[email protected]> |
| 24297 |
|
| 24298 |
* mixfixModule.cc (makeSymbolProductions): don't add productions |
| 24299 |
for any polymorph instances that happen to exists at this moment |
| 24300 |
|
| 24301 |
* modules.y: call loseFocus() for old module when new module is |
| 24302 |
created |
| 24303 |
|
| 24304 |
* command.cc (selectModule): call loseFocus() for old module |
| 24305 |
|
| 24306 |
* mixfixModule.cc (loseFocus): added |
| 24307 |
|
| 24308 |
* mixfixModule.hh (class MixfixModule): added decl for loseFocus() |
| 24309 |
|
| 24310 |
* preModule.hh (class PreModule): added decl for loseFocus() |
| 24311 |
(loseFocus): added |
| 24312 |
|
| 24313 |
1999-08-26 Steven Eker <[email protected]> |
| 24314 |
|
| 24315 |
* mixfixParser.cc (parseSentence): do makeGrammar() first thing |
| 24316 |
so that tokens will be set up |
| 24317 |
|
| 24318 |
* metaDown.cc (downModule): don't call makeGrammar() |
| 24319 |
|
| 24320 |
* mixfixModule.hh (class MixfixModule): added decl for insertLabels() |
| 24321 |
|
| 24322 |
* preModule.cc (process): call insertLabels() rather than makeGrammar() |
| 24323 |
|
| 24324 |
* mixfixModule.cc (makeGrammar): don't pass labels argument to |
| 24325 |
makeLabelProductions() |
| 24326 |
|
| 24327 |
* mixfixModule.hh (class MixfixModule): makeGrammar() becomes |
| 24328 |
private and loses arg; makeLabelProductions() loses arg; |
| 24329 |
|
| 24330 |
* mixfixModule.cc (makeGrammar): no longer take labels arg |
| 24331 |
(makeLabelProductions): no longer take labels arg |
| 24332 |
|
| 24333 |
* mixfixModule.hh (insertLabels): added |
| 24334 |
(class MixfixModule): added data member labels |
| 24335 |
|
| 24336 |
* mixfixParser.cc (parseSentence): call makeGrammar() if parser is null |
| 24337 |
|
| 24338 |
* mixfixModule.cc (makeGrammar): parser = new Parser |
| 24339 |
(MixfixModule): parser = 0 |
| 24340 |
(~MixfixModule): delete parser |
| 24341 |
|
| 24342 |
* mixfixParser.cc (insertProd): deref parser |
| 24343 |
(parseTerm): deref parser (2 places) |
| 24344 |
(makeCommand): deref parser (5 places) |
| 24345 |
(parseSentence): deref parser (3 places) |
| 24346 |
(makeTerm): deref parser (many places) |
| 24347 |
(makeCondition): deref parser (many places) |
| 24348 |
(makeStatement): deref parser (many places) |
| 24349 |
|
| 24350 |
* mixfixModule.cc (makeBubbleProductions): deref parser |
| 24351 |
|
| 24352 |
* mixfixModule.hh (class MixfixModule): paser data member is now a |
| 24353 |
pointer to a parser |
| 24354 |
|
| 24355 |
1999-08-10 Steven Eker <[email protected]> |
| 24356 |
|
| 24357 |
* metaDown.cc (downEquations): handle to handle AU equation sets |
| 24358 |
|
| 24359 |
* metaLevelSignature.cc (MACRO): equationSetSymbol made just a |
| 24360 |
Symbol so it can either be ACU or AU (for MOS!), removed need comm |
| 24361 |
attribute |
| 24362 |
|
| 24363 |
1999-08-05 Steven Eker <[email protected]> |
| 24364 |
|
| 24365 |
* preModule.hh (class PreModule): added decl for dagNodeLt() |
| 24366 |
|
| 24367 |
* search.cc (search): don't make initial UserLevelRewritingContext |
| 24368 |
automatic; allocate it on the heap like all the others |
| 24369 |
(search): delete all the UserLevelRewritingContexts we create |
| 24370 |
(search): use STL set class template |
| 24371 |
(dagNodeLt): added |
| 24372 |
|
| 24373 |
1999-08-03 Steven Eker <[email protected]> |
| 24374 |
|
| 24375 |
* search.cc (search): delete matching subproblem after we're done |
| 24376 |
with it |
| 24377 |
(search): delete patternAutomaton |
| 24378 |
|
| 24379 |
* top.y: for "in" directive we now have a call to eatComment() to |
| 24380 |
swallow the \n and get the line number correct for the included |
| 24381 |
file |
| 24382 |
|
| 24383 |
1999-07-28 Steven Eker <[email protected]> |
| 24384 |
|
| 24385 |
* metaLevel.hh (class MetaLevel): added decl for ~MetaLevel() |
| 24386 |
|
| 24387 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decl for |
| 24388 |
~MetaLevelOpSymbol() |
| 24389 |
|
| 24390 |
===================================Engine51================================================== |
| 24391 |
|
| 24392 |
1999-07-21 Steven Eker <[email protected]> |
| 24393 |
|
| 24394 |
* preModule.cc (nativeCompile): make functions generated for pure |
| 24395 |
constructors be inline |
| 24396 |
|
| 24397 |
1999-07-19 Steven Eker <[email protected]> |
| 24398 |
|
| 24399 |
* preModule.hh (class PreModule): updated decl for inputGraph() |
| 24400 |
|
| 24401 |
* command.cc (creduce): print number of rewrites and timing |
| 24402 |
|
| 24403 |
* preModule.cc (inputGraph): read in number of rewrites and timing |
| 24404 |
|
| 24405 |
1999-07-16 Steven Eker <[email protected]> |
| 24406 |
|
| 24407 |
* preModule.cc (nativeCompile): compile and link |
| 24408 |
(nativeCompile): destroy ofstream objects before trying to compile |
| 24409 |
to ensure that they are flushed |
| 24410 |
(nativeCompile): issue advisory before compiling |
| 24411 |
|
| 24412 |
* command.cc (creduce): run executable |
| 24413 |
|
| 24414 |
* preModule.cc (generateEval): generate correct index for storing |
| 24415 |
pointer to evaluated copy after last arg of original |
| 24416 |
|
| 24417 |
1999-07-15 Steven Eker <[email protected]> |
| 24418 |
|
| 24419 |
* preModule.cc (generateEval): get value for #define EVAL correct |
| 24420 |
(nativeCompile): output decl for collectGarbage() |
| 24421 |
|
| 24422 |
1999-07-14 Steven Eker <[email protected]> |
| 24423 |
|
| 24424 |
* preModule.hh (class PreModule): added decl for generateEval() |
| 24425 |
|
| 24426 |
* preModule.cc: added |
| 24427 |
(nativeCompile): call generateEval() |
| 24428 |
|
| 24429 |
1999-06-29 Steven Eker <[email protected]> |
| 24430 |
|
| 24431 |
* preModule.hh (class PreModule): added decl for inputGraph() |
| 24432 |
|
| 24433 |
* preModule.cc (nativeCompile): pass hfile to Symbol::generateCode() |
| 24434 |
(inputGraph): added |
| 24435 |
|
| 24436 |
* command.cc (creduce): call outputGraph() |
| 24437 |
|
| 24438 |
* preModule.hh (class PreModule): added decls for outputGraph() |
| 24439 |
and depthFirstTraversal(); |
| 24440 |
|
| 24441 |
* preModule.cc (outputGraph): added |
| 24442 |
(depthFirstTraversal): added |
| 24443 |
|
| 24444 |
1999-06-28 Steven Eker <[email protected]> |
| 24445 |
|
| 24446 |
* preModule.cc (process): don't call compileToC |
| 24447 |
|
| 24448 |
* preModule.hh (class PreModule): added decls for creduce() and |
| 24449 |
nativeCompile() |
| 24450 |
|
| 24451 |
* preModule.cc (nativeCompile): adapted from compileToC() |
| 24452 |
|
| 24453 |
* command.cc (creduce): added |
| 24454 |
|
| 24455 |
* lexer.flex: added creduce keyword |
| 24456 |
|
| 24457 |
* top.y: declared KW_CREDUCE |
| 24458 |
|
| 24459 |
* commands.y: added syntax for creduce |
| 24460 |
|
| 24461 |
* preModule.cc (compileToC): generate arity table |
| 24462 |
(compileToC): generate forward declarations |
| 24463 |
|
| 24464 |
1999-06-14 Steven Eker <[email protected]> |
| 24465 |
|
| 24466 |
* preModule.hh (class PreModule): added decl for compileToC() |
| 24467 |
|
| 24468 |
* preModule.cc (compileToC): added |
| 24469 |
(process): call compileToC() |
| 24470 |
|
| 24471 |
1999-06-10 Steven Eker <[email protected]> |
| 24472 |
|
| 24473 |
* main.cc: added #include <sys/ioctl.h> in LINUX case |
| 24474 |
|
| 24475 |
===================================Engine50================================================== |
| 24476 |
|
| 24477 |
1999-06-09 Steven Eker <[email protected]> |
| 24478 |
|
| 24479 |
* prettyPrint.cc (concealSymbols): added |
| 24480 |
(prettyPrint): (DagNode* version) support print conceal |
| 24481 |
added definitions for printConceal and concealed |
| 24482 |
|
| 24483 |
* mixfixModule.hh (class MixfixModule): added decls for |
| 24484 |
setPrintConceal() and concealSymbols() |
| 24485 |
(class MixfixModule): added static data member concealed |
| 24486 |
(class MixfixModule): added static data member printConceal |
| 24487 |
(setPrintConceal): added |
| 24488 |
|
| 24489 |
* preModule.hh (class PreModule): added decl for printConceal() |
| 24490 |
|
| 24491 |
* command.cc (printConceal): added |
| 24492 |
|
| 24493 |
* top.y: added tokens KW_CONCEAL, KW_REVEAL |
| 24494 |
added type for conceal nonterminal |
| 24495 |
|
| 24496 |
* lexer.flex: added conceal, reveal keywords |
| 24497 |
|
| 24498 |
* commands.y: added syntax for |
| 24499 |
print conceal foo . |
| 24500 |
print reveal foo . |
| 24501 |
set print conceal on/off . |
| 24502 |
|
| 24503 |
===================================Maude 1.0.3 released======================================= |
| 24504 |
|
| 24505 |
* autoWrapBuffer.cc (sync): handle tabs |
| 24506 |
(breakLine): handle tabs |
| 24507 |
(overflow): handle tabs |
| 24508 |
|
| 24509 |
* autoWrapBuffer.hh (nextTabPosition): added |
| 24510 |
|
| 24511 |
1999-06-04 Steven Eker <[email protected]> |
| 24512 |
|
| 24513 |
* lexer.flex: use %option noyywrap and no longer link with lfl |
| 24514 |
|
| 24515 |
* prettyPrint.cc (graphPrint): handle ^C interrupt |
| 24516 |
|
| 24517 |
* command.cc (showModule): handle ^C interrupt |
| 24518 |
|
| 24519 |
* prettyPrint.cc (showRls): handle ^C interrupt |
| 24520 |
(showEqs): handle ^C interrupt |
| 24521 |
(showVars): handle ^C interrupt |
| 24522 |
(showSorts): handle ^C interrupt |
| 24523 |
(showOps): handle ^C interrupt |
| 24524 |
(showAll): handle ^C interrupt |
| 24525 |
|
| 24526 |
* interact.cc (where): handle ^C interrupt |
| 24527 |
|
| 24528 |
* mixfixModule.hh (class MixfixModule): updated printTails() decl |
| 24529 |
|
| 24530 |
* prettyPrint.cc (prettyPrint): (DagNode*) version added checks |
| 24531 |
for ^C interrupt (5 places) |
| 24532 |
(printTails): added checkForInterrupt arg and ^C interrupt handling |
| 24533 |
|
| 24534 |
* autoWrapBuffer.hh (class AutoWrapBuffer): added decl for |
| 24535 |
~AutoWrapBuffer() |
| 24536 |
|
| 24537 |
* autoWrapBuffer.cc (~AutoWrapBuffer): added |
| 24538 |
|
| 24539 |
* autoWrapBuffer.hh (class AutoWrapBuffer): deleted decl for |
| 24540 |
flushPending(); updated decl for breakLine() |
| 24541 |
|
| 24542 |
* autoWrapBuffer.cc (flushPending): only set nrPending to |
| 24543 |
UNDEFINED if we actually output something more tha a single space |
| 24544 |
in order to preserve the break point |
| 24545 |
(overflow): delete incorrect test in space case; need to do normal |
| 24546 |
thing even after breakLine() since we may not have been able to |
| 24547 |
break the line and therefore we can afford to lose the space char |
| 24548 |
(sync): don't call flushBuffer() |
| 24549 |
(breakLine): now do cursorPosition check here; return true if we |
| 24550 |
inserted a new line |
| 24551 |
(flushPending): deleted |
| 24552 |
(overflow): don't call flushPending() in \n case |
| 24553 |
|
| 24554 |
1999-06-03 Steven Eker <[email protected]> |
| 24555 |
|
| 24556 |
* main.cc (main): handle case where window width is zero by |
| 24557 |
defaulting to 80 |
| 24558 |
|
| 24559 |
* autoWrapBuffer.cc (breakLine): support left margin |
| 24560 |
(AutoWrapBuffer): support right margin |
| 24561 |
(overflow): get break line test correct (2 places) |
| 24562 |
|
| 24563 |
1999-06-02 Steven Eker <[email protected]> |
| 24564 |
|
| 24565 |
* ops.cc (makeOpDeclsConsistent): added to handle clean up after |
| 24566 |
syntax error. Idea is that after an addOpDecl() we either see |
| 24567 |
a setDomainAndRange() or a statement level error which calls |
| 24568 |
makeOpDeclsConsistent() or both (the setDomainAndRange() can never |
| 24569 |
follow the error). |
| 24570 |
|
| 24571 |
* preModule.hh (class PreModule): added decl for makeOpDeclsConsistent() |
| 24572 |
|
| 24573 |
* modules.y: added call to makeOpDeclsConsistent() in error case |
| 24574 |
|
| 24575 |
1999-05-28 Steven Eker <[email protected]> |
| 24576 |
|
| 24577 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 24578 |
counter made static |
| 24579 |
|
| 24580 |
* quotedIdentifierOpSymbol.cc (eqRewrite): reset counter here if |
| 24581 |
'RESET is our arg |
| 24582 |
(reset): don't reset count here |
| 24583 |
(QuotedIdentifierOpSymbol): don't zero counter here |
| 24584 |
|
| 24585 |
1999-05-27 Steven Eker <[email protected]> |
| 24586 |
|
| 24587 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 24588 |
added MOS ORACLE to enum OpType |
| 24589 |
|
| 24590 |
* quotedIdentifierOpSymbol.cc (reset): clear MOS counter |
| 24591 |
(fixUp): added code for MOS oracles |
| 24592 |
(QuotedIdentifierOpSymbol): clear MOS counter |
| 24593 |
(eqRewrite): added semantics for MOS oracles |
| 24594 |
|
| 24595 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 24596 |
added MOS counter |
| 24597 |
|
| 24598 |
1999-05-26 Steven Eker <[email protected]> |
| 24599 |
|
| 24600 |
* autoWrapBuffer.cc (sync): rewritten |
| 24601 |
(breakLine): added |
| 24602 |
(flushPending): added |
| 24603 |
(overflow): rewritten |
| 24604 |
(flushPending): added |
| 24605 |
|
| 24606 |
1999-05-25 Steven Eker <[email protected]> |
| 24607 |
|
| 24608 |
* autoWrapBuffer.cc (xsputn): added |
| 24609 |
(xsputn): rewritten for first approc at newline inserting |
| 24610 |
|
| 24611 |
1999-05-20 Steven Eker <[email protected]> |
| 24612 |
|
| 24613 |
* autoWrapBuffer.hh: created |
| 24614 |
|
| 24615 |
* autoWrapBuffer.cc: created |
| 24616 |
|
| 24617 |
1999-05-19 Steven Eker <[email protected]> |
| 24618 |
|
| 24619 |
* search.cc (search): print timing and number of states |
| 24620 |
|
| 24621 |
1999-05-14 Steven Eker <[email protected]> |
| 24622 |
|
| 24623 |
* metaDown.cc (downModule): support existingModuleSymbol |
| 24624 |
|
| 24625 |
* metaLevelSignature.cc (MACRO): added existingModuleSymbol |
| 24626 |
|
| 24627 |
* metaLevel.hh (class MetaLevel): updated decls for all functions |
| 24628 |
below: |
| 24629 |
|
| 24630 |
* metaDown.cc (downSorts): MetaModule -> MixfixModule |
| 24631 |
(downSubsort): MetaModule -> MixfixModule |
| 24632 |
(downSubsorts): MetaModule -> MixfixModule |
| 24633 |
(downVarDecls): MetaModule -> MixfixModule |
| 24634 |
(downVarDecl): MetaModule -> MixfixModule |
| 24635 |
(downMembAx): MetaModule -> MixfixModule |
| 24636 |
(downMembAxs): MetaModule -> MixfixModule |
| 24637 |
(downEquations): MetaModule -> MixfixModule |
| 24638 |
(downEquation): MetaModule -> MixfixModule |
| 24639 |
(downRule): MetaModule -> MixfixModule |
| 24640 |
(downRules): MetaModule -> MixfixModule |
| 24641 |
|
| 24642 |
1999-05-13 Steven Eker <[email protected]> |
| 24643 |
|
| 24644 |
* metaLevel.hh (class MetaLevel): updated decl for downModule() |
| 24645 |
|
| 24646 |
* metaDown.cc (downModule): return MixfixModule rather than MetaModule |
| 24647 |
|
| 24648 |
* metaLevelOpSymbol.cc: replaced MetaModule with MixfixModule |
| 24649 |
throughout file |
| 24650 |
|
| 24651 |
* metaLevel.hh (class MetaLevel): updated decl for downTermList() |
| 24652 |
|
| 24653 |
* metaDown.cc (downTermList): MetaModule -> MixfixModule |
| 24654 |
|
| 24655 |
* metaLevel.hh (class MetaLevel): updated decls for downTerm(), |
| 24656 |
downSubstitution(), downAssignment() and downVariable() |
| 24657 |
|
| 24658 |
* metaDown.cc (downTerm): MetaModule -> MixfixModule |
| 24659 |
(downSubstitution): MetaModule -> MixfixModule |
| 24660 |
(downAssignment): MetaModule -> MixfixModule |
| 24661 |
(downVariable): MetaModule -> MixfixModule |
| 24662 |
|
| 24663 |
* metaModule.cc (locateSpecialReps): deleted |
| 24664 |
|
| 24665 |
* metaModule.hh (class MetaModule): deleted data members |
| 24666 |
machineIntegerSymbols, quotedIdentifierSymbols |
| 24667 |
(findMachineIntegerSymbol): deleted |
| 24668 |
(findQuotedIdentifierSymbol): deleted |
| 24669 |
(class MetaModule): deleted decls for findMachineIntegerSymbol(), |
| 24670 |
findQuotedIdentifierSymbol() and locateSpecialReps() |
| 24671 |
|
| 24672 |
* metaDown.cc (downModule): don't call locateSpecialReps() |
| 24673 |
|
| 24674 |
* entry.cc (addOpDeclaration): fill out machineIntegerSymbols and |
| 24675 |
quotedIdentifierSymbols |
| 24676 |
|
| 24677 |
* mixfixModule.hh (class MixfixModule): added data members |
| 24678 |
machineIntegerSymbols and quotedIdentifierSymbols |
| 24679 |
(findMachineIntegerSymbol): added |
| 24680 |
(findQuotedIdentifierSymbol): added |
| 24681 |
(class MixfixModule): added decls for findMachineIntegerSymbol() |
| 24682 |
and findQuotedIdentifierSymbol() |
| 24683 |
|
| 24684 |
* metaLevel.hh (class MetaLevel): updated decls for |
| 24685 |
downSimpleSort(), downSimpleSortList(), downSimpleSortSet(), |
| 24686 |
downSort() |
| 24687 |
|
| 24688 |
* metaDown.cc (downSimpleSort): MetaModule -> MixfixModule |
| 24689 |
(downSimpleSortList): MetaModule -> MixfixModule |
| 24690 |
(downSimpleSortSet): MetaModule -> MixfixModule |
| 24691 |
(downSort): MetaModule -> MixfixModule |
| 24692 |
|
| 24693 |
* metaLevel.hh (class MetaLevel): updated decls for fastUpTerm() |
| 24694 |
(both versions), fastUpSubstitution() and fastUpResultPair() |
| 24695 |
|
| 24696 |
* metaFastUp.cc (fastUpTerm): (DagNode* version) MetaModule -> |
| 24697 |
MixfixModule |
| 24698 |
(fastUpTerm): (Term* version) MetaModule -> MixfixModule |
| 24699 |
(fastUpSubstitution): MetaModule -> MixfixModule |
| 24700 |
(fastUpResultPair): MetaModule -> MixfixModule |
| 24701 |
|
| 24702 |
1999-05-12 Steven Eker <[email protected]> |
| 24703 |
|
| 24704 |
* interact.cc (handleDebug): only call cleanUpLexer() if we |
| 24705 |
weren't interactive; if we do call cleanUpLexer() output a \n |
| 24706 |
to start a new line after the users ^C |
| 24707 |
|
| 24708 |
1999-05-11 Steven Eker <[email protected]> |
| 24709 |
|
| 24710 |
* interact.cc (handleDebug): call cleanUpLexer() after ^C |
| 24711 |
|
| 24712 |
* bufferPrint.cc (prettyPrint): use chooseDisambiguator(); use |
| 24713 |
rangeComponent() rather than getComponent() |
| 24714 |
|
| 24715 |
* prettyPrint.cc (prettyPrint): (Term* version) use chooseDisambiguator() |
| 24716 |
(prettyPrint): (Term* version) use rangeComponent() rather than getComponent() |
| 24717 |
(prettyPrint): (DagNode* version) use chooseDisambiguator() |
| 24718 |
|
| 24719 |
* mixfixModule.hh (class MixfixModule): added decl for chooseDisambiguator() |
| 24720 |
|
| 24721 |
* prettyPrint.cc (chooseDisambiguator): added |
| 24722 |
|
| 24723 |
* entry.cc (addOpDeclaration): use FreeSymbol::newFreeSymbol() (2 |
| 24724 |
places) |
| 24725 |
|
| 24726 |
===================================Engine49================================================== |
| 24727 |
|
| 24728 |
1999-04-30 Steven Eker <[email protected]> |
| 24729 |
|
| 24730 |
* search.cc (search): rewritten to handle problems of the form |
| 24731 |
search subject => pattern . |
| 24732 |
|
| 24733 |
* mixfixModule.hh (class MixfixModule): added CONDITIONAL_COMMAND |
| 24734 |
to enum Actions |
| 24735 |
(class MixfixModule): added decl for makeCommand() |
| 24736 |
(class MixfixModule): added decl for parseCommand() |
| 24737 |
(class MixfixModule): added decl for makeCommandProductions() |
| 24738 |
|
| 24739 |
* mixfixParser.cc (makeCommand): added |
| 24740 |
|
| 24741 |
* mixfixModule.cc (makeCommandProductions): added |
| 24742 |
(makeGrammar): call makeCommandProductions() |
| 24743 |
|
| 24744 |
* mixfixModule.hh (class MixfixModule): added COMMAND to enum |
| 24745 |
NonTerminal; updated BASE |
| 24746 |
|
| 24747 |
* search.cc (search): don't rely on OneStep::findNextRewrite() to |
| 24748 |
reduce its result |
| 24749 |
|
| 24750 |
1999-04-29 Steven Eker <[email protected]> |
| 24751 |
|
| 24752 |
* search.cc (search): now do naive breadth first search to find |
| 24753 |
all states |
| 24754 |
|
| 24755 |
* preModule.hh (class PreModule): added decl for search() |
| 24756 |
|
| 24757 |
* search.cc: created |
| 24758 |
|
| 24759 |
* top.y: added KW_SEARCH as token |
| 24760 |
|
| 24761 |
* command.cc (search): added |
| 24762 |
|
| 24763 |
* lexer.flex: added search keyword |
| 24764 |
|
| 24765 |
* commands.y: added first approximation at syntax for search command |
| 24766 |
|
| 24767 |
1999-04-26 Steven Eker <[email protected]> |
| 24768 |
|
| 24769 |
* userLevelRewritingContext.cc (tracePreScApplication): changed |
| 24770 |
message to make it more readable |
| 24771 |
|
| 24772 |
1999-04-22 Steven Eker <[email protected]> |
| 24773 |
|
| 24774 |
* preModule.cc (fixUpSymbols): use new QuotedIdentifierOpSymbol::fixUp() |
| 24775 |
|
| 24776 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 24777 |
added decls for postInterSymbolPass() and reset() |
| 24778 |
|
| 24779 |
* quotedIdentifierOpSymbol.cc (fixUp): handle LESS_THAN case |
| 24780 |
(eqRewrite): handle LESS_THAN case |
| 24781 |
(postInterSymbolPass): added |
| 24782 |
(reset): added |
| 24783 |
(copyFixUp): copy trueTerm and falseTerm |
| 24784 |
(fixUp): handle trueTerm and falseTerm |
| 24785 |
|
| 24786 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 24787 |
added data members trueTerm and falseTerm |
| 24788 |
(class QuotedIdentifierOpSymbol): updated fixUp decl |
| 24789 |
(class QuotedIdentifierOpSymbol): added LESS_THAN to enum OpType |
| 24790 |
|
| 24791 |
1999-04-20 Steven Eker <[email protected]> |
| 24792 |
|
| 24793 |
* mixfixModule.cc (instantiateSortTest): don't pass boolSort to |
| 24794 |
SortTestSymbol() |
| 24795 |
(instantiatePolymorph): use new EqualitySymbol() conventions |
| 24796 |
(instantiatePolymorph): use new BranchSymbol() conventions |
| 24797 |
|
| 24798 |
* prettyPrint.cc (showOps): remove " : (implemented by C++ code)" |
| 24799 |
case and assert that we alays have declarations |
| 24800 |
|
| 24801 |
* mixfixModule.cc (instantiatePolymorph): call addOpDeclaration() |
| 24802 |
for each polymorph symbol created |
| 24803 |
(instantiateSortTest): call addOpDeclaration() for each sort test |
| 24804 |
symbol created |
| 24805 |
|
| 24806 |
* prettyPrint.cc (operator<<): (DagNode* version) changed |
| 24807 |
convention for calling graphPrint() |
| 24808 |
(showOps): use ComplexSort since some built in ops will get error |
| 24809 |
sorts in their domain and range in the near future |
| 24810 |
|
| 24811 |
* mixfixModule.hh (class MixfixModule): graphPrint() decl no |
| 24812 |
longer static |
| 24813 |
|
| 24814 |
* prettyPrint.cc (prettyPrint): use instance-free version of |
| 24815 |
rangeComponent() |
| 24816 |
|
| 24817 |
* quotedIdentifierDagNode.cc (specialPrint): deleted |
| 24818 |
|
| 24819 |
* quotedIdentifierDagNode.hh (class QuotedIdentifierDagNode): |
| 24820 |
deleted specialPrint() decl |
| 24821 |
|
| 24822 |
* quotedIdentifierTerm.cc (specialPrint): deleted |
| 24823 |
|
| 24824 |
* quotedIdentifierTerm.hh (class QuotedIdentifierTerm): deleted |
| 24825 |
specialPrint() decl |
| 24826 |
|
| 24827 |
* prettyPrint.cc (graphPrint): eliminate use of DagNode::specialPrint() |
| 24828 |
|
| 24829 |
1999-04-19 Steven Eker <[email protected]> |
| 24830 |
|
| 24831 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 24832 |
added CONVERT to enum OpType |
| 24833 |
|
| 24834 |
* quotedIdentifierOpSymbol.cc (eqRewrite): added semantics for CONVERT |
| 24835 |
(fixUp): added CONVERT case |
| 24836 |
|
| 24837 |
* lexerAux.cc (eatComment): last change should have corrected |
| 24838 |
problem; the bug is now in flex 2.5.3 which is fixed in 2.5.4 |
| 24839 |
|
| 24840 |
1999-04-18 Steven Eker <[email protected]> |
| 24841 |
|
| 24842 |
* lexerAux.cc (eatComment): try to handle the EOF in comment case |
| 24843 |
|
| 24844 |
===================================Engine48================================================== |
| 24845 |
===================================Maude 1.0.2 released======================================= |
| 24846 |
|
| 24847 |
1999-03-12 Steven Eker <[email protected]> |
| 24848 |
|
| 24849 |
* prettyPrint.cc (prettyPrint): (Term* and DagNode* versions) |
| 24850 |
fixed bug: ` instead of ' for quoted identifier |
| 24851 |
|
| 24852 |
===================================Maude 1.0.1 released======================================= |
| 24853 |
|
| 24854 |
1999-03-03 Steven Eker <[email protected]> |
| 24855 |
|
| 24856 |
* bufferPrint.cc (prettyPrint): ignore printMixfix flag for |
| 24857 |
SORT_TESTs |
| 24858 |
|
| 24859 |
* prettyPrint.cc (prettyPrint): ignore printMixfix flag for |
| 24860 |
SORT_TESTs (both versions) |
| 24861 |
|
| 24862 |
* metaLevelSignature.cc (MACRO): unmade last change; to difficult |
| 24863 |
to implement with existing meta level structure; wait until new |
| 24864 |
meta level |
| 24865 |
|
| 24866 |
* metaDown.cc: use downQid() on 1st arg |
| 24867 |
|
| 24868 |
* metaLevelSignature.cc (MACRO): added MACRO for existingModuleSymbol |
| 24869 |
|
| 24870 |
* mixfixModule.cc (instantiateSortTest): set gather, no longer |
| 24871 |
RIGHT_BARE, set prefix name correctly |
| 24872 |
(instantiateSortTest): fillout mixfixSyntax |
| 24873 |
|
| 24874 |
1999-03-02 Steven Eker <[email protected]> |
| 24875 |
|
| 24876 |
* bufferPrint.cc (prettyPrint): made symmetric |
| 24877 |
|
| 24878 |
* prettyPrint.cc (prettyPrint): (DagNode* version) use flags local |
| 24879 |
var |
| 24880 |
(prettyPrint): (Term* version) symmetric changes with DagNode* |
| 24881 |
version |
| 24882 |
|
| 24883 |
* entry.cc (addOpDeclaration): only worry about pseudo stuff when |
| 24884 |
nrArgs == 0 |
| 24885 |
|
| 24886 |
* prettyPrint.cc (prettyPrint): (DagNode* version) handle |
| 24887 |
disambiguation of machine integers, pseudo machine integers, |
| 24888 |
quoted identifiers and pseudo quoted identifiers correctly |
| 24889 |
|
| 24890 |
* mixfixModule.hh (class MixfixModule): added |
| 24891 |
PSEUDO_MACHINE_INTEGER and PSEUDO_QUOTED_IDENTIFIER to enum |
| 24892 |
SymbolFlags |
| 24893 |
(class MixfixModule): added data members machineIntegerComponents, |
| 24894 |
quotedIdentifierComponents, overloadedMachineIntegers, |
| 24895 |
overloadedQuotedIdentifiers |
| 24896 |
|
| 24897 |
* entry.cc (addOpDeclaration): fill out machineIntegerComponents |
| 24898 |
and quotedIdentifierComponents; set PSEUDO_MACHINE_INTEGER and |
| 24899 |
PSEUDO_QUOTED_IDENTIFIER flags; fill out overloadedMachineIntegers |
| 24900 |
and overloadedQuotedIdentifiers |
| 24901 |
|
| 24902 |
1999-02-26 Steven Eker <[email protected]> |
| 24903 |
|
| 24904 |
* entry.cc (addOpDeclaration): make underscore warning more |
| 24905 |
informative |
| 24906 |
(addPolymorph): make underscore warning more informative |
| 24907 |
|
| 24908 |
1999-02-16 Steven Eker <[email protected]> |
| 24909 |
|
| 24910 |
* directoryManager.cc (pushd): temporary hack to fix possible |
| 24911 |
compiler bug: we store directoryStack[oldLength - 1] in a local |
| 24912 |
variable |
| 24913 |
(pushd): Actually it's not a compiler bug but a subtle reference |
| 24914 |
bug; added comment in code to this effect |
| 24915 |
|
| 24916 |
===================================VectorExperiment========================================== |
| 24917 |
|
| 24918 |
1999-02-09 Steven Eker <[email protected]> |
| 24919 |
|
| 24920 |
* mixfixModule.cc (makeComponentProductions): only have parens for |
| 24921 |
non-bubble components |
| 24922 |
(makePolymorphProductions): only put polymorphic ops in non-bubble |
| 24923 |
components |
| 24924 |
|
| 24925 |
1999-02-05 Steven Eker <[email protected]> |
| 24926 |
|
| 24927 |
* main.cc: added template for Vector<Bool> |
| 24928 |
|
| 24929 |
1999-02-03 Steven Eker <[email protected]> |
| 24930 |
|
| 24931 |
* command.cc (parse): replaced Symbol::parse() with |
| 24932 |
Symbol::fillInSortInfo() |
| 24933 |
(match): replaced Symbol::parse() with Symbol::fillInSortInfo(); |
| 24934 |
deleted Assert() |
| 24935 |
|
| 24936 |
* metaLevelOpSymbol.cc (metaLeastSort): replaced Symbol::parse() |
| 24937 |
with Symbol::fillInSortInfo(); assume that there won't be any |
| 24938 |
component errors in down'd term |
| 24939 |
(metaParse): replaced Symbol::parse() with |
| 24940 |
Symbol::fillInSortInfo() |
| 24941 |
|
| 24942 |
* mixfixParser.cc (parseTerm): replaced Symbol::parse() with |
| 24943 |
Symbol::fillInSortInfo() (2 places) |
| 24944 |
|
| 24945 |
* bufferPrint.cc (prettyPrint): replaced Symbol::parse() with |
| 24946 |
Symbol::fillInSortInfo() |
| 24947 |
|
| 24948 |
* prettyPrint.cc (prettyPrint): replaced Symbol::parse() with |
| 24949 |
Symbol::fillInSortInfo() |
| 24950 |
|
| 24951 |
1999-01-29 Steven Eker <[email protected]> |
| 24952 |
|
| 24953 |
* directoryManager.cc (cd): use realPath() |
| 24954 |
(pushd): use realPath() |
| 24955 |
(realPath): remember to move cursor forward after we copy in a |
| 24956 |
home directory path name |
| 24957 |
(realPath): fix off-by-one error in .. handling loop |
| 24958 |
(realPath): delete null case and resolve empty path to that of the |
| 24959 |
current directory |
| 24960 |
(pushd): optimization for "." to avoid chdir |
| 24961 |
(popd): optimization for the case where the directory doesn't change |
| 24962 |
|
| 24963 |
* directoryManager.hh (class DirectoryManager): added decl for realPath() |
| 24964 |
|
| 24965 |
* directoryManager.cc (realPath): tidied up |
| 24966 |
|
| 24967 |
1999-01-28 Steven Eker <[email protected]> |
| 24968 |
|
| 24969 |
* directoryManager.cc (realPath): added |
| 24970 |
|
| 24971 |
===================================Engine47================================================== |
| 24972 |
===================================Maude 1.00 released======================================= |
| 24973 |
|
| 24974 |
1999-01-22 Steven Eker <[email protected]> |
| 24975 |
|
| 24976 |
* import.cc (processImports): added check for us/using importation |
| 24977 |
mode |
| 24978 |
|
| 24979 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 24980 |
~MixfixModule() |
| 24981 |
|
| 24982 |
* mixfixModule.cc (~MixfixModule): added in order to |
| 24983 |
deepSelfDestruct special terms within polymorphs |
| 24984 |
|
| 24985 |
1999-01-21 Steven Eker <[email protected]> |
| 24986 |
|
| 24987 |
* metaLevelOpSymbol.cc (~MetaLevelOpSymbol): added, to delete metaLevel |
| 24988 |
|
| 24989 |
* metaLevel.cc (reset): clear cachedMetaModule to fix nasty bug |
| 24990 |
where we were keep a dag whose symbols had been deleted; delete |
| 24991 |
cached module as well |
| 24992 |
(~MetaLevel): added, to delete cachedModule; probably not really |
| 24993 |
necessary since metalevel will be reset 2 GCs before it is deleted |
| 24994 |
|
| 24995 |
1999-01-20 Steven Eker <[email protected]> |
| 24996 |
|
| 24997 |
* directoryManager.cc (popd): fixed another bug where we were not |
| 24998 |
using directoryStack |
| 24999 |
|
| 25000 |
* lexerAux.cc (cleanUpLexer): restore directory stack after |
| 25001 |
closing files |
| 25002 |
(includeFile): handle directories in a relative way; keep track |
| 25003 |
of directory stack markers |
| 25004 |
(handleEof): restore directory stack after end of file |
| 25005 |
|
| 25006 |
* top.y: use new pushd() return value |
| 25007 |
|
| 25008 |
* directoryManager.hh (class DirectoryManager): updated decls for |
| 25009 |
pushd() and popd() |
| 25010 |
|
| 25011 |
* directoryManager.cc (popd): fixed off-by-one error |
| 25012 |
(popd): take arg to allow poping to an arbitrary previous context |
| 25013 |
(pushd): now return index to old context on successful pushd and |
| 25014 |
UNDEFINED owise |
| 25015 |
|
| 25016 |
* preModule.cc (process): check for bad module after closing sort set |
| 25017 |
|
| 25018 |
* metaFastUp.cc (fastUpSort): turned ErrorCheck() for union sorts |
| 25019 |
into an IssueAdvisory() |
| 25020 |
|
| 25021 |
* metaDown.cc (downImport): don't import bad modules |
| 25022 |
|
| 25023 |
* command.cc (selectModule): don't allow bad modules to be used |
| 25024 |
|
| 25025 |
* preModule.cc (process): don't call closeTheory() on bad modules |
| 25026 |
(fixUpSymbols): mark module as bad if we couldn't parse an identity |
| 25027 |
|
| 25028 |
* import.cc (processImports): don't allow importation of bad |
| 25029 |
modules |
| 25030 |
|
| 25031 |
1999-01-19 Steven Eker <[email protected]> |
| 25032 |
|
| 25033 |
* preModule.hh (class PreModule): updated decls for addSelected(), |
| 25034 |
parse(), reduce(), rewrite(), loop(), contLoop(), selectModule() |
| 25035 |
and match() |
| 25036 |
|
| 25037 |
* command.cc (addSelected): don't clear opName |
| 25038 |
(parse): don't waste time swapping subject |
| 25039 |
(reduce): don't waste time swapping subject |
| 25040 |
(rewrite): don't waste time swapping subject |
| 25041 |
(loop): don't waste time swapping subject |
| 25042 |
(contLoop): don't clear input (2 places) |
| 25043 |
(selectModule): don't clear moduleExpr (2 places) |
| 25044 |
(match): made patternBubble and subjectBubble const |
| 25045 |
|
| 25046 |
* preModule.hh (class PreModule): updated decls for addImport(), |
| 25047 |
addSortDecl(), addSubsortDecl(), addStatement() and addRule() |
| 25048 |
|
| 25049 |
* preModule.cc (addRule): rule is now const |
| 25050 |
|
| 25051 |
* preModule.hh (class PreModule): updated decls for addOpDecl(), |
| 25052 |
setDomainAndRange(), setIdentity(), addVarDecl(), setGather(), |
| 25053 |
setStrat(), addHook() |
| 25054 |
(addImport): use copy ctor rather than swap on import |
| 25055 |
(addSortDecl): use copy ctor rather than swap on sortDecl |
| 25056 |
(addSubsortDecl): use copy ctor rather than swap on subsortDecl |
| 25057 |
(addStatement): use copy ctor rather than swap on statement |
| 25058 |
|
| 25059 |
* ops.cc (addOpDecl): don't clear opName |
| 25060 |
(setDomainAndRange): copy rather than swap domainAndRange |
| 25061 |
(setIdentity): copy rather than swap identity |
| 25062 |
(addVarDecl): don't clear varDecl |
| 25063 |
(setGather): don't clear gather (2 places) |
| 25064 |
(setStrat): don't clear strategy (2 places) |
| 25065 |
(addHook): don't clear details |
| 25066 |
|
| 25067 |
* bottom.y (cleanUpParser): don't clear bubble, moduleExpr and |
| 25068 |
pattern |
| 25069 |
|
| 25070 |
* commands.y: heavily rewritten to clear bubble & moduleExp before |
| 25071 |
they are used rather than after |
| 25072 |
|
| 25073 |
* top.y (clear): added |
| 25074 |
|
| 25075 |
* modules.y: major rewrite to simplify grammar and clear bubble |
| 25076 |
before it is used rather than relying on function that bubble is |
| 25077 |
passed to clearing it afterwards; introduced new non-terminals |
| 25078 |
domainRangeAttr and idKeyword to factor grammar |
| 25079 |
|
| 25080 |
* metaDown.cc (downSorts): handle redeclaration of a sort gracefully |
| 25081 |
|
| 25082 |
1999-01-18 Steven Eker <[email protected]> |
| 25083 |
|
| 25084 |
* metaDown.cc (downModule): try deleting cached module |
| 25085 |
|
| 25086 |
* metaLevel.hh (class MetaLevel): added decl for downVariable() |
| 25087 |
|
| 25088 |
* metaDown.cc (downVariable): added |
| 25089 |
(downAssignment): simplified using downVariable() |
| 25090 |
(downTerm): simplified using downVariable() |
| 25091 |
(downTerm): check that operator actually exists before we use it |
| 25092 |
(downTerm): reorganized and simplified; now check for existance of |
| 25093 |
constants in appropriate sort |
| 25094 |
|
| 25095 |
1999-01-17 Steven Eker <[email protected]> |
| 25096 |
|
| 25097 |
* metaDown.cc (downSimpleSortSet): fixed non-negated condition bug |
| 25098 |
(downSimpleSortList): fixed non-negated condition bug |
| 25099 |
|
| 25100 |
* entry.cc (addOpDeclaration): removed ErrorCheck()s and added |
| 25101 |
error recovery code for the cases where assoc/com/id/idem ops have |
| 25102 |
domain length != 2 |
| 25103 |
|
| 25104 |
* metaLevelOpSymbol.cc (metaPrettyPrint): return false rather than |
| 25105 |
errorRewrite() if module or term cannot be brought down |
| 25106 |
(metaPrettyPrint): deepSelfDestruct() term after we are finished |
| 25107 |
with it |
| 25108 |
|
| 25109 |
1999-01-16 Steven Eker <[email protected]> |
| 25110 |
|
| 25111 |
* metaLevel.hh (class MetaLevel): added decl for |
| 25112 |
downSimpleSortSet() |
| 25113 |
|
| 25114 |
* metaDown.cc (downSimpleSortSet): added downSimpleSortSet() |
| 25115 |
|
| 25116 |
* metaLevel.hh (class MetaLevel): added decls for |
| 25117 |
downSimpleSortList() and downSimpleSort() |
| 25118 |
|
| 25119 |
* metaDown.cc (downSimpleSort): added |
| 25120 |
(downSubsort): use downSimpleSort() (2 places) |
| 25121 |
(downSimpleSort): issue advisory when can't find a named sort |
| 25122 |
(downSimpleSortList): added |
| 25123 |
(downFixUpBubble): use downSimpleSortList() |
| 25124 |
(downOpDecl): use downSimpleSortList() and downSimpleSort() |
| 25125 |
(downVarDecl): use downSimpleSort() |
| 25126 |
(downMembAx): use downSimpleSort() |
| 25127 |
(downTerm): use downSimpleSort() (2 places) |
| 25128 |
(downSort): use downSimpleSortSet() and downSimpleSort() |
| 25129 |
|
| 25130 |
1999-01-14 Steven Eker <[email protected]> |
| 25131 |
|
| 25132 |
* interact.cc (commandLoop): unmade yesterdays change since we |
| 25133 |
need to display prompt after ^C in most cases |
| 25134 |
(commandLoop): clear ctrlC_Flag after calling cleanUpLexer() |
| 25135 |
|
| 25136 |
* command.cc (match): term ErrorCheck() into Assert() |
| 25137 |
(match): check for ^C interrupts |
| 25138 |
(match): reorganized to ensure that garbage is collected under |
| 25139 |
error conditions |
| 25140 |
(match): call DagNode::okToCollectGarbage() |
| 25141 |
|
| 25142 |
* lexerAux.cc (cleanUpLexer): use setSilentFlag() |
| 25143 |
(handleEof): use setSilentFlag() |
| 25144 |
|
| 25145 |
* main.cc (main): use setSilentFlag() |
| 25146 |
|
| 25147 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 25148 |
added static data member silentFlag |
| 25149 |
(setSilentFlag): added |
| 25150 |
|
| 25151 |
* interact.cc: added silentFlag |
| 25152 |
(beginModule): check silentFlag |
| 25153 |
|
| 25154 |
1999-01-13 Steven Eker <[email protected]> |
| 25155 |
|
| 25156 |
* command.cc (reduce): call |
| 25157 |
UserLevelRewritingContext::beginCommand() |
| 25158 |
(rewrite): call UserLevelRewritingContext::beginCommand() |
| 25159 |
(match): call UserLevelRewritingContext::beginCommand() |
| 25160 |
|
| 25161 |
* modules.y: use UserLevelRewritingContext::beginModule() (2 |
| 25162 |
places) |
| 25163 |
|
| 25164 |
* fileTable.cc (beginModule): no longer print ====== and module |
| 25165 |
name here |
| 25166 |
|
| 25167 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 25168 |
added decls for beginModule() and beginCommand() |
| 25169 |
|
| 25170 |
* interact.cc (beginModule): added |
| 25171 |
(beginCommand): added |
| 25172 |
|
| 25173 |
* lexerAux.cc (cleanUpLexer): use fileTable.abortEverything() |
| 25174 |
instead of multiple calls to fileTable.closeFile() |
| 25175 |
(cleanUpLexer): rewritten to switch to each active buffer in turn |
| 25176 |
so we can close its file. |
| 25177 |
|
| 25178 |
* fileTable.hh (class FileTable): added decl for abortEverything() |
| 25179 |
|
| 25180 |
* fileTable.cc (abortEverything): added |
| 25181 |
|
| 25182 |
* lexerAux.cc (cleanUpLexer): call IssueAdvisory() before |
| 25183 |
setInteractive() so we get prompt after Advisory |
| 25184 |
|
| 25185 |
* interact.cc (commandLoop): when recovering from a control-C, |
| 25186 |
don't call displayPrompt() since setInteractive() will doe this |
| 25187 |
if needed when called from cleanUpLexer(); |
| 25188 |
|
| 25189 |
===================================Engine46================================================== |
| 25190 |
|
| 25191 |
1999-01-11 Steven Eker <[email protected]> |
| 25192 |
|
| 25193 |
* mixfixParser.cc (parseSentence): added ifdef HACK so that we can |
| 25194 |
still link to Earley parser to make comparisons |
| 25195 |
|
| 25196 |
* preModule.hh (class PreModule): modules becomes a reference |
| 25197 |
rather than a vector so avoid automatic deletion at exit which |
| 25198 |
causes purify to report spurious memory leaks |
| 25199 |
|
| 25200 |
* preModule.cc (PreModule): use new to initialize PreModule::modules |
| 25201 |
|
| 25202 |
* directoryManager.hh (class DirectoryManager): added decl for initialize() |
| 25203 |
|
| 25204 |
* directoryManager.cc (DirectoryManager): becomes initialize; to |
| 25205 |
avoid a race condition between directoryStack, directoryNames and |
| 25206 |
a static instance of ourself |
| 25207 |
|
| 25208 |
1999-01-07 Steven Eker <[email protected]> |
| 25209 |
|
| 25210 |
* main.cc (main): fixed bug where we were incrementing argv and |
| 25211 |
then usng as if we had not. |
| 25212 |
|
| 25213 |
1999-01-06 Steven Eker <[email protected]> |
| 25214 |
|
| 25215 |
* top.y: added syntax to allow ls to take flags |
| 25216 |
implemented semantics for ls with flags |
| 25217 |
|
| 25218 |
* lexerAux.cc (lexerFileNameMode): use to be lexerInMode() |
| 25219 |
(lexerStringMode): added |
| 25220 |
|
| 25221 |
* lexer.flex: IN_MODE become FILE_NAME_MODE |
| 25222 |
yyFileName becomes yyString |
| 25223 |
added STRING_MODE |
| 25224 |
|
| 25225 |
* top.y (union): yyFileName becomes yyString |
| 25226 |
|
| 25227 |
1998-12-24 Steven Eker <[email protected]> |
| 25228 |
|
| 25229 |
* mixfixParser.cc (parseTerm): use printTokenVector() |
| 25230 |
(parseStatement): tidied error messages |
| 25231 |
(parseSentence): use printTokenVector() |
| 25232 |
|
| 25233 |
* token.hh (class Token): added decl for printTokenVector() |
| 25234 |
|
| 25235 |
* token.cc (printTokenVector): added |
| 25236 |
(operator<<): implemented using printTokenVector() |
| 25237 |
|
| 25238 |
* main.cc (main): added -no-prelude option |
| 25239 |
|
| 25240 |
1998-12-23 Steven Eker <[email protected]> |
| 25241 |
|
| 25242 |
* mixfixParser.cc (parseSentence): added code to show use where |
| 25243 |
first offending token is in the event of a syntax error |
| 25244 |
|
| 25245 |
* import.cc (donateStatements): don't import bad rule, sort |
| 25246 |
constraints or equations |
| 25247 |
|
| 25248 |
1998-12-22 Steven Eker <[email protected]> |
| 25249 |
|
| 25250 |
* token.cc (operator<<): (Vector<Token>& version) handle spacing |
| 25251 |
around special chars |
| 25252 |
|
| 25253 |
* bufferPrint.cc (prettyPrint): handle QIDs and MACHINE-INTs |
| 25254 |
|
| 25255 |
* metaFastUp.cc (fastUpQid): use Token::backQuoteSpecials() |
| 25256 |
(fastUpQidSet): use Token::backQuoteSpecials() (2 places) |
| 25257 |
(fastUpQidList): use Token::backQuoteSpecials() (2 places) |
| 25258 |
|
| 25259 |
* metaLevelOpSymbol.cc (metaParse): don't bother with |
| 25260 |
unbackquoting here as it is down in downQid() |
| 25261 |
|
| 25262 |
* metaDown.cc (downQid): do unbackquoting here; use |
| 25263 |
unBackQuoteSpecials() |
| 25264 |
|
| 25265 |
* loopSymbol.cc (extractQid): use unBackQuoteSpecials() |
| 25266 |
|
| 25267 |
* token.hh (unBackQuoteSpecials): created from unBackQuote(); |
| 25268 |
basically its dangerous to strip backquotes from anything except |
| 25269 |
lone special chars |
| 25270 |
|
| 25271 |
* loopSymbol.cc (extractQid): simplified using Token::unBackQuote() |
| 25272 |
(createQidList): greatly simplified using Token::backQuoteSpecials() |
| 25273 |
|
| 25274 |
* token.hh (backQuoteSpecials): added |
| 25275 |
(unBackQuote): added |
| 25276 |
|
| 25277 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added |
| 25278 |
META_PRETTY_PRINT to enum OpType |
| 25279 |
(class MetaLevelOpSymbol): added decl for metaPrettyPrint() |
| 25280 |
|
| 25281 |
* metaLevelOpSymbol.cc (metaPrettyPrint): added |
| 25282 |
(eqRewrite): added meta-pretty-print case |
| 25283 |
|
| 25284 |
* metaLevel.hh (class MetaLevel): added decl for fastUpQidList() |
| 25285 |
|
| 25286 |
* metaFastUp.cc (fastUpQidList): added |
| 25287 |
|
| 25288 |
* mixfixModule.hh (class MixfixModule): added decls for |
| 25289 |
bufferPrint() and buffer versions of prettyPrint(), printTokens(), |
| 25290 |
printTails() |
| 25291 |
|
| 25292 |
* bufferPrint.cc: created |
| 25293 |
|
| 25294 |
1998-12-21 Steven Eker <[email protected]> |
| 25295 |
|
| 25296 |
* commands.y: don't use moduleExp in select command |
| 25297 |
|
| 25298 |
* top.y: deleted tokens '*', '+', TO and KW_LABEL |
| 25299 |
|
| 25300 |
* modules.y: added KW_LS to startKeyword |
| 25301 |
use endTokens rather than moduleExp in import decl syntax |
| 25302 |
deleted moduleExp nonterminal |
| 25303 |
deleted renamingList and renamingItem non terminals |
| 25304 |
|
| 25305 |
* top.y: added decl for token KW_LS |
| 25306 |
added syntax and symnatics for ls command |
| 25307 |
simplified top level syntax, deleting loop and item nonterminals |
| 25308 |
|
| 25309 |
* lexer.flex: added token for ls |
| 25310 |
deleted old prompt stuff |
| 25311 |
|
| 25312 |
* top.y: check for failure and give warning for cd/pushd/popd |
| 25313 |
directives |
| 25314 |
|
| 25315 |
* token.cc (extractMixfix): fixed nasty bug where we were |
| 25316 |
mishandling ` |
| 25317 |
|
| 25318 |
* top.y: added syntax and symnatics for pushd and popd |
| 25319 |
|
| 25320 |
* directoryManager.cc (cd): greatly simplified, making use of |
| 25321 |
realpath()s ability to resolve relative names. |
| 25322 |
(popd): implemented |
| 25323 |
(pushd): implemented |
| 25324 |
|
| 25325 |
* top.y (union): added const char* yyFileName to parser union |
| 25326 |
added token FILE_NAME |
| 25327 |
added syntax and semantics for cd <filename> directive |
| 25328 |
|
| 25329 |
* lexer.flex: IN_MODE now returns file name rather than calling |
| 25330 |
includeFile() - should really be renamed |
| 25331 |
|
| 25332 |
1998-12-20 Steven Eker <[email protected]> |
| 25333 |
|
| 25334 |
* directoryManager.cc (DirectoryManager): use getenv() |
| 25335 |
(cd): implemented using realpath() |
| 25336 |
|
| 25337 |
* lexer.flex: added keywords pwd, pushd, popd, cd |
| 25338 |
|
| 25339 |
* main.hh: added fwd decl for directoryManager |
| 25340 |
|
| 25341 |
* top.y: added token decls for PWD, CD, PUSHD and POPD |
| 25342 |
added syntax and semantics for PWD |
| 25343 |
|
| 25344 |
* modules.y: added PWD, CD, PUSHD and POPD to startKeyword |
| 25345 |
|
| 25346 |
* main.cc: added global directoryManager object |
| 25347 |
|
| 25348 |
* directoryManager.cc: created |
| 25349 |
|
| 25350 |
* directoryManager.hh (class DirectoryManager): created |
| 25351 |
|
| 25352 |
* command.cc (printOpDef): handle assoc, comm, left/right id, |
| 25353 |
idem, strat, memo, prec, gather |
| 25354 |
|
| 25355 |
* mixfixModule.hh (class MixfixModule): deleted MAY_NOT_LEFT_ASSOC |
| 25356 |
and MAY_NOT_RIGHT_ASSOC from enum SymbolFlags |
| 25357 |
(class MixfixModule): updated decls for mayAssoc() and |
| 25358 |
computePrecAndGather() |
| 25359 |
(class MixfixModule): added ATTRIBUTES to enum SymbolFlags |
| 25360 |
|
| 25361 |
* mixfixModule.cc (mayAssoc): now return UNDEFINED if diff |
| 25362 |
components or no sort info |
| 25363 |
(computePrecAndGather): handle special default gathering case in a |
| 25364 |
cleaner more efficient way; and avoid using these special case |
| 25365 |
unless leftmost arg, rightmost arg and range are all in the same |
| 25366 |
component. |
| 25367 |
(computePrecAndGather): take symbol arg |
| 25368 |
(makeSymbolProductions): don't call mayAssoc(); pass symbol to |
| 25369 |
computePrecAndGather() in op case |
| 25370 |
|
| 25371 |
1998-12-19 Steven Eker <[email protected]> |
| 25372 |
|
| 25373 |
* entry.cc (addOpDeclaration): detect and recover from the case |
| 25374 |
where the number of underscores is not equal to the number of arguments |
| 25375 |
(addPolymorph): detect and recover from the case |
| 25376 |
where the number of underscores is not equal to the number of arguments |
| 25377 |
|
| 25378 |
* token.hh (class Token): updated decl for extractMixfix() |
| 25379 |
|
| 25380 |
* token.cc (extractMixfix): now return number of underscores |
| 25381 |
|
| 25382 |
1998-12-18 Steven Eker <[email protected]> |
| 25383 |
|
| 25384 |
* preModule.hh (class PreModule): added decl for printOpDef() |
| 25385 |
|
| 25386 |
* command.cc (showModule): rewritten |
| 25387 |
(printOpDef): added |
| 25388 |
|
| 25389 |
* mixfixModule.hh (getModuleType): added |
| 25390 |
|
| 25391 |
* command.cc (showModule): deleted old stub |
| 25392 |
|
| 25393 |
Fri Dec 18 18:50:43 1998 Steven Eker <[email protected]> |
| 25394 |
|
| 25395 |
* preModule.hh (class PreModule): added decl for showModule() |
| 25396 |
|
| 25397 |
Fri Dec 18 18:49:01 1998 Steven Eker <[email protected]> |
| 25398 |
|
| 25399 |
* preModule.hh (class PreModule): deleted decl for dump() |
| 25400 |
|
| 25401 |
Fri Dec 18 18:48:08 1998 Steven Eker <[email protected]> |
| 25402 |
|
| 25403 |
* command.cc (showModule): added |
| 25404 |
|
| 25405 |
Fri Dec 18 18:46:44 1998 Steven Eker <[email protected]> |
| 25406 |
|
| 25407 |
* preModule.cc (dump): deleted |
| 25408 |
|
| 25409 |
Thu Dec 17 15:31:00 1998 Steven Eker <[email protected]> |
| 25410 |
|
| 25411 |
* mixfixParser.cc (parseSentence): removed previous cq handling code |
| 25412 |
|
| 25413 |
Thu Dec 17 15:29:09 1998 Steven Eker <[email protected]> |
| 25414 |
|
| 25415 |
* mixfixModule.cc (makeStatementProductions): added rule for cq |
| 25416 |
conditional equations |
| 25417 |
|
| 25418 |
Thu Dec 17 15:16:50 1998 Steven Eker <[email protected]> |
| 25419 |
|
| 25420 |
* mixfixModule.cc (mayAssoc): put leq() test arround the correct |
| 25421 |
way |
| 25422 |
|
| 25423 |
===================================Engine45================================================== |
| 25424 |
|
| 25425 |
Wed Dec 16 10:26:10 1998 Steven Eker <[email protected]> |
| 25426 |
|
| 25427 |
* mixfixModule.cc (computePrecAndGather): use MAY_NOT_LEFT_ASSOC |
| 25428 |
and MAY_NOT_RIGHT_ASSOC to do a smarter computation of default |
| 25429 |
gathering |
| 25430 |
(makeSymbolProductions): fix bug where we weren't calling |
| 25431 |
computePrecAndGather() for unary symbols |
| 25432 |
|
| 25433 |
* mixfixModule.hh (class MixfixModule): added decl for mayAssoc() |
| 25434 |
|
| 25435 |
* mixfixModule.cc (makeSymbolProductions): call mayAssoc() and |
| 25436 |
set MAY_NOT_LEFT_ASSOC / MAY_NOT_RIGHT_ASSOC as appropriate for |
| 25437 |
mixfix symbols |
| 25438 |
(mayAssoc): added |
| 25439 |
|
| 25440 |
* mixfixModule.hh (class MixfixModule): added MAY_NOT_LEFT_ASSOC |
| 25441 |
and MAY_NOT_RIGHT_ASSOC to enum SymbolFlags |
| 25442 |
|
| 25443 |
* mixfixParser.cc (parseSentence): change cq to ceq just before |
| 25444 |
giving statement to CFG parser |
| 25445 |
|
| 25446 |
* import.cc (donateOps): fixed bug where in a var was declared |
| 25447 |
twice in an imported module we would import it twice since first |
| 25448 |
importing is invisible. |
| 25449 |
|
| 25450 |
* lexerAux.cc (handleEof): need to restore old buffer from stack, |
| 25451 |
even if we're about to read a pending file so that inputFile() has |
| 25452 |
something to stack |
| 25453 |
|
| 25454 |
* lexerAux.hh (eatComment): updated includeFile() decl |
| 25455 |
|
| 25456 |
* main.cc (main): support pending files |
| 25457 |
|
| 25458 |
* lexerAux.cc (handleEof): support pending file idea |
| 25459 |
(includeFile): return a bool to say if we included file ok |
| 25460 |
(cleanUpLexer): avoid reading anymore pending files after we're called |
| 25461 |
|
| 25462 |
* main.cc (main): use setHandlers() |
| 25463 |
|
| 25464 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 25465 |
replace decl for initialize() with that for setHandlers() |
| 25466 |
|
| 25467 |
* interact.cc (initialize): now take handleCtrlC flag instead of |
| 25468 |
interactive flag; assume interactive flag is correctly set before entry |
| 25469 |
(initialize): changed to setHandlers() |
| 25470 |
|
| 25471 |
* main.cc (main): handle command line file as an inclusion |
| 25472 |
(main): changed calculation of whether to handle ctrl-C |
| 25473 |
|
| 25474 |
* lexerAux.cc (createRootBuffer): call |
| 25475 |
UserLevelRewritingContext::setInteractive() |
| 25476 |
|
| 25477 |
Tue Dec 15 11:08:08 1998 Steven Eker <[email protected]> |
| 25478 |
|
| 25479 |
* lexerAux.hh: includeFile() decl |
| 25480 |
|
| 25481 |
* lexerAux.cc (includeFile): arg is now const char* |
| 25482 |
|
| 25483 |
* main.cc (findPrelude): added |
| 25484 |
(main): use find prelude |
| 25485 |
|
| 25486 |
* mixfixModule.cc (findSymbol): support assoc symbols with args > |
| 25487 |
2 (i.e. in flattened form) |
| 25488 |
|
| 25489 |
* metaFastUp.cc (fastUpTerm): (Term* version) added hack to handle |
| 25490 |
metaDisambigSymbol for MACHINE_INTEGERs |
| 25491 |
(fastUpTerm): (DagNode* version) added hacks to handle |
| 25492 |
metaDisambigSymbol for MACHINE_INTEGERs and QUOTED_IDENTIFIERs |
| 25493 |
|
| 25494 |
Mon Dec 14 10:27:18 1998 Steven Eker <[email protected]> |
| 25495 |
|
| 25496 |
* metaDown.cc (downModule): call locateSpecialReps() |
| 25497 |
(downTerm): rearranged so we look for machine ints and qid first |
| 25498 |
|
| 25499 |
* metaModule.hh (class MetaModule): added decl for |
| 25500 |
locateSpecialReps() |
| 25501 |
|
| 25502 |
* metaModule.cc (locateSpecialReps): added |
| 25503 |
(addComplexSymbol): (non-polymorph version) don't keep track of |
| 25504 |
machine int and quoted identifiers anymore; this is now the job of |
| 25505 |
locateSpecialReps() |
| 25506 |
|
| 25507 |
* metaModule.hh (class MetaModule): data members |
| 25508 |
machineIntegerSymbols and quotedIdentifierSymbols become |
| 25509 |
PointerMaps |
| 25510 |
(findMachineIntegerSymbol): moved here; made inline; rewritten |
| 25511 |
using pointer map |
| 25512 |
(findQuotedIdentifierSymbol): moved here; made inline; rewritten |
| 25513 |
using pointer map |
| 25514 |
|
| 25515 |
Sun Dec 13 16:47:11 1998 Steven Eker <[email protected]> |
| 25516 |
|
| 25517 |
* mixfixModule.cc (findSymbol): can't use range component to |
| 25518 |
generate polymorph since at metalevel we won't know this; use |
| 25519 |
domainComponents[1] in BRANCH_SYMBOL case |
| 25520 |
|
| 25521 |
* metaDown.cc (downModule): rewritten to handle imports |
| 25522 |
|
| 25523 |
* metaModule.hh (addImport): added |
| 25524 |
|
| 25525 |
* preModule.hh (class PreModule): made importation functions |
| 25526 |
public; the whole area of module classes needs to be cleaned up |
| 25527 |
when we have the time. |
| 25528 |
|
| 25529 |
* metaModule.cc (importStatements): added |
| 25530 |
(fixUpImportedOps): added |
| 25531 |
(importOps): added |
| 25532 |
(importSorts): added |
| 25533 |
(resetImports): added |
| 25534 |
|
| 25535 |
* metaModule.hh (class MetaModule): added data member |
| 25536 |
importedModules (should really combine common parts of this class |
| 25537 |
with PreModule sometime/somehow) |
| 25538 |
|
| 25539 |
* preModule.hh (class PreModule): added decl for findModule() |
| 25540 |
|
| 25541 |
* import.cc (findModule): added |
| 25542 |
|
| 25543 |
* metaDown.cc (downImports): handle lists of imports |
| 25544 |
(downImport): added |
| 25545 |
|
| 25546 |
* metaLevelSignature.cc (MACRO): added call for includingSymbol |
| 25547 |
(MACRO): added call for importListSymbol |
| 25548 |
|
| 25549 |
* metaLevel.cc (MetaLevel): clear all symbol pointers on creation |
| 25550 |
|
| 25551 |
Fri Dec 11 10:08:33 1998 Steven Eker <[email protected]> |
| 25552 |
|
| 25553 |
* preModule.hh (class PreModule): added decl for setInclude() |
| 25554 |
|
| 25555 |
* import.cc (setInclude): added |
| 25556 |
|
| 25557 |
* lexer.flex: deleted BOOL/bool keywords |
| 25558 |
|
| 25559 |
* top.y: deleted decl for KW_BOOL |
| 25560 |
|
| 25561 |
* commands.y: generalize set include BOOL on/off syntax to set |
| 25562 |
include <module> on/off syntax |
| 25563 |
|
| 25564 |
* import.cc (processImports): handle default imports |
| 25565 |
|
| 25566 |
* preModule.hh (class PreModule): added static data member defaultImports |
| 25567 |
|
| 25568 |
* metaLevel.cc (MetaLevel): fixed bug where we setting trueTerm |
| 25569 |
twice rather than setting falseTerm |
| 25570 |
|
| 25571 |
* mixfixModule.cc (createSortTest): deleted |
| 25572 |
|
| 25573 |
* mixfixModule.hh (class MixfixModule): CREATE_SORT_TEST -> |
| 25574 |
MAKE_SORT_TEST in enum Actions |
| 25575 |
(class MixfixModule): deleted decl for |
| 25576 |
|
| 25577 |
* mixfixModule.cc (makeBoolProductions): CREATE_SORT_TEST -> |
| 25578 |
MAKE_SORT_TEST (2 places) |
| 25579 |
|
| 25580 |
* mixfixParser.cc (makeTerm): use instantiateSortTest() rather |
| 25581 |
than createSortTest() |
| 25582 |
(makeTerm): CREATE_SORT_TEST -> MAKE_SORT_TEST |
| 25583 |
|
| 25584 |
* metaDown.cc (downTerm): use instantiateSortTest() rather than |
| 25585 |
createSortTest() |
| 25586 |
|
| 25587 |
* mixfixModule.hh (class MixfixModule): deleted decls for |
| 25588 |
insertPolymorph() and makePolymorph() |
| 25589 |
|
| 25590 |
* mixfixModule.cc (makePolymorph): deleted |
| 25591 |
|
| 25592 |
* mixfixParser.cc (makeTerm): use instantiatePolymorph() instead |
| 25593 |
of makePolymorph() |
| 25594 |
(makeTerm): reorganized the polymorph case code |
| 25595 |
|
| 25596 |
* entry.cc (addOpDeclaration): changed test for different flags so |
| 25597 |
we ignore overloaded flags |
| 25598 |
|
| 25599 |
* import.cc (fixUpDonatedOps): remember to translate sort as well |
| 25600 |
as sort test symbol! |
| 25601 |
|
| 25602 |
* mixfixModule.hh (class MixfixModule): added decl for instantiateSortTest() |
| 25603 |
|
| 25604 |
* entry.cc (addOpDeclaration): added more detailed error meesage |
| 25605 |
for incompatable overloading |
| 25606 |
|
| 25607 |
* mixfixModule.cc (instantiateSortTest): added |
| 25608 |
|
| 25609 |
* import.cc (fixUpDonatedOps): first crude attempt at creating |
| 25610 |
sort test ops that will be needed for importing equations etc |
| 25611 |
(fixUpDonatedOps): pass flags to findSymbol() |
| 25612 |
|
| 25613 |
* main.cc (main): check for multiple files on command line |
| 25614 |
|
| 25615 |
* lexerAux.cc (includeFile): removed yesterdays hack |
| 25616 |
|
| 25617 |
* main.cc (main): use createRootBuffer(); don't access yyin |
| 25618 |
|
| 25619 |
* lexerAux.cc (createRootBuffer): added |
| 25620 |
|
| 25621 |
Thu Dec 10 13:17:41 1998 Steven Eker <[email protected]> |
| 25622 |
|
| 25623 |
* lexerAux.cc (includeFile): added hack so that we can call this |
| 25624 |
before calling yylex() |
| 25625 |
|
| 25626 |
* main.cc (main): read in preamble before processing users commands |
| 25627 |
|
| 25628 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 25629 |
instantiatePolymorph() |
| 25630 |
|
| 25631 |
* mixfixModule.cc (instantiatePolymorph): added |
| 25632 |
(findSymbol): handle polymorphs using instantiatePolymorph() |
| 25633 |
|
| 25634 |
* import.cc (fixUpDonatedOps): make instatiations of polymorphs in |
| 25635 |
importer for those taht already exist in our flat module so that |
| 25636 |
our equations etc that use those instantiations can be translated |
| 25637 |
|
| 25638 |
* mixfixModule.cc (makePolymorph): pass extra component arg to |
| 25639 |
ctors for BranchSymbol() and EqualitySymbol() |
| 25640 |
|
| 25641 |
* preModule.cc (process): set firstOnTheFlySymbol |
| 25642 |
|
| 25643 |
* preModule.hh (class PreModule): added data member firstOnTheFlySymbol |
| 25644 |
|
| 25645 |
* symbolTranslation.hh (translationExists): added |
| 25646 |
|
| 25647 |
Wed Dec 9 09:53:59 1998 Steven Eker <[email protected]> |
| 25648 |
|
| 25649 |
* mixfixModule.hh (class MixfixModule): added decl for copyFixUpPolymorph() |
| 25650 |
|
| 25651 |
* mixfixModule.cc (copyFixUpPolymorph): added |
| 25652 |
|
| 25653 |
* import.cc (fixUpDonatedOps): use copyFixUpPolymorph() to fixup |
| 25654 |
imported polymorphs |
| 25655 |
|
| 25656 |
* mixfixModule.hh (class MixfixModule): updated decl for addPolymorph() |
| 25657 |
|
| 25658 |
* metaDown.cc (downOpDecl): pass Token as first arg of |
| 25659 |
addPolymorph() |
| 25660 |
|
| 25661 |
* entry.cc (addPolymorph): take Token as first arg |
| 25662 |
|
| 25663 |
* process.cc (processOps): pass Token as fisrt arg of |
| 25664 |
addPolymorph() |
| 25665 |
|
| 25666 |
* import.cc (donateOps): first crude attempt at handling |
| 25667 |
polymorphs |
| 25668 |
|
| 25669 |
* metaDown.cc (downOpDecl): use new tokenize() |
| 25670 |
(downVarDecl): use new tokenize() |
| 25671 |
|
| 25672 |
* token.hh (tokenize): added 2nd version |
| 25673 |
|
| 25674 |
* mixfixModule.hh (class MixfixModule): update decl for |
| 25675 |
addOpDeclaration() |
| 25676 |
|
| 25677 |
* entry.cc (addOpDeclaration): set line number for created symbol; |
| 25678 |
take first arg as a Token rather than as an int |
| 25679 |
|
| 25680 |
* token.hh (makePrefixName): added |
| 25681 |
|
| 25682 |
* preModule.cc (dump): use prefixName rather than |
| 25683 |
prefixNameCode (two places) |
| 25684 |
|
| 25685 |
* import.cc (donateOps): use prefixName rather than |
| 25686 |
prefixNameCode (two places) |
| 25687 |
|
| 25688 |
* process.cc (processOps): use prefixName rather than |
| 25689 |
prefixNameCode (two places) |
| 25690 |
|
| 25691 |
* ops.cc (addVarDecl): set prefixName rather than prefixNameCode |
| 25692 |
(addOpDecl): set prefixName rather than prefixNameCode; use |
| 25693 |
makePrefixName() |
| 25694 |
|
| 25695 |
* preModule.hh (class PreModule): Token prefixName replaces int |
| 25696 |
prefixNameCode in struct OpDecl |
| 25697 |
|
| 25698 |
* preModule.cc (fixUpSymbols): (LOOP_SYMBOL section) updated cast |
| 25699 |
on qidListSymbol; fixed bad cast on nilQidListSymbol |
| 25700 |
|
| 25701 |
* loopSymbol.cc (fixUp): 3 arg now AU_Symbol* |
| 25702 |
|
| 25703 |
* loopSymbol.hh (class LoopSymbol): data member qidListSymbol |
| 25704 |
becomes an AU_Symbol*; added decl for copyFixUp() |
| 25705 |
(class LoopSymbol): updated decl for fixUp() |
| 25706 |
|
| 25707 |
* loopSymbol.cc (copyFixUp): added |
| 25708 |
|
| 25709 |
* import.cc (fixUpDonatedOps): handle LOOP_SYMBOLs using |
| 25710 |
LoopSymbol::copyFixUp() |
| 25711 |
|
| 25712 |
Tue Dec 8 10:35:21 1998 Steven Eker <[email protected]> |
| 25713 |
|
| 25714 |
* import.cc (fixUpDonatedOps): handle META_LEVEL_OP_SYMBOLs using |
| 25715 |
MetaLevelOpSymbol::copyFixUp() |
| 25716 |
|
| 25717 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decl for |
| 25718 |
copyFixUp() |
| 25719 |
|
| 25720 |
* metaLevelOpSymbol.cc (copyFixUp): added, using new MetaLevel ctor |
| 25721 |
|
| 25722 |
* metaLevel.hh (class MetaLevel): added decl for new ctor |
| 25723 |
|
| 25724 |
* metaLevel.cc (bind): rewritten using macro expansion to generate |
| 25725 |
the huge branching code fragment |
| 25726 |
(MetaLevel): new ctor, using macro expansion to copy and translate |
| 25727 |
an original MetaLevel object |
| 25728 |
|
| 25729 |
* metaLevelSignature.cc: created |
| 25730 |
|
| 25731 |
* metaLevel.hh (class MetaLevel): replace long list of data member |
| 25732 |
decls with macro expansion version |
| 25733 |
|
| 25734 |
* mixfixModule.hh (class MixfixModule): added SYMBOL_TYPE to enum |
| 25735 |
SymbolFlags |
| 25736 |
|
| 25737 |
* import.cc (fixUpDonatedOps): use OPS_FIXED_UP |
| 25738 |
(fixUpDonatedOps): simplified using MachineIntegerOpSymbol::copyFixUp() |
| 25739 |
(fixUpDonatedOps): simplified QuotedIdentifierOpSymbol case |
| 25740 |
|
| 25741 |
* preModule.hh (class PreModule): added OPS_FIXED_UP to enum Phase |
| 25742 |
|
| 25743 |
Mon Dec 7 10:31:50 1998 Steven Eker <[email protected]> |
| 25744 |
|
| 25745 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 25746 |
added decl for copyFixUp() |
| 25747 |
|
| 25748 |
* quotedIdentifierOpSymbol.cc (copyFixUp): added |
| 25749 |
|
| 25750 |
* import.cc (fixUpDonatedOps): handle MACHINE_INTEGER_OPs |
| 25751 |
(fixUpDonatedOps): handle QUOTED_IDENTIFIER_OPs |
| 25752 |
|
| 25753 |
* mixfixParser.cc (parseTerm): put \n before -versus- |
| 25754 |
|
| 25755 |
* entry.cc (addOpDeclaration): check for variable overloading and |
| 25756 |
overloading with incompatable flags |
| 25757 |
|
| 25758 |
Sun Dec 6 18:52:51 1998 Steven Eker <[email protected]> |
| 25759 |
|
| 25760 |
* preModule.cc (process): call fixUpImportedOps() |
| 25761 |
|
| 25762 |
* preModule.hh (class PreModule): added op decls for |
| 25763 |
fixUpImportedOps() and fixUpDonatedOps() |
| 25764 |
|
| 25765 |
* import.cc (donateOps): set opDecl.importSymbol if we are the |
| 25766 |
importOriginator; could try setting this to zero if not and avoid |
| 25767 |
the need for the importOriginator flag; but this might cause a |
| 25768 |
problem with polymorphs later on |
| 25769 |
(fixUpImportedOps): added |
| 25770 |
(fixUpDonatedOps): added |
| 25771 |
|
| 25772 |
* preModule.hh (class PreModule): added importOriginator field to |
| 25773 |
struct OpDecl; the idea is we set this during an import of this |
| 25774 |
PreModule to know if we have responsibility for fixing up this |
| 25775 |
particular symbol |
| 25776 |
(class PreModule): added fields importSymbol and |
| 25777 |
importPolymorphIndex to struct OpDecl |
| 25778 |
|
| 25779 |
Sat Dec 5 17:23:31 1998 Steven Eker <[email protected]> |
| 25780 |
|
| 25781 |
* metaLevelOpSymbol.cc (metaApply): added hack to make sure all |
| 25782 |
dagNodes in substitution have sorts (they might be identities or |
| 25783 |
pulled out from under lazy function symbols). |
| 25784 |
|
| 25785 |
Fri Dec 4 11:07:21 1998 Steven Eker <[email protected]> |
| 25786 |
|
| 25787 |
* preModule.cc (dump): use MixfixModule:: qualification on enums |
| 25788 |
|
| 25789 |
* mixfixModule.hh (class MixfixModule): enum Precedence made public |
| 25790 |
|
| 25791 |
* preModule.cc (fixUpSymbols): use MixfixModule:: qualification on enums |
| 25792 |
(fixUpSymbols): use flatModule 11 |
| 25793 |
(dump): use flatModule |
| 25794 |
|
| 25795 |
* ops.cc (addVarDecl): use MixfixModule:: qualification on enums |
| 25796 |
(setPrec): use MixfixModule:: qualification on enums |
| 25797 |
(setGather): use MixfixModule:: qualification on enums |
| 25798 |
(setStrat): use MixfixModule:: qualification on enums |
| 25799 |
(addHook): use MixfixModule:: qualification on enums |
| 25800 |
|
| 25801 |
* command.cc (parse): use flatModule |
| 25802 |
(reduce): use flatModule (3 places) |
| 25803 |
(rewrite): use flatModule (3 places) |
| 25804 |
(cont): use flatModule |
| 25805 |
(loop): use flatModule (3 places) |
| 25806 |
(contLoop): qualify LOOP_SYMBOL |
| 25807 |
(contLoop): use flatModule (3 places) |
| 25808 |
(match): use flatModule (3 places) |
| 25809 |
(loop): qualify LOOP_SYMBOL |
| 25810 |
|
| 25811 |
* preModule.cc (findHookSymbol): use flatModule (2 more places) |
| 25812 |
|
| 25813 |
* process.cc (processSorts): use flatModule (2 places) |
| 25814 |
(processSorts): use MixfixModule:: qualification on enums |
| 25815 |
(getSort): use flatModule (2 places) |
| 25816 |
(processOps): use MixfixModule:: qualification on enums |
| 25817 |
(processOps): use flatModule (3 places) |
| 25818 |
(processStatements): use flatModule |
| 25819 |
|
| 25820 |
* import.cc (importOps): use flatModule |
| 25821 |
(importStatements): use flatModule |
| 25822 |
(donateStatements): use flatModule (3 places) |
| 25823 |
(donateOps): use flatModule (2 places) |
| 25824 |
(donateSorts): use flatModule |
| 25825 |
(donateOps): use MixfixModule:: qualification on enums |
| 25826 |
(importSorts): use flatModule |
| 25827 |
|
| 25828 |
* preModule.cc (PreModule): set flatModule = new MixfixModule; |
| 25829 |
this is a temporary hack; once we have lazy updating we should do |
| 25830 |
something else |
| 25831 |
(~PreModule): delete flatModule |
| 25832 |
(PreModule): don't initialize our now non-existant base |
| 25833 |
(findHookSymbol): use flatModule |
| 25834 |
(process): use flatModule (11 places) |
| 25835 |
|
| 25836 |
* modules.y: qualify attribute enums with MixfixModule rather than |
| 25837 |
PreModule |
| 25838 |
|
| 25839 |
* bottom.y (cleanUpParser): use getFlatModule() |
| 25840 |
|
| 25841 |
* commands.y: use getFlatModule() in all show commands that are |
| 25842 |
actually implemented in class MixfixModule |
| 25843 |
|
| 25844 |
* preModule.hh (class PreModule): no longer derived from |
| 25845 |
MixfixModule |
| 25846 |
(class PreModule): added data member flat module |
| 25847 |
(getFlatModule): added |
| 25848 |
|
| 25849 |
Thu Dec 3 17:09:15 1998 Steven Eker <[email protected]> |
| 25850 |
|
| 25851 |
* interact.cc (initialize): ignore interval timer signals in order |
| 25852 |
to allow for very long runs |
| 25853 |
|
| 25854 |
* main.hh: deleted currentModule decl |
| 25855 |
|
| 25856 |
* top.y: currentModule var def moved here |
| 25857 |
|
| 25858 |
* main.cc (main): recognize -batch flag; issue warning rather |
| 25859 |
than error for unrecognized flag; get interactive flag correct |
| 25860 |
|
| 25861 |
Wed Dec 2 10:32:38 1998 Steven Eker <[email protected]> |
| 25862 |
|
| 25863 |
* top.y: added decls for cTokenBarMatchLeqNumber and |
| 25864 |
cTokenBarMatchLeqRight |
| 25865 |
|
| 25866 |
* commands.y: moduleAndTerm2 -> mModuleAndTerm |
| 25867 |
inEnd2 -> mInEnd |
| 25868 |
added mNumberModuleTerm, mNumberModuleTerm1 and mNumberModuleTerm2 |
| 25869 |
added cTokenBarMatchLeqNumber and cTokenBarMatchLeqRight |
| 25870 |
modified match syntax to handle [<number>] |
| 25871 |
|
| 25872 |
* preModule.hh (class PreModule): added decl for match() |
| 25873 |
|
| 25874 |
* command.cc (match): added |
| 25875 |
|
| 25876 |
* commands.y: deleted inExp and nonInTerm |
| 25877 |
use moduleAndTerm2 in match command syntax |
| 25878 |
added match; use in place of MATCH |
| 25879 |
|
| 25880 |
* top.y: added decl for cTokenBarMatchLeqColon |
| 25881 |
|
| 25882 |
* commands.y: added moduleAndTerm2 and inEnd2 |
| 25883 |
added cTokenBarMatchLeqColon and cTokensBarMatchLeqColon |
| 25884 |
|
| 25885 |
Tue Dec 1 12:07:34 1998 Steven Eker <[email protected]> |
| 25886 |
|
| 25887 |
* commands.y: use cTokens rather than tokens in "(" <tokens> ")"; |
| 25888 |
parse this in command mode |
| 25889 |
|
| 25890 |
* top.y: added decl for cSimpleTokenBarDot |
| 25891 |
|
| 25892 |
* commands.y: added cSimpleTokenBarDot, use this in place of |
| 25893 |
tokenBarDot in cSimpleOpName |
| 25894 |
|
| 25895 |
* top.y: ctoken -> cToken |
| 25896 |
cTokenBarNumber -> cTokenBarDotNumber |
| 25897 |
cTokenBarRight -> cTokenBarDotRight |
| 25898 |
|
| 25899 |
* commands.y: allow cTokenBarIn to take '.' |
| 25900 |
hacked inEnd to disallow empty term in the "in module" case (for |
| 25901 |
consistancy) |
| 25902 |
revert to using moduleAndTerm for parse and reduce commands |
| 25903 |
allow cTokenBarLeftIn to take '.' |
| 25904 |
cTokenBarNumber -> cTokenBarDotNumber |
| 25905 |
cTokenBarRight -> cTokenBarDotRight |
| 25906 |
nrModuleTerm* replaced by numberModuleTerm* which handle things |
| 25907 |
like rew [ . and rew [42 . in a consistant way |
| 25908 |
use ctokens rather than tokens in cSimpleOpName |
| 25909 |
ctokens -> cTokens |
| 25910 |
ctoken -> cToken |
| 25911 |
|
| 25912 |
* top.y: cTokenBarColon -> cTokenBarDotColon |
| 25913 |
|
| 25914 |
* commands.y: cTokenBarColon -> cTokenBarDotColon |
| 25915 |
cTokensBarColon -> cTokensBarDotColon |
| 25916 |
|
| 25917 |
* top.y: added decls for select, optDebug and optNumber |
| 25918 |
|
| 25919 |
* commands.y: debug -> optDebug |
| 25920 |
fused both continue productions |
| 25921 |
added optNumber |
| 25922 |
fused trace select and trace deselect commands |
| 25923 |
added select non-terminal |
| 25924 |
opNamesList2 -> cOpNameList |
| 25925 |
simpleNameList2 -> cSimpleNameList |
| 25926 |
|
| 25927 |
===================================Engine44================================================== |
| 25928 |
|
| 25929 |
Mon Nov 30 16:52:02 1998 Steven Eker <[email protected]> |
| 25930 |
|
| 25931 |
* command.cc (rewrite): don't print result or set saved dag if |
| 25932 |
aborting |
| 25933 |
|
| 25934 |
* lexerAux.cc (includeFile): use IssueWarning() rather than |
| 25935 |
ErrorCheck() to handle errors |
| 25936 |
|
| 25937 |
Wed Nov 25 08:58:32 1998 Steven Eker <[email protected]> |
| 25938 |
|
| 25939 |
* mixfixModule.cc (makeComponentProductions): nasty little hack |
| 25940 |
for Paco - we don't add production <TERM> ::= <FooTerm> if Foo is |
| 25941 |
a bubble component |
| 25942 |
|
| 25943 |
* quotedIdentifierOpSymbol.cc (eqRewrite): use traceAbort() |
| 25944 |
|
| 25945 |
* metaLevelOpSymbol.cc (metaSortLeq): return the value of |
| 25946 |
builtInReplace() since we now have to deal with abort |
| 25947 |
(metaSameComponent): ditto |
| 25948 |
(metaLeastSort): ditto |
| 25949 |
(metaLesserSorts): ditto |
| 25950 |
(metaGlbSorts): ditto |
| 25951 |
(metaParse): ditto |
| 25952 |
(errorRewrite): ditto |
| 25953 |
(errorRewrite2): ditto |
| 25954 |
(metaReduce): reorg to handle abort correctly; use |
| 25955 |
UserLevelRewritingContext::META_EVAL |
| 25956 |
(metaRewrite): ditto |
| 25957 |
(metaApply): ditto, but much more complicated - may want to |
| 25958 |
simplify at some point |
| 25959 |
|
| 25960 |
* command.cc (reduce): only print result if we didn't abort |
| 25961 |
|
| 25962 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 25963 |
added decl for traceAbort() |
| 25964 |
|
| 25965 |
* userLevelRewritingContext.cc (tracePostEqRewrite): stripped |
| 25966 |
abortFlag handling code since this should now no longer be called |
| 25967 |
if abortFlag set; added Assert() to check this property; not quit |
| 25968 |
true; may be called after tracePreEqRewrite() thats sets abort |
| 25969 |
flag; Assert moved inside if stmt |
| 25970 |
|
| 25971 |
* interact.cc (traceAbort): added |
| 25972 |
|
| 25973 |
* userLevelRewritingContext.hh (clearDebug): clear abortFlag |
| 25974 |
|
| 25975 |
* interact.cc (handleDebug): handle abortFlag; decremeted |
| 25976 |
debugLevel before going into abort mode |
| 25977 |
|
| 25978 |
* userLevelRewritingContext.cc (tracePostEqRewrite): first attempt |
| 25979 |
at recognizing abortFlag |
| 25980 |
|
| 25981 |
* trial.cc: created to hold all trial code from |
| 25982 |
userLevelRewritingContext.cc |
| 25983 |
|
| 25984 |
* preModule.hh (class PreModule): updated cont() decl |
| 25985 |
|
| 25986 |
* commands.y: added syntax and semantics for debug cont command |
| 25987 |
|
| 25988 |
* command.cc (cont): call UserLevelRewritingContext::setDebug() |
| 25989 |
if debug arg true and UserLevelRewritingContext::clearDebug() at |
| 25990 |
the end anyway |
| 25991 |
|
| 25992 |
Tue Nov 24 14:57:44 1998 Steven Eker <[email protected]> |
| 25993 |
|
| 25994 |
* command.cc (rewrite): call UserLevelRewritingContext::setDebug() |
| 25995 |
if debug arg true and UserLevelRewritingContext::clearDebug() at |
| 25996 |
the end anyway |
| 25997 |
|
| 25998 |
* preModule.hh (class PreModule): updated rewrite() decl |
| 25999 |
|
| 26000 |
* commands.y: added syntax and semantics for debug rewrite |
| 26001 |
|
| 26002 |
* userLevelRewritingContext.hh (setTraceFlag): added |
| 26003 |
|
| 26004 |
* commands.y: use UserLevelRewritingContext::setTraceFlag() |
| 26005 |
instead of RewritingContext::setTraceStatus() |
| 26006 |
|
| 26007 |
* top.y: move empty case from item to top |
| 26008 |
added loop nonterminal so we can treat the empty case specially |
| 26009 |
|
| 26010 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 26011 |
added decl for displayPrompt() |
| 26012 |
|
| 26013 |
* interact.cc (setInteractive): call display prompt if we changed |
| 26014 |
from non-interactive to interactive and we didn't see a ctrl-C |
| 26015 |
(displayPrompt): added |
| 26016 |
(commandLoop): use displayPrompt() |
| 26017 |
|
| 26018 |
* userLevelRewritingContext.hh (setInteractive): moved to interact.cc |
| 26019 |
|
| 26020 |
* top.y: now have recursive top def; do YYACCEPT more selectively; |
| 26021 |
in particular do not do an YYACCEPT immediatly after recognizing |
| 26022 |
"in" since we don't want a spurious prompt; or after we |
| 26023 |
successfully handle an "eof" |
| 26024 |
|
| 26025 |
Mon Nov 23 11:08:39 1998 Steven Eker <[email protected]> |
| 26026 |
|
| 26027 |
* mixfixModule.cc (findSymbol): temp hack to find bug |
| 26028 |
|
| 26029 |
* userLevelRewritingContext.hh (setDebug): added |
| 26030 |
(clearDebug): added |
| 26031 |
(class UserLevelRewritingContext): added decls for setDebug() and |
| 26032 |
clearDebug() |
| 26033 |
|
| 26034 |
* preModule.hh (class PreModule): updated decl for reduce() |
| 26035 |
|
| 26036 |
* command.cc (reduce): call UserLevelRewritingContext::setDebug() |
| 26037 |
if debug arg true and UserLevelRewritingContext::clearDebug() at |
| 26038 |
the end anyway |
| 26039 |
|
| 26040 |
* lexer.flex: added keyword debug |
| 26041 |
|
| 26042 |
* top.y: added debug non terminal decl and token KW_DEBUG |
| 26043 |
|
| 26044 |
* commands.y: added debug non terminal; added "debug reduce" |
| 26045 |
command |
| 26046 |
|
| 26047 |
* interact.cc (commandLoop): restore trace status after handling |
| 26048 |
ctrl-C interrupt |
| 26049 |
|
| 26050 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 26051 |
added static data members stepFlag and abortFlag; deleted static |
| 26052 |
data member parseResult |
| 26053 |
|
| 26054 |
* interact.cc (handleDebug): rewritten using stepFlag and abortFlag |
| 26055 |
|
| 26056 |
Sat Nov 21 12:29:23 1998 Steven Eker <[email protected]> |
| 26057 |
|
| 26058 |
* top.y: set parseResult to QUIT for empty command |
| 26059 |
|
| 26060 |
* main.cc (main): update call to commandLoop() |
| 26061 |
|
| 26062 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 26063 |
updated commandLoop() decl |
| 26064 |
|
| 26065 |
* interact.cc (commandLoop): use new yyparse() convention; return parseResult |
| 26066 |
(handleDebug): use new commandLoop() convention |
| 26067 |
|
| 26068 |
* userLevelRewritingContext.hh (setParseResult): deleted |
| 26069 |
(class UserLevelRewritingContext): deleted static data member |
| 26070 |
parseResult |
| 26071 |
|
| 26072 |
* commands.y: use PARSER_RESULT macro rather than |
| 26073 |
UserLevelRewritingContext::setParseResult() to avoid reentrancy |
| 26074 |
problem |
| 26075 |
|
| 26076 |
* top.y: added back non-terminal "item"; now do a YYACCEPT; after |
| 26077 |
each item to avoid hanging on look-a-head |
| 26078 |
use YYPARSE_PARAM to avoid reentrancy problem |
| 26079 |
|
| 26080 |
Fri Nov 20 11:44:35 1998 Steven Eker <[email protected]> |
| 26081 |
|
| 26082 |
* main.cc (main): use MixfixModule::setPrintMixfix(false) |
| 26083 |
|
| 26084 |
* lexer.flex: use UserLevelRewritingContext::interrupted(), QUIT |
| 26085 |
-> KW_QUIT |
| 26086 |
|
| 26087 |
* bottom.y (yyerror): use UserLevelRewritingContext::interrupted() |
| 26088 |
|
| 26089 |
* commands.y (command): debugging commands rewritten using |
| 26090 |
UserLevelRewritingContext::setParseResult() |
| 26091 |
|
| 26092 |
* top.y (directive): rewritten using |
| 26093 |
UserLevelRewritingContext::setParseResult() |
| 26094 |
|
| 26095 |
* userLevelRewritingContext.hh (setParseResult): added |
| 26096 |
|
| 26097 |
* top.y: don't touch prompt global variable; top is no longer a |
| 26098 |
recursive list of items |
| 26099 |
deleted non-terminal "item" |
| 26100 |
token QUIT -> KW_QUIT |
| 26101 |
|
| 26102 |
* main.hh: deleted decls for ctrlC_Interrupt and prompt global |
| 26103 |
variables |
| 26104 |
|
| 26105 |
* main.cc (main): call UserLevelRewritingContext::initialize() |
| 26106 |
(interruptHandler): deleted |
| 26107 |
(setSignalHandlers): deleted |
| 26108 |
deleted ctrlC_Interrupt global variable |
| 26109 |
(main): don't call setSignalHandlers() |
| 26110 |
|
| 26111 |
* userLevelRewritingContext.hh (setInteractive): added |
| 26112 |
|
| 26113 |
* lexerAux.cc (getInput): use UserLevelRewritingContext::interrupted() |
| 26114 |
(cleanUpLexer): call UserLevelRewritingContext::setInteractive() |
| 26115 |
(includeFile): call UserLevelRewritingContext::setInteractive() |
| 26116 |
(handleEof): call UserLevelRewritingContext::setInteractive() |
| 26117 |
deleted global variable "interactive" |
| 26118 |
|
| 26119 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 26120 |
deleted static data members debugMode, savedTraceStatus, debugStatus |
| 26121 |
(class UserLevelRewritingContext): added static data members |
| 26122 |
interactiveFlag, traceFlag, debugLevel and parseResult |
| 26123 |
(class UserLevelRewritingContext): enum ParseResult replaces enum |
| 26124 |
DebugCommand |
| 26125 |
(class UserLevelRewritingContext): deleted decls for |
| 26126 |
handleCtrlC(), clearCtrlC(), debugCommand(), printPrompt() |
| 26127 |
(class UserLevelRewritingContext): added decls for |
| 26128 |
interruptHandler(), initialize() |
| 26129 |
(interrupted): added |
| 26130 |
|
| 26131 |
Thu Nov 19 15:42:33 1998 Steven Eker <[email protected]> |
| 26132 |
|
| 26133 |
* interact.cc: created by splitting off user interaction code from |
| 26134 |
userLevelRewritingContext.cc |
| 26135 |
(clearCtrlC): deleted |
| 26136 |
(handleCtrlC): deleted |
| 26137 |
(commandLoop): rewritten |
| 26138 |
(handleDebug): rewritten |
| 26139 |
(printPrompt): deleted |
| 26140 |
(debugCommand): deleted |
| 26141 |
(initialize): added |
| 26142 |
(interruptHandler): added |
| 26143 |
|
| 26144 |
Wed Nov 18 11:47:25 1998 Steven Eker <[email protected]> |
| 26145 |
|
| 26146 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 26147 |
added WHERE to enum DebugCommand |
| 26148 |
|
| 26149 |
* lexer.flex: added keyword where |
| 26150 |
|
| 26151 |
* commands.y: added syntax for where command |
| 26152 |
|
| 26153 |
* top.y: added token KW_WHERE |
| 26154 |
|
| 26155 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 26156 |
added decl for where() |
| 26157 |
|
| 26158 |
* userLevelRewritingContext.cc (where): added |
| 26159 |
|
| 26160 |
* lexerAux.cc (getInput): call printPrompt() |
| 26161 |
|
| 26162 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 26163 |
added decl for printPrompt() |
| 26164 |
|
| 26165 |
* userLevelRewritingContext.cc (debugCommand): added |
| 26166 |
(printPrompt): added |
| 26167 |
|
| 26168 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 26169 |
added DebugCommand |
| 26170 |
(class UserLevelRewritingContext): added decl for debugCommand() |
| 26171 |
and static data member debugStatus |
| 26172 |
|
| 26173 |
* lexer.flex: added keyword resume, abort and step |
| 26174 |
|
| 26175 |
* commands.y: added syntax and actions for resume, abort and step |
| 26176 |
|
| 26177 |
* top.y: added tokens for resume, abort and step |
| 26178 |
|
| 26179 |
Mon Nov 16 10:39:06 1998 Steven Eker <[email protected]> |
| 26180 |
|
| 26181 |
* lexerAux.cc (cleanUpLexer): need to goto INITIAL mode, not |
| 26182 |
ID_MODE |
| 26183 |
|
| 26184 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 26185 |
added decls for commandLoop(), handleCtrlC(), clearCtrlC() |
| 26186 |
(class UserLevelRewritingContext): added decl for handleDebug() |
| 26187 |
|
| 26188 |
* userLevelRewritingContext.cc (traceBeginEqTrial): call |
| 26189 |
handleDebug() |
| 26190 |
(traceBeginRuleTrial): call handleDebug() |
| 26191 |
(traceBeginScTrial): call handleDebug() |
| 26192 |
(tracePreEqRewrite): call handleDebug() |
| 26193 |
(tracePreRuleRewrite): call handleDebug() |
| 26194 |
(tracePreScApplication): call handleDebug() |
| 26195 |
(commandLoop): added |
| 26196 |
(handleDebug): added |
| 26197 |
|
| 26198 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 26199 |
added static data members ctrlC_Flag, debugMode, savedTraceStatus |
| 26200 |
|
| 26201 |
* userLevelRewritingContext.cc (clearCtrlC): added |
| 26202 |
(handleCtrlC): added |
| 26203 |
|
| 26204 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 26205 |
updated makeSubcontext() decl |
| 26206 |
|
| 26207 |
* metaLevelOpSymbol.cc (metaSortLeq): use RewritingContext::builtInReplace() |
| 26208 |
(metaSameComponent): use RewritingContext::builtInReplace() |
| 26209 |
(metaLeastSort): use RewritingContext::builtInReplace() |
| 26210 |
(metaLesserSorts): use RewritingContext::builtInReplace() |
| 26211 |
(metaGlbSorts): use RewritingContext::builtInReplace() |
| 26212 |
(metaReduce): use RewritingContext::builtInReplace() |
| 26213 |
(metaParse): use RewritingContext::builtInReplace() |
| 26214 |
(metaRewrite): use RewritingContext::builtInReplace() |
| 26215 |
(metaApply): use RewritingContext::builtInReplace() |
| 26216 |
(errorRewrite): use RewritingContext::builtInReplace() |
| 26217 |
(errorRewrite2): use RewritingContext::builtInReplace() |
| 26218 |
|
| 26219 |
* quotedIdentifierOpSymbol.cc (eqRewrite): traceStatus() -> getTraceStatus() |
| 26220 |
|
| 26221 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 26222 |
updated complex ctor decl |
| 26223 |
|
| 26224 |
* commands.y: setTraceFlag() -> setTraceStatus() |
| 26225 |
|
| 26226 |
* userLevelRewritingContext.hh (setTraceFlag): deleted |
| 26227 |
(class UserLevelRewritingContext): deleted static data member traceFlag |
| 26228 |
|
| 26229 |
* userLevelRewritingContext.cc (UserLevelRewritingContext): |
| 26230 |
(simple version): init parent, purpose and localTraceFlag |
| 26231 |
(UserLevelRewritingContext): (complex version): take extra args |
| 26232 |
parent and purpose; init parent, purpose and localTraceFlag |
| 26233 |
(makeSubcontext): purpose is now an int, pass parent and purpose |
| 26234 |
to ctor; use localTraceFlag |
| 26235 |
(traceBeginEqTrial): check localTraceFlag |
| 26236 |
(traceBeginRuleTrial): check localTraceFlag |
| 26237 |
(traceBeginScTrial): check localTraceFlag |
| 26238 |
(tracePreScApplication): check localTraceFlag |
| 26239 |
(tracePreRuleRewrite): check localTraceFlag |
| 26240 |
(tracePreEqRewrite): check localTraceFlag |
| 26241 |
|
| 26242 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 26243 |
added enum OtherPurpose; data members parent, purpose, localTraceFlag |
| 26244 |
|
| 26245 |
Sat Nov 14 21:17:50 1998 Steven Eker <[email protected]> |
| 26246 |
|
| 26247 |
* main.cc (interruptHandler): take arg list (...) for ANSI compliance |
| 26248 |
No longer need decl for sigvec() |
| 26249 |
|
| 26250 |
Fri Nov 13 11:39:46 1998 Steven Eker <[email protected]> |
| 26251 |
|
| 26252 |
* main.cc (main): call cleanUpLexer() rather than |
| 26253 |
returnToTopLevel() and lexerInitialMode() |
| 26254 |
|
| 26255 |
* lexerAux.cc (returnToTopLevel): becomes cleanUpLexer(), now |
| 26256 |
restore initial lexer mode |
| 26257 |
|
| 26258 |
* main.cc (main): call returnToTopLevel() when recovering from an interrrupt |
| 26259 |
|
| 26260 |
* lexer.flex: don't call handleEof() in start of yylex() code; |
| 26261 |
clean up will be handled by outside caller via returnToTopLevel() |
| 26262 |
(<<EOF>>): call yyterminate() if ctrlC_Interrupt; handleEof() will |
| 26263 |
now only handle real eofs and eof directives; not eofs generated |
| 26264 |
by ctrl-C handling; maybe we should use yywrap()? |
| 26265 |
|
| 26266 |
* lexerAux.cc (getInput): rewritten using read() system call to |
| 26267 |
avoid slow system call restart problem in linux stdio lib |
| 26268 |
(returnToTopLevel): added |
| 26269 |
|
| 26270 |
* lexer.flex: MAUDE_EOF -> KW_EOF |
| 26271 |
|
| 26272 |
* top.y: MAUDE_EOF -> KW_EOF |
| 26273 |
|
| 26274 |
* lexer.flex: define YY_DECL; use pure parser calling convention |
| 26275 |
instead of yylval |
| 26276 |
|
| 26277 |
* top.y: added %pure_parser directive |
| 26278 |
|
| 26279 |
Thu Nov 12 11:19:29 1998 Steven Eker <[email protected]> |
| 26280 |
|
| 26281 |
* lexer.flex: added code to check for ctrlC_Interrupt and call |
| 26282 |
yyterminate() if true; the reason for this is that if we are |
| 26283 |
reading from a file we may grab a huge chunk of the file with a |
| 26284 |
single call to YY_INPUT and then end up ignore ctrl-C while we |
| 26285 |
processs it; |
| 26286 |
|
| 26287 |
* fileTable.cc (beginModule): only print module name type and name |
| 26288 |
if file stack is non-empty; this is a temporary hack we really |
| 26289 |
need some consistant way of check for an interactive file and |
| 26290 |
quiet reading mode |
| 26291 |
(closeFile): print message about being down with file |
| 26292 |
(openFile): print message about reading file |
| 26293 |
|
| 26294 |
* lexerAux.cc (handleEof): deleted prompt code |
| 26295 |
|
| 26296 |
* fileTable.cc (beginModule): print module name type and name |
| 26297 |
|
| 26298 |
* lexer.flex: deleted promptSave |
| 26299 |
|
| 26300 |
* lexerAux.cc (eatComment): don't increment line number for \r |
| 26301 |
(includeFile): set interactive |
| 26302 |
(handleEof): set interactive |
| 26303 |
|
| 26304 |
* main.cc (setSignalHandlers): use sigaction mechanism rather than |
| 26305 |
sigvec mechanism for compatibility with non-bsd 4.2 based unixes |
| 26306 |
|
| 26307 |
Wed Nov 11 14:01:33 1998 Steven Eker <[email protected]> |
| 26308 |
|
| 26309 |
* main.cc: made ctrlC_Interrupt volatile |
| 26310 |
|
| 26311 |
* main.hh (yylex): made ctrlC_Interrupt volatile |
| 26312 |
|
| 26313 |
Tue Nov 10 11:53:24 1998 Steven Eker <[email protected]> |
| 26314 |
|
| 26315 |
* bottom.y (cleanUpParser): handle case where there is no currentModule |
| 26316 |
|
| 26317 |
* lexerAux.cc (getInput): now return void |
| 26318 |
|
| 26319 |
* bottom.y (cleanUpParser): if currentModule is incomplete, print |
| 26320 |
an advisory and delete it |
| 26321 |
(yyerror): be quiet if handling a ctrl-C |
| 26322 |
|
| 26323 |
* lexer.flex: don't handle prompting anymore |
| 26324 |
|
| 26325 |
* lexerAux.cc (handleEof): don't allow inStackPtr to go -ve during |
| 26326 |
ctrl-C handling |
| 26327 |
(getInput): call clearerr() if we get an EOF due to ctrl-C |
| 26328 |
(getInput): handle prompting |
| 26329 |
|
| 26330 |
* main.cc (main): use cleanUpParser() after ctrl-C |
| 26331 |
|
| 26332 |
* bottom.y (cleanUpParser): added |
| 26333 |
|
| 26334 |
* main.cc (main): reset lexer and recall parser after ctrl-C |
| 26335 |
|
| 26336 |
* bottom.y (yyerror): issue advisory in ctrl-C case |
| 26337 |
|
| 26338 |
* main.cc (main): use sigvec() |
| 26339 |
|
| 26340 |
* main.hh (yylex): added decl for ctrlC_Interrupt |
| 26341 |
|
| 26342 |
* main.cc: added global variable ctrlC_Interrupt |
| 26343 |
|
| 26344 |
* lexer.flex: redefine YY_INPUT to use getInput() |
| 26345 |
|
| 26346 |
* lexerAux.hh (handleEof): added decl for getInput() |
| 26347 |
|
| 26348 |
* lexerAux.cc (getInput): added |
| 26349 |
|
| 26350 |
Mon Nov 9 11:40:20 1998 Steven Eker <[email protected]> |
| 26351 |
|
| 26352 |
* modules.y: opNameList2 and simpleOpName2 moved to command.y |
| 26353 |
|
| 26354 |
* parser.bison: split into top.y, modules.y, commands.y, bottom.y |
| 26355 |
|
| 26356 |
Fri Nov 6 16:34:11 1998 Steven Eker <[email protected]> |
| 26357 |
|
| 26358 |
* lexer.flex: added tokens MATCH_LEQ and UNIFY_EQ to command mode |
| 26359 |
|
| 26360 |
* parser.bison (command): added syntax for match command; have |
| 26361 |
select command use moduleExp |
| 26362 |
(ctokens): added |
| 26363 |
(ctoken): added |
| 26364 |
(cTokenBarDot): accept MATCH_LEQ, UNIFY_EQ; use ctokens |
| 26365 |
(cTokenBarColon): accept MATCH_LEQ, UNIFY_EQ; use ctokens |
| 26366 |
(cTokenBarMatchLeq): accept UNIFY_EQ; use ctokens |
| 26367 |
(cTokenBarIn): accept MATCH_LEQ, UNIFY_EQ; use ctokens |
| 26368 |
(cTokenBarLeftIn): accept MATCH_LEQ, UNIFY_EQ; use ctokens |
| 26369 |
(cTokenBarNumber): accept MATCH_LEQ, UNIFY_EQ; use ctokens |
| 26370 |
(cTokenBarRight): accept MATCH_LEQ, UNIFY_EQ; use ctokens |
| 26371 |
|
| 26372 |
* quotedIdentifierTerm.cc (deepCopy): -> deepCopy2() |
| 26373 |
|
| 26374 |
* quotedIdentifierTerm.hh (class QuotedIdentifierTerm): deepCopy() |
| 26375 |
-> deepCopy2() |
| 26376 |
|
| 26377 |
Thu Nov 5 16:11:48 1998 Steven Eker <[email protected]> |
| 26378 |
|
| 26379 |
* parser.bison (renamingItem): made syntax consistant with OBJ3 |
| 26380 |
(renamingList): made syntax consistant with OBJ3 |
| 26381 |
(command): modified red and parse command to use inExp and |
| 26382 |
nonInTerm nonterminals; this means that (at least for the moment - |
| 26383 |
some flex hacking may be possible) we will no longer accept |
| 26384 |
command like "red in(0) .", but we can now use the bison parser to |
| 26385 |
directly parse complex module expressions occuring in commands |
| 26386 |
|
| 26387 |
* lexer.flex: added keywords include and BOOL |
| 26388 |
|
| 26389 |
* parser.bison (command): added syntax for set include BOOL on/off |
| 26390 |
command |
| 26391 |
|
| 26392 |
Wed Nov 4 11:24:34 1998 Steven Eker <[email protected]> |
| 26393 |
|
| 26394 |
* metaDown.cc (downOpDecl): set line number of symbol to |
| 26395 |
FileTable::META_LEVEL_CREATED |
| 26396 |
(downVarDecl): set line number of symbol to |
| 26397 |
FileTable::META_LEVEL_CREATED |
| 26398 |
|
| 26399 |
* process.cc (processOps): set line number of symbol if we are the |
| 26400 |
originator |
| 26401 |
|
| 26402 |
* import.cc (donateOps): set line number of symbol if we are the |
| 26403 |
original; check for symbol clash and give informative message |
| 26404 |
|
| 26405 |
* preModule.cc (PreModule): set our line number |
| 26406 |
|
| 26407 |
* import.cc (donateSorts): set line number of added sorts to that |
| 26408 |
of original sort |
| 26409 |
(donateSorts): have very detailed sort clash message incorporating |
| 26410 |
line numbers and modules of clashing sorts. |
| 26411 |
|
| 26412 |
* metaDown.cc (downSorts): set line number of added sorts to |
| 26413 |
FileTable::META_LEVEL_CREATED |
| 26414 |
|
| 26415 |
* process.cc (processSorts): set line number of added sorts |
| 26416 |
(getSort): set line number of added sort to |
| 26417 |
FileTable::SYSTEM_CREATED; don't need findSort() hack any more |
| 26418 |
|
| 26419 |
* mixfixModule.hh (class MixfixModule): updated addSort() decl |
| 26420 |
|
| 26421 |
* entry.cc (addSort): return ptr to new sort |
| 26422 |
|
| 26423 |
* metaLevelOpSymbol.cc (metaParse): pass line number as |
| 26424 |
FileTable::META_LEVEL_CREATED when turning Qids into tokens |
| 26425 |
|
| 26426 |
* mixfixParser.cc (makeStatement): use LineNumber::setLineNumber() |
| 26427 |
in 6 places to store a line number in each mb/eq/rl |
| 26428 |
(makeTerm): restructured; store line number of first token of |
| 26429 |
parse in each term |
| 26430 |
|
| 26431 |
===================================Engine43================================================== |
| 26432 |
|
| 26433 |
Sat Oct 31 13:06:55 1998 Steven Eker <[email protected]> |
| 26434 |
|
| 26435 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 26436 |
prettyPrint() (Term* version) |
| 26437 |
|
| 26438 |
* prettyPrint.cc (showAll): get fmod/mod endfm/endm correct |
| 26439 |
(prettyPrint): (Term* version) modified algorithm to take capture |
| 26440 |
components into account - now symmetric with DagNode* version |
| 26441 |
|
| 26442 |
Fri Oct 30 17:25:08 1998 Steven Eker <[email protected]> |
| 26443 |
|
| 26444 |
* lexer.flex: added kinds and components keywords |
| 26445 |
|
| 26446 |
* parser.bison (command): added syntax for show kinds command |
| 26447 |
|
| 26448 |
* mixfixModule.hh (class MixfixModule): added decl for showComponents() |
| 26449 |
|
| 26450 |
* prettyPrint.cc: added |
| 26451 |
|
| 26452 |
* lexer.flex: added summary keyword |
| 26453 |
|
| 26454 |
* parser.bison (command): added syntax for show summary command |
| 26455 |
|
| 26456 |
* mixfixModule.hh (class MixfixModule): added decl for showSummary() |
| 26457 |
|
| 26458 |
* prettyPrint.cc (showSummary): added |
| 26459 |
|
| 26460 |
* parser.bison (moduleExp): temporary hack to allow simple imports |
| 26461 |
to work again |
| 26462 |
|
| 26463 |
Thu Oct 29 11:46:18 1998 Steven Eker <[email protected]> |
| 26464 |
|
| 26465 |
* parser.bison (endfm): added |
| 26466 |
(endm): added |
| 26467 |
(module): use endfm and endm to handle incorrect end of module |
| 26468 |
keyword |
| 26469 |
(moduleExp): added |
| 26470 |
(renamingList): added |
| 26471 |
(renamingItem): added |
| 26472 |
|
| 26473 |
* prettyPrint.cc (operator<<): (Rule* version) print labels as |
| 26474 |
"[foo]:" rather than "[foo] :" |
| 26475 |
|
| 26476 |
* import.cc (donateStatements): handle rules |
| 26477 |
(donateStatements): handle membership axioms |
| 26478 |
|
| 26479 |
* preModule.cc (process): insert module into module database here |
| 26480 |
(PreModule): don't do it here |
| 26481 |
|
| 26482 |
Tue Oct 27 10:56:35 1998 Steven Eker <[email protected]> |
| 26483 |
|
| 26484 |
* prettyPrint.cc (showVars): don't print invisible variables |
| 26485 |
|
| 26486 |
* import.cc (donateOps): add translations for symbols we imported |
| 26487 |
into importers symbols so that our equations can be correctly |
| 26488 |
imported in the next phase |
| 26489 |
(donateOps): need to translate sort components! do this by finding |
| 26490 |
name of 1st user sort of component, looking up the corresponding |
| 26491 |
sort in the importer, and taking its component |
| 26492 |
|
| 26493 |
* preModule.hh (class PreModule): added data member nrImportedOps |
| 26494 |
|
| 26495 |
* import.cc (donateStatements): onlt import native equations |
| 26496 |
|
| 26497 |
* preModule.cc (process): set nrImportedMembershipAxioms, |
| 26498 |
nrImportedEquations, nrImportedRules |
| 26499 |
|
| 26500 |
* symbolTranslation.cc (translate): added assert to catch no |
| 26501 |
translation case |
| 26502 |
|
| 26503 |
Mon Oct 26 09:27:19 1998 Steven Eker <[email protected]> |
| 26504 |
|
| 26505 |
* preModule.cc (process): call importStatements() |
| 26506 |
|
| 26507 |
* preModule.hh (class PreModule): added decls for |
| 26508 |
importStatements() and donateStatements() |
| 26509 |
|
| 26510 |
* import.cc (donateStatements): added |
| 26511 |
(importStatements): added |
| 26512 |
|
| 26513 |
* mixfixModule.cc (makeSymbolProductions): don't make productions |
| 26514 |
for invisible symbols |
| 26515 |
|
| 26516 |
* import.cc (donateOps): make imported variables invisible |
| 26517 |
|
| 26518 |
* entry.cc (addOpDeclaration): support INVISIBLE flag |
| 26519 |
|
| 26520 |
* mixfixModule.hh (class MixfixModule): added INVISIBLE to enum SymbolFlags |
| 26521 |
|
| 26522 |
* preModule.hh (class PreModule): added decls for importOps() and |
| 26523 |
donateOps() |
| 26524 |
|
| 26525 |
* import.cc (donateOps): added |
| 26526 |
(importOps): added |
| 26527 |
|
| 26528 |
* symbolTranslation.hh (class SymbolTranslation): created |
| 26529 |
|
| 26530 |
* symbolTranslation.cc: created |
| 26531 |
|
| 26532 |
Fri Oct 23 11:28:35 1998 Steven Eker <[email protected]> |
| 26533 |
|
| 26534 |
* preModule.cc (process): fill out nrImportedSubsorts vector |
| 26535 |
|
| 26536 |
* import.cc (donateSorts): handle subsorts |
| 26537 |
|
| 26538 |
* preModule.hh (class PreModule): added decl for resetImportPhase() |
| 26539 |
(class PreModule): added data member nrImportedSubsorts; |
| 26540 |
|
| 26541 |
* import.cc (donateSorts): import from flatten sort vector rather |
| 26542 |
than from sort declarations; this is simpler and does the right |
| 26543 |
thing for automatically created sorts |
| 26544 |
(resetImportPhase): added |
| 26545 |
|
| 26546 |
* preModule.cc (process): set nrImportedSorts and nrUserSorts |
| 26547 |
|
| 26548 |
* preModule.hh (class PreModule): added data members nrUserSorts, |
| 26549 |
nrImportedSorts, nrImportedMembershipAxioms, nrImportedEquations, |
| 26550 |
nrImportedRules |
| 26551 |
|
| 26552 |
* preModule.cc (process): call resetImports() |
| 26553 |
|
| 26554 |
* import.cc (donateSorts): need to update importPhase |
| 26555 |
(resetImports): added |
| 26556 |
|
| 26557 |
Thu Oct 22 11:01:05 1998 Steven Eker <[email protected]> |
| 26558 |
|
| 26559 |
* import.cc (processImports): prohibit recursive importation |
| 26560 |
|
| 26561 |
* preModule.cc (process): call importSorts() |
| 26562 |
|
| 26563 |
* preModule.hh (class PreModule): added decls for |
| 26564 |
processImports(), importSorts(), donateSorts() |
| 26565 |
|
| 26566 |
* import.cc: created |
| 26567 |
(donateSorts): added |
| 26568 |
|
| 26569 |
* preModule.cc (PreModule): set importPhase = UNVISITED |
| 26570 |
(process): call processImports() |
| 26571 |
|
| 26572 |
* preModule.hh (class PreModule): added data member importedModules |
| 26573 |
(class PreModule): added data member importPhase; |
| 26574 |
(class PreModule): added enum Phase |
| 26575 |
|
| 26576 |
* process.cc (processSorts): use LineNumber ctor |
| 26577 |
(processSorts): use IssueWarning() and LineNumber ctor |
| 26578 |
(getSort): use IssueWarning() and LineNumber ctor |
| 26579 |
|
| 26580 |
* ops.cc (addVarDecl): use IssueWarning() and LineNumber ctor |
| 26581 |
(setPrec): use IssueWarning() and LineNumber ctor |
| 26582 |
(setGather): use IssueWarning() and LineNumber ctor (2 places) |
| 26583 |
(setStrat): use IssueWarning() and LineNumber ctor |
| 26584 |
|
| 26585 |
* mixfixParser.cc (parseTerm): use IssueWarning() and LineNumber |
| 26586 |
ctor (2 places) |
| 26587 |
(parseStatement): use IssueWarning() and LineNumber ctor (2 places) |
| 26588 |
(parseSentence): use IssueWarning() and LineNumber ctor |
| 26589 |
|
| 26590 |
* parser.bison (attrKeyword): use IssueWarning() and LineNumber ctor |
| 26591 |
|
| 26592 |
* lexer.flex: use IssueWarning() and LineNumber ctor thoughout |
| 26593 |
|
| 26594 |
* fileTable.cc (printLineNumber): don't bother printing (command) |
| 26595 |
when we're not in a module |
| 26596 |
|
| 26597 |
* lexer.flex: have FMOD and MOD return Token |
| 26598 |
|
| 26599 |
* parser.bison: have FMOD and MOD return Token |
| 26600 |
(module): call FileTable::beginModule() and FileTable::endModule() |
| 26601 |
|
| 26602 |
* fileTable.cc (printLineNumber): print file name correctly |
| 26603 |
|
| 26604 |
* lexerAux.cc (includeFile): added call to FileTable::openFile() |
| 26605 |
(handleEof): added call to FileTable::closeFile() |
| 26606 |
|
| 26607 |
* main.cc: added global variable fileTable |
| 26608 |
|
| 26609 |
* fileTable.cc (closeFile): rewritten using new scheme |
| 26610 |
(endModule): implemented |
| 26611 |
|
| 26612 |
Wed Oct 21 11:27:03 1998 Steven Eker <[email protected]> |
| 26613 |
|
| 26614 |
* fileTable.cc (closeFile): created |
| 26615 |
|
| 26616 |
* fileTable.hh (class FileTable): created |
| 26617 |
|
| 26618 |
Fri Oct 16 16:03:13 1998 Steven Eker <[email protected]> |
| 26619 |
|
| 26620 |
* mixfixModule.cc (findSort): added AdvisoryCheck() for the case |
| 26621 |
where we couldn't find sort |
| 26622 |
(findSymbol): added AdvisoryCheck() for the case |
| 26623 |
where we couldn't find symbol |
| 26624 |
(findSort): removed AdvisoryCheck() since we often look for |
| 26625 |
non-existant sorts at object level |
| 26626 |
|
| 26627 |
Thu Oct 15 15:14:01 1998 Steven Eker <[email protected]> |
| 26628 |
|
| 26629 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): dded decls for |
| 26630 |
postInterSymbolPass() and reset() |
| 26631 |
|
| 26632 |
* metaLevelOpSymbol.cc (postInterSymbolPass): added |
| 26633 |
(reset): added |
| 26634 |
|
| 26635 |
* metaLevel.hh (class MetaLevel): added decls for |
| 26636 |
postInterSymbolPass() and reset() |
| 26637 |
|
| 26638 |
* metaLevel.cc (postInterSymbolPass): added |
| 26639 |
(reset): added |
| 26640 |
|
| 26641 |
Wed Oct 14 15:49:11 1998 Steven Eker <[email protected]> |
| 26642 |
|
| 26643 |
* metaLevelOpSymbol.cc (eqRewrite): get META_SORT_LEQ and |
| 26644 |
META_SAME_COMPONENT cases arround the correct way |
| 26645 |
|
| 26646 |
* metaDown.cc (downFixUps): fix up identities |
| 26647 |
|
| 26648 |
* metaFastUp.cc (fastUpBool): implemented using CachedDag::getDag() |
| 26649 |
|
| 26650 |
* metaLevel.cc (bind): Term* version added |
| 26651 |
|
| 26652 |
* metaLevel.hh (class MetaLevel): added data members trueTerm and |
| 26653 |
falseTerm |
| 26654 |
(class MetaLevel): added decl for Term* version of bind() |
| 26655 |
|
| 26656 |
* preModule.cc (fixUpSymbols): handle TERM_HOOK in MetaLevel |
| 26657 |
|
| 26658 |
Tue Oct 13 18:52:07 1998 Steven Eker <[email protected]> |
| 26659 |
|
| 26660 |
* metaLevelOpSymbol.cc (metaSameComponent): added |
| 26661 |
(eqRewrite): added META_SAME_COMPONENT case |
| 26662 |
(fixUp): added META_SAME_COMPONENT case |
| 26663 |
|
| 26664 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added |
| 26665 |
META_SAME_COMPONENT to OpType |
| 26666 |
(class MetaLevelOpSymbol): added decl for metaSameComponent() |
| 26667 |
|
| 26668 |
===================================Engine42================================================== |
| 26669 |
|
| 26670 |
Fri Oct 9 15:29:00 1998 Steven Eker <[email protected]> |
| 26671 |
|
| 26672 |
* quotedIdentifierDagNode.hh (getIdIndex): made const |
| 26673 |
(class QuotedIdentifierDagNode): updated decl of getIdIndex() |
| 26674 |
|
| 26675 |
Thu Oct 8 14:49:12 1998 Steven Eker <[email protected]> |
| 26676 |
|
| 26677 |
* quotedIdentifierDagNode.cc (compareArguments): simplified |
| 26678 |
|
| 26679 |
* quotedIdentifierTerm.cc (compareArguments): (DagNode* version) |
| 26680 |
added const and simplified |
| 26681 |
(compareArguments): (Term* version) added const and simplified |
| 26682 |
|
| 26683 |
* quotedIdentifierDagNode.cc (compareArguments): added const |
| 26684 |
|
| 26685 |
* metaFastUp.cc (fastUpQid): added const_cast |
| 26686 |
|
| 26687 |
Wed Sep 30 15:50:48 1998 Steven Eker <[email protected]> |
| 26688 |
|
| 26689 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 26690 |
prettyPrint() (DagNode* version) |
| 26691 |
|
| 26692 |
* prettyPrint.cc (prettyPrint): (DagNode* version) added idea of |
| 26693 |
leftCaptureComponent and rightCaptureComponent to avoid |
| 26694 |
introducing unnecessary parens to avoid captures that can't happen |
| 26695 |
anyway because of component clashes |
| 26696 |
(operator<<): (DagNode* version) use new prettyPrint() conventions |
| 26697 |
|
| 26698 |
===================================Engine41================================================== |
| 26699 |
|
| 26700 |
Mon Sep 21 10:32:40 1998 Steven Eker <[email protected]> |
| 26701 |
|
| 26702 |
* metaLevel.hh (class MetaLevel): updated decls for downSort() and |
| 26703 |
fastUpSort() |
| 26704 |
|
| 26705 |
* metaFastUp.cc (fastUpSort): deleted SortCode arg |
| 26706 |
|
| 26707 |
* metaDown.cc (downSort): deleted SortCode arg |
| 26708 |
|
| 26709 |
* metaLevelOpSymbol.cc (metaSortLeq): use new sort mechanisms |
| 26710 |
(metaLeastSort): use new sort mechanisms |
| 26711 |
(metaLesserSorts): use new sort mechanisms |
| 26712 |
(metaGlbSorts): use new sort mechanisms |
| 26713 |
|
| 26714 |
* prettyPrint.cc (showSorts): use leq(Sort*, int) |
| 26715 |
(showSorts): use leq(int, Sort*) |
| 26716 |
(showSorts): use leq(Sort*, Sort*) (2 places) |
| 26717 |
|
| 26718 |
===================================Engine40================================================== |
| 26719 |
|
| 26720 |
Thu Aug 27 13:47:16 1998 Steven Eker <[email protected]> |
| 26721 |
|
| 26722 |
* prettyPrint.cc (prettyPrint): (term version) modified needParen |
| 26723 |
condition and capture calcs to ensure we get capture values |
| 26724 |
correct in the case that we insert parens or sort disambiguation |
| 26725 |
(prettyPrint): (prettyPrint): (dagnode version) symmetric changes |
| 26726 |
made |
| 26727 |
|
| 26728 |
* preModule.hh (class PreModule): added decl for printBubble() |
| 26729 |
|
| 26730 |
* command.cc (printBubble): added |
| 26731 |
(contLoop): use printBubble() |
| 26732 |
(loop): use printBubble() |
| 26733 |
|
| 26734 |
Wed Aug 26 16:54:11 1998 Steven Eker <[email protected]> |
| 26735 |
|
| 26736 |
* prettyPrint.cc (prettyPrint): updated rangeKnown propagation |
| 26737 |
calc to take into account once we decide to insert sort |
| 26738 |
disambiguation then we will know range (both versions). |
| 26739 |
|
| 26740 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 26741 |
prettyPrint() (dagnode version) |
| 26742 |
|
| 26743 |
* prettyPrint.cc (operator<<): (dagnode version) pass rangeKnown = |
| 26744 |
false |
| 26745 |
(prettyPrint): (dagnode version) added rangeKnown and code for sort |
| 26746 |
disambiguation |
| 26747 |
|
| 26748 |
* loopSymbol.cc (createQidList): backquote ( ) [ ] { } , |
| 26749 |
(extractQid): remove backquote if backquoted thing is a single |
| 26750 |
char |
| 26751 |
NOTE: need to come up with global policy and functions for |
| 26752 |
backquoted and unbackquoting |
| 26753 |
|
| 26754 |
* token.hh (class Token): made specialChar public |
| 26755 |
|
| 26756 |
Mon Aug 24 11:12:03 1998 Steven Eker <[email protected]> |
| 26757 |
|
| 26758 |
* mixfixModule.hh (class MixfixModule): updated decl for |
| 26759 |
prettyPrint() (term version) |
| 26760 |
|
| 26761 |
* prettyPrint.cc (operator<<): (term version) pass rangeKnown = false |
| 26762 |
(prettyPrint): (term version) added rangeKnown and code for sort |
| 26763 |
disambiguation |
| 26764 |
|
| 26765 |
Fri Aug 21 10:24:05 1998 Steven Eker <[email protected]> |
| 26766 |
|
| 26767 |
* process.cc (processSorts): handle "Universal" sort slots of |
| 26768 |
polymorphs correctly |
| 26769 |
|
| 26770 |
* preModule.cc (findSymbol): deleted |
| 26771 |
(extractSpecialSymbol): deleted |
| 26772 |
(extractSpecialTerms): deleted |
| 26773 |
|
| 26774 |
* command.cc (loop): implemented |
| 26775 |
(contLoop): implemented |
| 26776 |
|
| 26777 |
* loopSymbol.hh (class LoopSymbol): added decls for |
| 26778 |
createQidList(), extractQid(), extractQidList() |
| 26779 |
|
| 26780 |
* loopSymbol.cc (injectInput): added |
| 26781 |
(extractOutput): added |
| 26782 |
(extractQid): added |
| 26783 |
(extractQidList): added |
| 26784 |
(createQidList): added |
| 26785 |
|
| 26786 |
* loopSymbol.hh (class LoopSymbol): added decls for |
| 26787 |
extractOutput() and injectInput() |
| 26788 |
|
| 26789 |
Thu Aug 20 10:48:49 1998 Steven Eker <[email protected]> |
| 26790 |
|
| 26791 |
* preModule.hh (class PreModule): added decls for loop() and contLoop() |
| 26792 |
|
| 26793 |
* command.cc (loop): added stub |
| 26794 |
(contLoop): added stub |
| 26795 |
|
| 26796 |
* parser.bison (command): added "( tokens )" command |
| 26797 |
|
| 26798 |
* lexer.flex: added loop keyword |
| 26799 |
now recognize ( and ) in initial mode |
| 26800 |
|
| 26801 |
* parser.bison (command): added loop command |
| 26802 |
|
| 26803 |
* preModule.cc (fixUpSymbols): hand LoopSymbols |
| 26804 |
|
| 26805 |
* entry.cc (addOpDeclaration): handle LOOP_SYMBOL flag |
| 26806 |
|
| 26807 |
* loopSymbol.cc: added |
| 26808 |
|
| 26809 |
* loopSymbol.hh (class LoopSymbol): created |
| 26810 |
|
| 26811 |
* preModule.cc (fixUpSymbols): rewritten using new functions and |
| 26812 |
data structure and supporting new notation notation |
| 26813 |
|
| 26814 |
* process.cc (processOps): use findHook() |
| 26815 |
|
| 26816 |
* preModule.hh (class PreModule): added decls for findHook() and |
| 26817 |
findHookSymbol() |
| 26818 |
|
| 26819 |
* preModule.cc (findHook): added |
| 26820 |
(findHookSymbol): added |
| 26821 |
|
| 26822 |
* process.cc (processOps): handle new Bubble special format |
| 26823 |
|
| 26824 |
Wed Aug 19 11:18:48 1998 Steven Eker <[email protected]> |
| 26825 |
|
| 26826 |
* ops.cc (addHook): check for LoopSymbol |
| 26827 |
|
| 26828 |
* mixfixModule.hh (class MixfixModule): added LOOP_SYMBOL to enum SymbolFlags |
| 26829 |
|
| 26830 |
* ops.cc (setSpecial): deleted |
| 26831 |
(addHook): created |
| 26832 |
|
| 26833 |
* preModule.hh (class PreModule): deleted decl for setSpecial(); |
| 26834 |
added decl for addHook() |
| 26835 |
(class PreModule): added struct Hook; OpDef.special is now Vector<Hook> |
| 26836 |
|
| 26837 |
* lexer.flex: added id-hook, op-hook, term-hook |
| 26838 |
|
| 26839 |
* parser.bison (attrKeyword): added KW_ID_HOOK, KW_OP_HOOK, KW_TERM_HOOK |
| 26840 |
(attribute): special now takes hook list |
| 26841 |
(hookList): added |
| 26842 |
(hook): added |
| 26843 |
|
| 26844 |
* token.cc (prefixNameCode): simplified using specialChar() |
| 26845 |
(prefixNameCode): added fast case for 1 token without leading |
| 26846 |
special char |
| 26847 |
(extractMixfix): use bufferExpandTo() and specialChar() |
| 26848 |
(extractMixfix): simplified removing all backQuote warnings under |
| 26849 |
the assumption that prefix code will always be legal |
| 26850 |
|
| 26851 |
* token.hh (specialChar): added |
| 26852 |
(class Token): added decl for specialChar() |
| 26853 |
|
| 26854 |
* token.cc (prefixNameCode): simplified using new semantics of bufferExpandTo() |
| 26855 |
|
| 26856 |
* token.hh (bufferExpandTo): use reallocateBuffer() |
| 26857 |
(class Token): added decl for reallocateBuffer() |
| 26858 |
|
| 26859 |
* token.cc (reallocateBuffer): added |
| 26860 |
|
| 26861 |
Tue Aug 18 10:39:19 1998 Steven Eker <[email protected]> |
| 26862 |
|
| 26863 |
* token.cc (prefixNameCode): rewritten and greatly simpified; |
| 26864 |
handle difficult cases correctly |
| 26865 |
|
| 26866 |
* lexer.flex: completely rewrote definition of tokens: no longer |
| 26867 |
worry about starting with *** or ---> |
| 26868 |
We now have strict idea about where ` can appear in a token - only |
| 26869 |
between normal characters or in front of ( ) [ ] { } , |
| 26870 |
Amount matched by comments increased so that will prevail |
| 26871 |
|
| 26872 |
* metaLevel.cc (MetaLevel): remove UMR bug by setting cachedModule |
| 26873 |
= 0 |
| 26874 |
|
| 26875 |
* metaLevel.hh (class MetaLevel): added ctor decl |
| 26876 |
|
| 26877 |
* lexer.flex: don't allow stray backquotes in tokens |
| 26878 |
` becomes an unexpected token in initial mode |
| 26879 |
detect stray ` in id mode |
| 26880 |
unmade these chnange since ` is allowed in id's to indicate a space |
| 26881 |
|
| 26882 |
Mon Aug 10 16:16:46 1998 Steven Eker <[email protected]> |
| 26883 |
|
| 26884 |
* lexer.flex: prevent tokens from containing the string *** so |
| 26885 |
that comments do not have to have a space after *** |
| 26886 |
Now only rule out *** at the begining of a token |
| 26887 |
|
| 26888 |
Fri Jul 31 12:29:13 1998 Steven Eker <[email protected]> |
| 26889 |
|
| 26890 |
* metaDown.cc (downBubbleSpec): handle excluded tokens |
| 26891 |
|
| 26892 |
* process.cc (processOps): pass dummy vector to addBubbleSpec() |
| 26893 |
|
| 26894 |
* mixfixModule.hh (class MixfixModule): updated addBubbleSpec() decl |
| 26895 |
|
| 26896 |
* entry.cc (addBubbleSpec): take excludedTokens arg |
| 26897 |
|
| 26898 |
* mixfixParser.cc (makeTerm): need to resize rather than contract |
| 26899 |
to deal with 0 length bubbles |
| 26900 |
|
| 26901 |
* metaDown.cc (downBubbleSpec): strip back quotes from parens |
| 26902 |
|
| 26903 |
* metaLevel.hh (class MetaLevel): added decls for downFixUps() and |
| 26904 |
downFixUpBubble() |
| 26905 |
|
| 26906 |
* metaDown.cc (downFixUpBubble): added |
| 26907 |
(downFixUps): added |
| 26908 |
|
| 26909 |
* metaModule.hh (class MetaModule): make MetaLevel into a friend |
| 26910 |
for a really nasty hack |
| 26911 |
|
| 26912 |
* metaFastUp.cc (fastUpTerm): nasty hack to get qids to go up |
| 26913 |
right - need to fix many other cases |
| 26914 |
|
| 26915 |
* metaDown.cc (downOpDecl): handle bubbles specially |
| 26916 |
(downBubbleSpec): added |
| 26917 |
|
| 26918 |
* metaLevel.hh (class MetaLevel): added decls for downHookList() |
| 26919 |
and downIdHook() |
| 26920 |
|
| 26921 |
* metaDown.cc (downAttr): handle special list |
| 26922 |
(downHookList): added |
| 26923 |
(downIdHook): added |
| 26924 |
|
| 26925 |
* preModule.cc (fixUpSymbols): hack for call to fixUpBubbleSpec() |
| 26926 |
|
| 26927 |
* mixfixModule.hh (class MixfixModule): updated fixUpBubbleSpec() decl |
| 26928 |
|
| 26929 |
* mixfixModule.cc (makeBubbleProductions): handle excluded tokens |
| 26930 |
(fixUpBubbleSpec): handle nilQidListSymbol |
| 26931 |
|
| 26932 |
* metaLevel.cc (bind): handle hookListSymbol, |
| 26933 |
idHookSymbol, opHookSymbol, termHookSymbol |
| 26934 |
|
| 26935 |
* metaLevel.hh (class MetaLevel): added hookListSymbol, |
| 26936 |
idHookSymbol, opHookSymbol, termHookSymbol data members |
| 26937 |
|
| 26938 |
* metaDown.cc (downAttr): handle prec and gather |
| 26939 |
|
| 26940 |
* metaLevelOpSymbol.cc (metaParse): use new fastUpTerm() |
| 26941 |
(errorRewrite): cast first arg in call to fastUpTerm() to |
| 26942 |
disambiguate (old one should really be renamed to fastUpDag() |
| 26943 |
|
| 26944 |
* quotedIdentifierTerm.hh (getIdIndex): added; together with decl |
| 26945 |
|
| 26946 |
* metaFastUp.cc (fastUpTerm): Term* version added |
| 26947 |
|
| 26948 |
* metaDown.cc (downModule): rewritten to inter leave down calls |
| 26949 |
with module processing calls in proper order |
| 26950 |
|
| 26951 |
* metaLevelOpSymbol.cc (fixUp): link in META_PARSE |
| 26952 |
(eqRewrite): call metaParse() |
| 26953 |
|
| 26954 |
* metaLevel.hh (class MetaLevel): made downQidList() public |
| 26955 |
|
| 26956 |
* metaLevelOpSymbol.cc (metaParse): implemented is a really hacky way |
| 26957 |
|
| 26958 |
* metaLevelOpSymbol.hh (class MetaLevelOpSymbol): added decl for |
| 26959 |
metaParse(); added META_PARSE to enum OpType |
| 26960 |
|
| 26961 |
* metaLevel.cc (bind): opDeclListSymbol and |
| 26962 |
nilOpDeclListSymbol goto opDeclSetSymbol |
| 26963 |
|
| 26964 |
* metaDown.cc (downOpDecls): opDeclListSymbol and |
| 26965 |
nilOpDeclListSymbol goto opDeclSetSymbol; set ctor is now ACU |
| 26966 |
|
| 26967 |
* metaLevel.hh (class MetaLevel): opDeclSetSymbol and |
| 26968 |
emptyOpDeclSetSymbol replace opDeclListSymbol and nilOpDeclListSymbol |
| 26969 |
|
| 26970 |
Thu Jul 30 12:38:46 1998 Steven Eker <[email protected]> |
| 26971 |
|
| 26972 |
* preModule.cc (fixUpSymbols): implemented shareWith feature for MetaLevelOpSymbols |
| 26973 |
|
| 26974 |
* metaLevel.cc (bind): support data memebrs just added |
| 26975 |
|
| 26976 |
* metaLevel.hh (class MetaLevel): added data members memoSymbol, |
| 26977 |
precSymbol, gatherSymbol, specialSymbol |
| 26978 |
|
| 26979 |
* mixfixModule.hh (class MixfixModule): added nilQidListSymbol to struct BubbleSpec |
| 26980 |
|
| 26981 |
* mixfixParser.cc (makeTerm): backquote ()[]{}, before turning |
| 26982 |
them into qids |
| 26983 |
(makeTerm): deal with empty bubble case |
| 26984 |
|
| 26985 |
* metaLevel.hh (class MetaLevel): updated decls for downAttrSet() |
| 26986 |
and downAttr() |
| 26987 |
|
| 26988 |
* metaDown.cc (downAttrSet): rewritten |
| 26989 |
(downAttr): rewritten |
| 26990 |
|
| 26991 |
* mixfixModule.cc (findSymbol): fixed nasty bug where we were |
| 26992 |
using index rather than firstSymbols[index] to start our search |
| 26993 |
|
| 26994 |
* metaFastUp.cc (fastUpQid): added |
| 26995 |
(fastUpTerm): use fastUpQid |
| 26996 |
|
| 26997 |
* mixfixModule.cc (createSortTest): set SORT_TEST flag |
| 26998 |
|
| 26999 |
* mixfixModule.hh (getFlags): added |
| 27000 |
(class MixfixModule): added SORT_TEST to enum SymbolFlags |
| 27001 |
|
| 27002 |
Wed Jul 29 11:13:54 1998 Steven Eker <[email protected]> |
| 27003 |
|
| 27004 |
* preModule.cc (extractSpecialSymbol): added |
| 27005 |
(fixUpSymbols): fix up MetaLevelOpSymbols |
| 27006 |
|
| 27007 |
* metaFastUp.cc: adapted from old version |
| 27008 |
|
| 27009 |
* mixfix.hh: created |
| 27010 |
|
| 27011 |
* entry.cc (addOpDeclaration): create MetaLevelOpSymbols |
| 27012 |
|
| 27013 |
* ops.cc (setSpecial): recognize MetaLevelOpSymbol |
| 27014 |
|
| 27015 |
* process.cc (processOps): don't call MachineIntegerSymbol::fixUp() |
| 27016 |
|
| 27017 |
* metaLevelOpSymbol.cc: adapted from old version |
| 27018 |
(fixUp): added |
| 27019 |
|
| 27020 |
* metaLevelOpSymbol.hh: adapted from old version |
| 27021 |
|
| 27022 |
* metaDown.cc (downOpDecl): rewritten |
| 27023 |
|
| 27024 |
Tue Jul 28 16:39:20 1998 Steven Eker <[email protected]> |
| 27025 |
|
| 27026 |
* metaDown.cc: MixfixModule -> MetaModule |
| 27027 |
(downTerm): rewritten |
| 27028 |
|
| 27029 |
* metaLevel.hh (class MetaLevel): added data member |
| 27030 |
metaDisambigSymbol; MixfixModule -> MetaModule |
| 27031 |
|
| 27032 |
* metaModule.cc: created |
| 27033 |
|
| 27034 |
* metaModule.hh: created |
| 27035 |
|
| 27036 |
* mixfixModule.cc (findSymbol): added |
| 27037 |
|
| 27038 |
* entry.cc (addOpDeclaration): only compare domains if arities are |
| 27039 |
the same! |
| 27040 |
|
| 27041 |
* mixfixModule.hh (class MixfixModule): added decl for findSymbol.cc |
| 27042 |
|
| 27043 |
* metaDown.cc (downQidSet): deal with repeated elements correctly |
| 27044 |
(downMembAx): rewritten |
| 27045 |
(downVarDecl): rewritten |
| 27046 |
(downSubsort): rewritten |
| 27047 |
(downEquation): rewritten |
| 27048 |
|
| 27049 |
Mon Jul 27 10:37:17 1998 Steven Eker <[email protected]> |
| 27050 |
|
| 27051 |
* command.cc (showModule): added stub |
| 27052 |
|
| 27053 |
* preModule.hh (class PreModule): added decl for showModule() |
| 27054 |
|
| 27055 |
* parser.bison (command): use selectModule() in cont and many of |
| 27056 |
the show commands |
| 27057 |
|
| 27058 |
* command.cc (rewrite): print number of rewrites limit in showCmd |
| 27059 |
case (if not UNBOUNDED) |
| 27060 |
|
| 27061 |
* parser.bison (command): pass start = 1 to selectModule() in |
| 27062 |
parse, red and rew commands to skip over "in" |
| 27063 |
|
| 27064 |
* preModule.hh (class PreModule): updated decl for selectModule() |
| 27065 |
|
| 27066 |
* command.cc (selectModule): added start arg |
| 27067 |
|
| 27068 |
* preModule.hh (class PreModule): added decl for selectModule(); |
| 27069 |
deleted decl for findModule() |
| 27070 |
|
| 27071 |
* preModule.cc (findModule): deleted |
| 27072 |
|
| 27073 |
* command.cc (selectModule): added |
| 27074 |
|
| 27075 |
* parser.bison (command): use selectModule() in select, parse, red |
| 27076 |
and rew commands |
| 27077 |
|
| 27078 |
* preModule.cc (findModule): added |
| 27079 |
|
| 27080 |
* preModule.hh (class PreModule): added decl for findModule |
| 27081 |
|
| 27082 |
* preModule.cc: added moduleNames and modules static data |
| 27083 |
(PreModule): save pointer to new module together with name in |
| 27084 |
modules and moduleNames |
| 27085 |
|
| 27086 |
* preModule.hh (class PreModule): added static data members |
| 27087 |
moduleNames and modules; |
| 27088 |
|
| 27089 |
* preModule.cc (PreModule): don't initialize moduleName, pass moduleType |
| 27090 |
(dump): don't use moduleName |
| 27091 |
|
| 27092 |
* mixfixModule.hh (class MixfixModule): added moduleType arg to ctor |
| 27093 |
(class MixfixModule): added data member moduleType |
| 27094 |
|
| 27095 |
* preModule.hh (class PreModule): added moduleType arg to ctor |
| 27096 |
(class PreModule): delete data member moduleName; |
| 27097 |
|
| 27098 |
* mixfixModule.cc (MixfixModule): now take module type arg |
| 27099 |
|
| 27100 |
Sat Jul 25 12:56:50 1998 Steven Eker <[email protected]> |
| 27101 |
|
| 27102 |
* parser.bison (tokenBarDot): added NUMBER_TOK since we use this |
| 27103 |
in command mode in "trace select" (maybe we should have a complete |
| 27104 |
split between cmd mode and id mode?) |
| 27105 |
|
| 27106 |
* lexer.flex: added keyword select |
| 27107 |
|
| 27108 |
* parser.bison: bubble2 -> moduleExpr |
| 27109 |
(command): added syntax for select command |
| 27110 |
|
| 27111 |
* command.cc (rewrite): removed hack to recognize limit within |
| 27112 |
bubble since we can now resolve this in the bison parser |
| 27113 |
|
| 27114 |
* lexer.flex: need to distinguish NUMBER from NUMBER_TOK because of return types |
| 27115 |
|
| 27116 |
* parser.bison (cTokensBarColon): need to distinguish NUMBER from |
| 27117 |
NUMBER_TOK because of return types |
| 27118 |
|
| 27119 |
* lexer.flex: have command mode recognize [ ] and numbers |
| 27120 |
|
| 27121 |
* parser.bison (cTokenBarRight): added |
| 27122 |
(cTokenBarNumber): added |
| 27123 |
(cTokenBarLeftIn): added |
| 27124 |
(nrModuleTerm): added |
| 27125 |
(nrModuleTerm1): added |
| 27126 |
(nrModuleTerm2): added |
| 27127 |
(token): added NUMBER since we may use this is command mode where |
| 27128 |
numbers are now recognized |
| 27129 |
|
| 27130 |
* metaDown.cc: created from old front end metaDown.cc |
| 27131 |
|
| 27132 |
Fri Jul 24 15:02:37 1998 Steven Eker <[email protected]> |
| 27133 |
|
| 27134 |
* metaLevel.hh: created from old maudeModule.hh |
| 27135 |
|
| 27136 |
* mixfixModule.cc (makeBubbleProductions): hacked to new |
| 27137 |
parser-bubble conventions |
| 27138 |
|
| 27139 |
Thu Jul 23 11:31:15 1998 Steven Eker <[email protected]> |
| 27140 |
|
| 27141 |
* mixfixModule.hh (class MixfixModule): added MAKE_BUBBLE action |
| 27142 |
|
| 27143 |
* mixfixParser.cc (parseSentence): handle previously unseen tokens |
| 27144 |
if we have bubble specs present |
| 27145 |
(makeTerm): added code to MAKE_BUBBLE |
| 27146 |
|
| 27147 |
* mixfixModule.hh (class MixfixModule): added decl for makeBubbleProductions() |
| 27148 |
|
| 27149 |
* mixfixModule.cc (makeBubbleProductions): added |
| 27150 |
(makeGrammar): call makeBubbleProductions(); |
| 27151 |
|
| 27152 |
* preModule.cc (fixUpSymbols): call fixUpBubbleSpec() if op is a bubble |
| 27153 |
|
| 27154 |
* mixfixModule.hh (class MixfixModule): added decls for |
| 27155 |
addBubbleSpec() and fixUpBubbleSpec() |
| 27156 |
|
| 27157 |
* mixfixModule.cc (fixUpBubbleSpec): added |
| 27158 |
|
| 27159 |
* entry.cc (addBubbleSpec): added |
| 27160 |
|
| 27161 |
* ops.cc (setSpecial): recognize Bubble |
| 27162 |
|
| 27163 |
* process.cc (processOps): call addBubbleSpec() if op is a bubble |
| 27164 |
|
| 27165 |
* mixfixParser.cc (parseTerm): use ROOT_NODE (2 places) |
| 27166 |
(parseStatement): use ROOT_NODE |
| 27167 |
|
| 27168 |
* mixfixModule.hh (class MixfixModule): added BUBBLE flag |
| 27169 |
(class MixfixModule): added data member bubble components |
| 27170 |
|
| 27171 |
Wed Jul 22 10:55:16 1998 Steven Eker <[email protected]> |
| 27172 |
|
| 27173 |
* mixfixModule.hh (class MixfixModule): deleted |
| 27174 |
INSTANTIATE_POLYMORPH, PREVIOUS, CREATE_ITEF, CREATE_EQUALITY |
| 27175 |
actions |
| 27176 |
(class MixfixModule): deleted instantiatePolymorph() and |
| 27177 |
fixupPolymorphs() decls |
| 27178 |
|
| 27179 |
* mixfixModule.cc (MixfixModule): deleted gatherAnyAnyAny |
| 27180 |
|
| 27181 |
* mixfixModule.hh (class MixfixModule): deleted decls for |
| 27182 |
insertSymbol() (both versions), insertSort(), createItef(), |
| 27183 |
createEquality(); deleted EQUALITY_PREC; deleted gatherAnyAnyAny |
| 27184 |
|
| 27185 |
* mixfixModule.cc (makePolymorph): get condition for expanding |
| 27186 |
instantiations vector correct |
| 27187 |
(makeGrammar): don't call fixupPolymorphs() |
| 27188 |
|
| 27189 |
* mixfixParser.cc (makeTerm): get polymorphIndex, componentIndex |
| 27190 |
around the right way |
| 27191 |
|
| 27192 |
* mixfixModule.cc (makePolymorphProductions): compute nrArgs correctly |
| 27193 |
|
| 27194 |
* ops.cc (setSpecial): recognize BranchSymbol and EqualitySymbol |
| 27195 |
|
| 27196 |
* process.cc (getSort): hack to make sure we return the correct |
| 27197 |
sort |
| 27198 |
|
| 27199 |
* preModule.hh (class PreModule): added polymorphIndex to struct |
| 27200 |
OpDecl (actually a union with symbol) |
| 27201 |
|
| 27202 |
* mixfixModule.hh (class MixfixModule): added decls for |
| 27203 |
makePolymorph() and fixUpPolymorph() |
| 27204 |
(class MixfixModule): added MAKE_POLYMORPH to enum Actions |
| 27205 |
|
| 27206 |
* mixfixModule.cc (createItef): deleted |
| 27207 |
(createEquality): deleted |
| 27208 |
|
| 27209 |
* mixfixParser.cc (makeTerm): don't handle PREVIOUS, |
| 27210 |
CREATE_EQUALITY, CREATE_ITEF, INSTANTIATE_POLYMORPH |
| 27211 |
(makeTerm): handle MAKE_POLYMORPH |
| 27212 |
|
| 27213 |
* process.cc (processOps): add polymorphs |
| 27214 |
|
| 27215 |
* preModule.cc (fixUpSymbols): fix up polymorphs as well |
| 27216 |
|
| 27217 |
* mixfixModule.cc (makePolymorphProductions): heavily rewritten |
| 27218 |
(insertSort): deleted |
| 27219 |
(insertSymbol): deleted (both versions) |
| 27220 |
(insertPolymorph): deleted |
| 27221 |
(makePolymorph): added |
| 27222 |
(instantiatePolymorph): deleted |
| 27223 |
(fixupPolymorph): added |
| 27224 |
(fixupPolymorphs): deleted |
| 27225 |
|
| 27226 |
* mixfixModule.hh (class MixfixModule): reorganized struct Polymorph |
| 27227 |
|
| 27228 |
* entry.cc (addPolymorph): added |
| 27229 |
|
| 27230 |
Tue Jul 21 11:34:36 1998 Steven Eker <[email protected]> |
| 27231 |
|
| 27232 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 27233 |
makeBoolProductions(); deleted decl for protectingBool() |
| 27234 |
|
| 27235 |
* mixfixModule.cc (protectingBool): deleted |
| 27236 |
(makeBoolProductions): added |
| 27237 |
(makeGrammar): call makeBoolProductions(); |
| 27238 |
|
| 27239 |
* entry.cc (addOpDeclaration): set trueSymbol, falseSymbol, boolSort |
| 27240 |
|
| 27241 |
* preModule.cc (fixUpSymbols): fix up QuotedIdentifierOpSymbols |
| 27242 |
|
| 27243 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 27244 |
updated fixUp() decl |
| 27245 |
|
| 27246 |
* quotedIdentifierOpSymbol.cc (fixUp): take op arg as a string; |
| 27247 |
this will avoid having to do this translation in several places in |
| 27248 |
the future |
| 27249 |
|
| 27250 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 27251 |
added decl for fixUp(), deleted decl for setSymbols(), updated |
| 27252 |
decl for ctor |
| 27253 |
|
| 27254 |
* quotedIdentifierOpSymbol.cc (fixUp): added |
| 27255 |
(setSymbols): deleted |
| 27256 |
(QuotedIdentifierOpSymbol): now just take id and nrArgs |
| 27257 |
|
| 27258 |
* entry.cc (addOpDeclaration): can't use domainComponent(0 and |
| 27259 |
rangeComponent() here since the symbols have yet to be compiled; |
| 27260 |
take a look at the first op decl instead |
| 27261 |
|
| 27262 |
* mixfixModule.hh (class MixfixModule): made findMatchingParen() protected |
| 27263 |
|
| 27264 |
* preModule.hh (class PreModule): added decl for extractSpecialTerms() |
| 27265 |
|
| 27266 |
* preModule.cc: added |
| 27267 |
(fixUpSymbols): fix up MachineIntegerOpSymbols |
| 27268 |
|
| 27269 |
* process.cc (processOps): added code to fixUp() MachineIntegerSymbols |
| 27270 |
|
| 27271 |
* quotedIdentifierTerm.hh (class QuotedIdentifierTerm): added decl |
| 27272 |
for deepCopy() |
| 27273 |
|
| 27274 |
* quotedIdentifierTerm.cc (deepCopy): added |
| 27275 |
|
| 27276 |
* preModule.hh (class PreModule): tidying up of old decls |
| 27277 |
|
| 27278 |
Mon Jul 20 10:43:11 1998 Steven Eker <[email protected]> |
| 27279 |
|
| 27280 |
* preModule.hh (class PreModule): fixUpIdentities() -> fixUpSymbols() |
| 27281 |
|
| 27282 |
* preModule.cc (fixUpIdentities): -> fixUpSymbols() |
| 27283 |
(process): call fixUpSymbols() |
| 27284 |
|
| 27285 |
* process.cc (getSort): use addSort() |
| 27286 |
|
| 27287 |
* preModule.cc (makeSymbol): deleted |
| 27288 |
(process): don't call protectingBool() |
| 27289 |
|
| 27290 |
* lexer.flex (id): BUILTIN -> SPECIAL |
| 27291 |
|
| 27292 |
* parser.bison (attribute): BUILTIN -> SPECIAL |
| 27293 |
(attribute): use setSpecial() |
| 27294 |
|
| 27295 |
* preModule.hh (class PreModule): deleted connectedOpDefs(), |
| 27296 |
protectingBoolSort() and protectingBoolOps() decls |
| 27297 |
|
| 27298 |
* process.cc (processOps): rewritten using MixfixModule::addOpDeclaration() |
| 27299 |
|
| 27300 |
* production.cc (connectedOpDefs): deleted |
| 27301 |
(processOps): moved to process.cc |
| 27302 |
|
| 27303 |
* preModule.cc (getSort): moved to process.cc |
| 27304 |
(processStatements): moved to process.cc |
| 27305 |
(processSorts): moved to process.cc |
| 27306 |
|
| 27307 |
* process.cc (processSorts): updated to use new struct OpDef |
| 27308 |
|
| 27309 |
* ops.cc (addVarDecl): updated to use new struct OpDef |
| 27310 |
(setGather): updated to use new struct OpDef |
| 27311 |
(setStrat): updated to use new struct OpDef |
| 27312 |
|
| 27313 |
* preModule.hh (class PreModule): setBuiltIn() ->setSpecial(), |
| 27314 |
setDomain() -> setDomainAndRange(),setRange() deleted |
| 27315 |
|
| 27316 |
* ops.cc (setSpecial): replaces setBuiltIn() |
| 27317 |
|
| 27318 |
* preModule.hh (class PreModule): struct OpDef completely reorganized |
| 27319 |
|
| 27320 |
* ops.cc (setDomainAndRange): replaces setDomain() |
| 27321 |
(setRange): deleted |
| 27322 |
|
| 27323 |
* parser.bison (declaration): use setDomainAndRange |
| 27324 |
|
| 27325 |
* entry.cc (addOpDecl): -> addOpDeclaration() |
| 27326 |
|
| 27327 |
* mixfixModule.hh (class MixfixModule): updated insertSort() decl |
| 27328 |
(class MixfixModule): addOpDecl() -> addOpDeclaration() |
| 27329 |
|
| 27330 |
* entry.cc (addSort): reverted to previous version |
| 27331 |
|
| 27332 |
* preModule.hh (class PreModule): added originator field to struct OpDecl |
| 27333 |
|
| 27334 |
* lexer.flex (id): added KW_ prefixes to COMM, IDEM, PREC, GATHER, |
| 27335 |
STRAT and MEMO |
| 27336 |
|
| 27337 |
* parser.bison (attribute): removed OP_ prefixes to flags |
| 27338 |
added KW_ prefixes to COMM, IDEM, PREC, GATHER, STRAT and MEMO |
| 27339 |
|
| 27340 |
* preModule.cc (dump): OP_VARIABLE -> VARIABLE |
| 27341 |
|
| 27342 |
* ops.cc (addVarDecl): OP_VARIABLE -> VARIABLE |
| 27343 |
(setPrec): OP_PREC -> PREC |
| 27344 |
(setGather): OP_GATHER -> GATHER |
| 27345 |
(setStrat): OP_STRAT -> STRAT |
| 27346 |
|
| 27347 |
* preModule.hh (class PreModule): deleted enum Flags |
| 27348 |
|
| 27349 |
* mixfixModule.hh (class MixfixModule): data member sorts deleted |
| 27350 |
|
| 27351 |
* mixfixModule.cc (insertSymbol): MACHINE_INT -> MACHINE_INTEGER |
| 27352 |
(makeSymbolProductions): MACHINE_INT -> MACHINE_INTEGER |
| 27353 |
(findSort): sorts -> sortNames |
| 27354 |
(insertSort): sorts -> sortNames |
| 27355 |
|
| 27356 |
* mixfixModule.hh (class MixfixModule): updated addSort() and |
| 27357 |
addOpDecl() decls |
| 27358 |
|
| 27359 |
* entry.cc (addOpDecl): major rewrite; removed special arg since |
| 27360 |
how this will be generated will be very different between object |
| 27361 |
level and metalevel; pass domain and range as vector of sorts |
| 27362 |
(addSort): major rewrite; now return sort and have firstDecl flag |
| 27363 |
|
| 27364 |
* mixfixModule.hh (class MixfixModule): added data members |
| 27365 |
sortNames, symbolNames, firstSymbols |
| 27366 |
(class MixfixModule): added decls for addOpDecl() and addSort() |
| 27367 |
|
| 27368 |
* entry.cc (addOpDecl): added special arg; handle parts of |
| 27369 |
builtins that don't rely on other symbols |
| 27370 |
|
| 27371 |
Sun Jul 19 18:35:29 1998 Steven Eker <[email protected]> |
| 27372 |
|
| 27373 |
* mixfixModule.hh (class MixfixModule): enum SyntaxFlags changed |
| 27374 |
to enum SymbolFlags; added many new values |
| 27375 |
|
| 27376 |
* entry.cc (addSort): added |
| 27377 |
(addOpDecl): added |
| 27378 |
|
| 27379 |
Fri Jul 17 18:27:03 1998 Steven Eker <[email protected]> |
| 27380 |
|
| 27381 |
* mixfixModule.cc (createEquality): use new ctor convention for |
| 27382 |
EqualitySymbol |
| 27383 |
(instantiatePolymorph): use new ctor convention for |
| 27384 |
EqualitySymbol |
| 27385 |
|
| 27386 |
===================================Engine39================================================== |
| 27387 |
|
| 27388 |
Thu Jul 16 10:34:26 1998 Steven Eker <[email protected]> |
| 27389 |
|
| 27390 |
* mixfixModule.cc (makePolymorphProductions): fixed precedence bug |
| 27391 |
(<< vs +) |
| 27392 |
|
| 27393 |
* mixfixModule.hh (class MixfixModule): added data member currentOffset |
| 27394 |
|
| 27395 |
* mixfixParser.cc (parseStatement): set currentOffset = 0 |
| 27396 |
(parseTerm): set currentOffset = begin |
| 27397 |
(makeTerm): use currentOffset (2 places) |
| 27398 |
|
| 27399 |
* mixfixModule.hh (class MixfixModule): added decl for fixupPolymorphs() |
| 27400 |
|
| 27401 |
* mixfixModule.cc (fixupPolymorphs): added |
| 27402 |
(instantiatePolymorph): use specialTerms |
| 27403 |
(makeGrammar): call fixupPolymorphs() |
| 27404 |
|
| 27405 |
* mixfixModule.hh (class MixfixModule): added specialTerms to struct Polymorph |
| 27406 |
|
| 27407 |
* token.cc (extractMixfix): fixed nasty memory bug where we were |
| 27408 |
freeing mismatched memory; delete rather than delete [] |
| 27409 |
|
| 27410 |
Wed Jul 15 11:52:09 1998 Steven Eker <[email protected]> |
| 27411 |
|
| 27412 |
* production.cc (processOps): horrible hack to recognize |
| 27413 |
polymorphic symbols. |
| 27414 |
|
| 27415 |
* mixfixModule.cc (makeGrammar): call makePolymorphProductions() |
| 27416 |
(instantiatePolymorph): added handling for BranchSymbol |
| 27417 |
|
| 27418 |
* production.cc (processOps): horrible hack to insert polymorphs |
| 27419 |
|
| 27420 |
* mixfixModule.hh (class MixfixModule): added decl for findMatchingParen() |
| 27421 |
|
| 27422 |
* mixfixModule.cc (findMatchingParen): added |
| 27423 |
|
| 27424 |
* mixfixModule.hh (class MixfixModule): updated insertPolymorph() decl |
| 27425 |
|
| 27426 |
* mixfixModule.cc (insertPolymorph): domainSorts and special |
| 27427 |
becomes Vector<Token>s, rangeSort becomes a Token |
| 27428 |
|
| 27429 |
Tue Jul 14 11:21:46 1998 Steven Eker <[email protected]> |
| 27430 |
|
| 27431 |
* lexer.flex: added NUMBER tokens |
| 27432 |
|
| 27433 |
* preModule.hh (class PreModule): added decl for cont() |
| 27434 |
|
| 27435 |
* lexer.flex: added continue/cont keyword |
| 27436 |
|
| 27437 |
* parser.bison (command): added syntax and action for cont command |
| 27438 |
|
| 27439 |
* command.cc (rewrite): hack to recognize limit within bubble; |
| 27440 |
probably need better solution |
| 27441 |
(cont): added |
| 27442 |
|
| 27443 |
* lexerAux.cc (lexerInMode): use yy_push_state() rather tha BEGIN() |
| 27444 |
|
| 27445 |
* lexer.flex (IN_MODE): use yy_pop_state() to restore original state |
| 27446 |
rather than just going to initial state |
| 27447 |
|
| 27448 |
* mixfixModule.hh (class MixfixModule): added decl for instantiatePolymorph() |
| 27449 |
|
| 27450 |
Mon Jul 13 11:02:57 1998 Steven Eker <[email protected]> |
| 27451 |
|
| 27452 |
* mixfixModule.hh (class MixfixModule): updated decls for |
| 27453 |
parseTerm() and parseSentence() |
| 27454 |
|
| 27455 |
* mixfixParser.cc (makeTerm): handle PREVIOUS and |
| 27456 |
INSTANTIATE_POLYMORPH actions |
| 27457 |
(parseSentence): handle begin and end arguments |
| 27458 |
(parseTerm): take and pass on begin and end arguments |
| 27459 |
|
| 27460 |
Sat Jul 11 15:21:25 1998 Steven Eker <[email protected]> |
| 27461 |
|
| 27462 |
* userLevelRewritingContext.cc (tracePreRuleRewrite): added \n's |
| 27463 |
to make big rewrites more readable |
| 27464 |
(tracePreEqRewrite): added \n's to make big rewrites more readable |
| 27465 |
|
| 27466 |
Fri Jul 10 17:34:01 1998 Steven Eker <[email protected]> |
| 27467 |
|
| 27468 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 27469 |
makePolymorphProductions() |
| 27470 |
(class MixfixModule): added INSTANTIATE_POLYMORPH and PREVIOUS to enum Actions |
| 27471 |
|
| 27472 |
* mixfixModule.cc (makePolymorphProductions): added |
| 27473 |
|
| 27474 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 27475 |
insertPolymorph() and data member polymorphs |
| 27476 |
|
| 27477 |
* mixfixModule.cc (insertPolymorph): added |
| 27478 |
|
| 27479 |
* bool.cc (protectingBoolSort): don't use non-existant data member |
| 27480 |
sorts |
| 27481 |
|
| 27482 |
* mixfixModule.hh (class MixfixModule): added decl for findSort() |
| 27483 |
|
| 27484 |
* mixfixModule.cc (findSort): added |
| 27485 |
|
| 27486 |
* preModule.cc (getSort): rewritten using MixfixModule::findSort() |
| 27487 |
(processSorts): rewritten using MixfixModule::findSort() |
| 27488 |
|
| 27489 |
* preModule.hh (class PreModule): deleted data member sorts |
| 27490 |
|
| 27491 |
* mixfixModule.hh (class MixfixModule): added decl for |
| 27492 |
insertSort() and data member sorts |
| 27493 |
|
| 27494 |
* mixfixModule.cc (insertSort): added |
| 27495 |
|
| 27496 |
* mixfixModule.hh (class MixfixModule): updated |
| 27497 |
computePrecAndGather() decl |
| 27498 |
|
| 27499 |
* mixfixModule.cc (computePrecAndGather): first arg is now nrArgs; |
| 27500 |
do computation of LEFT_BARE/RIGHT_BARE here |
| 27501 |
(insertSymbol): no longer do computation of LEFT_BARE/RIGHT_BARE here |
| 27502 |
(makeSymbolProductions): pass nrArgs to computePrecAndGather() |
| 27503 |
|
| 27504 |
* mixfixModule.hh (class MixfixModule): added struct Polymorph |
| 27505 |
|
| 27506 |
Thu Jul 9 10:32:27 1998 Steven Eker <[email protected]> |
| 27507 |
|
| 27508 |
* token.cc (checkForSpecialProperty): avoid mistaking "-" for a |
| 27509 |
SMALL_NEG and "" for a SMALL_NAT |
| 27510 |
|
| 27511 |
* production.cc (processOps): ugly hack to prevent adding op decl |
| 27512 |
for symbol derived from NA_Symbol since class ctor automatically adds |
| 27513 |
and op decl (should it? - probably want to change this later) |
| 27514 |
|
| 27515 |
* mixfixModule.cc (makeSpecialProductions): handle QUOTED_IDENTIFIERs |
| 27516 |
|
| 27517 |
* mixfixModule.hh (class MixfixModule): MAKE_QUOTED_IDENTIFIER |
| 27518 |
added to enum Actions |
| 27519 |
|
| 27520 |
* production.cc (processOps): hack to pass quotedIdentifier flag |
| 27521 |
to insertSymbol() |
| 27522 |
|
| 27523 |
* mixfixModule.hh (class MixfixModule): added QUOTED_ID to enum NonTerminal |
| 27524 |
(class MixfixModule): added QUOTED_IDENTIFIER to enum SyntaxFlags |
| 27525 |
(class MixfixModule): updated insertSymbol() decl |
| 27526 |
|
| 27527 |
* mixfixParser.cc (makeTerm): handle MAKE_QUOTED_IDENTIFIER case |
| 27528 |
|
| 27529 |
* mixfixModule.cc (insertSymbol): handle quotedIdentifier flag |
| 27530 |
(makeSymbolProductions): handle quoted id case |
| 27531 |
|
| 27532 |
* preModule.cc (fixUpIdentities): fix up QuotedIdentifierOpSymbols |
| 27533 |
here for want of a better place |
| 27534 |
|
| 27535 |
* quotedIdentifierOpSymbol.cc (setSymbols): added |
| 27536 |
|
| 27537 |
* quotedIdentifierOpSymbol.hh (class QuotedIdentifierOpSymbol): |
| 27538 |
machineIntegerSymbol no longer a constant; added decl for setSymbols() |
| 27539 |
|
| 27540 |
* quotedIdentifierOpSymbol.cc (QuotedIdentifierOpSymbol): |
| 27541 |
quotedIdentifierSymbol and machineIntegerSymbol are no longer |
| 27542 |
initialized as constants |
| 27543 |
|
| 27544 |
* preModule.cc (makeSymbol): handle QuotedIdentifierSymbol and |
| 27545 |
QuotedIdentifierOpSymbol special cases |
| 27546 |
|
| 27547 |
* quotedIdentifierOpSymbol.cc: adapted from old frontend; removed |
| 27548 |
all refs to idTable; use class Token |
| 27549 |
|
| 27550 |
* quotedIdentifierOpSymbol.hh: copied from old frontend |
| 27551 |
|
| 27552 |
* quotedIdentifierTerm.cc: adapted from old frontend; removed |
| 27553 |
all refs to idTable; use class Token |
| 27554 |
|
| 27555 |
* quotedIdentifierTerm.hh: adapted from old frontend; removed |
| 27556 |
internal StringTable reference |
| 27557 |
|
| 27558 |
* quotedIdentifierDagNode.cc: adapted from old frontend; removed |
| 27559 |
all refs to idTable; use class Token |
| 27560 |
|
| 27561 |
* quotedIdentifierDagNode.hh: adapted from old frontend; removed |
| 27562 |
internal StringTable reference |
| 27563 |
|
| 27564 |
* token.cc (checkForSpecialProperty): detect quoted identifiers |
| 27565 |
|
| 27566 |
* token.hh (class Token): added QUOTED_IDENTIFIER to enum SpecialProperties |
| 27567 |
|
| 27568 |
* preModule.hh (class PreModule): added decl for findSymbol() |
| 27569 |
|
| 27570 |
* preModule.cc (fixUpIdentities): fix up MachineIntegerOpSymbols |
| 27571 |
here for want of a better place |
| 27572 |
(findSymbol): added |
| 27573 |
|
| 27574 |
Wed Jul 8 10:41:24 1998 Steven Eker <[email protected]> |
| 27575 |
|
| 27576 |
* production.cc (processOps): quick hack to handle machine ints; |
| 27577 |
need to do something less ugly once other things crystalize |
| 27578 |
|
| 27579 |
* mixfixModule.cc (insertSymbol): handle machineInt flag |
| 27580 |
(makeSymbolProductions): handle machine ints |
| 27581 |
|
| 27582 |
* mixfixModule.hh (class MixfixModule): added data member current sentence |
| 27583 |
(class MixfixModule): added syntax flag MACHINE_INT |
| 27584 |
(class MixfixModule): updated insertSymbol() decl |
| 27585 |
|
| 27586 |
* mixfixParser.cc (makeTerm): handle MAKE_MACHINE_INT case |
| 27587 |
(parseStatement): set currentSentence |
| 27588 |
(parseTerm): set currentSentence |
| 27589 |
|
| 27590 |
* mixfixModule.hh (class MixfixModule): added MAKE_MACHINE_INT to enum Actions |
| 27591 |
|
| 27592 |
* mixfixParser.cc (parseSentence): check for specialProperties of |
| 27593 |
previously unseen tokens and use special terminals |
| 27594 |
|
| 27595 |
* mixfixModule.hh (class MixfixModule): added data member |
| 27596 |
specialTerminals and decl for makeSpecialProductions() |
| 27597 |
|
| 27598 |
* mixfixModule.cc (makeSpecialProductions): added |
| 27599 |
(makeGrammar): call makeSpecialProductions() |
| 27600 |
|
| 27601 |
* token.hh (class Token): added enum SpecialProperties, and decls |
| 27602 |
for static and non-static versions of specialProperty() |
| 27603 |
(specialProperty): added non-static version |
| 27604 |
(specialProperty): added static version |
| 27605 |
|
| 27606 |
* token.cc (dotNameCode): use our encode() rather than StringTable::encode() |
| 27607 |
(prefixNameCode): use our encode() rather than StringTable::encode() |
| 27608 |
(extractMixfix): use our encode() rather than |
| 27609 |
StringTable::encode() (*6) |
| 27610 |
(checkForSpecialProperty): added |
| 27611 |
|
| 27612 |
* token.hh (encode): if it is the first time we've seen this |
| 27613 |
string, check to see if it has a special property. |
| 27614 |
(tokenize): use our encode() rather than StringTable::encode() |
| 27615 |
|
| 27616 |
* mixfixModule.hh (class MixfixModule): added SMALL_NAT and |
| 27617 |
SMALL_NEG to enum NonTerminal |
| 27618 |
|
| 27619 |
Tue Jul 7 10:56:56 1998 Steven Eker <[email protected]> |
| 27620 |
|
| 27621 |
* preModule.hh (class PreModule): updated decl for makeSymbol() |
| 27622 |
|
| 27623 |
* production.cc (processOps): pass this pointer to makeSymbol() |
| 27624 |
|
| 27625 |
* preModule.cc (makeSymbol): added module arg and handling for |
| 27626 |
MachineIntegerSymbol and MachineIntegerOpSymbol |
| 27627 |
|
| 27628 |
* preModule.hh (class PreModule): added builtIn field to struct |
| 27629 |
OpDef; added decl for setBuiltIn(); |
| 27630 |
|
| 27631 |
* ops.cc (setBuiltIn): added |
| 27632 |
|
| 27633 |
* lexer.flex (id): added builtin |
| 27634 |
|
| 27635 |
* parser.bison (attribute): added builtin attribute syntax and action |
| 27636 |
(attrKeyword): added BUILTIN as attribute |
| 27637 |
|
| 27638 |
* lexer.flex (OP_MODE): deleted |
| 27639 |
|
| 27640 |
* lexerAux.cc (lexerOpMode): deleted |
| 27641 |
|
| 27642 |
* preModule.hh (class PreModule): added decls for addSelected() |
| 27643 |
and traceSelect() and static data member selected |
| 27644 |
|
| 27645 |
* userLevelRewritingContext.hh (class UserLevelRewritingContext): |
| 27646 |
updated decl for selectSymbols() |
| 27647 |
|
| 27648 |
* userLevelRewritingContext.cc (selectSymbols): made first arg const |
| 27649 |
|
| 27650 |
* command.cc (traceSelect): added |
| 27651 |
|
| 27652 |
* parser.bison (command): added actions for trace select/deselect. |
| 27653 |
|
| 27654 |
* command.cc (addSelected): added |
| 27655 |
|
| 27656 |
* parser.bison (simpleOpName2): adde |
| 27657 |
(opNameList2): made symmetric with opNameList |
| 27658 |
|
| 27659 |
Mon Jul 6 09:27:26 1998 Steven Eker <[email protected]> |
| 27660 |
|
| 27661 |
* preModule.hh (class PreModule): removed name member from struct OpDecl |
| 27662 |
|
| 27663 |
* preModule.cc (dump): use prefix name code rather than full |
| 27664 |
mixfix name |
| 27665 |
|
| 27666 |
* ops.cc (addOpDecl): don't store full op name |
| 27667 |
|
| 27668 |
* parser.bison (opName): removed lexer mode changes |
| 27669 |
(opNameList): removed lexer mode changes |
| 27670 |
(opName2): deleted since we no longer need to flip |
| 27671 |
lexer state |
| 27672 |
(opNameList2): eleted since we no longer need to flip |
| 27673 |
lexer state |
| 27674 |
(command): added new opNameList2 and syntax for trace select/deselect |
| 27675 |
|
| 27676 |
* mixfixModule.hh (class MixfixModule): 1 arg version of |
| 27677 |
insertSymbol(0 is private |
| 27678 |
|
| 27679 |
* mixfixModule.cc (insertSymbol): had to put in 1 arg version |
| 27680 |
for protectingBool; want to remove this eventually |
| 27681 |
|
| 27682 |
* production.cc (processOps): only use the one remaining insertSymbol() |
| 27683 |
|
| 27684 |
* mixfixModule.hh (class MixfixModule): updated one insertSymbol() |
| 27685 |
decl and deleted other |
| 27686 |
|
| 27687 |
* mixfixModule.cc (insertSymbol): make use of extractMixfix() to |
| 27688 |
get mixfix syntax from prefix name rather than mixfixSyntax arg |
| 27689 |
(insertSymbol): deleted mixfixSyntax arg |
| 27690 |
(insertSymbol): deleted 2 arg version |
| 27691 |
|
| 27692 |
* token.hh (class Token): added decl for extractMixfix() |
| 27693 |
|
| 27694 |
* token.cc (extractMixfix): heavily rewritten |
| 27695 |
|
| 27696 |
Sat Jul 4 13:59:41 1998 Steven Eker <[email protected]> |
| 27697 |
|
| 27698 |
* token.cc (extractMixfix): first attempt at an implementation for |
| 27699 |
this function |
| 27700 |
|
| 27701 |
Thu Jul 2 11:43:16 1998 Steven Eker <[email protected]> |
| 27702 |
|
| 27703 |
* mixfixParser.cc (parseTerm): print out first two parses in |
| 27704 |
ambiguous case |
| 27705 |
|
| 27706 |
* preModule.hh (class PreModule): updated parse() decl |
| 27707 |
|
| 27708 |
* parser.bison (command): use new parse() |
| 27709 |
|
| 27710 |
* command.cc (parse): added |
| 27711 |
|
| 27712 |
* preModule.cc (reduce): deleted |
| 27713 |
(parse): deleted |
| 27714 |
|
| 27715 |
* preModule.hh (setShowStats): added |
| 27716 |
(setShowCmd): added |
| 27717 |
(setShowTiming): added |
| 27718 |
(class PreModule): added decls for above |
| 27719 |
|
| 27720 |
* parser.bison (command): added PreModule calls for set show |
| 27721 |
... commands |
| 27722 |
|
| 27723 |
* preModule.hh (class PreModule): added decls for reduce() and |
| 27724 |
rewrite() |
| 27725 |
|
| 27726 |
* parser.bison (command): use rewrite() and new reduce() |
| 27727 |
|
| 27728 |
* command.cc (rewrite): added |
| 27729 |
|
| 27730 |
* preModule.hh (class PreModule): added static data members |
| 27731 |
showCmd, showStats, showTiming, saved |
| 27732 |
|
| 27733 |
Wed Jul 1 11:14:10 1998 Steven Eker <[email protected]> |
| 27734 |
|
| 27735 |
* command.cc: created |
| 27736 |
|
| 27737 |
* mixfixParser.cc (makeStatement): handle labels correctly |
| 27738 |
|
| 27739 |
* mixfixModule.cc (makeLabelProductions): pass MAKE_LABEL as |
| 27740 |
action and label token number as data to insertProd() |
| 27741 |
|
| 27742 |
* mixfixParser.cc (makeStatement): added mb, cmb, rl, crl cases |
| 27743 |
|
| 27744 |
* mixfixModule.cc (makeStatementProductions): added actions to |
| 27745 |
several productions |
| 27746 |
|
| 27747 |
* mixfixModule.hh (class MixfixModule): added actions MAKE_RL, |
| 27748 |
MAKE_CRL, MAKE_LABEL, MAKE_MB, MAKE_CMB |
| 27749 |
|
| 27750 |
* mixfixParser.cc (makeStatement): added |
| 27751 |
(makeCondition): added |
| 27752 |
(makeTerm): removed MAKE_EQ and MAKE_CEQ code |
| 27753 |
(parseStatement): call makeStatement() rather than makeTerm() |
| 27754 |
|
| 27755 |
* preModule.cc (fixUpIdentities): use parseTerm() rather than parseSentence() |
| 27756 |
(processStatements): use parseStatement() rather than parseTerm() |
| 27757 |
(parse): use parseTerm() rather than parseSentence() |
| 27758 |
(reduce): use parseTerm() rather than parseSentence() |
| 27759 |
|
| 27760 |
* mixfixParser.cc (parseSentence): now just do first part of pass; |
| 27761 |
don't call makeTerm() |
| 27762 |
|
| 27763 |
* mixfixModule.hh (class MixfixModule): parseSentence() now returns |
| 27764 |
int and is private, makeTerm() is private; adde decls for |
| 27765 |
parseTerm() and parseStatement() |
| 27766 |
|
| 27767 |
* mixfixParser.cc (parseTerm): added |
| 27768 |
(parseStatement): added |
| 27769 |
|
| 27770 |
* mixfixModule.hh (domainComponentIndex): moved to mixfixModule.cc |
| 27771 |
|
| 27772 |
* mixfixModule.cc (protectingBool): don't call setBool() |
| 27773 |
|
| 27774 |
* mixfixParser.cc: now becomes another implementation file for class MixfixModule |
| 27775 |
(setBool): deleted |
| 27776 |
(insertProd): use data member parser |
| 27777 |
(parseSentence): use data member parser |
| 27778 |
(makeTerm): no need to reference module. |
| 27779 |
|
| 27780 |
* mixfixModule.hh (class MixfixModule): no longer derived from MixfixParser |
| 27781 |
(class MixfixModule): added enum Actions and data members tokens, |
| 27782 |
parser, actions, data. |
| 27783 |
|
| 27784 |
Tue Jun 30 10:24:27 1998 Steven Eker <[email protected]> |
| 27785 |
|
| 27786 |
* userLevelRewritingContext.cc: copied from old front end; |
| 27787 |
selected becomes an IntSet |
| 27788 |
(selectSymbols): symbols becomes an IntSet |
| 27789 |
(traceBeginEqTrial): selected becomes an IntSet so check symbols id() |
| 27790 |
(traceBeginRuleTrial): selected becomes an IntSet so check symbols id() |
| 27791 |
(traceBeginScTrial): selected becomes an IntSet so check symbols id() |
| 27792 |
(tracePreEqRewrite): selected becomes an IntSet so check symbols id() |
| 27793 |
(tracePreRuleRewrite): selected becomes an IntSet so check symbols id() |
| 27794 |
(tracePreScApplication): selected becomes an IntSet so check symbols id() |
| 27795 |
|
| 27796 |
* userLevelRewritingContext.hh: copied from old front end |
| 27797 |
(class UserLevelRewritingContext): make selected an IntSet rather |
| 27798 |
than a PointerSet |
| 27799 |
|
| 27800 |
* parser.bison: added semantic actions for set trace ... commands |
| 27801 |
|
| 27802 |
* prettyPrint.cc (showOps): use printAttributes(); print symbols |
| 27803 |
attributes even when sort calcs are implemented by C++ (no op |
| 27804 |
decls for symbol) |
| 27805 |
|
| 27806 |
* mixfixModule.hh (class MixfixModule): added decls for |
| 27807 |
printAttributes() and showAll() |
| 27808 |
|
| 27809 |
* prettyPrint.cc (printAttributes): added |
| 27810 |
(showAll): added |
| 27811 |
|
| 27812 |
* mixfixModule.hh (class MixfixModule): added enum ModuleType |
| 27813 |
|
| 27814 |
* prettyPrint.cc (showEquations): becomes showEqs() |
| 27815 |
(showRls): added |
| 27816 |
(showMbs): added |
| 27817 |
(showVars): added |
| 27818 |
(showSorts): added |
| 27819 |
(showOps): added |
| 27820 |
|
| 27821 |
* parser.bison (command): call calls to showSorts(), showOps(), |
| 27822 |
showVars(), showMbs(), showRls(); showEquations() becomes showEqs() |
| 27823 |
|
| 27824 |
* mixfixModule.hh (class MixfixModule): added decls for |
| 27825 |
showSorts(), showOps(), showVars(), showMbs(), showRls(); |
| 27826 |
showEquations() becomes showEqs() |
| 27827 |
|
| 27828 |
Mon Jun 29 10:36:29 1998 Steven Eker <[email protected]> |
| 27829 |
|
| 27830 |
* mixfixModule.hh (class MixfixModule): added decl for showEquations() |
| 27831 |
|
| 27832 |
* prettyPrint.cc (operator<<): added operator<<() for const |
| 27833 |
NamedEntity*, const SortConstraint*, const Equation* and const |
| 27834 |
Rule* |
| 27835 |
(showEquations): added |
| 27836 |
|
| 27837 |
* lexer.flex: added sorts, ops, vars, mbs, eqs, rls keyword in |
| 27838 |
INITIAL mode |
| 27839 |
|
| 27840 |
* parser.bison (command): added syntax for show sorts, show ops, |
| 27841 |
show vars, show mbs, show eqs, show rls |
| 27842 |
|
| 27843 |
* lexer.flex: added "all" and "module" keywords |
| 27844 |
|
| 27845 |
* parser.bison: added syntax for show mod, show module and show all |
| 27846 |
|
| 27847 |
* ops.cc (setStrat): allow -ve strat arg positions |
| 27848 |
|
| 27849 |
* preModule.cc (makeSymbol): pass users strategy to symbol ctors |
| 27850 |
|
| 27851 |
* preModule.hh (class PreModule): added strategy member to struct OpDef |
| 27852 |
(class PreModule): added decl for setStrat() |
| 27853 |
|
| 27854 |
* ops.cc (setGather): clear opDef.gather and gather in error case |
| 27855 |
(setStrat): added |
| 27856 |
|
| 27857 |
* parser.bison (attribute): call setStrat() |
| 27858 |
|
| 27859 |
Sat Jun 27 16:54:43 1998 Steven Eker <[email protected]> |
| 27860 |
|
| 27861 |
* prettyPrint.cc (graphCount): added |
| 27862 |
(graphPrint): added |
| 27863 |
|
| 27864 |
Fri Jun 26 10:58:51 1998 Steven Eker <[email protected]> |
| 27865 |
|
| 27866 |
* prettyPrint.cc (prettyPrint): created Term* version |
| 27867 |
|
| 27868 |
* mixfixModule.hh (class MixfixModule): make prettyPrint() |
| 27869 |
private, remove default args; make printTokens() and printTails() static |
| 27870 |
(class MixfixModule): make operator<<() for Term* and DagNode* friends |
| 27871 |
|
| 27872 |
* prettyPrint.cc (prettyPrint): set needAssocParen if symbol is |
| 27873 |
associative and printWithParens is true |
| 27874 |
Move operator<< for DagNode* here |
| 27875 |
Move operator<< for Term* here |
| 27876 |
|
| 27877 |
* mixfixModule.hh (setPrintMixfix): added |
| 27878 |
(setPrintWithParens): added |
| 27879 |
(setPrintFlat): added |
| 27880 |
(setPrintGraph): added |
| 27881 |
|
| 27882 |
* parser.bison (command): added actions for set print ... commmands |
| 27883 |
|
| 27884 |
* prettyPrint.cc: created to hold all pretty printer code |
| 27885 |
(prettyPrint): simplified use of arg |
| 27886 |
(printTails): set noSpace if pos == 0 so that multi token |
| 27887 |
constants don't get an extra leading space |
| 27888 |
(prettyPrint): handle printFlat flag |
| 27889 |
|
| 27890 |
* mixfixModule.cc (prettyPrint): mixfixFlag -> printMixfix, |
| 27891 |
maxParenFlag -> printWithParens |
| 27892 |
|
| 27893 |
* mixfixModule.hh (class MixfixModule): added static data members |
| 27894 |
printFlat and printGraph; mixfixFlag -> printMixfix, maxParenFlag |
| 27895 |
-> printWithParens |
| 27896 |
|
| 27897 |
* lexer.flex (id): ASSOC -> KW_ASSOC, CONDITION -> KW_CONDITION |
| 27898 |
|
| 27899 |
* parser.bison (attrKeyword): ASSOC -> KW_ASSOC, CONDITION -> |
| 27900 |
KW_CONDITION to prevent defines clashing with enums in included |
| 27901 |
header files |
| 27902 |
|
| 27903 |
* mixfixModule.hh (nonTerminal): moved to mixfixModule.cc |
| 27904 |
|
| 27905 |
* lexer.flex: added extra keywords needed for set commands |
| 27906 |
|
| 27907 |
* parser.bison (command): added syntax for set commands |
| 27908 |
|
| 27909 |
Thu Jun 25 15:18:18 1998 Steven Eker <[email protected]> |
| 27910 |
|
| 27911 |
* mixfixModule.cc (computePrecAndGather): don't let gather values go -ve |
| 27912 |
by prec 0 and gather e |
| 27913 |
(computePrecAndGather): give assoc infix operator with prec > 0 |
| 27914 |
the gather pattern (e E) |
| 27915 |
(printTails): handle needAssocParen flag |
| 27916 |
(prettyPrint): take into account the possible need for parens |
| 27917 |
inside the right associative unflattening of a flatten assoc term |
| 27918 |
(printTails): don't set noSpace = true when we print an assoc |
| 27919 |
paren because if we were really unflatten first before printing |
| 27920 |
then thisparen can have no effect on a tail that is really above |
| 27921 |
it in the unfattened term |
| 27922 |
(printTails): set noSpace = false at the start of each out loop |
| 27923 |
iteration based on similar reasoning |
| 27924 |
|
| 27925 |
* mixfixParser.hh (class MixfixParser): MAKE_TRUE replaces MAKE_CEQ2 |
| 27926 |
|
| 27927 |
* mixfixParser.cc (makeTerm): fuse CEQ and CEQ2 cases to handle |
| 27928 |
CONDITION nonterminal |
| 27929 |
|
| 27930 |
* mixfixModule.cc (protectingBool): simplified now that we have a |
| 27931 |
non-terminal for condition |
| 27932 |
(makeStatementProductions): use CONDITION and give its (initial) definition |
| 27933 |
|
| 27934 |
* mixfixModule.hh (class MixfixModule): added CONDITION to enum NonTerminal |
| 27935 |
|
| 27936 |
* mixfixModule.cc (createEquality): use EQUALITY_PREC |
| 27937 |
|
| 27938 |
* mixfixModule.hh (class MixfixModule): added static member gatherPrefix |
| 27939 |
|
| 27940 |
* mixfixModule.cc (MixfixModule): initialize gatherPrefix |
| 27941 |
(makeSymbolProductions): use gatherPrefix for assoc case |
| 27942 |
|
| 27943 |
Wed Jun 24 15:55:23 1998 Steven Eker <[email protected]> |
| 27944 |
|
| 27945 |
* mixfixModule.cc (makeSymbolProductions): use PREFIX_GATHER |
| 27946 |
rather than any |
| 27947 |
(MixfixModule): initialize gatherPrefixPrefix |
| 27948 |
(makeComponentProductions): use gatherPrefixPrefix and |
| 27949 |
PREFIX_GATHER for assoc lists |
| 27950 |
|
| 27951 |
* preModule.cc (OpDef): set prec to default |
| 27952 |
|
| 27953 |
* ops.cc (setGather): use enum GatherSymbols constants |
| 27954 |
|
| 27955 |
* production.cc (processOps): don't process opdefs here since |
| 27956 |
default prec depends on exact syntax of operator, and computation |
| 27957 |
of default gather might even depend on sort info |
| 27958 |
(processOps): all syntax processing removed |
| 27959 |
|
| 27960 |
* mixfixModule.hh (class MixfixModule): added enum GatherSymbols; |
| 27961 |
added decl for computePrecAndGather() |
| 27962 |
|
| 27963 |
* mixfixModule.cc (computePrecAndGather): added |
| 27964 |
(makeSymbolProductions): call computePrecAndGather() |
| 27965 |
|
| 27966 |
* mixfixModule.hh (class MixfixModule): added EQUALITY_PREC to |
| 27967 |
enum Precedence |
| 27968 |
|
| 27969 |
Tue Jun 23 17:45:34 1998 Steven Eker <[email protected]> |
| 27970 |
|
| 27971 |
* mixfixModule.cc (printTokens): try to get spacing correct |
| 27972 |
(printTails): try to get spacing correct |
| 27973 |
|
| 27974 |
* mixfixModule.hh (class MixfixModule): updated prettyPrint() decl |
| 27975 |
|
| 27976 |
* main.cc (operator<<): updated call to prettyPrint() |
| 27977 |
|
| 27978 |
* mixfixModule.cc (insertSymbol): set flags field |
| 27979 |
(insertSymbol): set flags field |
| 27980 |
(createItef): set flags field |
| 27981 |
(createEquality): set flags field |
| 27982 |
(createSortTest): set flags field |
| 27983 |
(makeSymbolProductions): use si.flags |
| 27984 |
(prettyPrint): rewritten to handle left and right capture and new flags |
| 27985 |
|
| 27986 |
* mixfixModule.hh (class MixfixModule): added static data members |
| 27987 |
mixfixFlag and maxParenFlag |
| 27988 |
(class MixfixModule): added PREFIX_PREC, PREFIX_GATHER, |
| 27989 |
UNARY_PREC, INFIX_PREC to enum Precedence |
| 27990 |
(class MixfixModule): SymbolInfo assoc field changes to flags; |
| 27991 |
added enum SyntaxFlags |
| 27992 |
|
| 27993 |
Wed Jun 17 10:50:22 1998 Steven Eker <[email protected]> |
| 27994 |
|
| 27995 |
* mixfixParser.cc (makeTerm): updated to use new createSortTest() conventions |
| 27996 |
(makeTerm): fixed really nasty bug where we were using node number |
| 27997 |
rather than production number to find data (sort index) for CREATE_SORT_TEST |
| 27998 |
(insertProd): print action and data numbers |
| 27999 |
|
| 28000 |
* mixfixModule.hh (class MixfixModule): updated createSortTest(); |
| 28001 |
added data members eagerSortTests and lazySortTests |
| 28002 |
|
| 28003 |
* mixfixModule.cc (createEquality): added |
| 28004 |
(protectingBool): insert productions for mixfix version of equalities |
| 28005 |
(createSortTest): added |
| 28006 |
(makeComponentProductions): pass sort index as data field in sort production |
| 28007 |
(createSortTest): changed so we return Term* and store pointers to |
| 28008 |
created sort test symbols in MinfixModule rather than MixfixParser |
| 28009 |
|
| 28010 |
* mixfixModule.hh (class MixfixModule): added decls for |
| 28011 |
createEquality() and createSortTest() |
| 28012 |
|
| 28013 |
* mixfixParser.cc (makeTerm): added CREATE_EQUALITY and |
| 28014 |
CREATE_SORT_TEST cases |
| 28015 |
|
| 28016 |
* mixfixModule.cc (protectingBool): use class boolSort, trueSymbol |
| 28017 |
and falseSymbol variables |
| 28018 |
|
| 28019 |
* mixfixParser.cc (makeTerm): use createItef() |
| 28020 |
|
| 28021 |
* mixfixModule.hh (class MixfixModule): added decl for createItef |
| 28022 |
and data members boolSort, trueSymbol and falseSymbol |
| 28023 |
|
| 28024 |
* mixfixModule.cc (createItef): added |
| 28025 |
|
| 28026 |
Tue Jun 16 14:59:22 1998 Steven Eker <[email protected]> |
| 28027 |
|
| 28028 |
* mixfixModule.hh (class MixfixModule): added static data member getAnyAnyAny |
| 28029 |
|
| 28030 |
* mixfixModule.cc (MixfixModule): initialize gatherAnyAnyAny; |
| 28031 |
|
| 28032 |
* mixfixParser.cc (makeTerm): handle CREATE_ITEF |
| 28033 |
|
| 28034 |
* mixfixModule.cc (protectingBool): add syntax for if_then_else_fi |
| 28035 |
in each component |
| 28036 |
|
| 28037 |
* mixfixParser.cc (setBool): added; replaces setTrueSymbol() |
| 28038 |
|
| 28039 |
* mixfixParser.hh (class MixfixParser): added data members |
| 28040 |
falseSymbol and boolSort |
| 28041 |
(class MixfixParser): added decl for setBool(), deleted decl for setTrueSymbol() |
| 28042 |
|
| 28043 |
* mixfixParser.cc (insertProd): take datum arg |
| 28044 |
(makeTerm): make use of data vec |
| 28045 |
|
| 28046 |
* mixfixParser.hh (class MixfixParser): added data member data |
| 28047 |
(class MixfixParser): module now a pointer to MixfixModule |
| 28048 |
(class MixfixParser): actions are no longer -ve; added MAKE_TERM |
| 28049 |
(class MixfixParser): updated insertProd() decl |
| 28050 |
|
| 28051 |
Mon Jun 15 17:16:49 1998 Steven Eker <[email protected]> |
| 28052 |
|
| 28053 |
* preModule.cc (process): call protectingBool(); don't pass 2nd |
| 28054 |
arg to makeGrammar() |
| 28055 |
|
| 28056 |
* mixfixModule.hh (class MixfixModule): make protectingBool() public |
| 28057 |
(class MixfixModule): reverted makeGrammar() decl |
| 28058 |
|
| 28059 |
* mixfixModule.cc (makeGrammar): removed protectingBool() stuff |
| 28060 |
|
| 28061 |
* production.cc (processOps): don't call protectingBoolOps() |
| 28062 |
|
| 28063 |
* mixfixModule.hh (class MixfixModule): updated makeGrammar() decl |
| 28064 |
|
| 28065 |
* preModule.cc (process): pass 0 as 2nd arg to makeGrammar() |
| 28066 |
|
| 28067 |
* mixfixModule.cc (protectingBool): added |
| 28068 |
(makeGrammar): take boolSortIndex arg; call protectingBool if necessary |
| 28069 |
|
| 28070 |
* mixfixModule.hh (class MixfixModule): added decl for protectingBool() |
| 28071 |
|
| 28072 |
* preModule.cc (getSort): compare index to NONE rather than 0 |
| 28073 |
|
| 28074 |
Fri Jun 12 09:57:02 1998 Steven Eker <[email protected]> |
| 28075 |
|
| 28076 |
* bool.cc (protectingBoolSort): use insert() instead of int2Index() |
| 28077 |
|
| 28078 |
* preModule.cc (processSorts): use insert() instead of int2Index() |
| 28079 |
(getSort): use insert() instead of int2Index(); no need to use contains |
| 28080 |
|
| 28081 |
* production.cc (makeLabelProductions): use cardinality() instead |
| 28082 |
of nrElements() |
| 28083 |
|
| 28084 |
* preModule.cc (addRule): use insert() instead of int2Index() |
| 28085 |
|
| 28086 |
Thu Jun 11 18:26:40 1998 Steven Eker <[email protected]> |
| 28087 |
|
| 28088 |
* mixfixParser.cc (insertProd): use insert() instead of int2Index() |
| 28089 |
(parseSentence): no need to use contains |
| 28090 |
|
| 28091 |
* preModule.hh (class PreModule): IntTable -> IntSet |
| 28092 |
|
| 28093 |
===================================Engine38================================================== |
| 28094 |
|
| 28095 |
Mon Jun 8 18:21:46 1998 Steven Eker <[email protected]> |
| 28096 |
|
| 28097 |
* parser.bison (opNameList): added; old opNameList becomes |
| 28098 |
opNameList2 inorder to switch lex mode |
| 28099 |
(opName2): changed paren case to allow _(_); also allows completely |
| 28100 |
empty syntax which we must now check for elsewhere |
| 28101 |
(simpleOpName): changed paren case to allow _(_); also allows completely |
| 28102 |
empty syntax which we must now check for elsewhere |
| 28103 |
|
| 28104 |
Fri Jun 5 09:32:11 1998 Steven Eker <[email protected]> |
| 28105 |
|
| 28106 |
* preModule.cc (insertSymbol): added |
| 28107 |
(prettyPrint): added |
| 28108 |
(printTokens): added |
| 28109 |
(printTails): added |
| 28110 |
|
| 28111 |
* production.cc (processOps): call new insertSymbol() with syntax info |
| 28112 |
|
| 28113 |
* preModule.cc (process): call makeLabelProductions() |
| 28114 |
|
| 28115 |
* preModule.hh (class PreModule): added struct SymbolInfo to |
| 28116 |
maintain info for pretty printing and eventually symbol production |
| 28117 |
rule generation (want to do it after signature closed so we can |
| 28118 |
attempt automagic gather generation for say list ctors based on |
| 28119 |
complete sort info; also we may want to deal with imported symbols) |
| 28120 |
(class PreModule): added data member symbolInfo |
| 28121 |
|
| 28122 |
* production.cc (makeLabelProductions): added |
| 28123 |
|
| 28124 |
* preModule.hh (class PreModule): added LABEL and RULE_BODY to enum NonTerminal |
| 28125 |
|
| 28126 |
* intTable.hh (nrElements): added |
| 28127 |
|
| 28128 |
* preModule.cc (addRule): added |
| 28129 |
|
| 28130 |
* preModule.hh (class PreModule): added labels data member |
| 28131 |
|
| 28132 |
* parser.bison (declaration): use addRule() for rules so that we |
| 28133 |
can identify any possible labels. |
| 28134 |
|
| 28135 |
Thu Jun 4 10:34:19 1998 Steven Eker <[email protected]> |
| 28136 |
|
| 28137 |
* production.cc (makeStatementProductions): added productions for |
| 28138 |
RULE_BODY, but not sure this is a good idea. |
| 28139 |
|
| 28140 |
* preModule.cc (fixUpIdentities): added |
| 28141 |
(fixUpIdentities): parse identity starting with root determined by |
| 28142 |
approriate domain connected component. |
| 28143 |
(makeSymbol): must create variables! |
| 28144 |
|
| 28145 |
* production.cc (processOps): set opDecl.symbol in the case its a |
| 28146 |
polymorphic overloading of an existing symbol |
| 28147 |
|
| 28148 |
Wed Jun 3 17:56:27 1998 Steven Eker <[email protected]> |
| 28149 |
|
| 28150 |
* ops.cc (setFlag): take int so we can set several flags at once |
| 28151 |
|
| 28152 |
* production.cc (processOps): use makeSymbol() |
| 28153 |
|
| 28154 |
* preModule.cc (makeSymbol): added |
| 28155 |
|
| 28156 |
* parser.bison (attribute): call setIdentity() where needed |
| 28157 |
|
| 28158 |
* ops.cc (setIdentity): added |
| 28159 |
|
| 28160 |
* preModule.hh (class PreModule): added identity to OpDef() |
| 28161 |
|
| 28162 |
* Mixfix2 stable enough to start ChangeLog |
| 28163 |
* parser.bison (attribute): call setFlag() where needed |