CSCI 243 Project #3

Hex Calculator

 

Date Due: 27 October 2014

 

Write a program using Lex and Yacc (or Flex and Bison) to create a hexadecimal calculator.  Your calculator should add, subtract, and multiply hexadecimal numbers, and convert numbers between hexadecimal and decimal.  (It should also add, subtract, and multiply in decimal.)  For extra credit, your calculator can convert to and from IEEE 754 floating point representation.  Here is some code for a simple calculator to get you started: calc.zip.