Formula - reusable computations for the Palm Pilot.

Multiple formulas

Each formula generates a dialog describing the inputs and outputs

Formulas described by a simple language:

BMI (BMI "Body MassIndex",
     kg "Weight in KG",
     meters "Height in meters")
    (height "Height in Inches",
     weight "Weight in Pounds")
{
	meters = height * 0.0254;
	kg = weight / 2.2;
	BMI = kg / meters ^ 2;
}

Formulas compiled into simple bytecodes which are interpreted.

Last formula in input automatically converted into dialog box.

Interpreter is stack machine with single accumulator.

All variables are floating point.
