aboutsummaryrefslogtreecommitdiff
path: root/src/boot/strap
AgeCommit message (Collapse)AuthorFilesLines
2011-05-29 * interp/sys-utility.boot (displayTextFile): New.dos-reis1-12/+12
* interp/i-syscmd.boot (summary): Use it. (copyright): Likewise. * algebra/net.spad.pamphlet: Replace closeFile with closeStream. * boot/translator.boot: Likewise. * interp/as.boot: Likewise. * interp/ax.boot: Likewise. * interp/br-saturn.boot: Likewise. * interp/br-search.boot: Likewise.
2011-05-29 * lisp/core.lisp.in (readExpr): New.dos-reis2-1/+2
* interp/as.boot: Replace READLINE with readLine. * interp/br-data.boot: Likewise. * interp/br-saturn.boot: Likewise. * interp/br-search.boot: Likewise. * interp/c-doc.boot: Likewise. * interp/cstream.boot: Likewise. * interp/g-error.boot: Likewise. * interp/ht-root.boot: Likewise. * interp/htcheck.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/msgdb.boot: Likewise. * interp/server.boot: Likewise. * interp/topics.boot: Likewise. * interp/compat.boot (READLINE): Remove. * interp/sys-macros.lisp (shoeConsole): Remove. (shoeInputFile): Likewise. (shoeread-line): Likewise. * boot/ast.boot (bfQ): %nothing only needs EQ. * algebra/files.spad.pamphlet (File) [read!, readIfCan!]: Use readExpr instead of VMREAD. Avoid PLACEP (TextFile) [readLine!, readLineIfCan!]: Likewise.
2011-05-28 * lisp/core.lisp.in: Define and export readLine and readbyte.dos-reis3-9/+7
* interp/sys-utility.boot (readByteFromFile): Remove. * boot/tokens.boot: Don't rename readLine and readByte. * boot/includer.boot (shoeReadLine): Remove. (bRgen1): Adjust. Use resdLine. * algebra/net.spad.pamphlet (InputBinaryFile): Use readByte from the runtime system.
2011-05-26 * boot/ast.boot (shoeCompTran1): Translate arguments to vectordos-reis1-15/+7
constructor too.
2011-05-21more cleanupdos-reis2-5/+10
2011-05-19more cleanupdos-reis1-7/+9
2011-05-18 * boot/translator.boot: Remove bindings of $GenVarCounter.dos-reis5-806/+751
* boot/parser.boot (bpOutItem): Bind it here.
2011-05-18more Boot cleanupdos-reis1-25/+23
2011-05-16 * boot/ast.boot (bfAtScope): New.dos-reis3-43/+31
* boot/parser.boot (bpDo): Accept scoped expressions. * boot/translator.boot: Cleanup.
2011-05-16 * boot/tokens.boot: "do" is now a keyword.dos-reis3-2/+8
* boot/ast.boot (bfDo): New. * boot/parser.boot (bpDo): New. (bpReturn): Include do-expressions. * interp/vmlisp.lisp (do): Remove.
2011-05-15 * boot/ast.boot (shoeCompTran1): Don't indiscriminately walk CASEdos-reis3-8/+36
forms. Translate %Namespace forms too. * boot/parser.boot (bpApplication): Include Namespace too.
2011-05-15cleanupdos-reis1-2/+0
2011-05-14Remove recently introduced bpNamedScopedos-reis1-10/+5
2011-05-14more cleanupdos-reis1-33/+29
2011-05-14 * boot/parser.boot (bpNamedScope): New.dos-reis1-4/+9
(bpApplication): Call it.
2011-05-14cleanupdos-reis5-15/+18
2011-05-13 * boot/utility.boot (charPosition): New.dos-reis2-9/+21
* boot/scanner.boot (shoeAccumulateLines): Use it. (shoeS): Likewise.
2011-05-12 * boot/initial-env.lisp (MAKE-HASHTABLE): Remove.dos-reis2-8/+8
(BEVC-MAKE-FULL): Likewise. (MAKE-BVEC): Likewise. * boot/tokens.boot (shoeKeyTableCons): Adjust. (shoePunCons): Likewise. (shoeDfu): Likewise. (shoeXref): Likewise.
2011-05-05more cleanupdos-reis2-7/+8
2011-05-05more cleanupsdos-reis1-2/+2
2011-05-05more cleanupdos-reis2-6/+4
2011-05-04 * boot/initial-env.lisp (shoeOpenOutputFile): Remove. Adjustdos-reis1-43/+51
callers to use outputTextFile.
2011-05-03 * boot/initial-env.lisp (shoeOpenInputFile): Remove. Adjustdos-reis1-40/+52
callers to use inputTextFile with try/finally.
2011-05-03more cleanupdos-reis2-1/+7
2011-05-03more cleanupdos-reis1-55/+67
2011-05-02 * boot/ast.boot (idList?, charList?, stringLits?): New.dos-reis4-511/+593
(bfMember): Use them for special cases. * boot/parser.boot (bpDefinition): Stop support MDEF forms. (bpMdef, bpMDefTail): Remove. * boot/tokens.boot: "==>" is no longer a token.
2011-05-02 * boot/parser.boot (bpDefinition): Accept macro definitiondos-reis4-35/+42
starting with the keyword "MACRO". * boot/translator.boot (exportNames): Export them in all evaluation contexts. * interp/c-util.boot: "macro" is now a keyword. * interp/define.boot: Likewise. * interp/g-util.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/postpar.boot: Likewise.
2011-05-01 * boot/utility.boot (applySubstNQ): New.dos-reis1-1/+24
* interp/compiler.boot (finishLambdaExpression): Use it. * interp/i-intern.boot (mkAtreeExpandMacros): Likewise. * interp/i-map.boot (addMap): Likewise. * interp/vmlisp.lisp (SUBLISNQ, SUBANQ, SUBB): Remove.
2011-05-01 * interp/buildom.boot: Replace use of EQSUBSTLIST with applySubst.dos-reis1-1/+1
* interp/c-util.boot: Likewise. * interp/cattable.boot: Likewise. * interp/compiler.boot: Likewise. * interp/define.boot: Likewise. * interp/format.boot: Likewise. * interp/functor.boot: Likewise. * interp/hashcode.boot: Likewise. * interp/i-output.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/lisplib.boot: Likewise. * interp/modemap.boot: Likewise. * interp/rulesets.boot: Likewise. * interp/slam.boot: Likewise. * interp/sys-macros.lisp (APPLYR, TAILFN, TAIL, rplac): Remove as unused.
2011-05-01 * boot/tokens.boot: Don't rename append.dos-reis5-803/+848
* boot/parser.boot (bpTyping): Support universally quantified types. * boot/ast.boot: Rewrite APPEND as append. (%Forall): New AST node. * boot/translator.boot: Translate it.
2011-04-30 * boot/ast.boot (bfAppend): Write in full.dos-reis2-4/+38
* interp/ptrees.boot (pfAppend): Likewise.
2011-04-30more cleanupdos-reis3-23/+23
2011-04-30cleanupdos-reis1-1/+10
2011-04-30 * interp/vmlisp.lisp (remove): Remove.dos-reis2-8/+72
(REMOVEQ, NREMOVEQ): Likewise. * boot/utility.boot (removeSymbol, removeScalar, removeValue) (remove): New. * boot/ast.boot (bfMDef): Use applySubst in lieu of SUBLIS.
2011-04-29 * boot/utility.boot (assocSymbol): New.dos-reis2-2/+35
(applySubst): Likewise. Export. * boot/ast.boot: Use it. Remove SUBLIS and SUBLISLIS. * interp/ax.boot: Likewise. * interp/br-con.boot: Likewise. * interp/br-op1.boot: Likewise. * interp/br-op2.boot: Likewise. * interp/br-prof.boot: Likewise. * interp/br-saturn.boot: Likewise. * interp/buildom.boot: Likewise. * interp/c-doc.boot: Likewise. * interp/c-util.boot: Likewise. * interp/cattable.boot: Likewise. * interp/compiler.boot: Likewise.
2011-04-28more cleanupdos-reis1-1/+13
2011-04-28 * boot/ast.boot (bfReduceCollect): Delegate to bfDoCollect ifdos-reis1-3/+10
op is append or append!.
2011-04-28 * boot/ast.boot (bfCollect): Use bfDoCollect.dos-reis1-493/+519
(bfListReduce): Remove.
2011-04-27 * boot/ast.boot (bfMakeCollectInsn): Fix thinko.dos-reis2-142/+140
2011-04-25 * boot/translator.boot (inAllContexts): New.dos-reis2-15/+30
(translateToplevel): Use it. * boot/parser.boot (bpImport): Accept namespace import.
2011-04-24 * boot/initial-env.lisp (MEMQ): Remove.dos-reis2-23/+25
* boot/ast.boot (shoeATOMs): Don't use it. (isDynamicVariable): Likewise. (shoeCompTran1): Likewise. * boot/translator.boot (defuse1): Likewise.
2011-04-24Tidy append redunctiondos-reis1-31/+46
2011-04-24 * boot/ast.boot (bfMakeCollectInsn): New.dos-reis6-500/+404
(bfDoCollect): Tidy.
2011-04-24 * boot/ast.boot (bfDoCollect): New. Implement one-pass dos-reis2-511/+804
list comprehension. (bfListReduce): Use it.
2011-04-23 * boot/ast.boot (bf0APPEND): Remove.dos-reis1-19/+5
(bf0COLLECT): Likewise. (bfCollect): Tidy.
2011-04-23 * lisp/core.lisp.in: Export basic types and compiler data types.dos-reis2-482/+479
* interp/modemap.boot (knownInfo): Fix latent bug uncovered by type declarations. * boot/ast.boot: Remove type definitions. (bfIN): Handle DOT as loop variable. (bfON): Likewise. Allow a loop variable to iterator over its own tails. * boot/parser.boot (bfTyping): Simplify. (bpSimpleMapping): Fix thinko.
2011-04-22 * boot/tokens.boot: Don't translate setDifference.dos-reis4-5/+27
* boot/initial-env.lisp (SETDIFFERNECE): Remove. * boot/translator.boot (evalBootFile): Rename form EVAL-BOOT-FILE. * boot/utility.boot (setDifference): Define. * interp/unlisp.lisp (ListMemberQ?): Remove. (ListRemoveQ): Likewise. (AlistAssocQ): Likewise.
2011-04-22more cleanupdos-reis1-1/+24
2011-04-22 * boot/utility.boot (copyList): Define.dos-reis3-6/+25
(append!): Likewise. * boot/tokens.boot: Do not translate nconc.
2011-04-21 * boot/tokens.boot: Don't translate lastNode anymore.dos-reis2-4/+16
* boot/utility.boot (lastNode): Define.