aboutsummaryrefslogtreecommitdiff
path: root/src/boot
AgeCommit message (Collapse)AuthorFilesLines
2008-05-19 * boot/ast.boot: Cleanup.dos-reis14-369/+532
* boot/includer.boot: Likewise. * boot/parser.boot: Likewise. * boot/pile.boot: Likewise. * boot/scanner.boot: Likewise. * boot/tokens.boot: Likewise. * boot/translator.boot: Likewise.
2008-05-19 Port from btx-branch.dos-reis1-8/+26
* lisp/core.lisp.in ($effectiveFaslType): New. * boot/translator.boot (needsStableReference?): Handle the ECL case. (coerceToNativeType): Likewise. (genImportDeclaration): Likewise. (shoeRemoveStringIfNec): Fix thinko. ($bootDefined): Define. ($bootDefinedTwice): Likewise. ($lispWordTable): Likewise. (getIntermediateLispFile): Use $effectiveFaslType. (loadSystemRuntimeCore): Use coreError, not systemError.
2008-05-17 * interp/compiler.boot (compSetq1): Use %Comma, not Tuple.dos-reis1-0/+1
(setqMultiple): Likewise. * interp/def.lisp (DEF-IS2): Likewise. * interp/define.boot (compAdd): Likewise. * interp/fnewmeta.lisp (|PARSE-Enclosure|): Likewise. * interp/fortcall.boot (lmultiToUnivariate): Likewise. (functionAndJacobian): Likewise. (vectorOfFunctions): Likewise. * interp/mark.boot (markMultipleExplicit): Likewise. (markInsertBodyParts): Likewise. * interp/nruncomp.boot (NRTaddDeltaCode): Likewise. * interp/nrunopt.boot (NRTextendsCategory1): Likewise. * interp/postpar.boot (postTransform): Likewise. (postTran): Likewise. (postPretend): Likewise. (postConstruct): Likewise. (postBlockItem): Likewise. (postCategory): Likewise. (postForm): Likewise. (postTransScripts): Likewise. (postJoin): Likewise. (postMapping): Likewise. (postCollect): Likewise. (postInSeq): Likewise. (postType): Likewise. (post%Comma): Rename from postTuple. (unComma): Rename from unTuple. (comma2Tuple): Remove. * interp/trace.boot (traceSpad2Cmd): Use %Comma, not Tuple. * interp/wi1.boot (compSetq1): Likewise. (setqMultiple):Likewise. * boot/translator.boot (compileBootHandler): Give up if translation to Lisp contained errors. * testsuite/compiler/aw-420.spad: New.
2008-05-09 * interp/c-util.boot: Remove Old Boot semantics.dos-reis2-47/+56
* interp/database.boot: Likewise. * interp/format.boot: Likewise. * interp/g-timer.boot: Likewise. * interp/i-analy.boot: Likewise. * interp/i-coerce.boot: Likewise. * interp/i-coerfn.boot: Likewise. * interp/i-eval.boot: Likewise. * interp/i-intern.boot: Likewise. * interp/i-output.boot: Likewise. * interp/i-resolv.boot: Likewise. * interp/i-spec1.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/msgdb.boot: Likewise. * interp/newfort.boot: Likewise. * boot/includer.boot (diagnosticLocation): New. * boot/ast.boot (bfReName): Use it.
2008-05-08 * boot/translator.boot (translateToplevel): Split out of bpOutItem.dos-reis10-143/+229
(maybeExportDecl): New.
2008-05-08 * boot/translator.boot (bpOutItem): Handle namespace declaration.dos-reis8-20/+21
Update all boot files to use `namespace' instead of `)package'. * interp/: Likewise.
2008-04-30 * boot/tokens.boot: Declare tokens as constants.dos-reis2-23/+23
2008-04-30 * boot/parser.boot (bpExportItemList): New.dos-reis10-447/+644
(bpExports): Likewise. (bpModule): Use it. * boot/ast.boot (bfCreateDef): Tidy. * boot/strap: Update cached Lisp translation.
2008-04-29cleanup CLisp FFIdos-reis4-97/+211
2008-04-29Cleanup, part 2.dos-reis2-7/+56
2008-04-24Remove duplicate junk.dos-reis1-2/+7
2008-04-23 * boot/ast.boot: Tidy.dos-reis14-65/+61
* boot/includer.boot: Likewise. * boot/parser.boot: Likewise. * boot/pile.boot: Likewise. * boot/scanner.boot: Likewise. * boot/tokens.boot: Likewise. * boot/translator.boot: Likewise. * boot/strap: Update Lisp translation. * lisp/core.lisp.in: Tidy.
2008-04-22Update cached Lisp translationdos-reis6-435/+678
2008-04-22 * interp/br-data.boot: Tidy.dos-reis1-1/+0
* interp/br-util.boot: Likewise. * interp/c-doc.boot: Likewise. * interp/cattable.boot: Likewise. * interp/clammed.boot: Likewise. * interp/define.boot: Likewise. * interp/g-cndata.boot: Likewise. * interp/g-util.boot: Likewise. * interp/ht-util.boot: Likewise. * interp/i-map.boot: Likewise. * interp/modemap.boot: Likewise. * interp/nrungo.boot: Likewise. * interp/rulesets.boot: Likewise. * interp/slam.boot: Likewise. * interp/i-spec1.boot: Likewise. * interp/Makefile.pamphlet (br-util.$(FASLEXT)): Don't compile as Old Boot. (bc-solve.$(FASLEXT)): Likewise. (ht-util.$(FASLEXT)): Likewise. (rulesets.$(FASLEXT)): Likewise. (i-object.$(FASLEXT)): Likewise. (i-util.$(FASLEXT)): Likewise. (nrunfast.$(FASLEXT)): Likewise. (nrungo.$(FASLEXT)): Likewise. (iterator.$(FASLEXT)): Likewise. (cattable.$(FASLEXT)): Likewise. (c-doc.$(FASLEXT)): Likewise. (posit.$(FASLEXT)): Likewise. (modemap.$(FASLEXT)): Likewise. (slam.$(FASLEXT)): Likewise. (clammed.$(FASLEXT)): Likewise. (g-opt.$(FASLEXT)): Likewise. (g-error.$(FASLEXT)): Likewise. (pathname.$(FASLEXT)): Likewise. (g-util.$(FASLEXT)): Likewise. (g-cndata.$(FASLEXT)): Likewise. * boot/tokens.boot: Remove renaming of NOT to NULL, when compiling Old Boot.
2008-04-19 * boot/translator.boot: Cleanup.dos-reis2-432/+353
2008-04-19 * boot/ast.boot (%DefaultValue): New %Ast node.dos-reis2-22/+47
(bfParameterList): New. (bfInsertLet): Use it. (bfInsertLet1): Handle parameter with default values. * boot/parser.boot (bpRegularBVItemTail): Split from bpRegularBVItem. (bpRegularBVItem): Tidy.
2008-04-14 * boot/tokens.boot: Don't rename NOT.dos-reis1-4/+2
* interp/define.boot: Add declarations. * interp/types.boot (%Signature): New.
2008-04-09 * boot/translator.boot (bpOutItem): Tidy.dos-reis3-5/+24
* boot/parser.boot (bpTypeAliasDefition): Support parameterized alias. * boot/ast.boot (quote): New. (backquote): Likewise. (genTypeAlias): Likewise.
2008-04-02src/boot/dos-reis1-3/+5
* boot/tokens.boot (second): Now candidate for renaming in generated Lisp code. (third): Likewise. src/input/ * input/mapleok.input.pamphlet: Fix typo.
2008-03-26Fix shared linking regressiondos-reis2-6/+6
2008-03-25 * interp/vmlisp.lisp (DEFINE-FUNCTION): Move boot-pkg.lisp.dos-reis1-0/+1
(BPINAME): Tidy. * interp/slam.boot (reportFunctionCompilation): Tidy. * interp/daase.lisp: Don't use anachronistic SET. * interp/debug.lisp: Likewise. * interp/br-saturn.boot: Substitute GENSYM for GENTEMP. * interp/fortcall.boot: Likewise. * interp/ht-util.boot: Likewise. * interp/pf2sex.boot: Likewise. * interp/server.boot: Likewise. * interp/buildom.boot (UnionEqual): Tidy. (coerceUn2E): Likewise. * interp/boot-pkg.lisp (define-function): Define here. * interp/Makefile.pamphlet (diagnostics.$(FASLEXT)): Tidy. (hash.$(FASLEXT)): Likewise. (vmlisp.$(FASLEXT)): Likewise. * interp/diagnostics.boot: Import "types". * interp/hash.lisp: Import "types" instead of "vmlisp". * interp/i-output.boot ($algebraOutput): Move to sys-globals.boot. (ERROROUTSTREAM): Likewise. (ERRORINSTREAM): Likewise. * interp/macros.lisp ($algebraOutputStream): Don't set here. * interp/patches.lisp ($algebraOutputStream): Don't set here. ($texOutputStream): Likewise. ($fortranOutputStream): Likewise. ($texOutputStream): Likewise. ($formulaOutputStream): Likewise.
2008-03-24Add support for SBCL and CLispdos-reis3-19/+74
2008-03-16 * boot/translator.boot: Switch to new native type translation.dos-reis1-1/+2
* interp/sys-driver.boot (stdStreamIsTerminal): Simplify.
2008-03-16 * lisp/Makefile.in (void_type): New.dos-reis3-3/+24
(char_type): Likewise. (int_type): Likewise. (float_type): Likewise. (double_type): Likewise. (string_type): Likewise. (pointer_type): Likewise. (edit): Use them. * interp/wi1.boot (ppFull): Tidy. Don't set *PRINT-DEPTH*. * interp/vmlisp.lisp (gcmsg): Define when SBCL. * interp/template.boot (measureCommon): Fix thinko. * interp/sys-utility.boot: Move basic type definition from g-util.boot to here. * interp/g-util.boot (augProplistOf): Fix signature declaration. * interp/daase.lisp: Tidy. * interp/c-util.boot (displayComp): Remove assignment to $X,$M,$F. * interp/boot-pkg.lisp: Tidy. * interp/axext_l.lisp: Likewise. * interp/Makefile.pamphlet (makeint.lisp): Call GBC only when GCL. ($(axiom_targetdir)/algebra/exposed.$(FASLEXT)): Tidy. (patches.$(FASLEXT)): Require debug.$(FASLEXT), g-timer.$(FASLEXT). (wi2.$(FASLEXT)): Require define.$(FASLEXT). (spad.$(FASLEXT)): Require postpar.$(FASLEXT), debug.$(FASLEXT). * boot/translator.boot (genImportDeclaration): Include translation for SBCL. * boot/parser.boot (bpMapping): Tidy. * boot/ast.boot (coreSymbol): New. (bootSymbol): Likewise. (bootSymbol): Likewise. * lisp/core.lisp.in (|$NativeTypeTable|): New. Export. * algebra/Makefile.pamphlet (COMPILE_LISP): Use $(INTERPSYS). * algebra/exposed.lsp.pamphlet: Tidy.
2008-02-15Tidy src/bootdos-reis2-4/+4
2008-02-15 * boot/parser.boot (bpSimpleCatch): New.dos-reis4-189/+259
(bTry): Use it. * boot/strap: Update.
2008-02-15 Add try/catch to Boot.dos-reis4-20/+73
* boot/tokens.boot (shoeKeyWords): Add new keywords. * boot/ast.boot (Ast): Include three new nodes. (bfTry): New. (bfThrow): Likewise. * boot/parser.boot ($bodyHasReturn): Remove. (bpNoteReturnStmt): Likewise. (bpThrow): New. (bpTry): Likewise. (bpPiledCatchItems): Likewise. (bpCatchItemList): Likewise. (bpExceptionHead): Likewise. (bpExceptionTail): Likewise. (bpException): Likewise. (bpCatchItem): Likewise. (bpReturn): Include `throw' expressions. (bpStatement): Include `try' expressions. * interp/macros.lisp (|tryLine|): Rename from |try|. * interp/pspad1.boot: Replace `try' with `tryLine' throughout.
2008-02-04 * boot/translator.boot (translateToplevelExpression): New.dos-reis9-1766/+1366
(bpOutItem): Use it. * boot/ast.boot (needsPROG): New. (shoeCompTran): Use it. Tidy. (bfMain): Define cache variables before functions manipulating them. * boot/strap/: Update cached Lisp translations. * interp/g-timer.boot: Use assignment instead of SETANDFILEQ at toplevel. * interp/i-syscmd.boot: Likewise. * interp/pf2atree.boot: Likewise. * interp/trace.boot: Likewise.
2008-02-02 * boot/translator.boot (translateBootFile): Tidy.dos-reis1-1/+1
2008-01-29fix typos from last commitdos-reis2-8/+8
2008-01-28Update Boot codedos-reis4-57/+211
2008-01-28 Support signature declaration in Boot.dos-reis3-8/+37
* boot/ast.boot (bfUntuple): New. (bfTagged): Toplevel tags are signatures. * boot/parser.boot (bpTyping): New. (bpTagged): Use it. * boot/translator.boot (genDeclaration): New. (bpOutItem): Use it. * interp/compiler.boot: Add type annotations for compiler routines. * lisp/Makefile.in ($(OUT)/lisp$(EXEEXT)): Don't turn on emit-fn.
2008-01-28 * boot/Makefile.pamphlet: Remove.dos-reis19-7908/+5699
* boot/translator.boot: New. * boot/translator.boot: Remove. * boot/tokens.boot: New. * boot/tokens.boot.pamphlet: Remove. * boot/scanner.boot: New. * boot/scanner.boot.pamphlet: Remove. * boot/pile.boot: New. * boot/pile.boot.pamphlet: Remove. * boot/parser.boot: New. * boot/parser.boot.pamphlet: New. * boot/initial-env.lisp: New. * boot/initial-env.lisp.pamphlet: Remove. * boot/includer.boot: New. * boot/includer.boot.pamphlet: Remove. * boot/ast.boot: New. * boot/ast.boot.pamphlet: Remove.
2008-01-08 * boot/Makefile.pamphlet (AXIOM_LOCAL_LISP): Use Lisp image with Cdos-reis2-7/+5
bindings. * interp/msgdb.boot (brightPrint0): Don't highlight if the standard output is not attached to a terminal. * interp/sys-driver.boot (stdStreamIsTerminal): New. * lib/cfuns-c.c (std_stream_is_terminal): New.
2008-01-08Automate FFI at Boot leveldos-reis4-9/+50
2008-01-01Annual ChangeLog rotation.dos-reis1-0/+0
2007-12-27Remove more Makefile pamphlets and other leftover.dos-reis1-5/+5
2007-12-07boot/dos-reis2-1/+5
2007-12-06 Gabriel Dos Reis <gdr@cs.tamu.edu> * initial-env.lisp.pamphlet ("BOOTTRAN"): Don't use SYSTEM package. interp/ 2007-12-06 Gabriel Dos Reis <gdr@cs.tamu.edu> * lisplib.boot (getSlotFromDomain): Use pointer to function Undef directly, instead of variable Undef. * i-syscmd.boot (cd): Move from patches.lisp to here. * g-timer.boot (printTimeIfTrue): Move from patches.lisp to here. * patches.lisp (Undef): Remove. ($printTimeIfTrue): Move to g-timer.boot. (cd): Move to i-syscmd.boot. (nullstream): Remove. (nononullstream): Likewise. (/MAJOR-VERSION): Move to sys-constants.boot. * setq.lisp (/MAJOR-VERSION): Remove. lisp/ 2007-12-06 Gabriel Dos Reis <gdr@cs.tamu.edu> * core.lisp.in ("AxiomCore"): Don't use SYSTEM package.
2007-12-03 * translator.boot.pamphlet (translateBootFile): Adjust call to dos-reis2-4/+7
getOutputPathname.
2007-12-02src/boot/dos-reis3-6/+29
2007-12-02 Gabriel Dos Reis <gdr@cs.tamu.edu> * Makefile.pamphlet (boot_objects_extra): New. (stage0/bootsys$(EXEEXT)): Use it. (stage1/bootsys$(EXEEXT)): Likewise. (stage2/bootsys$(EXEEXT)): Likewise. src/lisp/ 2007-12-02 Gabriel Dos Reis <gdr@cs.tamu.edu> * Makefile.pamphlet (base_lisp_objects): New. Abstract over Lisp compilation models. (core.$(FASLEXT)): Tidy. * core.lisp.in (|getOutputPathname|): Make unary. (|link|): Make sure object files are used to construct ECL programs. (|makeHandler|): Adjust. (|compileLispFile|): Likewise.
2007-11-18src/boot/dos-reis2-1/+6
2007-11-18 Gabriel Dos Reis <gdr@cs.tamu.edu> * ast.boot.pamphlet (bfReduce): Compute left reduction, not right reduction. src/interp/ 2007-11-18 Gabriel Dos Reis <gdr@cs.tamu.edu> * Makefile.pamphlet (nrunopt.$(FASLEXT)): New rule. (<<nrunopt.clisp>>): Remove. * define.boot: Fix syntax. * nruncomp.boot: Likewise. * nrunopt.boot.pamphlet: Push into package "BOOT". Fix syntax. * wi2.boot: Fix syntax.
2007-11-17 * ast.boot.pamphlet ($bfCamming): Define as global.dos-reis3-54/+53
Update cached Lisp translation. * translator.boot.pamphlet (BOOTTOCL): Don't set $bfClamming. (BOOTCLAMLINES): Likewise. (BOOTCLAM): Don't set it. (BOOTTOCLCLINES): Likewise. (BOOTTOMC): Likewise. (EVAL_-BOOT_-FILE): Likewise. (BO): Likewise. (STEVAL): Likewise. (STTOMC): Likewise. (FC): Likewise. (PSTTOMC): Likewise. (BOOTLOOP): Likewise. Update cached Lisp translation.
2007-10-27 * ast.boot.pamphlet (bfLp1): Simplify loop code generation.dos-reis7-903/+969
Update cached Lisp translation. * includer.boot.pamphlet: Update cached Lisp translation. * parser.boot.pamphlet: Likewise. * pile.boot.pamphlet: Likewise. * scanner.boot.pamphlet: Likewise. * tokens.boot.pamphlet: Likewise. * translator.boot.pamphlet: Likewise.
2007-10-20Add documentation to bfSUBLIS1dos-reis1-0/+5
2007-10-15 * ast.boot.pamphlet (bfSUBLIS1): Return fix point.dos-reis2-1/+5
2007-10-14more work toward removing depsysdos-reis2-1/+7
2007-10-14 * ast.boot.pamphlet (bfGetOldBootName): New.dos-reis5-13/+146
(bfSameMeaning): Likewise. (bfReName): Use them. * parser.boot.pamphlet (bpCompare): Tidy. * tokens.boot.pamphlet: Rename NE to SHOENE. Record Old Boot renaming tokens. Likewise for tokens with same meaning. * translator.boot.pamphlet (AxiomCore::%sysInit): New. ($translatingOldBoot): Likewise.
2007-09-11src/lisp/dos-reis3-6/+12
2007-09-11 Gabriel Dos Reis <gdr@cs.tamu.edu> * core.lisp.in (|coreError|): Rename from |error|. Adjust callers. src/boot/ 2007-09-11 Gabriel Dos Reis <gdr@cs.tamu.edu> * ast.boot.pamphlet (bfCompDef): Call coreError, not error. * includer.boot.pamphlet (shoeNotFound): Likewise. (SoftShoeError): Likewise.
2007-09-10 * Makefile.pamphlet (stage0/%.$(FASLEXT)): Remove.dos-reis3-42/+46
(stage1/%.$(FASLEXT)): Likewise. (stage2/%.$(FASLEXT)): Likewise. (%/tokens.$(FASLEXT)): Tidy. (%/includer.$(FASLEXT)): Likewise. (%/scanner.$(FASLEXT)): Likewise. (%/pile.$(FASLEXT)): Likewise. (%/ast.$(FASLEXT)): Likewise. (%/parser.$(FASLEXT)): Likewise. (mostlyclean-local): Don't remove $(AXIOM_LOCAL_LISP). * Makefile.in: Regenerate.
2007-08-22 * translator.boot.pamphlet (bpOutItem): Don't delay variabledos-reis2-3/+7
definitions to load or evaluation time.