diff --git a/doc/afd.dot b/doc/afd.dot deleted file mode 100644 index 6bbbe95..0000000 --- a/doc/afd.dot +++ /dev/null @@ -1,151 +0,0 @@ -digraph afd { - concentrate=true; - splines=polyline; -ranksep=5; - subgraph cluster_id { - label="id"; - style="filled"; - color="#faf"; - - id_S [label="S" shape=circle]; - id_A [label="A" shape=doublecircle]; - - id_S -> id_S [label="sublinha"]; - id_S -> id_A [label="letra"]; - id_A -> id_A [label="letra, digito, sublinha"]; - } - - subgraph cluster_intcon { - label="intcon"; - style="filled"; - color="#b45"; - - intcon_S [label="S" shape=circle]; - intcon_A [label="A" shape=doublecircle]; - - intcon_S -> intcon_A [label="digito"]; - intcon_A -> intcon_A [label="digito" shape=doublecircle]; - } - - subgraph cluster_realcon { - label="realcon"; - style="filled"; - color="#aaa"; - - realcon_S [label="S" shape=circle]; - realcon_A [label="A" shape=circle]; - realcon_B [label="B" shape=circle]; - realcon_C [label="C" shape=doublecircle]; - - realcon_S -> realcon_A [label="intcon"]; - realcon_A -> realcon_B [label="ponto"]; - realcon_B -> realcon_C [label="intcon"]; - } - - subgraph cluster_charcon { - label="charcon"; - style="filled"; - color="#aa4"; - - charcon_S [label="S" shape=circle]; - charcon_A [label="A" shape=doublecircle]; - - charcon_S -> charcon_A [label="ch, \\n, \\0"]; - } - - subgraph cluster_stringcon { - label="stringcon"; - style="filled"; - color="#69a"; - - stringcon_S [label="S" shape=circle]; - stringcon_A [label="A" shape=doublecircle]; - - stringcon_S -> stringcon_A [label="ch"]; - stringcon_A -> stringcon_A [label="ch"]; - } - - subgraph cluster_ch { - label="ch"; - style="filled"; - color="#99f"; - - ch_S [label=S shape=circle]; - ch_A [label=A shape=doublecircle]; - - ch_S -> ch_A [label="caracter dado por isprint do , diferente de \\ e '"]; - } - - /* idconst? */ - /* idproc? */ - - subgraph cluster_comentario { - label="comentario"; - style="filled"; - color="#0b8"; - - comentario_S [label=S shape=circle]; - comentario_A [label=A shape=circle]; - comentario_B [label=B shape=circle]; - comentario_C [label=C shape=doublecircle]; - - comentario_S -> comentario_A [label="/"]; - comentario_A -> comentario_B [label="/"]; - comentario_B -> comentario_B [label="caracter dado por isprint do "]; - comentario_B -> comentario_C [label="\\0"]; - } - - /* booleano? */ - /* sinal? */ - /* operador? */ - /* reservadas? */ - - // subgraph cluster_reservadas { - // label="palavras reservadas"; - // style="filled"; - // color="#f77"; - // - // reservada_S [label=S shape=circle]; - // reservada_A [label=A shape=doublecircle]; - // - // reservada_S -> reservada_A [label="pr, init, endp, const, char, int, read, bool, do, while, endw, var, from, by, endv, if, elif, else, endi, getout, getint, getreal, getchar, putint, putreal, putchar"]; - // } - // - // /* ligacoes entre S e subgrafos */ - S; - Inicio [shape=none]; - Inicio -> S; - S -> S [label="Espaco, Tab, \\n"]; - edge[label="ε"]; - S -> id_S; - S -> intcon_S; - S -> realcon_S; - S -> charcon_S; - S -> stringcon_S; - S -> ch_S; - S -> comentario_S; - // S -> reservada_S; - - /* ligacoes entre subgrafos e estado final */ - edge[label="\\0"]; - A [shape=doublecircle]; - id_A -> A; - intcon_A -> A; - realcon_C -> A; - charcon_A -> A; - stringcon_A -> A; - ch_A -> A; - comentario_C -> A; - // reservada_A -> A; - - /* ligacoes entre subgrafos e estado inicial */ - edge[label="ε"]; - id_A -> S; - intcon_A -> S; - realcon_C -> S; - charcon_A -> S; - stringcon_A -> S; - ch_A -> S; - comentario_C -> S; - // reservada_A -> S; -} diff --git a/doc/afd.dot.svg b/doc/afd.dot.svg deleted file mode 100644 index 0d993e1..0000000 --- a/doc/afd.dot.svg +++ /dev/null @@ -1,453 +0,0 @@ - - - - - - -afd - - -cluster_id - -id - - -cluster_intcon - -intcon - - -cluster_realcon - -realcon - - -cluster_charcon - -charcon - - -cluster_stringcon - -stringcon - - -cluster_ch - -ch - - -cluster_comentario - -comentario - - - -id_S - -S - - - -id_S->id_S - - -sublinha - - - -id_A - - -A - - - -id_S->id_A - - -letra - - - -id_A->id_A - - -letra, digito, sublinha - - - -S - -S - - - -id_A->S - - -ε - - - -A - - -A - - - -id_A->A - - -\0 - - - -intcon_S - -S - - - -intcon_A - - -A - - - -intcon_S->intcon_A - - -digito - - - -intcon_A->intcon_A - - -digito - - - -intcon_A->S - - -ε - - - -intcon_A->A - - -\0 - - - -realcon_S - -S - - - -realcon_A - -A - - - -realcon_S->realcon_A - - -intcon - - - -realcon_B - -B - - - -realcon_A->realcon_B - - -ponto - - - -realcon_C - - -C - - - -realcon_B->realcon_C - - -intcon - - - -realcon_C->S - - -ε - - - -realcon_C->A - - -\0 - - - -charcon_S - -S - - - -charcon_A - - -A - - - -charcon_S->charcon_A - - -ch, \n, \0 - - - -charcon_A->S - - -ε - - - -charcon_A->A - - -\0 - - - -stringcon_S - -S - - - -stringcon_A - - -A - - - -stringcon_S->stringcon_A - - -ch - - - -stringcon_A->stringcon_A - - -ch - - - -stringcon_A->S - - -ε - - - -stringcon_A->A - - -\0 - - - -ch_S - -S - - - -ch_A - - -A - - - -ch_S->ch_A - - -caracter dado por isprint do <ctype.h>, diferente de \ e ' - - - -ch_A->S - - -ε - - - -ch_A->A - - -\0 - - - -comentario_S - -S - - - -comentario_A - -A - - - -comentario_S->comentario_A - - -/ - - - -comentario_B - -B - - - -comentario_A->comentario_B - - -/ - - - -comentario_B->comentario_B - - -caracter dado por isprint do <ctype.h> - - - -comentario_C - - -C - - - -comentario_B->comentario_C - - -\0 - - - -comentario_C->S - - -ε - - - -comentario_C->A - - -\0 - - - -S->id_S - - -ε - - - -S->intcon_S - - -ε - - - -S->realcon_S - - -ε - - - -S->charcon_S - - - -ε - - - -S->stringcon_S - - -ε - - - -S->ch_S - - -ε - - - -S->comentario_S - -ε - - - -S->S - - -Espaco, Tab, \n - - - -Inicio -Inicio - - - -Inicio->S - - - - - diff --git a/doc/afd2.dot b/doc/afd2.dot deleted file mode 100644 index 8569c6e..0000000 --- a/doc/afd2.dot +++ /dev/null @@ -1,104 +0,0 @@ -digraph afd { - subgraph cluster_id { - label="id"; - style="filled"; - color="aqua"; - - id_S [label="S" shape=circle]; - id_A [label="A" shape=doublecircle]; - - id_S -> id_S [label="sublinha"]; - id_S -> id_A [label="letra"]; - id_A -> id_A [label="letra, digito, sublinha"]; - } - - subgraph cluster_intcon { - label="intcon"; - style="filled"; - color="brown"; - - intcon_S [label="S" shape=circle]; - intcon_A [label="A" shape=doublecircle]; - - intcon_S -> intcon_A [label="digito"]; - intcon_A -> intcon_A [label="digito" shape=doublecircle]; - } - - subgraph cluster_realcon { - label="realcon"; - style="filled"; - color="chocolate"; - - realcon_S [label="S" shape=circle]; - realcon_A [label="A" shape=circle]; - realcon_B [label="B" shape=circle]; - realcon_C [label="C" shape=doublecircle]; - - realcon_S -> realcon_A [label="intcon"]; - realcon_A -> realcon_A [label="intcon"]; - realcon_A -> realcon_B [label="ponto"]; - realcon_B -> realcon_C [label="intcon"]; - realcon_C -> realcon_C [label="intcon"]; - } - - subgraph cluster_charcon { - label="charcon"; - style="filled"; - color="darkorange"; - - charcon_S [label="S" shape=circle]; - charcon_A [label="A" shape=circle]; - charcon_B [label="B" shape=circle]; - charcon_C [label="C" shape=doublecircle]; - - charcon_S -> charcon_A [label="apostrofo"]; - charcon_A -> charcon_B [label="ch, \\n, \\0"]; - charcon_B -> charcon_C [label="apostrofo"]; - } - - subgraph cluster_stringcon { - label="stringcon"; - style="filled"; - color="seagreen"; - - stringcon_S [label="S" shape=circle]; - stringcon_A [label="A" shape=circle]; - stringcon_B [label="B" shape=doublecircle]; - stringcon_C [label="C" shape=circle]; - - stringcon_S -> stringcon_A [label="aspas"]; - stringcon_A -> stringcon_B [label="aspas"]; - stringcon_A -> stringcon_C [label="ch"]; - stringcon_C -> stringcon_B [label="aspas"]; - } - - subgraph cluster_comentario { - label="comentario"; - style="filled"; - color="hotpink"; - - comentario_S [label=S shape=circle]; - comentario_A [label=A shape=circle]; - comentario_B [label=B shape=circle]; - comentario_C [label=C shape=doublecircle]; - - comentario_S -> comentario_A [label="barra"]; - comentario_A -> comentario_B [label="barra"]; - comentario_B -> comentario_B [label="outro*"]; - comentario_B -> comentario_C [label="\\n"]; - } - - /* sinal */ - /* tem que levar em conta outro* */ - /* +, -, *, /, >, >=, <, <=, =, ==, (, ), [, ], ||, &, &&, ,, !, != */ - - /* idconst? leva em conta o ID: nao e lexico */ - /* idproc?: ID: pela especificacao: nao e lexico */ - - /* reservadas: */ - /* utilizar constantes para elas, identificando qual palavra reservada eh */ - /* const, pr, init, endp, char, int, real, bool, do, while, endw, var, from, to, dt, by, if, endv, elif, else, endi, getout, getint, getchar, getreal, putint, putchar, putreal */ - /* nao tem afd, verificacao por tabela de palavras reservadas */ - - -} diff --git a/doc/afd2.dot.svg b/doc/afd2.dot.svg deleted file mode 100644 index fb54975..0000000 --- a/doc/afd2.dot.svg +++ /dev/null @@ -1,316 +0,0 @@ - - - - - - -afd - - -cluster_id - -id - - -cluster_intcon - -intcon - - -cluster_realcon - -realcon - - -cluster_charcon - -charcon - - -cluster_stringcon - -stringcon - - -cluster_comentario - -comentario - - - -id_S - -S - - - -id_S->id_S - - -sublinha - - - -id_A - - -A - - - -id_S->id_A - - -letra - - - -id_A->id_A - - -letra, digito, sublinha - - - -intcon_S - -S - - - -intcon_A - - -A - - - -intcon_S->intcon_A - - -digito - - - -intcon_A->intcon_A - - -digito - - - -realcon_S - -S - - - -realcon_A - -A - - - -realcon_S->realcon_A - - -intcon - - - -realcon_A->realcon_A - - -intcon - - - -realcon_B - -B - - - -realcon_A->realcon_B - - -ponto - - - -realcon_C - - -C - - - -realcon_B->realcon_C - - -intcon - - - -realcon_C->realcon_C - - -intcon - - - -charcon_S - -S - - - -charcon_A - -A - - - -charcon_S->charcon_A - - -apostrofo - - - -charcon_B - -B - - - -charcon_A->charcon_B - - -ch, \n, \0 - - - -charcon_C - - -C - - - -charcon_B->charcon_C - - -apostrofo - - - -stringcon_S - -S - - - -stringcon_A - -A - - - -stringcon_S->stringcon_A - - -aspas - - - -stringcon_B - - -B - - - -stringcon_A->stringcon_B - - -aspas - - - -stringcon_C - -C - - - -stringcon_A->stringcon_C - - -ch - - - -stringcon_C->stringcon_B - - -aspas - - - -comentario_S - -S - - - -comentario_A - -A - - - -comentario_S->comentario_A - - -barra - - - -comentario_B - -B - - - -comentario_A->comentario_B - - -barra - - - -comentario_B->comentario_B - - -outro* - - - -comentario_C - - -C - - - -comentario_B->comentario_C - - -\n - - - diff --git a/doc/afd3.dot b/doc/afd3.dot deleted file mode 100644 index 044143b..0000000 --- a/doc/afd3.dot +++ /dev/null @@ -1,158 +0,0 @@ -digraph afd { - edge [label="ε"]; - S; - S -> id_S; - S -> intcon_S; - S -> realcon_S; - S -> charcon_S; - S -> stringcon_S; - S -> comentario_S; - S -> sinal_S; - - subgraph cluster_id { - label="id"; - style="filled"; - color="aqua"; - - id_S [label="S" shape=circle]; - id_A [label="A" shape=circle]; - id_B [label="B" shape=doublecircle]; - - id_S -> id_S [label="sublinha"]; - id_S -> id_A [label="letra"]; - id_A -> id_A [label="letra, digito, sublinha"]; - id_A -> id_B [label="outro*"]; - } - - subgraph cluster_intcon { - label="intcon"; - style="filled"; - color="brown"; - - intcon_S [label="S" shape=circle]; - intcon_A [label="A" shape=circle]; - intcon_B [label="B" shape=doublecircle]; - - intcon_S -> intcon_A [label="digito"]; - intcon_A -> intcon_A [label="digito"]; - intcon_A -> intcon_B [label="outro*"]; - } - - subgraph cluster_realcon { - label="realcon"; - style="filled"; - color="chocolate"; - - realcon_S [label="S" shape=circle]; - realcon_A [label="A" shape=circle]; - realcon_B [label="B" shape=circle]; - realcon_C [label="C" shape=circle]; - realcon_D [label="D" shape=doublecircle]; - - realcon_S -> realcon_A [label="intcon"]; - realcon_A -> realcon_A [label="intcon"]; - realcon_A -> realcon_B [label="ponto"]; - realcon_B -> realcon_C [label="intcon"]; - realcon_C -> realcon_C [label="intcon"]; - realcon_C -> realcon_D [label="outro*"]; - } - - subgraph cluster_charcon { - label="charcon"; - style="filled"; - color="darkorange"; - - charcon_S [label="S" shape=circle]; - charcon_A [label="A" shape=circle]; - charcon_B [label="B" shape=circle]; - charcon_C [label="C" shape=circle]; - charcon_D [label="D" shape=doublecircle]; - - charcon_S -> charcon_A [label="apostrofo"]; - charcon_A -> charcon_B [label="ch, \\n, \\0"]; - charcon_B -> charcon_C [label="apostrofo"]; - charcon_C -> charcon_D [label="outro*"]; - } - - subgraph cluster_stringcon { - label="stringcon"; - style="filled"; - color="seagreen"; - - stringcon_S [label="S" shape=circle]; - stringcon_A [label="A" shape=circle]; - stringcon_B [label="B" shape=circle]; - stringcon_C [label="C" shape=circle]; - stringcon_D [label="D" shape=doublecircle]; - - stringcon_S -> stringcon_A [label="aspas"]; - stringcon_A -> stringcon_B [label="aspas"]; - stringcon_A -> stringcon_C [label="ch"]; - stringcon_C -> stringcon_B [label="aspas"]; - stringcon_B -> stringcon_D [label="outro*"]; - } - - subgraph cluster_comentario { - label="comentario"; - style="filled"; - color="hotpink"; - - comentario_S [label=S shape=circle]; - comentario_A [label=A shape=circle]; - comentario_B [label=B shape=circle]; - comentario_C [label=C shape=doublecircle]; - - comentario_S -> comentario_A [label="barra"]; - comentario_A -> comentario_B [label="barra"]; - comentario_B -> comentario_B [label="outro*"]; - comentario_B -> comentario_C [label="\\n"]; - } - - /* sinal */ - /* tem que levar em conta outro* */ - /* +, -, *, /, >, >=, <, <=, =, ==, (, ), [, ], ||, &, &&, ,, !, != */ - - subgraph cluster_sinal { - label="sinal"; - style="filled"; - color="darkorchid1"; - - sinal_S [label=S shape=circle]; - sinal_A [label=A shape=circle]; - sinal_B [label=B shape=doublecircle]; - sinal_C [label=C shape=circle]; - sinal_D [label=D shape=circle]; - sinal_E [label=E shape=circle]; - sinal_F [label=F shape=circle]; - sinal_G [label=G shape=circle]; - sinal_H [label=H shape=circle]; - - sinal_S -> sinal_A [label="+, -, *, /, (, ), [, ], ,"]; - sinal_A -> sinal_B [label="outro*"]; - - sinal_S -> sinal_C [label=">, <, !"]; - sinal_C -> sinal_B [label="outro*"]; - sinal_C -> sinal_D [label="="]; - sinal_D -> sinal_B [label="outro*"]; - - sinal_S -> sinal_E [label="&"]; - sinal_E -> sinal_B [label="outro*"]; - sinal_E -> sinal_F [label="&"]; - sinal_F -> sinal_B [label="outro*"]; - - sinal_S -> sinal_G [label="|"]; - sinal_G -> sinal_B [label="outro*"]; - sinal_G -> sinal_H [label="|"]; - sinal_H -> sinal_B [label="outro*"]; - } - - /* idconst? leva em conta o ID: nao e lexico */ - /* idproc?: ID: pela especificacao: nao e lexico */ - - /* reservadas: */ - /* utilizar constantes para elas, identificando qual palavra reservada eh */ - /* const, pr, init, endp, char, int, real, bool, do, while, endw, var, from, to, dt, by, if, endv, elif, else, endi, getout, getint, getchar, getreal, putint, putchar, putreal */ - /* nao tem afd, verificacao por tabela de palavras reservadas */ - - -} diff --git a/doc/afd3.dot.svg b/doc/afd3.dot.svg deleted file mode 100644 index 22bd828..0000000 --- a/doc/afd3.dot.svg +++ /dev/null @@ -1,594 +0,0 @@ - - - - - - -afd - - -cluster_id - -id - - -cluster_intcon - -intcon - - -cluster_realcon - -realcon - - -cluster_charcon - -charcon - - -cluster_stringcon - -stringcon - - -cluster_comentario - -comentario - - -cluster_sinal - -sinal - - - -S - -S - - - -id_S - -S - - - -S->id_S - - -ε - - - -intcon_S - -S - - - -S->intcon_S - - -ε - - - -realcon_S - -S - - - -S->realcon_S - - -ε - - - -charcon_S - -S - - - -S->charcon_S - - -ε - - - -stringcon_S - -S - - - -S->stringcon_S - - -ε - - - -comentario_S - -S - - - -S->comentario_S - - -ε - - - -sinal_S - -S - - - -S->sinal_S - - -ε - - - -id_S->id_S - - -sublinha - - - -id_A - -A - - - -id_S->id_A - - -letra - - - -intcon_A - -A - - - -intcon_S->intcon_A - - -digito - - - -realcon_A - -A - - - -realcon_S->realcon_A - - -intcon - - - -charcon_A - -A - - - -charcon_S->charcon_A - - -apostrofo - - - -stringcon_A - -A - - - -stringcon_S->stringcon_A - - -aspas - - - -comentario_A - -A - - - -comentario_S->comentario_A - - -barra - - - -sinal_A - -A - - - -sinal_S->sinal_A - - -+, -, *, /, (, ), [, ], , - - - -sinal_C - -C - - - -sinal_S->sinal_C - - ->, <, ! - - - -sinal_E - -E - - - -sinal_S->sinal_E - - -& - - - -sinal_G - -G - - - -sinal_S->sinal_G - - -| - - - -id_A->id_A - - -letra, digito, sublinha - - - -id_B - - -B - - - -id_A->id_B - - -outro* - - - -intcon_A->intcon_A - - -digito - - - -intcon_B - - -B - - - -intcon_A->intcon_B - - -outro* - - - -realcon_A->realcon_A - - -intcon - - - -realcon_B - -B - - - -realcon_A->realcon_B - - -ponto - - - -realcon_C - -C - - - -realcon_B->realcon_C - - -intcon - - - -realcon_C->realcon_C - - -intcon - - - -realcon_D - - -D - - - -realcon_C->realcon_D - - -outro* - - - -charcon_B - -B - - - -charcon_A->charcon_B - - -ch, \n, \0 - - - -charcon_C - -C - - - -charcon_B->charcon_C - - -apostrofo - - - -charcon_D - - -D - - - -charcon_C->charcon_D - - -outro* - - - -stringcon_B - -B - - - -stringcon_A->stringcon_B - - -aspas - - - -stringcon_C - -C - - - -stringcon_A->stringcon_C - - -ch - - - -stringcon_D - - -D - - - -stringcon_B->stringcon_D - - -outro* - - - -stringcon_C->stringcon_B - - -aspas - - - -comentario_B - -B - - - -comentario_A->comentario_B - - -barra - - - -comentario_B->comentario_B - - -outro* - - - -comentario_C - - -C - - - -comentario_B->comentario_C - - -\n - - - -sinal_B - - -B - - - -sinal_A->sinal_B - - -outro* - - - -sinal_C->sinal_B - - -outro* - - - -sinal_D - -D - - - -sinal_C->sinal_D - - -= - - - -sinal_D->sinal_B - - -outro* - - - -sinal_E->sinal_B - - -outro* - - - -sinal_F - -F - - - -sinal_E->sinal_F - - -& - - - -sinal_F->sinal_B - - -outro* - - - -sinal_G->sinal_B - - -outro* - - - -sinal_H - -H - - - -sinal_G->sinal_H - - -| - - - -sinal_H->sinal_B - - -outro* - - - diff --git a/doc/afd4.dot b/doc/afd4.dot deleted file mode 100644 index ad64c95..0000000 --- a/doc/afd4.dot +++ /dev/null @@ -1,255 +0,0 @@ -digraph { - subgraph cluster_start { - label=INICIO; - - Inicio [label="", shape=none]; - 0 [shape=circle]; - Inicio -> 0; - } - 0 -> 0 [label="Tab, Espaco, \\n"]; - - subgraph cluster_id { - label=ID; - style=filled; - color="#d85"; - - 1 [shape=circle]; - 2 [shape=circle]; - 3 [shape=doublecircle]; - - 0 -> 1 [label=sublinha]; - 1 -> 1 [label=sublinha]; - 0 -> 2 [label=letra]; - 1 -> 2 [label=letra]; - 2 -> 2 [label="letra, digito, sublinha"]; - 2 -> 3 [label="outro*"]; - } - - subgraph cluster_intcon { - label=INTCON; - style=filled; - color="#faf"; - - 4 [shape=circle]; - 5 [shape=doublecircle]; - - 0 -> 4 [label=digito]; - 4 -> 4 [label=digito]; - 4 -> 5 [label="outro*"]; - } - - subgraph cluster_realcon { - label=REALCON; - style=filled; - color="#88d"; - - 6 [shape=circle]; - 7 [shape=circle]; - 8 [shape=doublecircle]; - - 4 -> 6 [label=ponto]; - 6 -> 7 [label=digito]; - 7 -> 7 [label=digito]; - 7 -> 8 [label="outro*"]; - } - - subgraph cluster_charcon { - label=CHARCON; - style=filled; - color="#8d8"; - - 9 [shape=circle]; - 10 [shape=circle]; - 11 [shape=doublecircle]; - 12 [shape=circle]; - 13 [shape=circle]; - - 0 -> 9 [label=apostrofo]; - 9 -> 10 [label=ch]; - 10 -> 11 [label=apostrofo]; - - 9 -> 12 [label="\\n"]; - 9 -> 13 [label="\\0"]; - 12 -> 11 [label=apostrofo]; - 13 -> 11 [label=apostrofo]; - } - - subgraph cluster_stringcon { - label=STRINGCON; - style=filled; - color="#d88"; - - 14 [shape=circle]; - 15 [shape=doublecircle]; - 16 [shape=circle]; - - 0 -> 14 [label=aspas]; - 14 -> 15 [label=aspas]; - 14 -> 16 [label=ch]; - 16 -> 16 [label=ch]; - 16 -> 15 [label=aspas]; - } - - 17 [shape=circle]; - 0 -> 17 [label=barra]; - 17 -> 18 [label=barra]; - - subgraph cluster_comentario { - label="COMENTARIO (IGNORAR)"; - style=filled; - color="#dd8"; - - 18 [shape=circle]; - - 18 -> 18 [label="outro*"]; - - 18 -> 0 [label="\\n"]; - } - - subgraph cluster_mais { - label=MAIS; - style=filled; - 19 [shape=doublecircle]; - } - 0 -> 19 [label="+"]; - - subgraph cluster_menos { - label=MENOS; - style=filled; - 20 [shape=doublecircle]; - } - 0 -> 20 [label="-"]; - - subgraph cluster_multiplicacao { - label=MULTIPLICACAO; - style=filled; - 21 [shape=doublecircle]; - } - 0 -> 21 [label="*"]; - - subgraph cluster_divisao { - label=DIVISAO; - style=filled; - 22 [shape=doublecircle]; - } - 17 -> 22 [label="outro*"]; - - subgraph cluster_abreparenteses { - label=ABREPARENTESES; - style=filled; - 23 [shape=doublecircle]; - } - 0 -> 23 [label="("]; - - subgraph cluster_fechaparenteses { - label=FECHAPARENTESES; - style=filled; - 24 [shape=doublecircle]; - } - 0 -> 24 [label=")"]; - - subgraph cluster_abrecolchete { - label=ABRECOLCHETE; - style=filled; - 25 [shape=doublecircle]; - } - 0 -> 25 [label="["]; - - subgraph cluster_fechacolchete { - label=FECHACOLCHETE; - style=filled; - 26 [shape=doublecircle]; - } - 0 -> 26 [label="]"]; - - subgraph cluster_virgula { - label=VIRGULA; - style=filled; - 27 [shape=doublecircle]; - } - 0 -> 27 [label=","]; - - 29 [shape=circle]; - 0 -> 28 [label="="]; - subgraph cluster_comparacao { - label=COMPARACAO; - style=filled; - 29 [shape=doublecircle]; - } - 28 -> 29 [label="="]; - subgraph cluster_atribuicao { - label=ATRIBUICAO; - style=filled; - 30 [shape=doublecircle]; - } - 28 -> 30 [label="outro*"]; - - 31 [shape=circle]; - 0 -> 31 [label="&"]; - subgraph cluster_elogico { - label=ELOGICO; - style=filled; - 32 [shape=doublecircle]; - } - 31 -> 32 [label="&"]; - subgraph cluster_referencia { - label=REFERENCIA; - style=filled; - 33 [shape=doublecircle]; - } - 31 -> 33 [label="outro*"]; - - 34 [shape=circle]; - 0 -> 34 [label="|"]; - subgraph cluster_oulogico { - label=OULOGICO; - style=filled; - 35 [shape=doublecircle]; - } - 34 -> 35 [label="|"]; - - 36 [shape=circle]; - 0 -> 36 [label="<"]; - subgraph cluster_menorigual { - label=MENORIGUAL; - style=filled; - 37 [shape=doublecircle]; - } - 36 -> 37 [label="="]; - subgraph cluster_menor { - label=MENOR; - style=filled; - 38 [shape=doublecircle]; - } - 36 -> 38 [label="outro*"]; - - 39 [shape=circle]; - 0 -> 39 [label=">"]; - subgraph cluster_maiorigual { - label=MAIORIGUAL; - style=filled; - 40 [shape=doublecircle]; - } - 39 -> 40 [label="="]; - subgraph cluster_maior { - label=MAIOR; - style=filled; - 41 [shape=doublecircle]; - } - 39 -> 41 [label="outro*"]; - - 42 [shape=circle]; - 0 -> 42 [label="!"]; - subgraph cluster_diferenca { - label=DIFERENCA; - style=filled; - 43 [shape=doublecircle]; - } - 42 -> 43 [label="="]; - subgraph cluster_negacao { - label=NEGACAO; - style=filled; - 44 [shape=doublecircle]; - } - 42 -> 44 [label="outro*"]; -} diff --git a/doc/afd4.dot.svg b/doc/afd4.dot.svg deleted file mode 100644 index 74d7994..0000000 --- a/doc/afd4.dot.svg +++ /dev/null @@ -1,844 +0,0 @@ - - - - - - - - -cluster_start - -INICIO - - -cluster_id - -ID - - -cluster_intcon - -INTCON - - -cluster_realcon - -REALCON - - -cluster_charcon - -CHARCON - - -cluster_stringcon - -STRINGCON - - -cluster_comentario - -COMENTARIO (IGNORAR) - - -cluster_mais - -MAIS - - -cluster_menos - -MENOS - - -cluster_multiplicacao - -MULTIPLICACAO - - -cluster_divisao - -DIVISAO - - -cluster_abreparenteses - -ABREPARENTESES - - -cluster_fechaparenteses - -FECHAPARENTESES - - -cluster_abrecolchete - -ABRECOLCHETE - - -cluster_fechacolchete - -FECHACOLCHETE - - -cluster_virgula - -VIRGULA - - -cluster_comparacao - -COMPARACAO - - -cluster_atribuicao - -ATRIBUICAO - - -cluster_elogico - -ELOGICO - - -cluster_referencia - -REFERENCIA - - -cluster_oulogico - -OULOGICO - - -cluster_menorigual - -MENORIGUAL - - -cluster_menor - -MENOR - - -cluster_maiorigual - -MAIORIGUAL - - -cluster_maior - -MAIOR - - -cluster_diferenca - -DIFERENCA - - -cluster_negacao - -NEGACAO - - - -Inicio - - - -0 - -0 - - - -Inicio->0 - - - - - -0->0 - - -Tab, Espaco, \n - - - -1 - -1 - - - -0->1 - - -sublinha - - - -2 - -2 - - - -0->2 - - -letra - - - -4 - -4 - - - -0->4 - - -digito - - - -9 - -9 - - - -0->9 - - -apostrofo - - - -14 - -14 - - - -0->14 - - -aspas - - - -17 - -17 - - - -0->17 - - -barra - - - -19 - - -19 - - - -0->19 - - -+ - - - -20 - - -20 - - - -0->20 - - -- - - - -21 - - -21 - - - -0->21 - - -* - - - -23 - - -23 - - - -0->23 - - -( - - - -24 - - -24 - - - -0->24 - - -) - - - -25 - - -25 - - - -0->25 - - -[ - - - -26 - - -26 - - - -0->26 - - -] - - - -27 - - -27 - - - -0->27 - - -, - - - -28 - -28 - - - -0->28 - - -= - - - -31 - -31 - - - -0->31 - - -& - - - -34 - -34 - - - -0->34 - - -| - - - -36 - -36 - - - -0->36 - - -< - - - -39 - -39 - - - -0->39 - - -> - - - -42 - -42 - - - -0->42 - - -! - - - -1->1 - - -sublinha - - - -1->2 - - -letra - - - -2->2 - - -letra, digito, sublinha - - - -3 - - -3 - - - -2->3 - - -outro* - - - -4->4 - - -digito - - - -5 - - -5 - - - -4->5 - - -outro* - - - -6 - -6 - - - -4->6 - - -ponto - - - -7 - -7 - - - -6->7 - - -digito - - - -7->7 - - -digito - - - -8 - - -8 - - - -7->8 - - -outro* - - - -10 - -10 - - - -9->10 - - -ch - - - -12 - -12 - - - -9->12 - - -\n - - - -13 - -13 - - - -9->13 - - -\0 - - - -11 - - -11 - - - -10->11 - - -apostrofo - - - -12->11 - - -apostrofo - - - -13->11 - - -apostrofo - - - -15 - - -15 - - - -14->15 - - -aspas - - - -16 - -16 - - - -14->16 - - -ch - - - -16->15 - - -aspas - - - -16->16 - - -ch - - - -18 - -18 - - - -17->18 - - -barra - - - -22 - - -22 - - - -17->22 - - -outro* - - - -18->0 - - -\n - - - -18->18 - - -outro* - - - -29 - - -29 - - - -28->29 - - -= - - - -30 - - -30 - - - -28->30 - - -outro* - - - -32 - - -32 - - - -31->32 - - -& - - - -33 - - -33 - - - -31->33 - - -outro* - - - -35 - - -35 - - - -34->35 - - -| - - - -37 - - -37 - - - -36->37 - - -= - - - -38 - - -38 - - - -36->38 - - -outro* - - - -40 - - -40 - - - -39->40 - - -= - - - -41 - - -41 - - - -39->41 - - -outro* - - - -43 - - -43 - - - -42->43 - - -= - - - -44 - - -44 - - - -42->44 - - -outro* - - -