File: README

package info (click to toggle)
happy 2.1.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 656 kB
  • sloc: yacc: 2,501; haskell: 1,329; makefile: 273
file content (13 lines) | stat: -rw-r--r-- 371 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13

Example of arithmetic expression parsing, but producing a labelled
forest. 

Note use of polymorphic type in the labels. See the code more more 
discussion.

"make run" to run the test case.

For Hugs, load up Hugs.lhs - it is a simplified version of Main, with entry
point "test :: String -> IO ()"

NOTE: you need the -98 flag on Hugs, owing to non-standard class use