Age | Commit message (Collapse) | Author | Files | Lines |
|
with try/finally.
(BOOTTOCLC): Likewise.
|
|
(MAKE-VEC): Likewise.
(MAKE-CVEC): Likewise.
|
|
* boot/scanner.boot (shoeIntValue): Tidy.
(shoeSubString): Likewise.
* boot/tokens.boot (shoeInsert): Likewise.
(shoeDictCons): Likewise.
|
|
masquerading as constructors.
|
|
symbols.
|
|
* interp/i-toplev.boot (printTypeAndTimeNormal): Likewise.
* interp/msgdb.boot (applyPrefix2String): Likewise.
|
|
(substituteSegmentedMsg): Use to implement documented behaviour
of formatting code P.
* interp/i-analy.boot (printableArgModeSetList): Don't call
prefix2String here.
(bottomUpForm0): Likewise.
|
|
* interp/sys-utility.boot (stringImage): New.
* interp/format.boot (form2String1): Use it. Tidy.
|
|
* interp/sys-driver.boot (executeSpadScript): Announce input file.
|
|
* interp/i-output.boot: Fix type violation in equality comparison.
|
|
|
|
primitive UNWIND-PROJECT.
* interp/int-top.boot: Likewise.
* interp/lisplib.boot: Likewise.
* interp/server.boot: Likewise.
* boot/parser.boot (bpHandler): Allow semicolon separation.
|
|
* 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.
|
|
(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.
|
|
* 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.
|
|
|
|
|
|
PARSE-GlyphTok.
(PARSE-GlyphTok): Now accept string instead of symbol.
* interp/parsing.lisp (MATCH-ADVANCE-GLYPH): Remove as redundant.
|
|
(PARSE-OpenBrace): Likewise.
|
|
* interp/fnewmeta.lisp: Replace MATCH-ADVANCE-STRING with
MATCH-ADVANCE-KEYWORD when matching for keywords.
|
|
(compCatch): Tidy.
(compTry): Likewise.
|
|
* 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.
|
|
* algebra/numode.spad.pamphlet: Change field try to tryValue.
* algebra/multsqfr.spad.pamphlet: Change identifier try to tryCount.
|
|
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.
|
|
option.
* interp/setvars.boot (setOutputAlgebra): Control informative
message about algebra stream redirection by $verbose.
|
|
(RUN-DRIVER): Split from handleCommandLine.
|
|
Rewrite to pull out command line options wherever they are
except the ones after "--".
(topLevel): Bind *PACKAGE*; don't set it.
|
|
|
|
* 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.
|
|
* 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.
|
|
* driver/utils.c: Tidy.
* driver/utils.h: Likewise.
* sman/sman.c: Likewise.
|
|
* etc/: Likewise.
* graph/: Likewise.
* hyper/: Likewise.
* lib/: Likewise.
* sman/: Likewise.
* Makefile.am (OA_SMAN_TARGETS): New.
(OA_GRAPHICS_TARGETS): Likewise.
|
|
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.
|
|
GCL or ECL.
* lisp/core.lisp.in: Implement appropriate change.
|
|
* etc/asq.c.pamphlet: Fix bogus declarations of standard
functions. Fix const-correctness for string literals.
|
|
(GCL_LTLD): Likewise.
|
|
* Makefile.in: Regenerate.
|
|
(openaxiom_build_rts_options): Use it. Tidy. Handle Clozure CL
and CLISP.
|
|
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.
|
|
* algebra/Makefile.pamphlet: Likewise.
* input/Makefile.pamphlet: Likewise.
|
|
* interp/Makefile.pamphlet: Remove.
|
|
|
|
necesary with newer GCL-2.6.8pre.
* configure.ac: Dont' call it.
|
|
|
|
comparaison, not object comparaison.
|
|
|
|
|
|
|
|
(Character): New.
(Syntax::Visitor::visit): Overload for Character.
(Allocator::make_character): Declare.
(Parser::parse_character): Likewise.
* utils/sexpr.cc (operator<<) [Token::character]: Print data for
character token.
(Lexer::tokenize): Recognize a character literal.
(Parser::parse_character): Define.
|
|
$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.
|