PDC is a desktop caclulator in the 'bc' style with features
designed for programmers. It does not support floating point
maths but does provide all the C operators (logical, bitwise,
shifts etc.) and implements ISO C operator precedence.
Additionally functions are available to perform population
counts and byte swaps.
PDC is written in YACC and C and is free software licenced
under the GNU General Public Licence.
PDC more or less finished and has the potential to be very
useful. During my working life I use this tool a lot as my
job tends to involve quite a lot of bit bashing.
Download
pdc-0.9.tar.gz Added mssb and dxb (decimal, hex, binary output)
functions, modified ascii to neatly handle non-printable characters and
squashed a few bugs.
pdc-0.8.1.tar.gz Allowed , to be used as a (non-printing) seperator and
fixed the command line expression support to be a little less brain
dead (thanks to Paul for setting me straight on that ...), added
support for a whole bunch more operators and fixed a few lexer bugs.
pdc-0.8.tar.gz Readline (command line history) support added, command
line expression evaluation added.
pdc-0.7.tar.gz Added bitfield function, introduced bits (an alias for
decompose), reworked the help system.
pdc-0.6.tar.gz Support for character constants, added ascii function,
added decompose function.