-
Notifications
You must be signed in to change notification settings - Fork 2
/
g101.O3.ixml.xml
80 lines (75 loc) · 2.72 KB
/
g101.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
<?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:40.747024-07:00"
gt:base-grammar="file:/Users/cmsmcq/2021/ixml-tests/tests-straw/gxxx/g101.ixml.xml"
gt:base-grammar-uri="file:/Users/cmsmcq/2021/ixml-tests/tests-straw/gxxx/g101.ixml.xml"
gt:dg-type="regular approximation"
gt:ra-type="rk-subset"
gt:k="3">
<comment>2021-01-26T17:01:40.747024-07:00: ixml-to-rk-subset.xsl.</comment>
<comment> Input: file:/Users/cmsmcq/2021/ixml-tests/tests-straw/gxxx/g101.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:40.747024-07:00: ixml-annotate-pc.xsl.</comment>
<comment> Input: file:/Users/cmsmcq/2021/ixml-tests/tests-straw/gxxx/g101.ixml.xml</comment>
<comment> Grammar augmented with @gt:recursive etc.</comment>
<comment> g101: a small ixml grammar: 101
One of a series (initially for test case construction).
This one is an FSA with 1 nonfinal state, 0 final states, 1 arc.
L is the empty set.
</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>
<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>
<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>
<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>
<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>
<literal sstring="a"/>
<nonterminal name="max-S"/>
</alt>
</rule>
<comment> bye </comment>
</ixml>