aboutsummaryrefslogtreecommitdiff
path: root/src/boot
AgeCommit message (Collapse)AuthorFilesLines
2010-12-28more cleanupdos-reis11-149/+175
2010-12-28Clean updos-reis3-2/+4
2010-12-27 * boot/initial-env.lisp (IDENTP): Remove.dos-reis7-41/+42
* boot/ast.boot: Replace IDENTP with symbol? where appropriate. * boot/parser.boot: Likewise. * boot/translator.boot: Likewise.
2010-12-27 * boot/includer.boot (char): Move to token.boot.dos-reis5-22/+28
* boot/tokens.boot (shoeStartsId): Move from initial-env.lisp (shoeIdChar): Likewise. * boot/initial-env.lisp (CHARMEM): Remove.
2010-12-19more cleanupdos-reis1-0/+1
2010-12-19 * boot/translator.boot (BOOTTOCL): Replace Lisp-level contructdos-reis2-17/+17
with try/finally. (BOOTTOCLC): Likewise.
2010-12-18 * boot/initial-env.lisp (SIZE): Remove.dos-reis6-34/+27
(MAKE-VEC): Likewise. (MAKE-CVEC): Likewise.
2010-12-18 * boot/initial-env.lisp (VEC-SETELT): Remove.dos-reis4-27/+29
* boot/scanner.boot (shoeIntValue): Tidy. (shoeSubString): Likewise. * boot/tokens.boot (shoeInsert): Likewise. (shoeDictCons): Likewise.
2010-12-15 * boot/tokens.boot: symbolName is now a builtin function.dos-reis1-0/+1
* interp/sys-utility.boot (stringImage): New. * interp/format.boot (form2String1): Use it. Tidy.
2010-12-15 * boot/tokens.boot: canonicalFilename is now a builtin function.dos-reis2-0/+2
* interp/sys-driver.boot (executeSpadScript): Announce input file.
2010-12-14 * boot/ast.boot (bfQ): Emit STRING= for string comparison.dos-reis4-3/+5
* interp/i-output.boot: Fix type violation in equality comparison.
2010-12-12 * boot/ast.boot (bfIS1): Tidy.dos-reis2-2/+4
2010-12-12 * boot/ast.boot (bfIS1): Tidy.dos-reis2-4/+8
2010-12-11 * interp/i-syscmd.boot: Use try-finally expression instead of Lispdos-reis2-2/+4
primitive UNWIND-PROJECT. * interp/int-top.boot: Likewise. * interp/lisplib.boot: Likewise. * interp/server.boot: Likewise. * boot/parser.boot (bpHandler): Allow semicolon separation.
2010-12-11 * boot/tokens.boot: `finally' is now a keyword.dos-reis8-19/+46
* 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-11 * boot/parser.boot (bpListAndRecover): Use Lisp-level CATCH.dos-reis5-498/+656
(bpTry): Rewrite. (bpTry): Likewise. (bpSimpleCatch): Remove. (bpPiledCatchItems): Likewise. (bpCatchItemList): Likewise. (bpExceptionHead): Likewise. (bpExceptionTail): Likewise. (bpExceptionVariable): New. (bpFinally): Likewise. * boot/ast.boot (%Ast): Add %Pretend and %Finally. %Catch now takes two arguments. (bfTry): Rewrite. (bfThrow): Likewise. (bfHandlers): New. (codeForCatchHandlers): Likewise. * boot/translator.boot (shoeOutParse): Use Lisp-level CATCH.
2010-12-11Clean updos-reis6-36/+31
2010-12-11Clean updos-reis4-6/+8
2010-12-11 * boot/ast.boot (bfMmeber): Tidy.dos-reis2-8/+9
* interp/alql.boot: Clean up. * interp/br-con.boot: Likewise. * interp/br-op1.boot: Likewise. * interp/br-op2.boot: Likewise. * interp/br-saturn.boot: Likewise. * interp/br-search.boot: Likewise. * interp/br-util.boot: Likewise. * interp/c-doc.boot: Likewise. * interp/format.boot: Likewise. * interp/g-error.boot: Likewise. * interp/i-funsel.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/mark.boot: Likewise. * interp/msgdb.boot: Likewise. * interp/newfort.boot: Likewise. * interp/pspad1.boot: Likewise. * interp/trace.boot: Likewise.
2010-12-10(no commit message)dos-reis2-32/+38
2010-12-10Cleanupdos-reis4-13/+12
2010-11-30 * etc/Makefile.in: Use the driver.dos-reis1-2/+1
* driver/utils.c (get_suffix): New. (option_value): Likewise. (preprocess_arguments): Handle --translate and --build-databases. * driver/main.c (upgrade_environment): Change argument type to Command. Upgrade LD_LIBRARY_PATH too. * boot/translator.boot (loadSystemRuntimeCore): Don't prefix the shared library file name with the system path.
2010-11-29Add support for translator and linker in the driverdos-reis1-21/+17
2010-11-01(no commit message)dos-reis1-1/+1
2010-08-08do insist that default float format is double-float everywheredos-reis1-0/+5
2010-07-27 * boot/tokens.boot: quo and rem are now keywords and infix operators.dos-reis4-6/+20
* boot/parser.boot (bpEuclid): New. Parse integer quotient and remainder expressions. (bpMinus): Now build on bpEuclid instead of bpTimes.
2010-07-24 * interp/compiler.boot (compMatchAlternative): Don't generatedos-reis2-1/+3
LET-expressions. * interp/g-opt.boot (optBind): Tidy.
2010-07-18 * boot/tokens.boot: Add char? as builtin function.dos-reis2-2/+4
* interp/i-output.boot (appChar): Fix thinko. (outformWidth): Likewise. (WIDTH): Likewise.
2010-07-18More cleanupsdos-reis2-0/+2
2010-06-20 * boot/tokens.boot (readOnly?): New builtin Boot function.dos-reis2-8/+10
* interp/c-util.boot (isLispSpecialVariable): Tidy. (transformToBackendCode): Likewise.
2010-05-28cleanu up syntax in tokens.bootdos-reis2-6/+6
2010-05-28 Add support for 'property' builtin function.dos-reis6-6/+24
* interp/g-timer.boot: Rename property to prop to avoid conflict. * boot/parser.boot (bpAssignLHS): Allow functional places to assign to. * boot/ast.boot (bfPlace): New. (bfAssign): Handle %Place forms. * boot/tokens.boot: property is now translated to GET.
2010-05-28 * boot/tokens.boot: args is now a selector.dos-reis2-0/+2
* interp/g-timer.boot: Use integer? in lieu of INTP. * interp/i-syscmd.boot: Likewise. * interp/msgdb.boot: Likewise.
2010-05-26 * boot/tokens.boot: Automatically translate alphabetic?, digit?,dos-reis2-35/+46
lowerCase?, upperCase?, readByte, readInteger, readLine, writeByte, writeLine. * interp/as.boot: Use them. * interp/bc-matrix.boot: Likewise. * interp/bc-solve.boot: Likewise. * interp/br-con.boot: Likewise. * interp/br-search.boot: Likewise. * interp/br-util.boot: Likewise. * interp/c-doc.boot: Likewise. * interp/c-util.boot: Likewise. * interp/database.boot: Likewise. * interp/format.boot: Likewise. * interp/fortcall.boot: Likewise. * interp/functor.boot: Likewise. * interp/g-util.boot: Likewise. * interp/guess.boot: Likewise. * interp/ht-root.boot: Likewise. * interp/htcheck.boot: Likewise. * interp/htsetvar.boot: Likewise. * interp/i-map.boot: Likewise. * interp/i-output.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/i-util.boot: Likewise. * interp/int-top.boot: Likewise. * interp/intfile.boot: Likewise. * interp/mark.boot: Likewise. * interp/msgdb.boot: Likewise. * interp/pf2sex.boot: Likewise. * interp/pspad1.boot: Likewise. * interp/pspad2.boot: Likewise. * interp/scan.boot: Likewise. * interp/slam.boot: Likewise. * interp/sys-utility.boot: Likewise. * interp/topics.boot: Likewise. * interp/trace.boot: Likewise. * interp/word.boot: Likewise.
2010-05-23 * boot/tokens.boot: gensym is now candidate for renaming.dos-reis3-7/+9
* boot/ast.boot: Replace GENSYM with gensym. * interp/buildom.boot: Likewise. * interp/clam.boot: Likewise. * interp/clammed.boot: Likewise. * interp/compiler.boot: Likewise. * interp/define.boot: Likewise. * interp/fortcall.boot: Likewise. * interp/g-opt.boot: Likewise. * interp/i-coerce.boot: Likewise. * interp/i-coerfn.boot: Likewise. * interp/i-funsel.boot: Likewise. * interp/i-map.boot: Likewise. * interp/i-spec1.boot: Likewise. * interp/i-spec2.boot: Likewise. * interp/macex.boot: Likewise. * interp/nruncomp.boot: Likewise. * interp/nrunopt.boot: Likewise. * interp/parse.boot: Likewise. * interp/pf2atree.boot: Likewise. * interp/pf2sex.boot: Likewise. * interp/postpar.boot: Likewise. * interp/ptrees.boot: Likewise. * interp/server.boot: Likewise. * interp/slam.boot: Likewise. * interp/sys-constants.boot: Likewise. * interp/wi1.boot: Likewise. * interp/wi2.boot: Likewise.
2010-05-22 * interp/cparse.boot (npQuiver): Redefine. Now send Applicationdos-reis5-65/+64
to Application. (npTypedForm): Replace Application with Quiver. (npTypified): Likewise. (npTagged): Use npTypedForm not npTypedForm1. (npDiscrim): Now extend Relation, not Quiver. (npMdef): Allow same LHS as npDef. (npSingleRule): Likewise. * boot/ast.boot: Replace CONCAT with strconc. Replace SYMBOL-NAME with PNAME. * boot/scanner.boot: Likewise. * boot/translator.boot: Likewise.
2010-05-19 * boot/ast.boot: Add %Leave ast node.dos-reis4-383/+390
(bfLeave): New. * boot/parser.boot (bpLeave): Use it.
2010-05-19 * boot/translator.boot (translateToplevelExpression): Tidy.dos-reis2-3/+2
2010-05-15 * boot/ast.boot (shoeCompTran1): Handle %Leave expressions.dos-reis4-3/+9
* boot/parser.boot (bpReturn): Parse leave-expressions too. * interp/mark.boot (markInsertBodyParts): properly escape Boot keywords.
2010-05-10 Add lambda expression syntax to Boot.dos-reis6-397/+432
* boot/parser.boot (bpLambda): New. * boot/ast.boot (bfLambda): New. * boot/tokens.boot: Add "+->" as token. * interp/cparse.boot: Use lambda expression syntax. * interp/c-util.boot: Likewise.
2010-05-09More cleanupsdos-reis1-2/+1
2010-05-09 * boot/tokens.boot: Don't rename 'car', 'cdr', and PAIRP.dos-reis1-3/+0
2010-05-09More cleanupsdos-reis1-3/+3
2010-05-09 * boot/tokens.boot: Don't rename 'cons'.dos-reis4-19/+24
* interp/msg.boot: Remove uses of cons. * interp/postpar.boot: Likewise. * interp/types.boot: Likewise.
2010-05-09 * boot/ast.boot: Miscellaneous cleanup.dos-reis6-84/+84
* boot/includer.boot: Likewise. * boot/parser.boot: Likewise. * boot/pile.boot: Likewise. * boot/scanner.boot: Likewise. * boot/translator.boot: Likewise.
2010-05-08 * boot/parser.boot (bpArgumentList): New.dos-reis2-19/+26
(bpParenthesizedApplication): Use it. New. (bpPrimary1): Use it to implement function call with explicit parenthesis as primary. (bpOperator): Remove. (bpAssignLHS): Rework. Allow field path after function call. * boot/translator.boot: Remove debugging statement. * interp/as.boot: Adjust to new syntax. * interp/br-con.boot: Likewise. * interp/br-data.boot: Likewise. * interp/c-doc.boot: Likewise. * interp/category.boot: Likewise. * interp/cattable.boot: Likewise. * interp/define.boot: Likewise. * interp/functor.boot: Likewise. * interp/g-util.boot: Likewise. * interp/interop.boot: Likewise. * interp/nrunopt.boot: Likewise. * interp/pspad1.boot: Likewise. * interp/setvars.boot: Likewise. * interp/trace.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 * configure.ac.pamphlet: Add new option: --enable-int-file-retention.dos-reis2-2/+10
src/ * 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-reis11-135/+132
* 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-05-07 * boot/ast.boot: Translate assignment to head and tail of a list.dos-reis6-11/+15
Remove explicit uses of RPLACA and RPLACD. * boot/includer.boot: Likewise. * boot/scanner.boot: Likewise. * boot/translator.boot: Likewise.