mirror of
https://github.com/louisrubet/rpn
synced 2024-11-17 07:47:50 +01:00
Changed category names to get closer from RPL (GENERAL->REAL)
This commit is contained in:
parent
c8faca978b
commit
e128e2cb33
2 changed files with 18 additions and 13 deletions
27
README
27
README
|
@ -35,17 +35,9 @@ Tested commands are tagged with * in column tested.
|
|||
|
||||
category command new impl. tested
|
||||
|
||||
GENERAL + *
|
||||
GENERAL - *
|
||||
GENERAL neg *
|
||||
GENERAL * *
|
||||
GENERAL / *
|
||||
GENERAL inv *
|
||||
GENERAL % *
|
||||
GENERAL %CH *
|
||||
GENERAL ^ *
|
||||
GENERAL sqrt * *
|
||||
GENERAL sq * *
|
||||
GENERAL nop * * *
|
||||
GENERAL help/h/? * *
|
||||
GENERAL quit/exit/q * *
|
||||
GENERAL test * *
|
||||
GENERAL verbose * *
|
||||
GENERAL std *
|
||||
|
@ -55,6 +47,19 @@ GENERAL version * *
|
|||
GENERAL uname * *
|
||||
GENERAL edit *
|
||||
|
||||
REAL + *
|
||||
REAL - *
|
||||
REAL neg *
|
||||
REAL * *
|
||||
REAL / *
|
||||
REAL inv *
|
||||
REAL % *
|
||||
REAL %CH *
|
||||
REAL ^ *
|
||||
REAL sqrt * *
|
||||
REAL sq * *
|
||||
REAL mod * *
|
||||
|
||||
STACK drop *
|
||||
STACK swap *
|
||||
STACK roll
|
||||
|
|
|
@ -17,8 +17,8 @@ program::keyword_t program::_keywords[] =
|
|||
{ cmd_keyword, "version", &program::rpn_version, "show rpn version" },
|
||||
{ cmd_keyword, "uname", &program::rpn_uname, "show rpn complete identification string" },
|
||||
|
||||
//ALGEBRA
|
||||
{ cmd_undef, "", NULL, "\nALGEBRA"},
|
||||
//REAL
|
||||
{ cmd_undef, "", NULL, "\nREAL"},
|
||||
{ cmd_keyword, "+", &program::plus, "binary operator +" },
|
||||
{ cmd_keyword, "-", &program::minus, "binary operator -" },
|
||||
{ cmd_keyword, "neg", &program::neg , "unary operator - (negation)" },
|
||||
|
|
Loading…
Reference in a new issue