| |||||||||||
| Pocket calculator. Program is 80 lines engine plus 80 lines GUI.
The calculator is implemented as a stack automaton. A term state(ID,Stack,Display,Status)describes its internal state, each pushed key drives a corresponding state transition. The MINERVA source program is calculator.min Refer to 'Compile', 'Go' and the other files of this directory for details. | |||||||||||
| |||||||||||
| Back> |
|