Browse thread
[Caml-list] Camlp4-tutorial-Example
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Oliver Bandel <oliver@f...> |
| Subject: | [Caml-list] Camlp4-tutorial-Example |
Hi, 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? TIA, Oliver ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners