Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Camlp4-tutorial-Example
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-09-02 (19:55)
From: Oliver Bandel <oliver@f...>
Subject: [Caml-list] Camlp4-tutorial-Example

I'm experimenting with the Code of the Camlp4-Tutorial.

The simple calculator in Chapter 2 (Grammar-/Plexer-Module)
works very fine for calculation.

What does not work, is the raising of an error, as explained
in the tutorial.

I added the expr_eoi-code, described in the example and
it does not raise an exception. it simply evaluates the
expression, prints the result and stopps.
IMHO the example-parser is not correct (Version of the
tutorial: 29 December 2001).

Any Hints?


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: