aboutsummaryrefslogtreecommitdiff
path: root/src/interp/nruncomp.boot
AgeCommit message (Collapse)AuthorFilesLines
2016-02-08Do not let domain closure escape lookupDefinitionFunctionGabriel Dos Reis1-6/+0
A successful call to compiledLookup will come up with any of the form that results from stuffSlot. Handle them here. Remove confused and dead code.
2016-02-07Remove $NRTaddFormGabriel Dos Reis1-10/+7
Use a %CompilerData slot to hold the corresponding data during the elaboration of a capsule.
2016-02-07Remove $NRTderivedTargetIfTrueGabriel Dos Reis1-5/+1
It wasn't used in any meaningful way -- its value was always set to 'false'. Furthermore, it didn't match documentation.
2016-02-07Various cleanupsGabriel Dos Reis1-5/+5
Use `domainDirectory dom` instead of `domainRef(dom,1)`.
2016-01-30Normalize spelling of mkpf.Gabriel Dos Reis1-1/+1
2016-01-06optFunctorBody: Take a DB argument.Gabriel Dos Reis1-2/+2
2015-12-30Thread database parameter through more compiler functions.Gabriel Dos Reis1-1/+1
2015-12-30Add more dependencies in the algberas' Makefile.am.Gabriel Dos Reis1-1/+1
2015-12-30Remove attributes unitsKnown, leftUnitary, rightUnitary, canonicalsClosed, ↵Gabriel Dos Reis1-1/+1
central, noetherian, NullSquare, JacobiIdentity.
2015-12-29Introduce '' for the slot number of the add-chain domain.Gabriel Dos Reis1-8/+11
2015-12-28stuffSlot: Take the function directly from getLookupFun.Gabriel Dos Reis1-4/+1
2015-12-27Simplify representation of constants in functors.Gabriel Dos Reis1-3/+3
2015-12-27Use '%closure' instead of 'CONS' in functor data.Gabriel Dos Reis1-2/+2
2015-12-26Remove dead and bogus code for constant assginments.Gabriel Dos Reis1-4/+1
2015-12-26Rename 'lastItem' to 'last'. Remove the macro definition.Gabriel Dos Reis1-1/+1
2015-12-26Tidy NRTputInLocalReferences.Gabriel Dos Reis1-9/+6
2015-12-26Remove dispatchFunction.Gabriel Dos Reis1-2/+2
2015-12-26Introduce opcode '%constant' in lieu of IDENTITY.Gabriel Dos Reis1-1/+1
2015-12-26Use brackets instead of Lisp LIST for sequence literals.Gabriel Dos Reis1-1/+1
2015-12-24Replace FUNCALL with apply.Gabriel Dos Reis1-1/+1
2013-06-15Small cleanup in buildFunctor.dos-reis1-4/+3
2013-06-15Remove NRT prefix from most functions.dos-reis1-27/+27
2013-06-15 * interp/nruncomp.boot (NRTsetVector4Part1): Add environment parameter.dos-reis1-10/+12
Adjust caller. (NRTsetVector4a): Likewise. Avoid special variable for environment. * boot/utility.boot: Add and export substSource, substTarget. * interp/define.boot: Use them.
2013-06-13avoid uses of special variables for environments.dos-reis1-14/+14
2013-06-01Cache category objects created at functor build time.dos-reis1-1/+2
2013-05-28 Remove $domainShell.dos-reis1-6/+5
2013-05-28Add DB parameter to compNoStackingdos-reis1-1/+1
2013-05-27Add DB parameters to finalization functions.dos-reis1-5/+5
2013-05-15 * interp/nruncomp.boot (NRTputInHead): Tidy.dos-reis1-15/+16
2013-05-11Fix opcode for references to domain-wide entitiesdos-reis1-4/+4
2012-02-27 * interp/nruncomp.boot (markOperation): New.dos-reis1-1/+6
(optDeltaEntry): Implement better patch for last change. * interp/compiler.boot (compFormWithModemap): Undo last change.
2012-02-26 * interp/compiler.boot (compTopLevel): Do not bind $killOptimizeIfTrue.dos-reis1-2/+0
(compWithMappingMode): Likewise. (compUnnamedMapping): Likewise. (extractCode): Simplify. * interp/g-opt.boot (optClosure): New. Register. (semiSimpleRelativeTo?): An abstraction is always semisimple. * interp/nruncomp.boot ($killOptimizeIfTrue): Remove. (optDeltaEntry): Don't test for it.
2012-02-25 * interp/nruncomp.boot (genDeltaEntry): Fix thinko.dos-reis1-1/+1
2012-02-23 * interp/nruncomp.boot (genDeltaEntry): Replace applyFun with %apply.dos-reis1-1/+1
* interp/lisp-backend.boot (expandApply): Remove. Unregister expander. * interp/g-opt.boot (optCall): applyFun is not longer an opcode. Look for %apply. * interp/compiler.boot (applyMapping): Generate ['%call,['%apply,.]] form, not ['%apply,..] form. (extractCodeAndConstructTriple): Tidy. (compApplication): Likewise.
2012-02-05 * interp/nruncomp.boot (getLocalIndex): Fast track niladicdos-reis1-1/+2
constructors. * algebra/syntax.spad.pamphlet: Miscellaneous cleanup.
2012-01-01 * interp/define.boot (evalCategoryForm): New.dos-reis1-2/+2
(mkCategoryPackage): Use it. (compMakeCategoryObject): Likewise. * interp/nruncomp.boot (NRTsetVector4a): Likewise.
2011-12-28 * boot/tokens.boot: Do not rewrite drop and take.dos-reis1-1/+1
* boot/utility.boot (drop): Define and export. (take): Likewise. * interp/br-con.boot: Use take, not TAKE; use drop, not DROP. * interp/br-data.boot: Likewise. * interp/br-op1.boot: Likewise. * interp/br-saturn.boot: Likewise. * interp/c-doc.boot: Likewise. * interp/c-util.boot: Likewise. * interp/cattable.boot: Likewise. * interp/clammed.boot: Likewise. * interp/compiler.boot: Likewise. * interp/database.boot: Likewise. * interp/define.boot: Likewise. * interp/guess.boot: Likewise. * interp/htsetvar.boot: Likewise. * interp/i-analy.boot: Likewise. * interp/i-eval.boot: Likewise. * interp/i-funsel.boot: Likewise. * interp/i-map.boot: Likewise. * interp/i-output.boot: Likewise. * interp/i-special.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/i-toplev.boot: Likewise. * interp/i-util.boot: Likewise. * interp/nruncomp.boot: Likewise. * interp/parse.boot: Likewise. * interp/record.boot: Likewise. * interp/setvars.boot: Likewise. * interp/slam.boot: Likewise. * interp/trace.boot: Likewise. * interp/word.boot: Likewise. * interp/macros.lisp (DROP): Remove. (TAKE): Likewise.
2011-12-08 * interp/g-opt.boot (tranformIF!): New.dos-reis1-3/+3
(optimize!): Likewise. Abstract from optimizeFunctionDef. (optimize): New. (optimizeFunctionDef): Use optimize!. (simplifyVMForm): Do not call optIF2COND. (optIF2COND): Remove. * interp/compiler.boot (compHasFormat): Use optimize! in lieu of simplifyVMForm. * interp/nruncomp.boot (NRTencode): Use optimize. (NRTsetVector4a): Likewise.
2011-12-07 * interp/compiler.boot (compReduce1): Tidy.dos-reis1-2/+2
* interp/define.boot (compDefineCategory2): Likewise. * interp/nruncomp.boot (buildFunctor): Likewise. * interp/slam.boot (compileRecurrenceRelation): Likewise. * interp/lisp-backend.boot (expandSeq): Use PROGN in absence of EXIT.
2011-12-03 * interp/nruncomp.boot (washFunctorBody) [clean]: Clean %whendos-reis1-0/+4
forms too.
2011-11-29 * boot/tokens.boot (absKind, absParms, absBody): New selectors.dos-reis1-2/+1
* interp/compiler.boot (canReturn): Handle %lambda forms. (compUnnamedMapping): Generate %lambda forms. Don't optimize them yet. * interp/g-opt.boot: %lambda forms are side-effect free. * interp/lisp-backend.boot: Translate them.
2011-11-28 * interp/nruncomp.boot (genDeltaEntry): Use $ for the domain ofdos-reis1-0/+2
computation it if is the expanded form of the current domain.
2011-11-28 * interp/define.boot (encodeCatform): Handle $ here.dos-reis1-6/+4
* interp/nruncomp.boot (deltaTran): assocIndex now handles $. (getLocalIndex): Likewise. (NRTencode): Handle $ before calling assocIndex. (assocIndex): Handle $.
2011-11-28 * interp/nruncomp.boot (genDeltaEntry): Replace Rep with its valuedos-reis1-0/+2
if it is the domain of computation.
2011-11-27 * interp/define.boot (assignCapsuleFunctionSlot): Slot originaldos-reis1-33/+15
signature too. * interp/nruncomp.boot (genDeltaEntry): Likewise. (getLocalIndex): Tidy. (changeDirectoryInSlot1): Tidy. (vectorLocation): Add a kind of operation as fourth argument. Adjust caller. Do not reconstruct the signature. (NRTsubstDelta): Remove as no longer used.
2011-11-27 * interp/nruncomp.boot (assocIndex): Rename from NRTassocIndex.dos-reis1-13/+13
Adjust callers.
2011-11-26 * interp/define.boot (assignCapsuleFunctionSlot): Do not calldos-reis1-11/+5
NRTisExported?. Determine operation kind locally. Do not store implement slot on the used entity list. * interp/nruncomp.boot (genDeltaEntry): Likewise. (deltaTran): Simplify. (NRTisExported?): Remove. (vectorLocation): Adjust.
2011-11-26 * interp/nruncomp.boot (genDeltaEntry): Split first argument intodos-reis1-13/+12
separate arguments (operation and modemap). Adjust callers.
2011-11-26 * interp/define.boot ($NRTdeltaList): Remove.dos-reis1-37/+31
($NRTdeltaListComp): Likeewise. (compDefineFunctor1): Do not bind them. (assignCapsuleFunctionSlot): Use dbUsedEntities. * interp/nruncomp.boot (NRTaddDeltaCode): Likewise. (dbEntitySlot): New. (NRTassocIndex): Use it. (genDeltaEntry): Use dbUsedEntities. (getLocalIndex): Likewise. (vectorLocation): Likewise. (NRTsubstDelta): Likewise.
2011-11-26 * interp/br-con.boot (conOpPage1): Fix typo.dos-reis1-92/+90
* interp/c-util.boot (registerConstructor): New. (currentConstructor): Likewise. (makeCompilationData): Initialize dbEntityBuffer. (dbEntityBuffer): New. (dbUsedEntities): Likewise. (dbEntityCount): Likewise. * interp/compiler.boot: Adjust call to getLocalIndex, NRTassocIndex * interp/define.boot: Likewise. ($NRTdeltaLength): Remove. * interp/nruncomp.boot: Likewise.