HaLeX-1.2.2: HaLeX enables modelling, manipulation and animation of regular languages

Copyright(c) João Saraiva 2001,2002,2003,2004,2005
LicenseLGPL
Maintainerjas@di.uminho.pt
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Language.HaLex.RegExpAsDiGraph

Description

Regular Expressions as Directed Graphs (in GraphViz)

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

Synopsis

Documentation

re2graphviz Source #

Arguments

:: (Ord sy, Show sy) 
=> RegExp sy

Regular Expression (Abstract)

-> [Char]

Graph's Name

-> Bool

True: Deterministic ; False: Non-Deterministic

-> Bool

Minimized?

-> Bool

Beautified? (states as numbers)

-> Bool

Dead States?

-> [Char]

dot sentence

Print a RegExp in GraphViz-dot (as a string)