aboutsummaryrefslogtreecommitdiff
path: root/src/interp/define.boot
AgeCommit message (Collapse)AuthorFilesLines
2016-02-07Remove $NRTaddFormGabriel Dos Reis1-13/+13
Use a %CompilerData slot to hold the corresponding data during the elaboration of a capsule.
2016-02-02Rename dbConstructorDefault to dbDefaultPackageGabriel Dos Reis1-3/+3
And various cleanups.
2016-02-01Remove dead code in compFunctorBodyGabriel Dos Reis1-4/+0
2016-02-01Better indirect call resolutionGabriel Dos Reis1-10/+8
The infrastructure put in place in the last few commits now enables better indirect calls ('SPADCALL') to operations implemented in the same capsule. The improvement here is that the limitation of unconditional definition is removed. Now, even conditional definitions are resolved as long as the its predicate and the predicate of the current function match.
2016-01-31Tidy noteCapsuleFunctionDefinitionGabriel Dos Reis1-7/+9
2016-01-31Defer compilation of capsule functions to compFunctorBodyGabriel Dos Reis1-4/+3
2016-01-31Rename compileConstrutor to compileConstructorIRGabriel Dos Reis1-17/+10
Establish a distinct control path for compiling constructor bodies. Avoid routing these IRs via 'compile', which should be used only for capsule-level definitions.
2016-01-31Small cleanup in define.bootGabriel Dos Reis1-12/+3
2016-01-31Tidy spadCompileOrSetqGabriel Dos Reis1-10/+5
2016-01-31Remove a couple of global states from the compiler.Gabriel Dos Reis1-14/+10
2016-01-30writeCapsuleLevelDefinitions: don't write into the index fileGabriel Dos Reis1-8/+9
2016-01-30compDefineCapsuleFunction: Tidy.Gabriel Dos Reis1-5/+1
2016-01-30Make signature definitions parts of %CompilationData.Gabriel Dos Reis1-12/+5
2016-01-30Normalize spelling of mkpf.Gabriel Dos Reis1-5/+5
2016-01-21getConstructorAncestorsFromDB: get them from generated codeGabriel Dos Reis1-1/+1
Ancestors for category constructors are stored in databases with parameter names of the form #1, #2, etc. called "formals", instead of the user-writtern parameters in the input souce code. However, the ancestors as previously stored in generated code used the input source-level parameter names. Changed to formals, so no rewrite needed before making databases.
2016-01-12Share more code between various parts of the compiler.Gabriel Dos Reis1-3/+3
2016-01-09Every use of getDualSignature that does not ensure that builtinGabriel Dos Reis1-6/+5
constructors are handled before the call is a bug. This patch fixes most the obvious and glaring places. Hopefully, the remaining cases will be exercised when getDualSignature bypasses the on-disk database mamouth.
2016-01-07computeAncestorsOf: First parameter is now a DB for the the constructor.Gabriel Dos Reis1-2/+2
2016-01-07Remove dead code. Add DB parameter for getFormModemaps.Gabriel Dos Reis1-18/+19
2016-01-06Remove $insideCategoryIfTrue. Replace with call to new function dbForCategory?Gabriel Dos Reis1-3/+1
2016-01-06optFunctorBody: Take a DB argument.Gabriel Dos Reis1-1/+1
2016-01-06macroExpand: Do not expand the definiendum in a definition.Gabriel Dos Reis1-5/+5
2015-12-30Thread database parameter through more compiler functions.Gabriel Dos Reis1-17/+17
2015-12-29Introduce '' for the slot number of the add-chain domain.Gabriel Dos Reis1-3/+3
2015-12-27Write out a functor's operation table separately in generated code stream.Gabriel Dos Reis1-2/+3
2015-12-26Remove dispatchFunction.Gabriel Dos Reis1-2/+2
2015-12-24Replace FUNCALL with apply.Gabriel Dos Reis1-1/+1
2013-07-02Rever sharp var list changes.dos-reis1-3/+3
2013-07-01Bring closer to GCL-buildability.dos-reis1-3/+3
2013-06-18 * interp/compiler.boot (compHasFormat): Take a DB parameter.dos-reis1-2/+2
Adjust callers. * interp/define.boot (ICformat): Likewise. * interp/lisplib.boot (predicateBitIndex): Likewise. (predicateBitRef): Likewise. (transHasCode): Likewise.
2013-06-15Store category defaults constructor as part of category constructor DB.dos-reis1-15/+10
2013-06-15 * interp/define.boot (makeCategoryPredicates): Tidy. Adjust caller.dos-reis1-17/+15
2013-06-15Add DB parameter to extendsCategoryForm.dos-reis1-0/+1
2013-06-15Remove NRT prefix from most functions.dos-reis1-5/+5
2013-06-15 * interp/nruncomp.boot (NRTsetVector4Part1): Add environment parameter.dos-reis1-10/+10
Adjust caller. (NRTsetVector4a): Likewise. Avoid special variable for environment. * boot/utility.boot: Add and export substSource, substTarget. * interp/define.boot: Use them.
2013-06-14 * interp/define.boot (getvalue): Rename from GetValue.dos-reis1-6/+6
Take environment as second parameter. Adjust callers.
2013-06-06Do not call allConstructors from compiler.dos-reis1-2/+0
2013-06-02Tell compForMode not to be fussy when bootstrapping the algebra.dos-reis1-0/+6
2013-06-02tidy addInformationdos-reis1-11/+9
2013-06-01Cache more category objects.dos-reis1-30/+43
2013-06-01Cache category objects some more.dos-reis1-1/+1
2013-06-01Cache category objects created at functor build time.dos-reis1-0/+6
2013-06-01Support --output in compiler, for bootstrapping stage.dos-reis1-0/+12
2013-05-30Fix typo.dos-reis1-3/+4
2013-05-30Change backend code emitters to take a %Libname parameterdos-reis1-4/+4
2013-05-29Simplify final backend instruction emission.dos-reis1-0/+2
2013-05-29Simplify backend functionsdos-reis1-1/+1
2013-05-29Misc backend cleanup.dos-reis1-2/+2
2013-05-29Add DB parameter to middle end functions.dos-reis1-5/+5
2013-05-29Misc cleanups.dos-reis1-1/+7