Commit graph

389 commits

Author SHA1 Message Date
Louis Rubet
3fb349e00b #47: hex, dec, bin are now per real 2017-05-02 17:30:34 +02:00
Louis Rubet
b9d9f631b0 #50: corrected regression on rot 2017-05-02 17:05:09 +02:00
Louis Rubet
9923cbe514 #50: corrected regression on rot 2017-05-02 17:05:09 +02:00
Louis Rubet
d7a13566fd #47: removed binary type and functions 2017-05-02 16:16:46 +02:00
Louis Rubet
6092d15e77 #47: removed binary type and functions 2017-05-02 16:16:46 +02:00
Louis Rubet
b7691135ed #49: debug eval issue 2017-05-02 11:57:10 +02:00
Louis Rubet
eedb29a929 #49: debug eval issue 2017-05-02 11:57:10 +02:00
Louis Rubet
7fe9b7d1ae #49: debug autoeval issue 2017-05-02 11:39:26 +02:00
Louis Rubet
fc4b4dfcd5 #49: debug autoeval issue 2017-05-02 11:39:26 +02:00
Louis Rubet
3341e68d64 #49: debug autoeval issue 2017-05-02 11:33:37 +02:00
Louis Rubet
fdb7c8bff8 #49: debug autoeval issue 2017-05-02 11:33:37 +02:00
Louis Rubet
18513ca48b #34: debug tests on MPRF 2017-05-02 11:27:04 +02:00
Louis Rubet
fd88844f4b #34: debug tests on MPRF 2017-05-02 11:27:04 +02:00
Louis Rubet
2e235c1e17 #34, #48: LGPLv3 + mention of MPFR 2017-05-02 10:53:50 +02:00
Louis Rubet
3dbe71fb8b #34, #48: LGPLv3 + mention of MPFR 2017-05-02 10:53:50 +02:00
Louis Rubet
2311fbcf14 #5, #34: stack and mpfr issues 2017-05-02 10:47:31 +02:00
Louis Rubet
5e15b3b8dc #5, #34: stack and mpfr issues 2017-05-02 10:47:31 +02:00
Louis Rubet
e63e6f98aa #5: stack refactoring 2017-05-02 10:47:03 +02:00
Louis Rubet
6101f527a1 #5: stack refactoring 2017-05-02 10:47:03 +02:00
Louis Rubet
6fe768006a #34: corrected mpfr issues 2017-05-02 10:45:28 +02:00
Louis Rubet
fa778e4a7c #34: corrected mpfr issues 2017-05-02 10:45:28 +02:00
Louis Rubet
db320874b6 #5: used correct mpfr_t obj instead of internal MPFR struct 2017-04-29 16:48:14 +02:00
Louis Rubet
e47a34529b #5: used correct mpfr_t obj instead of internal MPFR struct 2017-04-29 16:48:14 +02:00
Louis Rubet
dce5743ddf #44: debug get_binary_bin 2017-04-29 16:09:50 +02:00
Louis Rubet
b0e55854a3 #44: debug get_binary_bin 2017-04-29 16:09:50 +02:00
Louis Rubet
1f48300307 #5: stack refactoring 2017-04-29 15:43:05 +02:00
Louis Rubet
03bb976b65 #5: stack refactoring 2017-04-29 15:43:05 +02:00
Louis Rubet
a7255022f9 #5: changes due to stack refactoring 2017-04-29 15:42:41 +02:00
Louis Rubet
d175626a9d #5: changes due to stack refactoring 2017-04-29 15:42:41 +02:00
Louis Rubet
58081a3a9e #5: changes due to stack refactoring 2017-04-29 15:42:06 +02:00
Louis Rubet
7de1177570 #5: changes due to stack refactoring 2017-04-29 15:42:06 +02:00
Louis Rubet
10a24649c6 #34: Parsing float for mpfr 2017-04-29 15:40:55 +02:00
Louis Rubet
da340837e3 #34: Parsing float for mpfr 2017-04-29 15:40:55 +02:00
Louis Rubet
ea2d25eda3 Added debug capacities 2017-04-29 15:38:34 +02:00
Louis Rubet
c3fff7d08f Added debug capacities 2017-04-29 15:38:34 +02:00
Louis Rubet
afd9b0f71c #34: stack refactoring 2017-04-23 15:49:28 +02:00
Louis Rubet
4d394e845e #34: stack refactoring 2017-04-23 15:49:28 +02:00
Louis Rubet
9b706b0099 #2: corrected step determination criteria 2017-04-23 15:37:42 +02:00
Louis Rubet
df3042325a #2: corrected step determination criteria 2017-04-23 15:37:42 +02:00
Louis Rubet
bdfad9624e #46: added command default 2017-04-23 15:02:46 +02:00
Louis Rubet
d4a47c32ff #46: added command default 2017-04-23 15:02:46 +02:00
Louis Rubet
f2c65aa4be #2: test (core) function updated 2017-04-22 22:49:44 +02:00
Louis Rubet
e375323434 #2: test (core) function updated 2017-04-22 22:49:44 +02:00
Louis Rubet
335d6f493f #45: added command type 2017-04-22 22:17:51 +02:00
Louis Rubet
fd9a78904d #45: added command type 2017-04-22 22:17:51 +02:00
Louis Rubet
c388572fa8 #34: debug depth 2017-04-22 11:39:24 +02:00
Louis Rubet
b1a3b686f4 #34: debug depth 2017-04-22 11:39:24 +02:00
Louis Rubet
eb08856132 #34: debug btor 2017-04-22 11:21:55 +02:00
Louis Rubet
5a38bb3cfc #34: debug btor 2017-04-22 11:21:55 +02:00
Louis Rubet
0bf44471cb #34: removed adding of pow and sqr (should be changed in its own issue) 2017-04-22 10:53:52 +02:00
Louis Rubet
5d1a76f539 #34: removed adding of pow and sqr (should be changed in its own issue) 2017-04-22 10:53:52 +02:00
Louis Rubet
812bd01d6a #34: going to significand stored in stack [second part]: end and parse 2017-04-22 00:29:50 +02:00
Louis Rubet
47a38ba5ae #34: going to significand stored in stack [second part]: end and parse 2017-04-22 00:29:50 +02:00
Louis Rubet
e786df74a8 #34: going to significand stored in stack [first part] 2017-04-21 17:40:01 +02:00
Louis Rubet
991313dbaf #34: going to significand stored in stack [first part] 2017-04-21 17:40:01 +02:00
RUBET Louis
2bdc1c4f72 #34: refactored stack::pop_back() for easier code 2017-04-21 13:58:44 +02:00
Louis Rubet
14adfd873e #34: refactored stack::pop_back() for easier code 2017-04-21 13:58:44 +02:00
Louis Rubet
980a282fbd #34: version change 2017-04-20 23:06:49 +02:00
Louis Rubet
c877cb20d8 #34: version change 2017-04-20 23:06:49 +02:00
Louis Rubet
88708825e4 #34: implements logs, real, test, trig commands with MPFR 2017-04-20 22:46:48 +02:00
Louis Rubet
ee508bb605 #34: implements logs, real, test, trig commands with MPFR 2017-04-20 22:46:48 +02:00
Louis Rubet
0f8f76f283 #34: implemented binary, branch, general, stack and store commands 2017-04-19 23:31:18 +02:00
Louis Rubet
c2b3b2a35a #34: implemented binary, branch, general, stack and store commands 2017-04-19 23:31:18 +02:00
Louis Rubet
67403c56ff #34: update test commands 2017-04-19 14:13:22 +02:00
Louis Rubet
f43bd3f9d9 #34: update test commands 2017-04-19 14:13:22 +02:00
Louis Rubet
7ddde5dea5 #34: MPFR lib, general and real calc, some branch 2017-04-18 22:53:55 +02:00
Louis Rubet
a3e13d2823 #34: MPFR lib, general and real calc, some branch 2017-04-18 22:53:55 +02:00
Louis Rubet
4670aa77c0 #34: MPFR lib, first attempt 2017-04-17 23:10:53 +02:00
Louis Rubet
a3db857170 #34: MPFR lib, first attempt 2017-04-17 23:10:53 +02:00
Louis Rubet
ccca25ab24 #37: corrected buffer overflow in string allocation 2017-04-15 19:34:01 +02:00
Louis Rubet
050f66ce50 #37: corrected buffer overflow in string allocation 2017-04-15 19:34:01 +02:00
Louis
f0af5e2d6b Corrected software date, uname shows GNU General Public License 2015-07-23 13:39:55 +02:00
Louis
185ddd39f6 Corrected software date, uname shows GNU General Public License 2015-07-23 13:39:55 +02:00
Louis
1720d884eb help now shows titles in bold chars 2015-07-23 13:35:02 +02:00
Louis
41a783cfd8 help now shows titles in bold chars 2015-07-23 13:35:02 +02:00
Louis
4b4336520b Removed rpn-algebra.h to get closer from RPL category names 2015-07-23 13:23:05 +02:00
Louis
65e8f4966d Removed rpn-algebra.h to get closer from RPL category names 2015-07-23 13:23:05 +02:00
Louis
777c37e1b6 Moved rpn-algebra.h -> rpn-real.h to get closer from RPL category names 2015-07-23 13:22:42 +02:00
Louis
fe4af08633 Moved rpn-algebra.h -> rpn-real.h to get closer from RPL category names 2015-07-23 13:22:42 +02:00
Louis
e128e2cb33 Changed category names to get closer from RPL (GENERAL->REAL) 2015-07-23 13:21:48 +02:00
Louis
d807d5596d Changed category names to get closer from RPL (GENERAL->REAL) 2015-07-23 13:21:48 +02:00
Louis
c8faca978b Added modulo fn 2015-07-23 12:00:54 +02:00
Louis
bb95dda8be Added modulo fn 2015-07-23 12:00:54 +02:00
Louis
b86ca1ffb1 tabs to spaces 2015-05-19 17:51:03 +02:00
Louis
311d00906d tabs to spaces 2015-05-19 17:51:03 +02:00
Louis
7a0be15631 tabs to spaces 2015-05-19 17:50:36 +02:00
Louis
f62805cfd3 tabs to spaces 2015-05-19 17:50:36 +02:00
Louis
25973265ba Version 1.3.2 2015-04-24 09:31:42 +02:00
Louis
64ebe6ccb3 Version 1.3.2 2015-04-24 09:31:42 +02:00
Louis
0b7e2eeb19 Default precision to 12 digits, dec, bin and oct alignment to 8 2015-04-24 09:29:59 +02:00
Louis
de9cbe3a7e Default precision to 12 digits, dec, bin and oct alignment to 8 2015-04-24 09:29:59 +02:00
Louis Rubet
41aadb4be5 v1.3.1 2015-03-16 11:38:31 +01:00
Louis Rubet
120f277348 v1.3.1 2015-03-16 11:38:31 +01:00
Louis
e883b3f933 Permit entries like "1 2+" meaning "1 2 +" 2015-03-06 11:37:18 +01:00
Louis
60de937de2 Permit entries like "1 2+" meaning "1 2 +" 2015-03-06 11:37:18 +01:00
Louis
9b46151966 Fixed command edit numbers format 2015-03-04 18:28:54 +01:00
Louis
e12dd87ff9 Fixed command edit numbers format 2015-03-04 18:28:54 +01:00
Louis
98d7ddabf0 Added command edit 2015-03-04 18:21:11 +01:00
Louis
cc009e8787 Added command edit 2015-03-04 18:21:11 +01:00
Louis
85c842b130 Programs have parent heap 2015-03-04 17:01:30 +01:00
Louis
f27efe58d8 Programs have parent heap 2015-03-04 17:01:30 +01:00
Louis
9043ab4077 Suppr. WIN32 target 2015-03-04 11:03:55 +01:00
Louis
50d396fbf3 Suppr. WIN32 target 2015-03-04 11:03:55 +01:00
Louis
b3a9a49939 Suppr. useless space in prog show 2015-03-04 10:22:22 +01:00
Louis
388d748add Suppr. useless space in prog show 2015-03-04 10:22:22 +01:00
louis
adf6d4621c auto-eval progs 2015-03-03 22:07:48 +01:00
louis
74bd96ace4 auto-eval progs 2015-03-03 22:07:48 +01:00
Louis
5164c90925 Local heap mecanism for local variables 2015-03-03 18:16:56 +01:00
Louis
6369fca434 Local heap mecanism for local variables 2015-03-03 18:16:56 +01:00
Louis
a801fc1c95 Correct parsing error after prog parse 2015-03-03 11:58:12 +01:00
Louis
6f3ca50aec Correct parsing error after prog parse 2015-03-03 11:58:12 +01:00
Louis
8137308c37 Directly run prog stored in a variable of type prog 2015-03-03 11:43:12 +01:00
Louis
89b4d02e58 Directly run prog stored in a variable of type prog 2015-03-03 11:43:12 +01:00
louis
46462e2194 Correct help command 2015-03-02 21:20:56 +01:00
louis
e13dc4fabb Correct help command 2015-03-02 21:20:56 +01:00
Louis
211910b223 debug too short cmd_type_string 2015-03-02 18:26:54 +01:00
Louis
adb6135894 debug too short cmd_type_string 2015-03-02 18:26:54 +01:00
Louis
aac03c93e1 version and uname are now real strings 2015-03-02 18:20:21 +01:00
Louis
0d7afaa9a8 version and uname are now real strings 2015-03-02 18:20:21 +01:00
louis
c2ae10979b Correct merge pb 2015-03-01 23:37:27 +01:00
louis
d958280b0c Correct merge pb 2015-03-01 23:37:27 +01:00
louis
1a7a14340e Merge branch 'c_strings'
Conflicts:
	src/rpn.cpp
2015-03-01 23:33:20 +01:00
louis
14ea7d2b74 Merge branch 'c_strings'
Conflicts:
	src/rpn.cpp
2015-03-01 23:33:20 +01:00
louis
03ab4d35f9 ->str and str-> 2015-03-01 23:10:45 +01:00
louis
73f2578a12 ->str and str-> 2015-03-01 23:10:45 +01:00
louis
a682b8cb48 Correct command purge 2015-03-01 16:30:13 +01:00
louis
b7cf368b6c Correct command purge 2015-03-01 16:30:13 +01:00
louis
f0adc8e48b Passed tests 2015-03-01 16:02:23 +01:00
louis
f032075623 Passed tests 2015-03-01 16:02:23 +01:00
Louis
7b0402b892 ostring and symbol work 2015-02-27 18:24:14 +01:00
Louis
d32a1cf701 ostring and symbol work 2015-02-27 18:24:14 +01:00
louis
cd07d24c53 No strings in objects 2015-02-26 22:33:28 +01:00
louis
e810a0fbe4 No strings in objects 2015-02-26 22:33:28 +01:00
Louis
2b672a8e6c Changed ostring 2015-02-26 18:26:38 +01:00
Louis
c8c38ac1cd Changed ostring 2015-02-26 18:26:38 +01:00
Louis
8b86d1e874 ostring transforming 2015-02-25 18:53:26 +01:00
Louis
bcd7d1e771 ostring transforming 2015-02-25 18:53:26 +01:00
Louis Rubet
49ca3ad901 version 1.4-beta 2015-02-25 18:18:08 +01:00
Louis Rubet
0467bcd535 version 1.4-beta 2015-02-25 18:18:08 +01:00
Louis
4ae5a348b6 Added command -> 2015-02-25 15:39:27 +01:00
Louis
d24e48791a Added command -> 2015-02-25 15:39:27 +01:00
Louis
2278cc9618 Text in UTF8 2015-02-25 15:38:16 +01:00
Louis
118ce83899 Text in UTF8 2015-02-25 15:38:16 +01:00
Louis
0c51d08565 version 1.3 2015-02-24 17:05:40 +01:00
Louis
1669ce9b91 version 1.3 2015-02-24 17:05:40 +01:00
Louis
b9edf0c6fa rcl and eval do not eat unknown variables anymore 2015-02-24 16:50:01 +01:00
Louis
995e8f8b15 rcl and eval do not eat unknown variables anymore 2015-02-24 16:50:01 +01:00
Louis
db400c28dc Recursive programs entry 2015-02-24 16:43:17 +01:00
Louis
f1df23ef61 Recursive programs entry 2015-02-24 16:43:17 +01:00
Louis
b27ca47894 Operators + - * / now show an error if arguments are not from proper type 2015-02-24 15:03:50 +01:00
Louis
0addd217b3 Operators + - * / now show an error if arguments are not from proper type 2015-02-24 15:03:50 +01:00
Louis
e90c5c1e49 Suppress useless code 2015-02-24 15:02:50 +01:00
Louis
10b3622408 Suppress useless code 2015-02-24 15:02:50 +01:00
Louis
0fe7e735ec Add program type and eval command 2015-02-24 14:51:39 +01:00
Louis
00c01524b4 Add program type and eval command 2015-02-24 14:51:39 +01:00
Louis
5599f6ab0a Correct str-> (terms evaluation) 2015-02-24 11:46:45 +01:00
Louis
9a77fb3f18 Correct str-> (terms evaluation) 2015-02-24 11:46:45 +01:00
Louis
8695f8214e Rationalize syntax strings 2015-02-23 17:33:05 +01:00
Louis
6f9a94b34d Rationalize syntax strings 2015-02-23 17:33:05 +01:00
Louis
be95020e4d issue #1 binaries conversion 2015-02-23 09:43:07 +01:00
Louis
4b0136eb37 issue #1 binaries conversion 2015-02-23 09:43:07 +01:00
Louis
a66e751e2a strings management 2015-02-12 18:23:17 +01:00
Louis
8028793436 strings management 2015-02-12 18:23:17 +01:00
Louis
897c0d5233 Added ANSI escape sequences, prompt is bold 2015-02-12 11:10:00 +01:00
Louis
764d35ff08 Added ANSI escape sequences, prompt is bold 2015-02-12 11:10:00 +01:00
Louis
a1ed75252f Correct autocompletion (list not shown, files shown instead of commands) 2015-02-12 10:34:43 +01:00
Louis
2ae7516252 Correct autocompletion (list not shown, files shown instead of commands) 2015-02-12 10:34:43 +01:00
Louis
369d047458 version 1.3-beta 2015-02-11 18:19:21 +01:00
Louis
5a334040eb version 1.3-beta 2015-02-11 18:19:21 +01:00
Louis
5e545396f8 string management 2015-02-11 18:18:51 +01:00
Louis
9c1a6eea57 string management 2015-02-11 18:18:51 +01:00
Louis
586312afd1 Added string type and entry 2015-02-11 16:34:43 +01:00
Louis
720f6efbe6 Added string type and entry 2015-02-11 16:34:43 +01:00
Louis
e25e22dbd0 v1.2 2015-02-11 11:20:59 +01:00
Louis
24c52a3851 v1.2 2015-02-11 11:20:59 +01:00
Louis
05bf8ed87b Changed version to 1.2 2015-02-11 11:11:55 +01:00
Louis
573a020b56 Changed version to 1.2 2015-02-11 11:11:55 +01:00
Louis
b9d240478b Autocompletion and history with ReadLine 2015-02-10 18:20:48 +01:00
Louis
2cf18edb9a Autocompletion and history with ReadLine 2015-02-10 18:20:48 +01:00
Louis
4eb7c132ca First attempt: autocompletion and history 2015-02-09 18:24:12 +01:00
Louis
bf734c8463 First attempt: autocompletion and history 2015-02-09 18:24:12 +01:00
Louis
56371b58a4 Add parse_line 2015-02-09 11:35:34 +01:00
Louis
1c8267a2bd Add parse_line 2015-02-09 11:35:34 +01:00
louis
4ca3079958 version 1.1 2015-02-08 13:37:01 +01:00
louis
2d3feda213 version 1.1 2015-02-08 13:37:01 +01:00
louis
66c3f5748a Implement binary functions + algebra on binaries, change convinient macro names 2015-02-08 13:35:34 +01:00
louis
2f7c1a85a5 Implement binary functions + algebra on binaries, change convinient macro names 2015-02-08 13:35:34 +01:00
louis
cee0ed235b Remastering entry parse, added binary parsing 2015-02-08 13:02:13 +01:00
louis
b5ff2e4e4d Remastering entry parse, added binary parsing 2015-02-08 13:02:13 +01:00
louis
6f9735b8c9 dissociate version strings from main module 2015-02-08 12:20:45 +01:00
louis
6a315359d8 dissociate version strings from main module 2015-02-08 12:20:45 +01:00
louis
d789cf4fcc binary base functions (not yet entries) 2015-02-07 14:04:10 +01:00
louis
a24e53f8dd binary base functions (not yet entries) 2015-02-07 14:04:10 +01:00
Louis
4fbc4123ff Updated TODO list 2015-01-07 10:20:56 +01:00
Louis
bc45462ffb Updated TODO list 2015-01-07 10:20:56 +01:00
Louis
89e55944a7 Add general algebra commands inv, %, %CH, ^, sqrt, sq 2015-01-07 10:08:54 +01:00
Louis
2496ed54bb Add general algebra commands inv, %, %CH, ^, sqrt, sq 2015-01-07 10:08:54 +01:00
Louis RUBET
521ecbea6b Added uname and version commands 2014-09-24 16:55:59 +02:00
Louis RUBET
e2a5db0617 Added uname and version commands 2014-09-24 16:55:59 +02:00
louis-
858fea0f68 Allocate prog entry, you fool
Debug 'end' command preprocessing
2014-09-23 21:58:01 +02:00