aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2022-10-29Fix some compiler warnings & buffer overflowsIgor Pashev46-185/+166
2022-10-27Use c++20 to build GUI (#30)Igor Pashev1-1/+1
Fixes error: ``` g++ -c -pipe -std=c++11 -Wno-mismatched-tags -Wno-string-plus-int -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../x86_64-pc-linux-gnu/include -I../../../src/gui -I../../../src/include -I../../config -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o server.o ../../../src/gui/server.cc In file included from ../../../src/include/open-axiom/Lisp:43, from ../../../src/gui/server.h:38, from ../../../src/gui/server.cc:33: ../../../src/include/open-axiom/vm:177:21: error: ‘std::same_as’ has not been declared 177 | template<std::same_as<bool> T> ```
2022-09-17Disable automatic re-run of configuration steps. (#29)Gabriel Dos Reis5-15/+20
2022-08-30Do not generate `SPADLET` opcode (#23)Gabriel Dos Reis4-21/+19
This patch makes the Spad compiler no longer generate `SPADLET`.
2022-08-30Use `LETT` less often (#22)Gabriel Dos Reis1-3/+6
This patch has the Lisp backend use less often the `LETT` opcode. In fact, it is no longer used by the Spad compiler codegen. However, a few cases in the interpreter continues to use it.
2022-08-29Test assignment opcode in positive form (#21)Gabriel Dos Reis1-1/+1
The Lisp backend massaging code should test the opcode in positive form, as opposed to exclusion.
2022-08-27Remove reference to PRELET and RELET (#20)Gabriel Dos Reis1-2/+2
2022-08-23Fix a silent bad codegen (#19)Gabriel Dos Reis1-3/+1
The compile-time evaluation attempted by `expanndIlt` when both operands are integers seem to generate silent bad code (Lisp mysteries!). Disabled by this patch.
2022-08-21Fix build with SBCL-2.1.0 (#18)Gabriel Dos Reis1-3/+3
SBCL-2.1.0 and up have more refined type inference from array operations. As a consequence, they caught a coding slopping in the function `SUFFIX` - even if "benign" with respect to effective inputs.
2022-08-21Boot parser: Remove useless AST functions (#17)Gabriel Dos Reis5-36/+15
A couple of the Boot AST building functions are identity functions. Remove to reduce obfuscation.
2022-08-20fix sbcl 1.5.9 build (#16)Gabriel Dos Reis5-42/+66
* Fix build with SBCL-1.5.9 * Fix dynamic loading of open-axiom-core.so
2022-08-15Stop referencing `std::hash<T>::result_type`Gabriel Dos Reis1-19/+16
2022-08-13Use `char8_t` in the tool hammerGabriel Dos Reis1-267/+276
2022-08-13Rename `Dynamic` to `Boxed`Gabriel Dos Reis3-54/+48
2022-08-12Use C++ concepts in lieu of SFINAE.Gabriel Dos Reis4-29/+26
2022-07-23Update configure.Gabriel Dos Reis5-95/+159
2022-07-24Fix inverted arguments in call to `memset`.Gabriel Dos Reis1-2/+2
2018-02-01Fix thinkoGabriel Dos Reis1-1/+1
Existing code did not supply the domain to export from, hence supplying one fewer argument to `genImportDeclaration`. Issue discovered by build with CLISP.
2018-01-01Name bracket pattern parserGabriel Dos Reis5-151/+228
and update the boot translator Lisp cache.
2017-12-27Bemol: Add 'module' as Boot keywordGabriel Dos Reis2-1/+2
2017-12-27Remove antiquated check for alignasGabriel Dos Reis8-11/+102
C++14 required, alignas and alignof are now well supported as C++11 features.
2017-12-27Fix build with SBCLGabriel Dos Reis1-2/+1
ERROR does no expect a LIST.
2017-01-21Fix minor breakage when building guiBill Page1-1/+1
Added -lopen-axiom-core
2017-01-20Format boot tokens.Gabriel Dos Reis1-6/+34
2017-01-17More cleanup.Gabriel Dos Reis4-34/+24
2017-01-17Misc cleanups.Gabriel Dos Reis5-131/+120
2017-01-17Simplify Tokenizer::get.Gabriel Dos Reis1-59/+58
2017-01-16Split Tokenizer::get into two functions.Gabriel Dos Reis2-45/+55
2017-01-16Include commentary lines in fragments.Gabriel Dos Reis2-18/+31
2017-01-16Remove Fragment::last_indent.Gabriel Dos Reis3-8/+6
2017-01-16Decorate each input line with its kind.Gabriel Dos Reis2-1/+8
2017-01-15Use library parser for bemol.Gabriel Dos Reis3-77/+79
2017-01-15Require C++14.Gabriel Dos Reis4-7/+10
2017-01-15Add s-expression parsing to libopen-axiom-core.aGabriel Dos Reis7-28/+19
2017-01-15TokenValue::Indent, TokenValue::Unindent, TokenValue::JustifyGabriel Dos Reis4-13/+15
Classify them as formatting tokens. Remove TokenValue::Artificial.
2017-01-02Include a native entry point for parsing Boot source files, and forGabriel Dos Reis14-64/+236
transpiling to Lisp.
2016-12-29Add Boot support for native load unit specification in foreignGabriel Dos Reis12-16/+65
function import.
2016-12-26 * interp/i-output.boot (appChar): Don't modify string parameter.Gabriel Dos Reis4-7/+10
* algebra/Makefile.am (strap-1/FINITE.$(FASLEXT)): Update dependency.
2016-04-05Fix conflict with catdef enumerateBill Page1-1/+1
Port change from FriCAS https://github.com/fricas/fricas/commit/dbf6a9b559e6872f5a3baa7e55a1c57130f1c335
2016-04-05Add enumerate to domains that have FiniteBill Page1-0/+3
Port change from FriCAS https://github.com/fricas/fricas/commit/dbf6a9b559e6872f5a3baa7e55a1c57130f1c335
2016-02-09Various cleanupsGabriel Dos Reis3-23/+27
Rename getFunctionTemplate to matchSignatureInTemplate. Rename lookupInheritedDefiningFunction to lookupRemoteDefiningFunction as the function wasn't really about inherited operators. Have it avoid returning functions that might need their domain domain to operate correctly. Simplify getOpCode: it only needs two arguments since the third was the length of the second argument. dbDefaultPackage? is no longer a macro.
2016-02-08Do not let domain closure escape lookupDefinitionFunctionGabriel Dos Reis2-7/+4
A successful call to compiledLookup will come up with any of the form that results from stuffSlot. Handle them here. Remove confused and dead code.
2016-02-08Tidy gerCapsuleDirectoryEntryGabriel Dos Reis1-2/+9
Factor out candidatesForSlot.
2016-02-07Remove $NRTaddFormGabriel Dos Reis6-38/+37
Use a %CompilerData slot to hold the corresponding data during the elaboration of a capsule.
2016-02-07Remove $NRTderivedTargetIfTrueGabriel Dos Reis3-8/+1
It wasn't used in any meaningful way -- its value was always set to 'false'. Furthermore, it didn't match documentation.
2016-02-07PolynomialCategoryLifting: Weaken constraint on that parameterGabriel Dos Reis1-1/+1
The extra requirement of SetCategory was not being used, as pointed out by Ralf Hemmecke.
2016-02-07Various cleanupsGabriel Dos Reis2-7/+7
Use `domainDirectory dom` instead of `domainRef(dom,1)`.
2016-02-06Move $lookupDefaults out of newLookupInTableGabriel Dos Reis2-6/+7
Move $lookupDefaults to he callers of newLookupInTable to surface variabilities in the control flow.
2016-02-06optNot: handle conjunction and disjunction operandsGabriel Dos Reis1-0/+4
2016-02-06Rewrite capsule of IndexedDirectProductOrderedAbelianMonoidSupGabriel Dos Reis1-20/+18
Rewrite `subtractIfCan` and `sup` in terms of the mathematical operations and exported operations. This makes the correctness of the algorithms stand out.