HaLeX-1.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 syGraph's Name
-> [Char]True: Deterministic ; False: Non-Deterministic
-> BoolMinimized?
-> BoolBeautified? (states as numbers)
-> BoolDead States?
-> Booldot sentence
-> [Char]
Print a RegExp in GraphViz-dot (as a string)
Produced by Haddock version 2.6.0