hc -- the Hacker's Calculator

hc is a simple desk calculator program that does arithmetic and bitwise
operations on standard machine ints. It is capable of accepting and
outputting values in hex, octal, or decimal using standard C notation, and
supports all important bitwise operations except shift left/right (lexer
limitations, dontcha know). 

I expect this will be useful to pretty much anyone who needs to flip a bit
here or there. It doesn't support binary numbers; if this is a problem,
some lexer hacking should make it practical.

This package consists of the following files. Anything else is extraneous.

	hc.y		yacc source code for hc(1)
	makefile	if you have to ask...	
	hc.1		man page
	README		this file

hc is based on hoc1, the first stage of the hoc(1) numerical programming
language that is described in The Unix Programming Environment by Brian
Kernighan and Rob Pike. Thanks to this book, I'm far more comfortable
hacking around with yacc(1) than I was when I took Compilers.

No install script is included; just make, plunk the executable into
/usr/bin, and put the man page in its appropriate place.

Thanks to Scott Saulters and Eduardo Ferra (sorry if I haven't gotten to
integrating your work yet, Eduardo) for their contributions to the code.

hc is (c)1998-2000 Brian Connors under the GNU Public License. If you use
hc as part of a product (a commercial program or a Linux distribution or
some such) please see to it that I get a free, fully licensed copy of
whatever it is that you add it to. 

If you have any questions, contact

Brian Connors
115 Farnham St.
Belmont, MA 02478
connorbd@yahoo.com
