examples/glr/expr-tree/README
raw| 1 | |
| 2 | Example of arithmetic expression parsing, but producing a labelled |
| 3 | forest. |
| 4 | |
| 5 | Note use of polymorphic type in the labels. See the code more more |
| 6 | discussion. |
| 7 | |
| 8 | "make run" to run the test case. |
| 9 | |
| 10 | For Hugs, load up Hugs.lhs - it is a simplified version of Main, with entry |
| 11 | point "test :: String -> IO ()" |
| 12 | |
| 13 | NOTE: you need the -98 flag on Hugs, owing to non-standard class use |