Find a file
2018-08-12 11:35:14 +02:00
doc #211: moved rpn.1 2018-08-12 11:35:14 +02:00
linenoise-ng@3d3d594caf #147: multiline editing 2018-08-12 11:06:39 +02:00
liv #158: 2.3 delivery 2018-02-10 14:05:12 +01:00
src #154: interpret hash as comment begin 2018-08-12 11:19:48 +02:00
test #147: added manual test 2018-08-12 11:06:39 +02:00
.gitignore Files management 2014-02-12 13:52:01 +01:00
.gitmodules #146: new CtrlC management (don't go out if there is a current line) 2018-05-13 19:27:36 +02:00
CMakeLists.txt #211: moved rpn.1 2018-08-12 11:35:14 +02:00
GENERATION.md v2.3.1 2018-07-28 13:13:57 +02:00
LICENSE #35: CMake 2017-06-10 18:44:51 +02:00
MANUAL.md v2.3.1 2018-07-28 13:13:57 +02:00
METHODS.md #202: added METHODS.md 2018-05-06 13:47:49 +02:00
README.md v2.3.1 2018-07-28 13:13:57 +02:00

rpn - Reverse Polish Notation language License: LGPLv3

a math functional language using reverse polish notation

rpn> 1 2 + 2 sqrt
2> 3
1> 1.4142135623730950488

arbitrary precision provided by GNU MPFR

rpn> 256 prec
rpn> pi
3.1415926535897932384626433832795028841971693993751058209749445923078164062862
rpn>

variables, programs

rpn> << rot * swap 2 / chs dup sq rot - sqrt >> 'quad' sto
rpn> << -> x y << x y + ln >> >> 'P' sto

and a bunch of functions

rpn>
Display all 146 possibilities? (y or n)
nop      exit     chs      sqrt     base     xpon     re       r->p     type     and      drop2    dupn     str->    then     ift      repeat   edit     eval     tan      exp      sinh
help     test     neg      sq       sign     floor    im       std      >        or       dropn    pick     chr      else     ifte     repea    sto+     ->       atan     log10    asinh
h        version  *        sqr      %        ceil     conj     fix      >=       xor      del      depth    num      end      do       sto      sto-     pi       d->r     alog10   cosh
?        uname    /        abs      %CH      ip       arg      sci      <        not      erase    roll     size     start    until    rcl      sto*     sin      r->d     exp10    acosh
q        history  inv      dec      mod      fp       c->r     prec     <=       same     rot      rolld    pos      for      unti     purge    sto/     asin     e        log2     tanh
quit     +        ^        hex      fact     min      r->c     round    !=       swap     dup      over     sub      next     while    vars     sneg     cos      ln       alog2    atanh
q        -        pow      bin      mant     max      p->r     default  ==       drop     dup2     ->str    if       step     whil     clusr    sinv     acos     log      exp2

Download

deb, rpm and tgz files can be found there

Manual

A reference manual is provided here

Methods

Development methods are set at this page

Generation

Generation instructions can be found here

Contact, contribution, bug report

Please email me at louis@rubet.fr

You can also use github issues and pull requests