frown1
An lalr(k) parser generator for haskell 98
Usage
frown [ options ... ] file.[i]g ...
Overview
-
-b, --backtrack -
generate a backtracking parser
-
-c[compact|gvstack|stackless|standard], --code[=compact|gvstack|stackless|standard] -
select output format
-
--copying -
display details of copying
-
-d, --debug -
emit debugging information
-
-e, --expected -
pass a list of expected terminals to ‘frown’
-
-g, --ghc -
use GHC extensions
-
-h, -?, --help -
print this information
-
-i, --info -
put additional information into generated file
-
-kn, --lookahead=n -
use n tokens of lookahead
-
-l, --lexer -
use a monadic lexer (‘get :: M Terminal’)
-
-n, --noinline -
generate NOINLINE pragmas
-
-O, --optimize -
optimize parser
-
-pn, --pagewidth=n -
use the specified pagewidth n for pretty printing
-
--prefix=string -
use the given string as prefix for frown generated variables
-
-s[mono|poly], --signature[=mono|poly] -
add type signatures
-
--suffix=string -
use the given string as suffix for frown generated variables
-
-t, --trace -
insert calls to tracing routines (‘shift’, ‘reduce’ and ‘accept’)
-
-v, --verbose -
be verbose
-
--version -
print version information
-
--warranty -
display details of warranty
Releases
Unchanged in 6 releases since Debian 4.0 (Etch).