-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
38 lines (35 loc) · 1.8 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
__________ ___. _____ __ __
\______ \__ _\_ |__ ___.__. / _ \ __ ___/ |_ ____ _____ _____ _/ |______
| _/ | \ __ < | | / /_\ \| | \ __\/ _ \ / \\__ \\ __\__ \
| | \ | / \_\ \___ | / | \ | /| | ( <_> ) Y Y \/ __ \| | / __ \_
|____|_ /____/|___ / ____| \____|__ /____/ |__| \____/|__|_| (____ /__| (____ /
NFA, DFA & a low-budget regex implementation in Ruby
1. NFA & DFA can generate state-machine diagrams via Graphviz
2. NFA & DFA can be generated from graphviz files
3. Uses McNaughton-Yamada-Thompson to create regex
( _) ( _)
/ / \\ / /\_\_
/ / \\ / / | \ \
/ / \\ / / |\ \ \
/ / , \ , / / /| \ \
/ / |\_ /| / / / \ \_\
/ / |\/ _ '_|\ / / / \ \\
| / |/ 0 \0\ \ / | | \ \\
| |\| \_\_ / / | \ \\
| | |/ \.\ o\o) / \ | \\
\ | /\\`v-v / | | \\
| \/ /_| \\_| / | | \ \\
| | /__/_ / _____ | | \ \\
\| [__] \_/ |_________ \ | \ ()
/ [___] ( \ \ |\ | | //
| [___] |\| \| / |/
/| [____] \ |/\ / / ||
snd ( \ [____ / ) _\ \ \ \| | ||
\ \ [_____| / / __/ \ / / //
| \ [_____/ / / \ | \/ //
| / '----| /=\____ _/ | / //
__ / / | / ___/ _/\ \ | ||
(/-(/-\) / \ (/\/\)/ | / | /
(/\/\) / / //
_________/ / /
\____________/ (