FLAT::Legacy::FA::RE 0.1
Sponsored Links
FLAT::Legacy::FA::RE 0.1 Ranking & Summary
File size:
0.032 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
823
Date added:
2007-07-25
Publisher:
Brett D. Estrade
FLAT::Legacy::FA::RE 0.1 description
FLAT::Legacy::FA::RE is a regular expression base class.
SYNOPSIS
use FLAT::Legacy::FA::RE;
use FLAT::Legacy::FA::NFA;
my $re = RE->new();
$re->set_re(a|b|(hi)*);
my $nfa = $re->to_nfa();
print $nfa->info(); # see stuff on NFA
my $dfa = $nfa->to_dfa();
print $dfa->info(); # see stuff on DFA
my @removed = $dfa->minimize();
print $dfa->info(); # see stuff on minimized DFA
print "Removed ".($#removed+1)." statesn";
This module implements a regular expression parser, and supports the conversion of a RE to a deterministic finite automata. A homegrown recursive descent parser is used to build the parse tree, and the method used to conver the regular expression to a DFA uses no intermediate NFA.
Recursive Descent-safe Regex Grammar:
R -> O
O -> CO
O -> | CO | epsilon
C -> SC
C -> .SC | epsilon
S -> LS
S -> *S | epsilon
L -> a | b | c |..| 0 | 1 | 2 |..| (R) | epsilon
Terminal symbols: a,b,c,..,z,0,1,2,..,9,|,*,(,)
NOTE: Concatenation operator, ., is not a terminal symbol and should not be included in the regex
FAQ: Q: Does this support Perl regular expressions?
A: No, just the regular expression using the terminal symbols listed above.
SYNOPSIS
use FLAT::Legacy::FA::RE;
use FLAT::Legacy::FA::NFA;
my $re = RE->new();
$re->set_re(a|b|(hi)*);
my $nfa = $re->to_nfa();
print $nfa->info(); # see stuff on NFA
my $dfa = $nfa->to_dfa();
print $dfa->info(); # see stuff on DFA
my @removed = $dfa->minimize();
print $dfa->info(); # see stuff on minimized DFA
print "Removed ".($#removed+1)." statesn";
This module implements a regular expression parser, and supports the conversion of a RE to a deterministic finite automata. A homegrown recursive descent parser is used to build the parse tree, and the method used to conver the regular expression to a DFA uses no intermediate NFA.
Recursive Descent-safe Regex Grammar:
R -> O
O -> CO
O -> | CO | epsilon
C -> SC
C -> .SC | epsilon
S -> LS
S -> *S | epsilon
L -> a | b | c |..| 0 | 1 | 2 |..| (R) | epsilon
Terminal symbols: a,b,c,..,z,0,1,2,..,9,|,*,(,)
NOTE: Concatenation operator, ., is not a terminal symbol and should not be included in the regex
FAQ: Q: Does this support Perl regular expressions?
A: No, just the regular expression using the terminal symbols listed above.
FLAT::Legacy::FA::RE 0.1 Screenshot
FLAT::Legacy::FA::RE 0.1 Keywords
FA
FLAT
RE 0.1
DFA
NFA
regular expression
base class
regular
expression
print
epsilon
base
class
FLAT::Legacy::FA::RE
FLATLegacyFARE
FLAT::Legacy::FA::RE 0.1
Bookmark FLAT::Legacy::FA::RE 0.1
FLAT::Legacy::FA::RE 0.1 Copyright
WareSeeker periodically updates pricing and software information of FLAT::Legacy::FA::RE 0.1 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of FLAT::Legacy::FA::RE 0.1 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
regular expressions
regular expression tutorial
regular expression tester
regular expression examples
regular expression syntax
world baseball classic
regular expression reference
javascript regular expression
regular expression tool
perl regular expression
regular expressions php
regular expression example
regular expression library
extended regular expression
mastering regular expressions
regular expressions guide
ares regular
perl regular expressions
Related Software
Data::Report provides a framework for flexible reporting. Free Download
RTF::Reader is a base class for building RTF-processing modules. Free Download
Volity::Jabber is a base class for Jabber-speaking Volity objects. Free Download
Class::Cloneable is a base class for Cloneable objects. Free Download
Class::Declare::Attributes is a Perl module with Class::Declare method types using Perl attributes. Free Download
Class::Agreement is a Perl module that add contracts to your Perl classes easily. Free Download
C++ base is a base class suite contains several powerful c++ base classes for basic encapsulation. Free Download
Class::AbstractLogic is a Perl module to handle Logic Abstractions. Free Download
Latest Software
Popular Software
Favourite Software