Revize 736838d4
Přidáno uživatelem Patrik Harag před více než 5 roky(ů)
.gitignore | ||
---|---|---|
7 | 7 |
|
8 | 8 |
**/.DS_Store |
9 | 9 |
.DS_Store |
10 |
**/*.class |
sources/classes/production/imiger-dot-converter/META-INF/services/cz.zcu.kiv.imiger.spi.IModule | ||
---|---|---|
1 |
cz.zcu.kiv.imiger.plugin.dot.DOT |
sources/classes/production/imiger-dot-converter/log4j2.properties | ||
---|---|---|
1 |
name=PropertiesConfig |
|
2 |
property.filename = logs |
|
3 |
appenders = console, file |
|
4 |
|
|
5 |
appender.console.type = Console |
|
6 |
appender.console.name = STDOUT |
|
7 |
appender.console.layout.type = PatternLayout |
|
8 |
appender.console.layout.pattern=%d{yy-MM-dd HH:mm:ss:SSS} %-6p [%c:%M:%L] - %m%n |
|
9 |
|
|
10 |
appender.file.type = File |
|
11 |
appender.file.name = LOGFILE |
|
12 |
appender.file.fileName=${filename}/propertieslogs.log |
|
13 |
appender.file.layout.type=PatternLayout |
|
14 |
appender.file.layout.pattern=%d{yy-MM-dd HH:mm:ss:SSS} %-6p [%c:%M:%L] - %m%n |
|
15 |
|
|
16 |
rootLogger.level = debug |
|
17 |
rootLogger.appenderRefs = stdout |
|
18 |
rootLogger.appenderRef.stdout.ref = STDOUT |
sources/classes/test/imiger-dot-converter/complete1.dot | ||
---|---|---|
1 |
digraph "example.y" |
|
2 |
{ |
|
3 |
node [fontname = courier, shape = box, colorscheme = paired6] |
|
4 |
edge [fontname = courier] |
|
5 |
|
|
6 |
0 [label="State 0\n\l 0 $accept: . exp $end\l"] |
|
7 |
0 -> 1 [style=solid label="\"0\""] |
|
8 |
0 -> 2 [style=dashed label="exp"] |
|
9 |
0 -> 3 [style=dashed label="a"] |
|
10 |
0 -> 4 [style=dashed label="b"] |
|
11 |
1 [label="State 1\n\l 3 a: \"0\" .\l 4 b: \"0\" .\l"] |
|
12 |
1 -> "1R3" [style=solid] |
|
13 |
"1R3" [label="R3", fillcolor=3, shape=diamond, styale=filled] |
|
14 |
1 -> "1R4" [label="[\".\"]", style=solid] |
|
15 |
"1R4" [label="R4", fillcolor=3, shape=diamond, style=filled] |
|
16 |
2 [label="State 2\n\l 0 $accept: exp . $end\l"] |
|
17 |
2 -> 5 [style=solid label="$end"] |
|
18 |
3 [label="State 3\n\l 1 exp: a . \";\"\l"] |
|
19 |
3 -> 6 [style=solid label="\";\""] |
|
20 |
4 [label="State 4\n\l 2 exp: b . \".\"\l"] |
|
21 |
4 -> 7 [style=solid label="\".\""] |
|
22 |
5 [label="State 5\n\l 0 $accept: exp $end .\l"] |
|
23 |
5 -> "5R0" [style=solid] |
|
24 |
"5R0" [label="Acc", fillcolor=1, shape=diamond, style=filled] |
|
25 |
6 [label="State 6\n\l 1 exp: a \";\" .\l"] |
|
26 |
6 -> "6R1" [style=solid] |
|
27 |
"6R1" [label="R1", fillcolor=3, shape=diamond, style=filled] |
|
28 |
7 [label="State 7\n\l 2 exp: b \".\" .\l"] |
|
29 |
7 -> "7R2" [style=solid] |
|
30 |
"7R2" [label="R2", fillcolor=3, shape=diamond, style=filled] |
|
31 |
} |
sources/classes/test/imiger-dot-converter/incomplete1.dot | ||
---|---|---|
1 |
digraph "example.y" |
|
2 |
{ |
|
3 |
node [fontname = courier, shape = box, colorscheme = paired6] |
|
4 |
edge [fontname = courier] |
|
5 |
|
|
6 |
0 [label="State 0\n\l 0 $accept: . exp $end\l"] |
|
7 |
-> 1 [style=solid label="\"0\""] |
|
8 |
0 -> 2 [style=dashed label="exp"] |
|
9 |
0 -> 3 [style=dashed label="a"] |
|
10 |
0 -> 4 [style=dashed label="b"] |
|
11 |
1 [label="State 1\n\l 3 a: \"0\" .\l 4 b: \"0\" .\l"] |
|
12 |
1 -> "1R3" [style=solid] |
|
13 |
"1R3" [label="R3", fillcolor=3, shape=diamond, styale=filled] |
|
14 |
1 -> "1R4" [label="[\".\"]", style=solid] |
|
15 |
"1R4" [label="R4", fillcolor=3, shape=diamond, style=filled] |
|
16 |
2 [label="State 2\n\l 0 $accept: exp . $end\l"] |
|
17 |
2 -> 5 [style=solid label="$end"] |
|
18 |
3 [label="State 3\n\l 1 exp: a . \";\"\l"] |
|
19 |
3 -> 6 [style=solid label="\";\""] |
|
20 |
4 [label="State 4\n\l 2 exp: b . \".\"\l"] |
|
21 |
4 -> 7 [style=solid label="\".\""] |
|
22 |
5 [label="State 5\n\l 0 $accept: exp $end .\l"] |
|
23 |
5 -> "5R0" [style=solid] |
|
24 |
"5R0" [label="Acc", fillcolor=1, shape=diamond, style=filled] |
|
25 |
6 [label="State 6\n\l 1 exp: a \";\" .\l"] |
|
26 |
6 -> "6R1" [style=solid] |
|
27 |
"6R1" [label="R1", fillcolor=3, shape=diamond, style=filled] |
|
28 |
7 [label="State 7\n\l 2 exp: b \".\" .\l"] |
|
29 |
7 -> "7R2" [style=solid] |
|
30 |
"7R2" [label="R2", fillcolor=3, shape=diamond, style=filled] |
|
31 |
} |
sources/classes/test/imiger-dot-converter/incomplete2.dot | ||
---|---|---|
1 |
digraph "example.y" |
|
2 |
{ |
|
3 |
node [fontname = courier, shape = box, colorscheme = paired6] |
|
4 |
edge [fontname = courier] |
|
5 |
|
|
6 |
0 -> 1 [style=solid label="\"0\""] |
|
7 |
0 -> 2 [style=dashed label="exp"] |
|
8 |
0 -> 3 [style=dashed label="a"] |
|
9 |
0 -> 4 [style=dashed label="b"] |
|
10 |
1 [label="State 1\n\l 3 a: \"0\" .\l 4 b: \"0\" .\l"] |
|
11 |
1 -> "1R3" [style=solid] |
|
12 |
"1R3" [label="R3", fillcolor=3, shape=diamond, styale=filled] |
|
13 |
1 -> "1R4" [label="[\".\"]", style=solid] |
|
14 |
"1R4" [label="R4", fillcolor=3, shape=diamond, style=filled] |
|
15 |
2 [label="State 2\n\l 0 $accept: exp . $end\l"] |
|
16 |
2 -> 5 [style=solid label="$end"] |
|
17 |
3 [label="State 3\n\l 1 exp: a . \";\"\l"] |
|
18 |
3 -> 6 [style=solid label="\";\""] |
|
19 |
4 [label="State 4\n\l 2 exp: b . \".\"\l"] |
|
20 |
4 -> 7 [style=solid label="\".\""] |
|
21 |
5 [label="State 5\n\l 0 $accept: exp $end .\l"] |
|
22 |
5 -> "5R0" [style=solid] |
|
23 |
"5R0" [label="Acc", fillcolor=1, shape=diamond, style=filled] |
|
24 |
6 [label="State 6\n\l 1 exp: a \";\" .\l"] |
|
25 |
6 -> "6R1" [style=solid] |
|
26 |
"6R1" [label="R1", fillcolor=3, shape=diamond, style=filled] |
|
27 |
7 [label="State 7\n\l 2 exp: b \".\" .\l"] |
|
28 |
7 -> "7R2" [style=solid] |
|
29 |
"7R2" [label="R2", fillcolor=3, shape=diamond, style=filled] |
|
30 |
} |
Také k dispozici: Unified diff
Cleanup sources