UMinho Haskell Libraries (2005.10.12)ContentsIndex
Language.HaLex.RegExpAsDiGraph
Portability portable
Stability provisional
Maintainer jas@di.uminho.pt
Description

Regular Expressions as Directed Graphs (in GraphViz)

Code Included in the Lecture Notes on Language Processing (with a functional flavour).

Synopsis
re2graphviz :: (Ord sy, Show sy) => RegExp sy -> [Char] -> Bool -> Bool -> Bool -> Bool -> [Char]
Documentation
re2graphviz
:: (Ord sy, Show sy)
=> RegExp syRegular Expression (Abstract)
-> [Char]Graph's Name
-> BoolTrue: Deterministic ; False: Non-Deterministic
-> BoolMinimized?
-> BoolBeautified? (states as numbers)
-> BoolDead States?
-> [Char]dot sentence
Print a RegExp in GraphViz-dot (as a string)
Produced by Haddock version 0.6