Commit graph

485 commits

Author SHA1 Message Date
Louis Rubet
e034a7834c Harden branch checks on command flow indexes 2022-02-24 11:55:14 +01:00
Louis Rubet
be1f0d54ac github action for tests 2022-02-23 16:59:37 +01:00
Louis Rubet
8f5a334fe0 Correct mpreal mem leaks due to perf issue correction 2022-02-22 17:18:07 +01:00
Louis Rubet
800dc3fc68
Merge pull request #230 from louisrubet/#225/lexer-perf-issue
#225 lexer perf issue
2022-02-22 16:48:06 +01:00
Louis Rubet
50351b1917 Add missing input.cpp and input.hpp 2022-02-22 16:34:17 +01:00
Louis Rubet
683c4702d1 Remove regex from lexer, allocate mpreal only if needed 2022-02-22 16:26:59 +01:00
Louis Rubet
56298f6b8a allocate mpreal obj in lexer only when needed 2022-02-22 14:28:09 +01:00
Louis Rubet
1faf101dd8 Add lexer and input classes 2022-02-21 16:01:49 +01:00
Louis Rubet
8542890b61 stack by reference 2022-02-21 02:03:37 +01:00
Louis Rubet
bff2a3ec0c heap by reference 2022-02-21 01:42:52 +01:00
Louis Rubet
06a103fa8f some c++ better practices 2022-02-21 01:40:23 +01:00
Louis Rubet
328bdf3c58 main cleanup 2022-02-21 01:07:04 +01:00
Louis Rubet
e1d69e8876 test framework accepts script names as string again 2022-02-20 23:55:06 +01:00
Louis Rubet
e0c862eaaa removed norm as abs synonym (a norm is squared abs) 2022-02-20 23:51:33 +01:00
Louis Rubet
b90c382b24 set missing rnd default in rpn_default 2022-02-20 23:41:16 +01:00
Louis Rubet
12b83f69af manual tests ok, vars corrected 2022-02-20 19:08:56 +01:00
Louis Rubet
4aa71db351 trig and log tests pass 2022-02-20 18:53:00 +01:00
Louis Rubet
af5b3def4c time tests pass 2022-02-20 17:43:49 +01:00
Louis Rubet
949a1a0648 complex pass (except floating point base numbers) 2022-02-20 15:58:15 +01:00
Louis Rubet
f7b95c68a2 program test pass 2022-02-19 16:32:05 +01:00
Louis Rubet
f8cbae6d55 store tests pass, better swap, rot, roll, rolld 2022-02-18 17:43:07 +01:00
Louis Rubet
80bcb82d3f logical test tests pass 2022-02-18 00:27:06 +01:00
Louis Rubet
789dfef119 string tests pass 2022-02-17 19:04:40 +01:00
Louis Rubet
33815ddca1 real tests pass 2022-02-17 18:08:25 +01:00
Louis Rubet
84b5ce9e62 parser fix for numbers and real functions 2022-02-17 16:47:02 +01:00
Louis Rubet
42a9065d52 refactoring stack 2022-02-16 17:36:26 +01:00
Louis Rubet
51c5a4e0f2 refactoring branches 2022-02-16 16:57:56 +01:00
Louis Rubet
236fc940a7 refactoring base entries 2022-02-16 00:26:42 +01:00
Louis Rubet
dc758483e5 refactoring tests 2022-02-16 00:24:26 +01:00
Louis Rubet
9825a16409 refactoring II 2022-02-16 00:24:26 +01:00
Louis Rubet
d3970d403b refactoring I (objects) 2022-02-16 00:24:26 +01:00
Louis Rubet
df7f5e4660 #223 add missing return (detected by gcc 11) 2022-02-05 14:01:20 +01:00
Louis Rubet
5e16332c54 #217: version 2.3.2 2018-08-15 19:58:10 +02:00
Louis Rubet
ff541e49a0 #8: added functions date, time, ticks 2018-08-15 18:06:52 +02:00
Louis Rubet
e5dd31560e #214: doxy comments 2018-08-14 23:50:22 +02:00
Louis Rubet
de731e45d8 #112: steps with rounded down comparison to avoid missing last boundaries 2018-08-12 17:30:09 +02:00
Louis Rubet
4884609039 #209: don't show stack entries separator when running in command line 2018-08-12 15:25:09 +02:00
Louis Rubet
fc79a2575a #212: refactoring hpp and cpp 2018-08-12 15:06:04 +02:00
Louis Rubet
abe2bd12e8 #210: google-styled code 2018-08-12 11:50:49 +02:00
Louis Rubet
7cfa131511 #154: interpret hash as comment begin 2018-08-12 11:19:48 +02:00
Louis Rubet
27ac02bc59 #147: multiline editing 2018-08-12 11:06:39 +02:00
Louis Rubet
4530ff7999 v2.3.1 2018-07-28 13:13:57 +02:00
Louis Rubet
d53d537c72 #207: corrected pointer issue in function rpn_base 2018-07-28 13:12:35 +02:00
Louis Rubet
7322d12944 #198: test reports now show rpn version 2018-06-01 17:33:25 +02:00
Louis Rubet
971f129e57 #146: the new ret_value is added after other enums to keep the numeric compatibility 2018-06-01 17:32:47 +02:00
Louis Rubet
b100333228 #201: debugged wrong negative based-real printing, CMakeLists.txt now checks for CMAKE_BUILD_TYPE 2018-06-01 17:15:18 +02:00
Louis Rubet
346bd6c4ad #203: debugged quit, this closes #203 2018-06-01 16:26:34 +02:00
Louis Rubet
9b46aefd3a Merge branch 'no-way-out-if-ctrlc' into develop 2018-06-01 12:58:11 +02:00
Louis Rubet
70b97f02b7 #146: new CtrlC management (don't go out if there is a current line) 2018-05-13 19:27:36 +02:00
Louis Rubet
a1805c0338 #192: added expm and lnp1, changed wrong test for sqrt (2), removed extra command 'q' 2018-05-06 14:59:15 +02:00