mupnc

mupnc is designed to be a small command line calculator for embedded system. I wrote this program to use it in my package. If you don't have the dietlibc you must to compile with make DIET="".

The calculator expects unp syntax like expressions. Supported functions are:

+,-,*,/
add, sub, mul and div.
&, |, ^
bitwise and, or and xor.
>,<
shift right and left.
p
will pop the 1st stack element.
xi
will exchange the i-th stack element with the 1st element.
di
push the i-th stack element (= prints the 1st stack element).

Download

Current version is mupnc-0.3.tar.bz2.

MD5SUM is df6b32c40e7ff7a461b24cfc68acfde6 mupnc-0.3.tar.bz2