/
completeDecorSection.xldf
68 lines (65 loc) · 2.01 KB
/
completeDecorSection.xldf
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
<?xml version="1.0" encoding="utf-8"?>
<xldf:sequence
xmlns:bgf="http://planet-sl.org/bgf"
xmlns:xbgf="http://planet-sl.org/xbgf"
xmlns:xldf="http://planet-sl.org/xldf">
<!-- compose a section on decorative transformations -->
<xldf:rename>
<from>
<title>decorative-transformation</title>
</from>
<to>Decorative transformations</to>
</xldf:rename>
<xldf:place>
<section>element-designate</section>
<inside>group-decorative-transformation</inside>
</xldf:place>
<xldf:place>
<section>element-unlabel</section>
<inside>group-decorative-transformation</inside>
</xldf:place>
<xldf:place>
<section>element-deanonymize</section>
<inside>group-decorative-transformation</inside>
</xldf:place>
<xldf:append>
<where>element-anonymize</where>
<content>
<text>
Given the input BGF and a clear goal to strip all selectors,
it becomes trivial to generate a list of anonymize commands that,
if executed on the same grammar, would produce a selector-free
yet structurally equivalent grammar. We used such a generator
called strips in the FL case study as the final stage to converge
the abstract syntax (with selectors) with the concrte syntax (with
terminals).
</text>
</content>
</xldf:append>
<xldf:place>
<section>element-anonymize</section>
<inside>group-decorative-transformation</inside>
</xldf:place>
<xldf:add-section>
<core id="misc">
<title>Miscellaneous</title>
<author>Vadim Zaytsev</author>
<description>
<content>
<text>T.B.D.</text>
</content>
</description>
</core>
</xldf:add-section>
<xldf:place>
<section>element-dump</section>
<inside>misc</inside>
</xldf:place>
<xldf:place>
<section>element-reroot</section>
<inside>misc</inside>
</xldf:place>
<xldf:remove-section>
<id>element-strip</id>
</xldf:remove-section>
</xldf:sequence>