d6ce1786 C |
1 | This tiny program reads arithmetic expressions from the standard input |
2 | channel. Each expression is expected to be complete when the current line |
3 | ends. Its value is then displayed on the standard output channel. This |
4 | code is adapted from ocamlyacc's documentation. |