aboutsummaryrefslogtreecommitdiff
path: root/src/interp
AgeCommit message (Collapse)AuthorFilesLines
2010-12-19more cleanupdos-reis9-52/+49
2010-12-19 * interp/vmlisp.lisp (VECP): Remove.dos-reis35-120/+112
(REFVECP): Likewise. (CVECP): Likewise. (QMEMQ): Likewise. * interp/bootlex.lisp (TRANSLABEL1): Adjust. * interp/br-search.boot: Likewise. * interp/br-util.boot: Likewise. * interp/c-doc.boot: Likewise. * interp/category.boot: Likewise. * interp/database.boot: Likewise. * interp/debug.lisp: Likewise. * interp/format.boot: Likewise. * interp/functor.boot: Likewise. * interp/g-cndata.boot: Likewise. * interp/g-util.boot: Likewise. * interp/ggreater.lisp: Likewise. * interp/guess.boot: Likewise. * interp/i-coerfn.boot: Likewise. * interp/i-map.boot: Likewise. * interp/i-output.boot: Likewise. * interp/i-resolv.boot: Likewise. * interp/i-spec2.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/interop.boot: Likewise. * interp/i-util.boot: Likewise. * interp/union.lisp: Likewise. * interp/trace.boot: Likewise. * interp/pspad2.boot: Likewise. * interp/pathname.boot: Likewise. * interp/nrunopt.boot: Likewise. * interp/nrunfast.boot: Likewise. * interp/nruncomp.boot: Likewise. * interp/newfort.boot: Likewise. * interp/msgdb.boot: Likewise. * interp/msg.boot: Likewise. * interp/match.boot: Likewise. * interp/word.boot: Likewise.
2010-12-19cleanupdos-reis4-8/+9
2010-12-16 * interp/format.boot (form2String1): Handle string literalsdos-reis1-0/+3
masquerading as constructors.
2010-12-16 * interp/format.boot: More fixes for confusion between strings anddos-reis1-21/+21
symbols.
2010-12-15 * interp/format.boot (formDecl2String): Tidy.dos-reis3-5/+8
* interp/i-toplev.boot (printTypeAndTimeNormal): Likewise. * interp/msgdb.boot (applyPrefix2String): Likewise.
2010-12-15 * interp/msgdb.boot (applyPrefix2String): New.dos-reis2-6/+16
(substituteSegmentedMsg): Use to implement documented behaviour of formatting code P. * interp/i-analy.boot (printableArgModeSetList): Don't call prefix2String here. (bottomUpForm0): Likewise.
2010-12-15 * boot/tokens.boot: symbolName is now a builtin function.dos-reis2-2/+7
* 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-reis1-0/+1
* interp/sys-driver.boot (executeSpadScript): Announce input file.
2010-12-14 * boot/ast.boot (bfQ): Emit STRING= for string comparison.dos-reis1-1/+1
* interp/i-output.boot: Fix type violation in equality comparison.
2010-12-13(no commit message)dos-reis6-7/+7
2010-12-12More clean up on string vs symbol confusionsdos-reis20-227/+221
2010-12-12Tidy expression matching against stringsdos-reis10-22/+21
2010-12-12Fix codegen for pattern matching stringsdos-reis8-13/+13
2010-12-12Clean symbol vs. character vs. string confusiondos-reis16-64/+64
2010-12-11 * interp/i-syscmd.boot: Use try-finally expression instead of Lispdos-reis4-20/+21
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-11Clean updos-reis3-7/+7
2010-12-11 * boot/ast.boot (bfMmeber): Tidy.dos-reis18-108/+111
* 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-10Clean updos-reis16-24/+25
2010-12-10Unify and ECHO-META under dos-reis9-31/+20
2010-12-10cleanupdos-reis5-64/+59
2010-12-10(no commit message)dos-reis1-1/+1
2010-12-09Cleanupdos-reis1-20/+18
2010-12-09Cleanupdos-reis1-84/+64
2010-12-09Cleanupdos-reis1-55/+49
2010-12-09Cleanupdos-reis1-120/+97
2010-12-09Cleanupdos-reis1-41/+58
2010-12-09clean updos-reis1-77/+71
2010-12-09 * interp/pile.boot: Clean up.dos-reis1-78/+64
2010-12-08 * interp/fnewmeta.lisp: Replace MATCH-ADVANCE-GLYPH withdos-reis2-10/+7
PARSE-GlyphTok. (PARSE-GlyphTok): Now accept string instead of symbol. * interp/parsing.lisp (MATCH-ADVANCE-GLYPH): Remove as redundant.
2010-12-08 * interp/fnewmeta.lisp (PARSE-OpenBracket): Tidy.dos-reis1-20/+18
(PARSE-OpenBrace): Likewise.
2010-12-08 * algebra/acplot.spad.pamphlet: Fix decimal constant notation.dos-reis1-28/+28
* interp/fnewmeta.lisp: Replace MATCH-ADVANCE-STRING with MATCH-ADVANCE-KEYWORD when matching for keywords.
2010-12-07 * interp/compiler.boot (compThrow): Remove niladic type restriction.dos-reis1-9/+5
(compCatch): Tidy. (compTry): Likewise.
2010-12-07 Add support for exception handling.dos-reis8-27/+146
* interp/parsing.lisp (TEST-LEXING): Remove. (RTRACE): Likewise. (RUNTRACE): Likewise. (MATCH-ADVANCE-KEYWORD): New. (MATCH-ADVANCE-GLYPH): Likewise. (MATCH-ADVANCE-SPECIAL): Likewise. (MATCH-SPECIAL): Likewise. (MATCH-KEYWORD-NEXT): Likewise. * interp/newaux.lisp: Make try and throw prefix operators. * interp/metalex.lisp (KEYWORDS): Include finally, catch and throw. * interp/fnewmeta.lisp (PARSE-Throw): New. Parse throw-expressions. (PARSE-Catch): New. Parse catch-expressions. (PARSE-Finally): New. Parse finally-expressions. (PARSE-Try): New. Parse try-expressions. * interp/compiler.boot (compThrow): New. Register to compile throw-expressions. (compTry): New. Register to compiler try-expressions. (compCatch): New. Compile catch-handler expression. * interp/g-opt.boot (optTry): New. Simplify simple expressions in the try operand. * interp/g-util.boot (expandThrow): New. Expand %throw forms. (domainMatchCode): New. (expandTry): New. Expand %try forms. * doc/msgs/s2-us.msgs: Add new message with key S2GE0020. * interp/g-error.boot (systemErrorHandler): Handle possible uncaucght expression condition.
2010-12-06 * interp/metalex.lisp (KEYWORDS): Include try.dos-reis1-1/+1
* algebra/numode.spad.pamphlet: Change field try to tryValue. * algebra/multsqfr.spad.pamphlet: Change identifier try to tryCount.
2010-12-01 * interp/sys-driver.boot (executeSpadScript): Inform the systemdos-reis2-1/+2
that we are going to read from a file. * interp/g-error.boot(handleLispBreakLoop): Return to reading from file if that was what were doing. * input/Makefile.in (TESTSYS): Use driver and --test option. (%.output): Simplify.
2010-12-01 * interp/sys-driver.boot (executeSpadScript): Handle --testdos-reis2-2/+7
option. * interp/setvars.boot (setOutputAlgebra): Control informative message about algebra stream redirection by $verbose.
2010-11-30 Fix SF/2110371dos-reis4-32/+43
* interp/i-toplev.boot (recordAndPrint): Tidy. (SpadInterpretFile): Move to int-top.boot. * interp/int-top.boot (ncINTERPFILE): Simplify. (ncloopPrintLines): Output onto the standard output stream. (ncloopIncFileName): Issue diagnostic on error output stream. * interp/setvars.boot (setOutputAlgebra): Fix thinko. (setStandardOutputToAlgebraStream): New. * interp/sys-driver.boot (executeSpadScript): Use it. Set verbosity level as appropriate. Redirect output if requested.
2010-11-29Add support for translator and linker in the driverdos-reis1-9/+14
2010-11-27 * Makefile.am: Automake Makefile.in.dos-reis1-1/+1
* Makefile.in: Regenerate.
2010-11-16 * interp/g-opt.boot ($VMsideEffectFreeOperators): Include %s2cdos-reis4-5/+33
builtin. * interp/g-util.boot (stringToChar): New. (expandCst): Use it. (expandS2c): Likewise. New. * interp/spad.lisp (|$Newline): Move to interp/sys-macros.lisp. * interp/sys-macros.lisp (|$Backspace): New. (|$HorizontalTab|): Likewise. (|$VerticalTab|): Likewise. (|$FormFeed|): Likewise. (|$CarriageReturn|): Likewise. * algebra/string.spad.pamphlet (Character) [newline]: New. [carriageReturn]: Likewise. [linefeed]: Likewise. [formfeed]: Likewise. [backspace]: Likewise. [horizontalTab]: Likewise. [verticalTab]: Likewise. [char]: Tidy.
2010-11-05 * algebra/Makefile.pamphlet: Likewise.dos-reis2-672/+46
* interp/Makefile.pamphlet: Remove.
2010-10-28 * interp/c-util.boot: Cleanup.dos-reis2-110/+11
2010-10-27 * interp/c-util.boot (makeCommonEnvironment): Use list node pointerdos-reis1-5/+5
comparaison, not object comparaison.
2010-09-07 * interp/c-util.boot (massageBackendCode): Remove conditional ondos-reis2-8/+11
$NEWSPAD since it always true. Keep note of Lisp-level special variable even if it is set with SETQ. (transformToBackendCode): Declare special variables before fluid and local variables. * interp/compiler.boot: Don't compile SETQ forms as if they were Spad codes.
2010-08-25 * interp/i-output.boot (newlineIfDisplaying): New. dos-reis3-18/+51
(mathprintWithNumber): Take type of value as second argument. (maprinChk): Tidy. (maprinRows): Likewise. (spadPrint): Likewise. (output): Likewise. (printMap): Likewise. (bracketagglist): Likewise. (mathPrint): Likewise. (mathPrint1): Likewise. * interp/i-toplev.boot (recordAndPrint): Likewise. * interp/setvart.boot: Introduce flag for asgard forms.
2010-08-25 * interp/br-saturn.boot ($saturn): Define here.dos-reis10-185/+19
* interp/br-search.boot: Remove $saturn-related codes. * interp/g-error.boot: Likewise. * interp/ht-root.boot: Likewise. * interp/ht-util.boot: Likewise. * interp/i-output.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/i-toplev.boot: Likewise. * interp/msgdb.boot: Likewise. * interp/patches.lisp: Likewise.
2010-08-22 * interp/compiler.boot (getBootType): Prefix Mapping with %.dos-reis1-3/+3
(checkExternalEntity): Likewise. Do same with Signature.
2010-08-21 External tool noweb is no longer required.dos-reis2-6/+2
* INSTALL: Update instructions. * Makefile.pamphlet: Remove rules for building noweb. (AXIOM_SRC_TARGETS): Include all-utils. * config/open-axiom.m4 (OPENAXIOM_BUILD_TOOLS): Don't check for notangle and noweave. * config/setup-dep.mk: Remove rules for generating document. * config/var-def.mk: Remove NOTANGLE and NOWEAVE variables. * configure.ac: Instantiate Makefile for src/utils.
2010-08-08do insist that default float format is double-float everywheredos-reis1-0/+5