aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-15 * interp/msgdb.boot (applyPrefix2String): New.dos-reis3-6/+25
(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-reis4-2/+14
* 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-reis5-0/+10
* interp/sys-driver.boot (executeSpadScript): Announce input file.
2010-12-14 * boot/ast.boot (bfQ): Emit STRING= for string comparison.dos-reis8-15/+22
* 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-12 * boot/ast.boot (bfIS1): Tidy.dos-reis2-2/+4
2010-12-12 * boot/ast.boot (bfIS1): Tidy.dos-reis3-4/+12
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-reis7-22/+34
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-reis11-30/+67
* 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-reis6-498/+676
(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-reis7-13/+15
2010-12-11 * boot/ast.boot (bfMmeber): Tidy.dos-reis21-116/+141
* 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-10Clean updos-reis17-24/+29
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-10Cleanupdos-reis5-15/+14
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-reis2-78/+68
2010-12-08 * interp/fnewmeta.lisp: Replace MATCH-ADVANCE-GLYPH withdos-reis3-10/+14
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-reis2-20/+23
(PARSE-OpenBrace): Likewise.
2010-12-08 * algebra/acplot.spad.pamphlet: Fix decimal constant notation.dos-reis3-29/+35
* 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-reis2-9/+11
(compCatch): Tidy. (compTry): Likewise.
2010-12-07 Add support for exception handling.dos-reis12-38/+189
* 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-reis12-26395/+26399
* 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-reis5-20/+29
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-reis4-3/+15
option. * interp/setvars.boot (setOutputAlgebra): Control informative message about algebra stream redirection by $verbose.
2010-12-01 * lisp/core.lisp.in (handleCommandLine): Don't export. Rewrite.dos-reis2-36/+43
(RUN-DRIVER): Split from handleCommandLine.
2010-12-01 * lisp/core.lisp.in (processCommandLine): Don't export.dos-reis2-18/+38
Rewrite to pull out command line options wherever they are except the ones after "--". (topLevel): Bind *PACKAGE*; don't set it.
2010-12-01Clean updos-reis1-11/+11
2010-11-30 * driver/utils.cc: Commonalize some of option handling code.dos-reis3-8/+36
2010-11-30 Fix SF/2110371dos-reis7-43/+67
* 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-30 Rename src/driver/main.c to src/driver/main.ccdos-reis3-4/+4
Rename src/driver/utils.c to src/driver/utils.cc
2010-11-30 * etc/Makefile.in: Use the driver.dos-reis8-19/+62
* 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-29Fix GCL-based build issues related to thedos-reis3-11/+20
fact that GCL does not provide a separate hook for linkers.
2010-11-29Add support for translator and linker in the driverdos-reis10-73/+147
2010-11-28 (all-lisp): Require all-driver.dos-reis7-134/+193
* driver/utils.c: Tidy. * driver/utils.h: Likewise. * sman/sman.c: Likewise.
2010-11-28 * clef/: Add using directive at toplevel.dos-reis52-235/+339
* etc/: Likewise. * graph/: Likewise. * hyper/: Likewise. * lib/: Likewise. * sman/: Likewise. * Makefile.am (OA_SMAN_TARGETS): New. (OA_GRAPHICS_TARGETS): Likewise.
2010-11-28 * lib/Makefile.in: Build libopen-axiom-core and libspad with a C++dos-reis23-392/+301
compiler and linker. * lib/bsdsignal.c: Fix C calling convention annotation. * lib/cfuns-c.c: Likewise. * lib/edin.c: Likewise. * lib/sockio-c.c: Likewise. * include/bsdsignal.h: Remove 'extern "C"'-block annotation. * include/cfuns.h: Likewise. * include/cursor.h: Likewise. * include/edin.h: Likewise. * include/fnct_key.h: Likewise. * include/halloc.h: Likewise. * include/hash.h: Likewise. * include/openpty.h: Likewise. * include/pixmap.h: Likewise. * include/prt.h: Likewise. * include/sockio.h: Likewise. * include/spadcolors.h: Likewise. * include/util.H1: Likewise. * include/view.h: Likewise. * include/wct.h: Likewise. * include/open-axiom.h (OPENAXIOM_C_CALL): New macro. (OPENAXIOM_C_EXPORT): Likewise.