File: README

package info (click to toggle)
frown 0.6.1-13
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,956 kB
  • sloc: haskell: 35,132; makefile: 228; csh: 35; yacc: 23
file content (60 lines) | stat: -rw-r--r-- 1,409 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Frown, an LALR(k) Parser Generator for Haskell 98
=================================================

Version
-------

0.6 (beta release).

Prerequisites
-------------

You require a recent version of GHC, ie >=5.02 (due to some minor
changes to Haskell 98).

Installation (make)
-------------------

Edit the makefile to specify the destination directories for the
binary and the documentation.

make            compiles
make install	compiles and installs
make test	runs several tests (*)

(*) For `Loop.g' and `code=stackless' there is a known difference (the
generated parser is less strict than the standard one). Also,
`Empty.g' does not work yet. Finally, in the case of a syntax error
there may be a difference between optimized and unoptimized parsers if
monadic actions are involved (the former possibly executes more
reductions). So error reports may differ.

Installation (cabal)
--------------------

Alternatively, you can build Frown using Cabal (>=1.1.3, Haskell's
Common Architecture for Building Applications and Libraries).

Globally:

runhaskell Setup.hs configure --ghc
runhaskell Setup.hs build
runhaskell Setup.hs install

Locally:

runhaskell Setup.hs configure --ghc --prefix=$HOME
runhaskell Setup.hs build
runhaskell Setup.hs install --user

Usage
-----

The call

	frown -h

displays the various options to frown. For more information consult
the manual.

Happy frowning, Ralf Hinze