Seems to me that is essentially the problem solved by a compiler so you should look for tutorials on compiler writing. To give you a start, you will need some way to recognize/distinguish between operators and operands. Bill
Never trust an airline that limits their passengers to one carry on iguana. Put this tiny ad in your shoe: