Debian Codegraph @

examples/README

raw
1 These are a few examples of Happy parsers, taken from various sources.
2 The are intended as illustrations, not as working, complete examples,
3 as some require functions and datatypes imported from other sources.
4
5 Calc.ly : The calculator example from the Happy manual
6 DavesExample.ly : Parses simple lambda expressions to combinators
7 SimonsExample.ly : Another lambda expression parser
8 ErlParser.ly : A parser for Erlang
9 MonadTest.ly : Demonstrates use of %monad
10 LexerTest.ly : Demonstrates use of %monad and %lexer
11 ErrorTest.ly : Demonstrates use of the 'error' token
12
13 There are also a few more examples under happy/tests.
14
15 A full Haskell 98 parser written using Happy is available from the GHC
16 CVS repository in fptools/hslibs/hssource. See
17 http://www.haskell.org/ghc/ for instructions on how to access the GHC
18 CVS repository.
19
20 --
21 Simon Marlow <[email protected]>