Age | Commit message (Collapse) | Author | Files | Lines |
|
(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.
|
|
directory if necessary.
* utils/storage.H (Memory::Factory): New. Allocate, construct,
and destroy objects.
* utils/sexpr.H (Sexpr::Allocator): Use Memory::Factory.
* utils/sexpr.cc: Adjust implementation.
|
|
* driver/main.c (print_configuration_info): New.
(main): Handle --config.
* driver/utils.c (openaxiom_build_rts_options): Likewise.
* driver/utils.h (openaxiom_config_driver): New driver enumerator.
|
|
and sed.
* config/var-def.mk (oa_target_includedir): New.
|
|
(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.
|
|
* 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.
|
|
|
|
to ErrorFunctions.
|
|
(checkExternalEntity): Likewise. Do same with Signature.
|
|
* 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.
|
|
|
|
* algebra/limitps.spad.pamphlet (ElementaryFunctionSign): Likewise.
* algebra/view2D.spad.pamphlet (TwoDimensionalViewport): Likewise.
* algebra/view2D.spad.pamphlet (ThreeDimensionalViewport): Likewise.
|
|
(LDFLAGS): Likewise.
(COMPILE): Include CPPFLAGS.
(CXXCOMPILE): Likewise.
(LINK): Include LDFLAGS.
(CXXLINK): Likewise.
(CXXLINK_SHRLIB): New.
* config/open-axiom.m4 (OPENAXIOM_HOST_DATA_PROPERTIES): Move
ABI flags setting to OPENAXIOM_HOST_COMPILERS. The CPPFLAGS and
LDFLAGS instead of CFLAGS and CXXFLAGS.
|
|
* hyper/htinp.c (get_graph_output): Likewise.
(print_paste): Likewise.
(print_graph_paste): Likewise.
* hyper/initx.c (get_color): Likewise.
* hyper/keyin.c (handle_key): Likewise.
* hyper/lex.c (token_table): Likewise.
* hyper/macro.c (number): Likewise.
* hyper/mem.c (alloc_page): Likewise.
* hyper/parse-aux.c (make_special_page): Likewise.
(is_number): Likewise.
* hyper/parse-types.c (errmess): Likewise.
* lib/sockio-c.c (oa_socket_read): Cast to second argument to
appropriate type.
(oa_socket_read_byte): Likewise.
|
|
* hyper/event.c: Include <sys/types.h> before other system headers.
* hyper/hyper.c: Likewise.
|
|
* clef/edible.c: Make it acceptable to a C++ compiler.
* driver/utils.c: Likewise.
* sman/sman.c: Likewise.
|
|
* lib/pixmap.c: Likewise.
* lib/spadcolors.c: Likewise.
* include/ReadBitmap.H1: Remove.
* include/all_hyper_proto.H1: Likewise.
* include/cond.H1: Likewise.
* include/cursor.H1: Likewise.
* include/dialog.H1: Likewise.
* include/display.H1: Likewise.
* include/event.H1: Likewise.
* include/extent1.H1: Likewise.
* include/extent2.H1: Likewise.
* include/form_ext.H1: Likewise.
* include/group.H1: Likewise.
* include/htinp.H1: Likewise.
* include/hyper.H1: Likewise.
* include/initx.H1: Likewise.
* include/input.H1: Likewise.
* include/item.H1: Likewise.
* include/keyin.H1: Likewise.
* include/macro.H1: Likewise.
* include/mem.H1: Likewise.
* include/parse.H1: Likewise.
* include/parse_aux.H1: Likewise.
* include/parse_input.H1: Likewise.
* include/parse_paste.H1: Likewise.
* include/parse_types.H1: Likewise.
* include/scrollbar.H1: Likewise.
* include/show_types.H1: Likewise.
* include/spadcolors.H1: Likewise.
* include/spadint.H1: Likewise.
* include/titlebar.H1: Likewise.
* hyper/Makefile.in: Compile and Link with a C++ compiler.
* hyper/ReadBitmap.c: Make it acceptable to a C++ compiler.
* hyper/cond.c: Likewise.
* hyper/dialog.c: Likewise.
* hyper/display.c: Likewise.
* hyper/display.h: Likewise.
* hyper/event.c: Likewise.
* hyper/event.h: Likewise.
* hyper/extent.h: Likewise.
* hyper/extent1.c: Likewise.
* hyper/extent2.c: Likewise.
* hyper/form-ext.c: Likewise.
* hyper/group.c: Likewise.
* hyper/group.h: Likewise.
* hyper/htadd.c: Likewise.
* hyper/htinp.c: Likewise.
* hyper/hyper.c: Likewise.
* hyper/hyper.h: Likewise.
* hyper/initx.c: Likewise.
* hyper/initx.h: Likewise.
* hyper/input.c: Likewise.
* hyper/item.c: Likewise.
* hyper/keyin.h: Likewise.
* hyper/keyin.c: Likewise.
* hyper/macro.c: Likewise.
* hyper/mem.c: Likewise.
* hyper/parse-aux.c: Likewise.
* hyper/parse-input.c: Likewise.
* hyper/parse-paste.c: Likewise.
* hyper/parse-paste.h: Likewise.
* hyper/parse-types.h: Likewise.
* hyper/parse-types.c: Likewise.
* hyper/parse.h: Likewise.
* hyper/parse.c: Likewise.
* hyper/scrollbar.c: Likewise.
* hyper/scrollbar.h: Likewise.
* hyper/show-types.c: Likewise.
* hyper/spadint.c: Likewise.
* hyper/titlebar.c: Likewise.
* hyper/titlebar.h: Likewise.
* graph/view3D/smoothShade3d.c: Include spadcolors.h
* graph/view3D/stuff3d.c: Likewise.
* graph/include/view.h (saymem): #undef before #define.
* graph/view2D/write2d.c: Include pixmap.h.
* graph/view3D/process3d.c: Likewise.
* graph/view3D/write3d.c: Likewise.
* graph/view3D/header.h: Remove macro definition for endColor and
colorStep.
* include/bsdsignal.h: Remove.
* include/edin.H1: Likewise.
* include/fnct_key.H1: Likewise.
* include/halloc.h: Likewise.
* include/hash.h: Likewise.
* include/prt.H1: Likewise.
* include/rgb.H1: Likewise.
* include/sockio.h: Likewise.
* include/util.h: Likewise.
* include/pixmap.h: Rename from pixmap.H1
|
|
trigonometric functions.
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include them.
* interp/g-util.boot: Expand them.
* include/edible.H1: Move declarations to clef/edible.c. Remove.
* driver/utils.h: Give G linkage to declarations.
* sman/Makefile.in: Link programs against C++ runtime.
|
|
* config/var-def.mk (CXXCOMPILE): New.
(CXXLINK): Likewise.
|
|
(transformToBackendCode): Use it to clean function body.
|
|
* interp/vmlisp.lisp (QSQUOTIENT): Likewise.
(QSREMAINDER): Likewise.
* interp/buildom.boot: Use quo and rem in leur of QUOTIENT and
REMAINDER or variants.
* interp/g-timer.boot: Likewise.
* interp/g-util.boot: Likewise.
* interp/htsetvar.boot: Likewise.
* interp/i-output.boot: Likewise.
* interp/incl.boot: Likewise.
* interp/msgdb.boot: Likewise.
* interp/nrungo.boot: Likewise.
* interp/pspad1.boot: Likewise.
* interp/topics.boot: Likewise.
|
|
* interp/spad.lisp (QUOTIENT2): Remove.
(REMAINDER2): Likewise.
* algebra/integer.spad.pamphlet (Integer): Use builtin %idivide.
* algebra/si.spad.pamphlet (SingleInteger): Likewise.
|
|
%irem and %iquo.
* algebra/si.spad.pamphlet (SingleInteger): Likewise.
|
|
($VMsideEffectFreeOperators): Include %irem and %iquo.
|
|
* boot/parser.boot (bpEuclid): New. Parse integer quotient and
remainder expressions.
(bpMinus): Now build on bpEuclid instead of bpTimes.
|
|
lieu of mutateToBackendCode.
|
|
* interp/c-util.boot (middleEndExpand): Temporarilty Comment out
signature.
|
|
if-expressions.
|
|
opcodes %icst0, %icst1, %when, and %ccst.
* interp/g-util.boot: Expand %ccst.
* algebra/alql.spad.pamphlet: Clean up.
* algebra/array1.spad.pamphlet: Likewise.
* algebra/c02.spad.pamphlet: Likewise.
* algebra/d03.spad.pamphlet: Likewise.
* algebra/e04.spad.pamphlet: Likewise.
* algebra/integer.spad.pamphlet: Likewise.
* algebra/si.spad.pamphlet: Likewise.
* algebra/string.spad.pamphlet: Likewise.
|
|
* interp/g-opt.boot (simplifyVMForm): Expand %icst0 and %icst1.
(optIlt): Fold more configurations.
|
|
|
|
* interp/define.boot (DomainSubstitutionFunction): Use
simplifyVMForm in lieu of optimize.
* interp/nruncomp.boot (NRTsetVector4a): Likewise.
|
|
comparison to %true.
|
|
|
|
|
|
(optCall): Handle VM macro expansions here.
|
|
(optCatch): Use it.
(optCall): Likewise.
(optSpecialCall): Likewise.
(simplifyVMForm): Handle simple cases here.
* interp/macros.lisp (RPLACW): Remove.
|
|
operand is zero.
(optIsub): Likewise.
(optImul): More simplifications if either operand is one.
|