HaLeX-1.1: HaLeX enables modelling, manipulation and animation of regular languagesSource codeContentsIndex
Language.HaLex.RegExpAsDiGraph
Portabilityportable
Stabilityprovisional
Maintainerjas@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
re2graphvizSource
:: (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 2.3.0