UMinho Haskell Libraries (1.0)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]
re2DiGraph :: (Show sy, Ord sy) => RegExp sy -> [Char] -> [Char]
re2DiGraph''' :: (Show sy, Ord sy) => RegExp sy -> [Char] -> [Char]
re2DiGraphIO :: (Show sy, Ord sy) => RegExp sy -> [Char] -> IO ()
Documentation
re2graphviz
:: (Ord sy, Show sy)
=> RegExp syRegular Expression (Abstract)
-> [Char]Graph's Name
-> BoolTrue: Deterministic ; False: Non-Deterministic
-> BoolMinimized?
-> BoolBeautified? (states as numbers)
-> BoolSync State?
-> [Char]
Print a RegExp in GraphViz
re2DiGraph :: (Show sy, Ord sy) => RegExp sy -> [Char] -> [Char]
re2DiGraph''' :: (Show sy, Ord sy) => RegExp sy -> [Char] -> [Char]
re2DiGraphIO :: (Show sy, Ord sy) => RegExp sy -> [Char] -> IO ()
Produced by Haddock version 0.6