~ubuntu-branches/ubuntu/vivid/menhir/vivid

« back to all changes in this revision

Viewing changes to demos/calc/README

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2006-07-11 12:26:18 UTC
  • Revision ID: james.westby@ubuntu.com-20060711122618-dea56bmjs3qlmsd8
Tags: upstream-20060615.dfsg
Import upstream version 20060615.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
**************************************************************************
 
2
*                                                                        *
 
3
*  Menhir                                                                *
 
4
*                                                                        *
 
5
*  Fran�ois Pottier and Yann R�gis-Gianas, INRIA Rocquencourt            *
 
6
*                                                                        *
 
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.                                     *
 
11
*                                                                        *
 
12
**************************************************************************
 
13
 
 
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.