-
Notifications
You must be signed in to change notification settings - Fork 2
/
g011.O3.ixml.xml
89 lines (84 loc) · 2.91 KB
/
g011.O3.ixml.xml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../../lib/ixml-html.xsl"?>
<ixml xmlns:gt="http://blackmesatech.com/2020/grammartools"
gt:date="2021-01-26T17:01:33.633754-07:00"
gt:base-grammar="file:/Users/cmsmcq/2021/ixml-tests/tests-straw/gxxx/g011.ixml.xml"
gt:base-grammar-uri="file:/Users/cmsmcq/2021/ixml-tests/tests-straw/gxxx/g011.ixml.xml"
gt:dg-type="regular approximation"
gt:ra-type="rk-subset"
gt:k="3">
<comment>2021-01-26T17:01:33.633754-07:00: ixml-to-rk-subset.xsl.</comment>
<comment> Input: file:/Users/cmsmcq/2021/ixml-tests/tests-straw/gxxx/g011.ixml.xml</comment>
<comment> This grammar accepts the r_3 subset </comment>
<comment> of the language accepted by the input grammar.</comment>
<comment>2021-01-26T17:01:33.633754-07:00: ixml-annotate-pc.xsl.</comment>
<comment> Input: file:/Users/cmsmcq/2021/ixml-tests/tests-straw/gxxx/g011.ixml.xml</comment>
<comment> Grammar augmented with @gt:recursive etc.</comment>
<comment> g011: a small ixml grammar: 011
One of a series (initially for test case construction).
This one is an FSA with 0 nonfinal states, 1 final state, 1 arc.
L is the set containing the empty string and 'a' and nothing else.
</comment>
<comment> Revisions:
2021-01-17 : CMSMcQ : made ixml
</comment>
<comment> First, nonrecursive production rules </comment>
<comment> Second, recursive production rules </comment>
<rule name="S" gt:basename="S" gt:affix="" gt:type="stack-affixed">
<alt/>
<alt>
<literal sstring="a"/>
<nonterminal name="S·S·" gt:basename="S" gt:affix="S·"/>
</alt>
</rule>
<rule name="S·S·"
gt:basename="S"
gt:affix="S·"
gt:type="stack-affixed">
<alt/>
<alt>
<literal sstring="a"/>
<nonterminal name="S·S·S·" gt:basename="S" gt:affix="S·S·"/>
</alt>
</rule>
<rule name="S·S·S·"
gt:basename="S"
gt:affix="S·S·"
gt:type="stack-affixed">
<alt/>
<alt>
<literal sstring="a"/>
<nonterminal name="S·S·S·S·" gt:basename="S" gt:affix="S·S·S·"/>
</alt>
</rule>
<rule name="S·S·S·S·"
gt:basename="S"
gt:affix="S·S·S·"
gt:type="stack-affixed">
<alt/>
<alt>
<literal sstring="a"/>
<nonterminal name="S·S·S·S·S·" gt:basename="S" gt:affix="S·S·S·S·"/>
</alt>
</rule>
<rule name="S·S·S·S·S·"
gt:basename="S"
gt:affix="S·S·S·S·"
gt:type="stub">
<alt>
<nonterminal name="max-S"/>
</alt>
</rule>
<rule name="max-S">
<alt>
<repeat0>
<alts>
<alt>
<literal sstring="a"/>
</alt>
</alts>
</repeat0>
</alt>
</rule>
<comment> bye </comment>
</ixml>