aboutsummaryrefslogtreecommitdiff
path: root/src/boot/strap/translator.clisp
AgeCommit message (Collapse)AuthorFilesLines
2011-04-21 * boot/tokens.boot: Don't rename nreverse.dos-reis1-7/+8
* boot/utility.boot (reverse!): Define. * boot/parser.boot: Use reverse! instead of NREVERSE. * boot/ast.boot: Generate reverse! forms instead of NREVERSE.
2011-04-19 * interp/newfort.boot: Likewise.dos-reis1-1/+3
* interp/define.boot (orderBySubsumption): Fix thinko. * interp/boot-pkg.lisp: Use BOOTTRAN package. Don't import names individually. * boot/utility.boot: New. * boot/translator.boot (exportNames): Fix thinko. * boot/tokens.boot: Add charEq? and scalarEq? builtiin functions. * boot/ast.boot (bfMember): Generate call to symbolMember? for membership tests for symbols.
2011-04-19 * boot/ast.boot (%Module): Now take three arguments.dos-reis1-15/+27
* boot/parser.boot (bpModuleInterface): Rename from bpExports. (bpModuleExports): New. (bpModule): Now allow specification of exported names.
2011-03-20 * boot/translator.boot (FC): Remove.dos-reis1-80/+8
(FBO): Likewise. (FEV): Likewise. (shoeGeneralFC): Likewise. (shoeFindName): Likewise. (shoeFindName2): Likewise. (shoeTransform2): Likewise. * boot/scanner.boot (shoeLineToks): Don't support `)package' line anymore. * boot/includer.boot: Remove support for `)package', `)include', `)includelisp', `)includelines' lines. (shorPackageStartsAt): Remove. (shorFindLines): Likewise. (shoeFileInput): Likewise. (shoeLispFileInput): Likewise. (shoeLineFileInput): Likewise. (shoeFunctionFileInput): Likewise. (shoePlainLine?): Reflect removal. (shoeSimpleLine): Likewise. * boot/tokens.boot (charByName): New builtin library function. * algebra/sf.spad.pamphlet (RealNumberSystem): Don't re-export abs. It is already exported by OrderedRing.
2010-12-29More character cleanupdos-reis1-2/+2
2010-12-29SUBSTRING cleanupdos-reis1-3/+3
2010-12-28more cleanupdos-reis1-7/+7
2010-12-27 * boot/initial-env.lisp (IDENTP): Remove.dos-reis1-2/+2
* boot/ast.boot: Replace IDENTP with symbol? where appropriate. * boot/parser.boot: Likewise. * boot/translator.boot: Likewise.
2010-12-19 * boot/translator.boot (BOOTTOCL): Replace Lisp-level contructdos-reis1-1/+1
with try/finally. (BOOTTOCLC): Likewise.
2010-12-14 * boot/ast.boot (bfQ): Emit STRING= for string comparison.dos-reis1-2/+2
* interp/i-output.boot: Fix type violation in equality comparison.
2010-12-11 * boot/tokens.boot: `finally' is now a keyword.dos-reis1-1/+12
* boot/parser.boot (bpMissing): Use a BootParserException exception. (bpTrap): Likewise. (bpListAndRecover): Catch them. * boot/parser.boot (shoeOutParse): Likewise. * boot/ast.boot (bfHandlers): Fix thinko. (codeForCatchHandlers): Likewise.
2010-12-10Cleanupdos-reis1-2/+1
2010-05-19 * boot/translator.boot (translateToplevelExpression): Tidy.dos-reis1-2/+1
2010-05-09 * boot/tokens.boot: Don't rename 'cons'.dos-reis1-2/+0
* interp/msg.boot: Remove uses of cons. * interp/postpar.boot: Likewise. * interp/types.boot: Likewise.
2010-05-07 * interp/c-util.boot: Replace uses of rplac with explicit assignments.dos-reis1-1/+13
* interp/compiler.boot: Likewise. * interp/define.boot: Likewise. * interp/g-opt.boot: Likewise. * interp/nrunfast.boot: Likewise. * lisp/core.lisp.in ($FilesToRetain): New. Export. * lisp/Makefile.in: Tidy. * boot/translator.boot (retainFile?): New. (compileBootHandler): Use it.
2010-05-07 * boot/ast.boot: Miscellaneous cleanup.dos-reis1-1/+1
* boot/includer.boot: Likewise. * boot/parser.boot: Likewise. * boot/pile.boot: Likewise. * boot/scanner.boot: Likewise. * boot/tokens.boot: Likewise. * boot/translator.boot: Likewise.
2010-02-10Update cached boot translator Lisp codedos-reis1-0/+2
2009-09-04(no commit message)dos-reis1-7/+7
2009-09-04 * boot/ast.boot (bfAlternative): New. Move single assignment indos-reis1-6/+3
pattern matching to the body of the branch. (bfSequence): Use it.
2009-09-03(no commit message)dos-reis1-15/+15
2009-09-03 * boot/ast.boot: More cleanup.dos-reis1-357/+341
2009-09-02 * boot/ast.boot: More cleanup.dos-reis1-1/+2
* boot/includer.boot: Likewise. * boot/parser.boot: Likewise. * boot/scanner.boot: Likewise.
2009-08-30 * boot/ast.boot (bfSequence): Simplify COND branch bodies.dos-reis1-196/+161
2009-08-29 * boot/ast.boot (bfCase): Don't hold scrutinee's remainingdos-reis1-182/+168
structure in a temporary. (bfCI): Adjust generation of selectors.
2009-08-29 * boot/ast.boot (%Definition): Lose one argument.dos-reis1-2/+9
(bfDefinition): Remove. (bfSimpleDefinition): Likewise. (bfCompDef): Likewise. (bfDefSequence): Likewise. (defSheepAndGoats): Tidy. * boot/parser.boot (bpSimpleDefinitionTail): Likewise. (bpCompoundDefinitionTail): Likewise. (bpDefinitionPileItems): Likewise. (bpSemiColonDefinition): Likewise. * boot/translator.boot (translateToplevel): Likewise.
2009-08-29 * boot/ast.boot: More cleanup.dos-reis1-40/+40
* boot/parser.boot: Likewise. * boot/translator.boot: Likewise.
2009-08-29 * boot/translator.boot (bpOutItem): Move to parser.boot.dos-reis1-29/+0
* boot/parser.boot (bpExceptionTail): Fix typo. (bpOutItem): Move from translator.boot.
2009-08-28 * boot/ast.boot (bfCase): Don't introduce temporary for scrutineedos-reis1-94/+87
when it is already reduced.
2009-08-27 * boot/tokens.boot: "namespace" is now a keyword.dos-reis1-1/+1
* boot/ast.boot (%Ast): Add %Namespace branch. * boot/parser.boot (bpNamespace): New. (bpComma): Adjust.
2009-08-20 Discontinue computation of difference between "old" and "new" Boot.dos-reis1-7/+1
* boot/ast.boot (bfGetOldBootName): Remove. (bfSameMeaning): Likewise. (bfReName): Don't compute the diff between old and new Boot. * boot/translator.boot ($translatingOldBoot): Remove. (AxiomCore::%sysInit): Don't set it.
2009-08-19 * boot/ast.boot: Consistently prefix AST names by "%".dos-reis1-6/+6
* boot/translator.boot: Adjust. * boot/parser.boot: Likewise.
2009-05-11 * boot/translator.boot: Don't load imported modules whendos-reis1-1/+4
bootstrapping.
2009-05-10 Cope with SBCL-1.0.28 improvements.dos-reis1-19/+26
* boot/translator.boot (translateToplevel): Load imported modules. * boot/ast.boot ($constantIdentifiers): New. ($activeNamespace): Likewise. (bfSimpleDefinition): Likewise. (isDynamicVariable): Likewise. (shoeCompTran1): Tidy. Use it. * boot/parser.boot (bpSimpleDefinitionTail): Use bfSimpleDefinition. * boot/Makefile.in (stage1/%.clisp): Specify load directory. (stage2/%.clisp): Likewise. * lisp/core.lisp.in (startCompileDuration): Export. (endCompileDuration): Likewise.
2009-05-10Update cached Boot translator bootstrap codedos-reis1-457/+90
2008-09-22 * boot/parser.boot (bpReturn): Allow assignment.dos-reis1-8/+6
2008-09-07 * boot/parser.boot (bpImport): Invert syntax for importing foreigndos-reis1-3/+17
functions. * boot/strap/parser.clisp: Update. * interp/sys-os.boot: Change to new syntax throughout.
2008-08-16 * boot/strap: Update cached Lisp translation.dos-reis1-21/+18
* lisp/core.lisp.in (linkset-from-if): Fix typo.
2008-07-23 * boot/strap: Update cached Lisp translation.dos-reis1-49/+89
2008-05-19 * boot/ast.boot: Cleanup.dos-reis1-98/+179
* 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-08 * boot/translator.boot (translateToplevel): Split out of bpOutItem.dos-reis1-107/+174
(maybeExportDecl): New.
2008-05-08 * boot/translator.boot (bpOutItem): Handle namespace declaration.dos-reis1-0/+3
Update all boot files to use `namespace' instead of `)package'. * interp/: Likewise.
2008-04-30 * boot/parser.boot (bpExportItemList): New.dos-reis1-194/+366
(bpExports): Likewise. (bpModule): Use it. * boot/ast.boot (bfCreateDef): Tidy. * boot/strap: Update cached Lisp translation.
2008-04-29cleanup CLisp FFIdos-reis1-83/+167
2008-04-23 * boot/ast.boot: Tidy.dos-reis1-4/+5
* 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-reis1-169/+332
2008-02-04 * boot/translator.boot (translateToplevelExpression): New.dos-reis1-228/+198
(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-01-28Update Boot codedos-reis1-0/+32
2008-01-28 * boot/Makefile.pamphlet: Remove.dos-reis1-0/+1156
* 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.