aboutsummaryrefslogtreecommitdiff
path: root/src/boot
AgeCommit message (Collapse)AuthorFilesLines
2016-02-01Support ')read' of Boot fileGabriel Dos Reis1-6/+5
Allow the system command to ')read' a Boot source file: the involves (1) compiling Boot to machine code (2) loading the resulting FASL in the current system Note that if the boot file has any dependency in terms of 'import', one needs to set up the $LoadDirectories appropriately, or else the system will crash. In particular, if you're modifying OpenAxiom source files you need to include the appropriate directories containing OpenAxiom fasl files.
2016-01-30Do not rename mkpf.Gabriel Dos Reis4-8/+7
2016-01-24Misc. fixesGabriel Dos Reis1-1/+0
With the siwtch to a C++ compiler, the AC_PATH_XTRA has become less effective as it internally relies on the C compiler invokation. Fixed CXXFLAGS, CPPFLAGS, and LDFLAGS when detecting <X11/xpm.h> usability. Various bitmasks in src/hyper and src/graph were bogusly using 'char' (instead of 'unsigned char') when they specify values larger than 127. Caught by the C++ compiler, thanks to no-narrowing conversion. Fixed. Eventually the X11-based HD interface and graphics should be replaced by a more modern GUI interface.
2016-01-19getConstructorCategory: get it from generated code for category constructors.Gabriel Dos Reis1-1/+1
2016-01-12Share more code between various parts of the compiler.Gabriel Dos Reis1-0/+1
2015-12-30Move bemol.cc's Fragment to core library.Gabriel Dos Reis1-106/+2
2015-12-26Rename 'lastItem' to 'last'. Remove the macro definition.Gabriel Dos Reis2-4/+4
2015-12-25Do not rename 'apply'.Gabriel Dos Reis4-12/+10
2015-12-24Tidy uses of apply.Gabriel Dos Reis2-5/+5
2015-12-24Replace FUNCALL with apply.Gabriel Dos Reis4-24/+26
2015-12-24Translate apply(f,[args]) as FUNCALL(f,args)Gabriel Dos Reis9-52/+225
2015-12-23Retain Lisp code generated from algebra if asked.Gabriel Dos Reis1-2/+2
2015-06-01Fix typos in configration scripts.dos-reis1-0/+1
2015-04-03Fix warnings in C++ codes; check for additional C++ compiler options.dos-reis1-6/+18
2014-11-30Misc cleanup.dos-reis3-27/+5
2014-11-29Move code from bemol.cc to library.dos-reis1-50/+10
2014-11-16Remove src/syntax Makefiles; make part of libOpenAxiomdos-reis2-4/+2
2014-11-16Remove src/io Makefiles; make part of libOpenAxiomdos-reis2-10/+11
2014-11-16Check for LLVM frameworkdos-reis1-1/+3
2014-10-04Fix QT5 toAscii() compatibility issue.dos-reis1-1/+1
2014-08-30Rename TokenStream<> to Tokenizer<>dos-reis1-2/+6
2014-08-27Tidy TokenStream<>::get()dos-reis1-0/+14
2014-08-26Add generic Boot and Spad tokenizer.dos-reis3-8/+372
2014-08-18Add src/boot/Makefile.amdos-reis2-137/+996
2014-02-21Set derived src and target directory variablesdos-reis1-2/+1
2014-02-10Clean up global variable names.dos-reis1-1/+1
2014-02-03Fix global variable names in Makefilesdos-reis1-8/+8
2014-02-02misc updatedos-reis9-9/+9
2013-06-20Tidy codegen for Boot inerts.dos-reis2-4/+4
2013-06-20Allow inerts in Boot.dos-reis7-10/+39
2013-06-15Intern temporary names for HT pages.dos-reis1-0/+1
2013-06-15 * interp/nruncomp.boot (NRTsetVector4Part1): Add environment parameter.dos-reis5-14/+56
Adjust caller. (NRTsetVector4a): Likewise. Avoid special variable for environment. * boot/utility.boot: Add and export substSource, substTarget. * interp/define.boot: Use them.
2013-06-14compColon is now smarter about category definitions.dos-reis1-1/+5
2013-06-01Support --output in compiler, for bootstrapping stage.dos-reis5-17/+30
2013-05-27Rename MAKE-FULL-FILENAME to makeFullFilename.dos-reis4-6/+11
2013-05-26Rename MAKE-FULL-NAMESTRING to makeFullFilePath and implement in Boot.dos-reis1-0/+1
2013-05-26Rename MAKE-FILENAME to makeFilename and re-implement in Boot.dos-reis6-63/+66
2012-08-23 * boot/ast.boot ($ffs): New.dos-reis2-9/+14
(genImportDeclaration): Update it. * boot/translator.boot (genModuleFinalization): Tidy. Generate code to update $dynamicForeignFunctions where necessary. (atLoadOrExecutionTime): New. * lisp/core.lisp.in (UNBIND-FOREIGN-FUNCTION-SYMBOLS): New. (saveCore): Use it. ($dynamicForeignFunctions): New. Export.
2012-08-20 * interp/i-coerfn.boot: Do not import i-coerce. Import i-analydos-reis1-1/+1
and i-resolv intead. ($CoerceTable): Fix embarrassing thinko. * interp/i-coerce.boot: Import i-coerfn. (coerceIntTableOrFunction): Tidy. * boot/utility.boot (objectAssoc): Tidy.
2012-08-20 * interp/util.lisp (BUILD-INTERPSYS): loadDelayedFFI early.dos-reis2-54/+51
* interp/sys-driver.boot (%sysInit): Do not call sys-osInitCLispFFI (no longer necessary.) * boot/translator.boot (genModuleFinalization): Generate forms to be evaluated at load and execution time, instead of a function call. * interp/spad.lisp (process): Remove.
2012-08-19 * configure.ac: Define Automake conditional OA_DELAYED_FFI.dos-reis1-3/+0
* config/open-axiom.m4 (OPENAXIOM_CHECK_DELAYED_FFI): New. (OPENAXIOM_HOST_COMPILERS): Call it. src/ * lisp/core.lisp.in (primitiveLoad): New. Export. ($delayedFFI): Likewise. * lisp/Makefile.in (oa_delay_ffi): New. (edit): Update. * interp/sys-utility.boot: import sys-constants instead of sys-os. * interp/sys-driver.boot (%sysInit): Do not loadSystemRuntimeCore. (loadDelayedFFI): New. (executeSpadScript): Call it. (compileSpadLibrary): Likewise. (buildInitdbHandler): Likewise. (systemMain): Likewise. * interp/util.lisp (BUILD-INTERPSYS): Likewise. * interp/Makefile.in (oa_target_moddir): New. (OA_FFI_MOD): Likewise. (OA_FFI_OBJ): Define conditionally. (OBJS): Use it. ($(oa_target_delayed)): New rule. (oa_target_delayed): New. (oa_target_ffi): Define conditionally. (${SAVESYS}): Require it. (${AXIOMSYS}): Likewise. (sys-utility.$(FASLEXT)): Now require sys-constants.$(FASLEXT).
2012-08-19 * boot/ast.boot (genSBCLnativeTranslation): Do no prepend andos-reis2-6/+2
underbar when WIN32 (no longer necessary.) * include/open-axiom.h (OPENAXIOM_EXPORT): Fix thino.
2012-08-18 * boot/translator.boot (shoeOutParse): Fix thinko.dos-reis2-5/+5
* lib/cfuns-c.c (oa_getcwd): Tidy. (oa_spawn): Likewise. * lib/sockio-c.c (send_string_len): Likewise. * utils/command.cc (option_value): Likewise. (execute_core): Likewise.
2012-06-10 * interp/preparse.lisp: Remove.dos-reis3-5/+12
* interp/spad-parser.boot: Do not include. Import lexing instead. * interp/Makefile.in: Adjust.
2012-06-03 * interp/lexing.boot (%Line): Now a record structure.dos-reis4-14/+26
* boot/parser.boot (bpTypeName): Split out of bpTypeAliasDefinition. (bpStruct): Use it. Support parameterized structures. * boot/ast.boot (ctorName): New. (bfEnum): Use it for parameterized enums. (bfRecord): Use it for parameterized records.
2012-06-03 * boot/parser.boot (bpSignatureTail): Split out of bpSignature.dos-reis6-148/+161
(bpTyped): Use it. (bpThrow): Lilkewise. (bpRegularBVItemTail): Likewise. (bpAssignLHS): Likewise. (bpStoreName): Do not reference $typings. * boot/ast.boot (%Ast): Remove %Pretend variant. (bfSignature): Rename from bfLocal. Build %Signature variant. (bfLET1): Handle assignment to typed variable. (shoeCompTran): Do not reference $typings. (shoeCompTran1): Do not translate assignment to typed variables. (bindFluidVars): Handle them here. (bfTagged): Remove. (bfTry): Tidy. * boot/translator.boot (shoeOutParse): Do not reference $typings and $returns. * interp/c-util.boot (isAlmostSimple): Initialize $assignmentList.
2012-06-01 * boot/translator.boot: Remove DEFUSE, $booDefined,dos-reis2-501/+0
$bootDefinedTwice, $bootUsed, $lispWordTable, shoeDfu, shoeReport, shoeDefUse, defuse, defuse1, defSeparate, unfluidlist, defusebuiltin, bootOut, CLESSP, SSORT, bootOutLines, XREF, shoeXref, shoeXreport.
2012-06-01 * boot/ast.boot (%LoadUnit): Add field for enclosing function.dos-reis6-68/+76
Remove references to $op.
2012-06-01 * boot/ast.boot (%LoadUnit): Add fields for side conditions.dos-reis6-28/+35
* boot/parser.boot: Adjust.
2012-06-01 * boot/ast.boot (%LoadUnit): Add fields for let var and is vardos-reis2-44/+66
sequence numbers. Eliminate $letGenVarCounter and $isGenVarCounter.