Commit graph

390 commits

Author SHA1 Message Date
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
louis-
ee65e3950f Allocate prog entry, you fool
Debug 'end' command preprocessing
2014-09-23 21:58:01 +02:00
louis-
ce2165bcfe Maths defines for windows 2014-09-23 21:51:27 +02:00
louis-
6d6872b708 Maths defines for windows 2014-09-23 21:51:27 +02:00
louis
0e36a1c868 Float mode management 2014-09-06 22:31:01 +02:00
louis
88e26759ad Float mode management 2014-09-06 22:31:01 +02:00
Louis RUBET
d7e0c7904e Exit after first error 2014-09-05 15:43:57 +02:00
Louis RUBET
2167cd4b00 Exit after first error 2014-09-05 15:43:57 +02:00
Louis RUBET
5f899ceac7 Change rpn-general-core.h to rpn-test-core.h, and change verbosity usage 2014-09-05 14:40:17 +02:00
Louis RUBET
56f4151f99 Change rpn-general-core.h to rpn-test-core.h, and change verbosity usage 2014-09-05 14:40:17 +02:00
Louis RUBET
76160d9c8d Change rpn-general-core.h to rpn-test-core.h 2014-09-05 14:39:24 +02:00
Louis RUBET
29bc9a0992 Change rpn-general-core.h to rpn-test-core.h 2014-09-05 14:39:24 +02:00
Louis RUBET
67b9a426a1 Change rpn-general-core.h name to rpn-test-core.h 2014-09-05 14:37:32 +02:00
Louis RUBET
72c2052a27 Change rpn-general-core.h name to rpn-test-core.h 2014-09-05 14:37:32 +02:00
Louis RUBET
5bea78edae Improve test procedure (error checking, exit cmd) 2014-09-05 14:36:50 +02:00
Louis RUBET
5694f7669b Improve test procedure (error checking, exit cmd) 2014-09-05 14:36:50 +02:00
Louis RUBET
6affca4ef6 Debug test_and and test_or which did not consume their arguments 2014-09-05 10:42:09 +02:00
Louis RUBET
bf341231e9 Debug test_and and test_or which did not consume their arguments 2014-09-05 10:42:09 +02:00
Louis RUBET
7cc5cb19cc Add test commands: and, or, xor, not, same 2014-09-05 10:37:10 +02:00
Louis RUBET
6df9fb0e9f Add test commands: and, or, xor, not, same 2014-09-05 10:37:10 +02:00
Louis RUBET
f1c6e4cb4c std, fix, sci in GENERAL section 2014-09-05 09:49:39 +02:00
Louis RUBET
8f93e6b876 std, fix, sci in GENERAL section 2014-09-05 09:49:39 +02:00
Louis RUBET
07e741dac6 std, fix, sci functions in GENERAL section 2014-09-05 09:47:21 +02:00
Louis RUBET
ae715c98ab std, fix, sci functions in GENERAL section 2014-09-05 09:47:21 +02:00
Louis RUBET
3c211e3ecd Add representation mode, and change default precision 2014-09-04 17:27:40 +02:00
Louis RUBET
5727b9df3b Add representation mode, and change default precision 2014-09-04 17:27:40 +02:00
Louis RUBET
e56f45749d Add representation mode 2014-09-04 17:26:38 +02:00
Louis RUBET
1fd3c57898 Add representation mode 2014-09-04 17:26:38 +02:00
Louis RUBET
e7d0f60aa1 Manage cmdline 2014-09-03 17:45:48 +02:00
Louis RUBET
3bbc53a9ef Manage cmdline 2014-09-03 17:45:48 +02:00
Louis RUBET
d0947b73a0 Manage cmdline 2014-09-03 14:03:19 +02:00
Louis RUBET
b7d43cdc54 Manage cmdline 2014-09-03 14:03:19 +02:00
Louis RUBET
13883dd47f Full system string allocations 2014-03-10 17:13:18 +01:00
Louis RUBET
797afa9b9e Full system string allocations 2014-03-10 17:13:18 +01:00
louis
ec511a56bd Linux porting 2014-02-12 11:26:26 +01:00
Louis Rubet
bb27ba439f Linux porting 2014-02-12 11:26:26 +01:00
louis
a5778a8cf6 Indent changes 2014-02-11 14:33:40 +01:00
Louis Rubet
dc9cf9f961 Indent changes 2014-02-11 14:33:40 +01:00
louis
c41a598661 Remastering for linux and windows targets 2014-02-11 11:26:28 +01:00
Louis Rubet
3a2dafc64c Remastering for linux and windows targets 2014-02-11 11:26:28 +01:00