1
**************************************************************************
5
* Fran�ois Pottier and Yann R�gis-Gianas, INRIA Rocquencourt *
7
* Copyright 2005 Institut National de Recherche en Informatique et *
8
* en Automatique. All rights reserved. This file is distributed *
9
* under the terms of the Q Public License version 1.0, with the *
10
* change described in file LICENSE. *
12
**************************************************************************
14
This tiny program reads arithmetic expressions from the standard input
15
channel. Each expression is expected to be complete when the current line
16
ends. Its value is then displayed on the standard output channel. This
17
code is adapted from ocamlyacc's documentation.