diff --git a/topics/languedoc/languedoc.csproj b/topics/languedoc/languedoc.csproj
index ce21caeb..5c6d87b0 100644
--- a/topics/languedoc/languedoc.csproj
+++ b/topics/languedoc/languedoc.csproj
@@ -42,6 +42,9 @@
bgf.xsd
+
+ fakemathml.xsd
+
lcf.xsd
@@ -100,9 +103,24 @@
+
+ bgf2bnf.xslt
+
+
+ bgf2xhtml.xslt
+
ldf2tex.xslt
+
+ ldf2xhtml.xslt
+
+
+ mathml2tex.xslt
+
+
+ mathml2xhtml.xslt
+
diff --git a/topics/languedoc/lcf/lcf.xldf b/topics/languedoc/lcf/lcf.xldf
index c453a0b7..01c4e986 100644
--- a/topics/languedoc/lcf/lcf.xldf
+++ b/topics/languedoc/lcf/lcf.xldf
@@ -7,7 +7,7 @@
- group-definition
+ definition
definition
@@ -32,8 +32,8 @@
definition
-
- element-configuration
+
+ configuration
@@ -58,7 +58,7 @@
- complexType-source
+ source
grammar
@@ -411,7 +411,7 @@
- complexType-target
+ target
resolution
@@ -637,7 +637,7 @@
- complexType-target
+ target
During convergence process, LCI regularly compares the result of each
@@ -666,7 +666,7 @@
- complexType-phase
+ phase
automated
@@ -727,7 +727,7 @@
- complexType-phase
+ phase
The interface to generators is universal. We used it only with
@@ -754,14 +754,14 @@
- simpleType-toolType
+ toolType
toolType
-
- complexType-tool
+
+ tool
diff --git a/topics/languedoc/ldf/xldf/beautify.xldf b/topics/languedoc/ldf/xldf/beautify.xldf
index 650b4c10..f01b7d8f 100644
--- a/topics/languedoc/ldf/xldf/beautify.xldf
+++ b/topics/languedoc/ldf/xldf/beautify.xldf
@@ -6,7 +6,7 @@
xmlns:xbgf="http://planet-sl.org/xbgf">
- element-document
+ document
document
@@ -157,7 +157,7 @@
- complexType-titlePage
+ titlePage
titlePage
@@ -258,7 +258,7 @@
- complexType-listOfTerms
+ listOfTerms
term
diff --git a/topics/languedoc/ldf/xldf/completeWithText.xldf b/topics/languedoc/ldf/xldf/completeWithText.xldf
index 7fe551be..b069274a 100644
--- a/topics/languedoc/ldf/xldf/completeWithText.xldf
+++ b/topics/languedoc/ldf/xldf/completeWithText.xldf
@@ -4,7 +4,7 @@
xmlns:xldf="http://planet-sl.org/xldf">
- simpleType-body
+ body
ANSI (American National Standards Institute)
diff --git a/topics/languedoc/ldf/xldf/dropBgf.xldf b/topics/languedoc/ldf/xldf/dropBgf.xldf
index a0dc2e99..9b127a98 100644
--- a/topics/languedoc/ldf/xldf/dropBgf.xldf
+++ b/topics/languedoc/ldf/xldf/dropBgf.xldf
@@ -3,28 +3,28 @@
xmlns:xldf="http://planet-sl.org/xldf">
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
\ No newline at end of file
diff --git a/topics/languedoc/ldf/xldf/reorganise.xldf b/topics/languedoc/ldf/xldf/reorganise.xldf
index bfe45958..a9b64e86 100644
--- a/topics/languedoc/ldf/xldf/reorganise.xldf
+++ b/topics/languedoc/ldf/xldf/reorganise.xldf
@@ -19,8 +19,8 @@
Title page
-
- complexType-titlePage
+
+ titlePage
@@ -51,8 +51,8 @@
Simple text
-
- complexType-simpleText
+
+ simpleText
@@ -62,8 +62,8 @@
Simple tables
-
- complexType-simpleTable
+
+ simpleTable
@@ -87,8 +87,8 @@
Front matter lists
-
- group-frontList
+
+ frontList
@@ -121,11 +121,11 @@
listOfInternalLinks
-->
- group-structuredSectionElement
- complexType-structuredSection
+
+ structuredSection
- complexType-listOfInternalLinks
+
@@ -143,7 +143,7 @@
-
+
@@ -153,16 +153,16 @@
Keywords, links and plain text
-
- element-keyword
+
+ keyword
-
- element-keyword
+
+ keyword
-
- element-keyword
+
+ keyword
\ No newline at end of file
diff --git a/topics/languedoc/xbgf/xldf/completeDecSection.xldf b/topics/languedoc/xbgf/xldf/completeDecSection.xldf
index f198106f..d93ef9b9 100644
--- a/topics/languedoc/xbgf/xldf/completeDecSection.xldf
+++ b/topics/languedoc/xbgf/xldf/completeDecSection.xldf
@@ -1,5 +1,6 @@
-
- group-decreasing-transformation
+
+ decreasing-transformation
- element-remove
+ remove
remove
- element-remove
+ remove
@@ -35,11 +36,11 @@
removeV
- element-remove-v
+ remove-v
syntax
- element-remove-v
+ remove-v
Vertical removal operates on the level of productions: it takes away one production
@@ -53,7 +54,7 @@
Given the input:
- element-remove-v
+ remove-v
remove-v-example
@@ -82,7 +83,7 @@
- element-remove
+ remove
@@ -93,11 +94,11 @@
removeH
- element-remove-h
+ remove-h
syntax
- element-remove-h
+ remove-h
marked-production
@@ -108,7 +109,7 @@
- element-remove-h
+ remove-h
Horizontal removal looks inside productions: it removes any marked part of an internal choice,
@@ -133,7 +134,7 @@
Given the input:
- element-remove-h
+ remove-h
remove-h1-example
@@ -166,7 +167,7 @@
Given the input:
- element-remove-h
+ remove-h
remove-h2-example
@@ -195,11 +196,11 @@
-
- group-decreasing-transformation
+
+ decreasing-transformation
- element-disappear
+ disappear
marked-production
@@ -214,7 +215,7 @@
Given the input:
- element-disappear
+ disappear
disappear-example
@@ -243,18 +244,79 @@
-
- group-decreasing-transformation
+
+ decreasing-transformation
- element-narrow
+ narrow
The narrowing relation is defined as follows:
- x? \textrm{ can be narrowed to } x
- x^+ \textrm{ can be narrowed to } x
- x^\star \textrm{ can be narrowed to } x \textrm{ or } x? \textrm{ or } x^+
+
+
+
+
+
+ x
+ ?
+
+
+ can be narrowed to
+
+ x
+
+
+
+
+
+
+
+
+
+ x
+ +
+
+
+ can be narrowed to
+
+ x
+
+
+
+
+
+
+
+
+
+ x
+ *
+
+
+ can be narrowed to
+
+
+ x
+
+ or
+
+
+ x
+ ?
+
+
+ or
+
+
+ x
+ +
+
+
+
+
+
+
It is trivial to prove that for each case the expression on the right is included
in the expression on the right, but not otherwise. For going the other way
@@ -269,7 +331,7 @@
Given the input:
- element-narrow
+ narrow
narrow-example
@@ -298,11 +360,11 @@
-
- group-decreasing-transformation
+
+ decreasing-transformation
- element-downgrade
+ downgrade
@@ -332,7 +394,7 @@
Given the input:
- element-downgrade
+ downgrade
downgrade-example
@@ -361,7 +423,7 @@
- group-decreasing-transformation
+ decreasing-transformation
syntax
synopsis
diff --git a/topics/languedoc/xbgf/xldf/completeDecorSection.xldf b/topics/languedoc/xbgf/xldf/completeDecorSection.xldf
index 5cb2221c..eadbd952 100644
--- a/topics/languedoc/xbgf/xldf/completeDecorSection.xldf
+++ b/topics/languedoc/xbgf/xldf/completeDecorSection.xldf
@@ -7,7 +7,7 @@
- element-unlabel
+ unlabel
unlabel
@@ -36,8 +36,8 @@
-
- group-decorative-transformation
+
+ decorative-transformation
@@ -45,7 +45,7 @@
Given the input:
- element-designate
+ designate
designate-example
@@ -74,8 +74,8 @@
-
- group-decorative-transformation
+
+ decorative-transformation
@@ -87,7 +87,7 @@
- element-unlabel
+ unlabel
unlabel-example
@@ -116,11 +116,11 @@
-
- group-decorative-transformation
+
+ decorative-transformation
- element-deanonymize
+ deanonymize
marked-production
@@ -138,7 +138,7 @@
- element-deanonymize
+ deanonymize
deanonymize-example
@@ -167,7 +167,7 @@
- element-anonymize
+ anonymize
Given the input BGF and a clear goal to strip all selectors,
@@ -182,11 +182,11 @@
-
- group-decorative-transformation
+
+ decorative-transformation
- element-anonymize
+ anonymize
marked-production
@@ -202,7 +202,7 @@
Given the input:
- element-anonymize
+ anonymize
anonymize-example
@@ -231,7 +231,7 @@
- group-decorative-transformation
+ decorative-transformation
syntax
synopsis
diff --git a/topics/languedoc/xbgf/xldf/completeFoldSection.xldf b/topics/languedoc/xbgf/xldf/completeFoldSection.xldf
index edae7892..791e7991 100644
--- a/topics/languedoc/xbgf/xldf/completeFoldSection.xldf
+++ b/topics/languedoc/xbgf/xldf/completeFoldSection.xldf
@@ -1,5 +1,6 @@
- element-unfold
+ unfold
unfold
@@ -51,8 +52,8 @@
Folding and unfolding transformations
-
- group-folding-transformation
+
+ folding-transformation
@@ -83,7 +84,7 @@
Given the input:
- element-unfold
+ unfold
@@ -114,7 +115,7 @@
- element-fold
+ fold
fold
@@ -151,8 +152,8 @@
-
- group-folding-transformation
+
+ folding-transformation
@@ -160,7 +161,7 @@
Very much like unfolding, folding can take place locally. For instance,
- element-fold
+ fold
fold-example
@@ -189,8 +190,8 @@
-
- group-folding-transformation
+
+ folding-transformation
@@ -199,10 +200,37 @@
The inline transformation is by far the
most used in Java Language Specification case study. One of the reasons
is what we call layering: in particular expressions and statements
- are introduced in the $G_j^R$ with a set of related nonterminals:
+ are introduced in the
+
+
+
+
+
+ G
+ j
+
+ R
+
+
+
+
+ with a set of related nonterminals:
LabeledStatement, IfThenElseStatement, WhileStatement, ForStatement, etc, and
CastExpression, PreIncrementExpression, PreDecrementExpression, PostfixExpression, etc.
- $G_j^I$ takes another approach, just listing all the alternatives in the productions
+
+
+
+
+
+ G
+ j
+
+ I
+
+
+
+
+ takes another approach, just listing all the alternatives in the productions
for Statement and Expression. In order to converge these two variants, a lot of inlining
transformations are needed. This can also be apparent from the statistics table,
that demonstrates that targets that converge only ``readable'' grammars require up to
@@ -212,7 +240,7 @@
- element-inline
+ inline
@@ -220,7 +248,7 @@
An example follows. When we have:
- element-inline
+ inline
inline-example
@@ -249,8 +277,8 @@
-
- group-folding-transformation
+
+ folding-transformation
@@ -264,7 +292,7 @@
- element-extract
+ extract
- element-extract
+ extract
extract-example
@@ -303,8 +331,8 @@
-
- group-folding-transformation
+
+ folding-transformation
@@ -321,7 +349,7 @@
- element-abridge
+ abridge
@@ -331,7 +359,7 @@
- element-abridge
+ abridge
abridge-example
@@ -363,8 +391,8 @@
-
- group-folding-transformation
+
+ folding-transformation
@@ -377,7 +405,7 @@
- element-detour
+ detour
detour-example
@@ -386,8 +414,8 @@
-
- group-folding-transformation
+
+ folding-transformation
@@ -401,7 +429,7 @@
- element-unchain
+ unchain
@@ -411,7 +439,7 @@
- element-unchain
+ unchain
unchain-example
@@ -442,8 +470,8 @@
-
- group-folding-transformation
+
+ folding-transformation
@@ -456,7 +484,7 @@
- element-chain
+ chain
chain-example
@@ -465,7 +493,7 @@
- group-folding-transformation
+ folding-transformation
syntax
synopsis
diff --git a/topics/languedoc/xbgf/xldf/completeIncSection.xldf b/topics/languedoc/xbgf/xldf/completeIncSection.xldf
index 3902c900..d941cec0 100644
--- a/topics/languedoc/xbgf/xldf/completeIncSection.xldf
+++ b/topics/languedoc/xbgf/xldf/completeIncSection.xldf
@@ -1,5 +1,6 @@
-
- group-increasing-transformation
+
+ increasing-transformation
- element-add
+ add
add
- element-add
+ add
@@ -35,11 +36,11 @@
addV
- element-add-v
+ add-v
syntax
- element-add-v
+ add-v
Vertical addition operates on the level of productions: it adds one more production
@@ -53,7 +54,7 @@
Given the input:
- element-add-v
+ add-v
add-v-example
@@ -82,7 +83,7 @@
- element-add
+ add
@@ -93,11 +94,11 @@
addH
- element-add-h
+ add-h
syntax
- element-add-h
+ add-h
marked-production
@@ -108,7 +109,7 @@
- element-add-h
+ add-h
Horizontal addition looks inside productions: it adds any marked part of an internal choice
@@ -133,7 +134,7 @@
Given the input:
- element-add-h
+ add-h
add-h1-example
@@ -166,7 +167,7 @@
Given the input:
- element-add-h
+ add-h
add-h2-example
@@ -195,11 +196,11 @@
-
- group-increasing-transformation
+
+ increasing-transformation
- element-appear
+ appear
marked-production
@@ -214,7 +215,7 @@
Given the input:
- element-appear
+ appear
appear-example
@@ -243,18 +244,88 @@
-
- group-increasing-transformation
+
+ increasing-transformation
- element-widen
+ widen
The widening relation is defined as follows:
- x \textrm{ can be widened to } x? \textrm{ or } x^+ \textrm{ or } x^\star
- x? \textrm{ can be widened to } x^\star
- x^+ \textrm{ can be widened to } x^\star
+
+
+
+
+
+ x
+
+ can be widened to
+
+
+
+ x
+ ?
+
+
+ or
+
+
+ x
+ +
+
+
+ or
+
+
+ x
+ *
+
+
+
+
+
+
+
+
+
+
+
+
+ x
+ ?
+
+
+ can be widened to
+
+
+ x
+ *
+
+
+
+
+
+
+
+
+
+
+
+ x
+ +
+
+
+ can be widened to
+
+
+ x
+ *
+
+
+
+
+
It is trivial to prove that for each case the expression on the left is included
in the expression on the right, but not otherwise. For going the other way
@@ -269,7 +340,7 @@
Given the input:
- element-widen
+ widen
widen-example
@@ -298,11 +369,11 @@
-
- group-increasing-transformation
+
+ increasing-transformation
- element-upgrade
+ upgrade
@@ -332,7 +403,7 @@
Given the input:
- element-upgrade
+ upgrade
upgrade-example
@@ -361,8 +432,8 @@
-
- group-increasing-transformation
+
+ increasing-transformation
@@ -370,7 +441,7 @@
Given the input:
- element-unite
+ unite
unite-example
@@ -399,7 +470,7 @@
- group-increasing-transformation
+ increasing-transformation
syntax
synopsis
diff --git a/topics/languedoc/xbgf/xldf/completeIntro.xldf b/topics/languedoc/xbgf/xldf/completeIntro.xldf
index e0ba3515..35988b7e 100644
--- a/topics/languedoc/xbgf/xldf/completeIntro.xldf
+++ b/topics/languedoc/xbgf/xldf/completeIntro.xldf
@@ -7,7 +7,7 @@
- group-scope
+ scope
scope
@@ -96,11 +96,11 @@
-
+
notation-section
- element-production
+ production
production
@@ -170,11 +170,11 @@
-
+
notation-section
- element-expression
+ expression
expression
@@ -205,30 +205,30 @@
-
+
notation-section
- simpleType-value
+ value
value
-
+
notation-section
-
+
-
+
-
+
-
+
@@ -555,17 +555,17 @@
-
+
definitions-section
-
+
definitions-section
- group-transformation
+ transformation
transformation
@@ -582,12 +582,12 @@
transformation
-
+
definitions-section
-
+
definitions-section
diff --git a/topics/languedoc/xbgf/xldf/completeMiscSection.xldf b/topics/languedoc/xbgf/xldf/completeMiscSection.xldf
index 6373a26b..cc84fe3b 100644
--- a/topics/languedoc/xbgf/xldf/completeMiscSection.xldf
+++ b/topics/languedoc/xbgf/xldf/completeMiscSection.xldf
@@ -7,18 +7,18 @@
- element-rename
+ rename
rename
- element-rename
+ rename
@@ -46,11 +46,11 @@
renameL
- element-rename-label
+ rename-label
syntax
- element-rename-label
+ rename-label
Renaming labels is a semantic preserving grammar transformation pretty-printed as renameL.
@@ -70,7 +70,7 @@
Given the input:
- element-rename-label
+ rename-label
renameL-example
@@ -99,7 +99,7 @@
- element-rename
+ rename
@@ -127,11 +127,11 @@
renameN
- element-rename-nonterminal
+ rename-nonterminal
syntax
- element-rename-nonterminal
+ rename-nonterminal
Similarly, this transformation can be used to rename nonterminals.
@@ -149,7 +149,7 @@
Given the input:
- element-rename-nonterminal
+ rename-nonterminal
renameN-example
@@ -178,7 +178,7 @@
- element-rename
+ rename
@@ -218,11 +218,11 @@
renameS
- element-rename-selector
+ rename-selector
syntax
- element-rename-selector
+ rename-selector
Selectors can also be renamed by a semantic preserving grammar transformation that is
@@ -239,7 +239,7 @@
Given the input:
- element-rename-selector
+ rename-selector
renameS-example
@@ -268,7 +268,7 @@
- element-rename
+ rename
@@ -296,11 +296,11 @@
renameT
- element-rename-terminal
+ rename-terminal
syntax
- element-rename-terminal
+ rename-terminal
Renaming terminals breaks string-oriented (concrete) semantics, but is still possible.
@@ -317,7 +317,7 @@
Given the input:
- element-rename-terminal
+ rename-terminal
renameT-example
@@ -347,7 +347,7 @@
- element-strip
+ strip
\ No newline at end of file
diff --git a/topics/languedoc/xbgf/xldf/completeRefSection.xldf b/topics/languedoc/xbgf/xldf/completeRefSection.xldf
index 9f853f2a..a3790cda 100644
--- a/topics/languedoc/xbgf/xldf/completeRefSection.xldf
+++ b/topics/languedoc/xbgf/xldf/completeRefSection.xldf
@@ -1,5 +1,6 @@
Other refactoring transformations
-
- group-refactoring-transformation
+
+ refactoring-transformation
- element-massage
+ massage
The massage relation is defined as follows. First of all, a choice of any two
@@ -29,122 +30,407 @@
- |
- |
-
- \varepsilon
- |
-
- x
- |
-
- x?
- |
-
- x^+
- |
-
- x^\star
+
+
+
+ |
+
+
+
+ |
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ x
+
+
+
+ |
+
+
+
+
+ x
+ ?
+
+
+
+ |
+
+
+
+
+
+ x
+ +
+
+
+
+
+ |
+
+
+
+
+
+ x
+ *
+
+
+
+
|
- \varepsilon
- |
-
- (\varepsilon)
- |
-
- x?
- |
-
- x?
- |
-
- x^\star
- |
-
- x^\star
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+ |
+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+
+
|
- x^\star
- |
-
- x^+
- |
-
- x^\star
- |
-
- x^+
- |
-
- x^\star
+
+
+
+
+ x
+ *
+
+
+
+
+ |
+
+
+
+
+
+ x
+ +
+
+
+
+
+ |
+
+
+
+
+
+ x
+ *
+
+
+
+
+ |
+
+
+
+
+
+ x
+ +
+
+
+
+
+ |
+
+
+
+
+
+ x
+ *
+
+
+
+
|
Associativity rules for massage:
- x (yx)? = (xy)? x
- x (yx)^+ = (xy)^+ x
- x (yx)^\star = (xy)^\star x
+
+
+
+
+
+ x
+
+ y
+ x
+
+ ?
+
+ =
+
+
+ x
+ y
+
+ ?
+ x
+
+
+
+
+
+
+
+
+
+ x
+
+
+ y
+ x
+
+ +
+
+
+ =
+
+
+
+ x
+ y
+
+ +
+
+ x
+
+
+
+
+
+
+
+
+
+ x
+
+
+ y
+ x
+
+ *
+
+
+ =
+
+
+
+ x
+ y
+
+ *
+
+ x
+
+
+
+
@@ -318,11 +959,131 @@
Distributivity rules for optionality modifier such as these:
- (x? y?)? = x? y?
- (x^\star y?)? = x^\star y?
- (x? y^\star)? = x? y^\star
- (x^\star y^\star)? = x^\star y^\star
- (x | y)? = x? | y?
+
+
+
+
+
+ x
+ ?
+ y
+ ?
+
+ ?
+
+ =
+
+ x
+ ?
+ y
+ ?
+
+
+
+
+
+
+
+
+
+ x
+ *
+
+ y
+ ?
+
+ ?
+
+ =
+
+
+ x
+ *
+
+ y
+ ?
+
+
+
+
+
+
+
+
+ x
+ ?
+
+ y
+ *
+
+
+ ?
+
+ =
+
+ x
+ ?
+
+ y
+ *
+
+
+
+
+
+
+
+
+
+
+ x
+ *
+
+
+ y
+ *
+
+
+ ?
+
+ =
+
+
+ x
+ *
+
+
+ y
+ *
+
+
+
+
+
+
+
+
+
+ x
+ |
+ y
+
+ ?
+
+ =
+
+
+ x
+ ?
+
+ |
+
+ y
+ ?
+
+
+
+
are not explicitly covered by massage since it is
possible to emulate them with a sequence of abovementioned patterns of
@@ -333,7 +1094,7 @@
- element-massage
+ massage
massage-example
@@ -373,8 +1134,8 @@
-
- group-refactoring-transformation
+
+ refactoring-transformation
@@ -392,7 +1153,7 @@
- element-distribute
+ distribute
@@ -400,7 +1161,7 @@
For instance,
- element-distribute
+ distribute
distribute-example
@@ -429,8 +1190,8 @@
-
- group-refactoring-transformation
+
+ refactoring-transformation
@@ -457,7 +1218,7 @@
- element-factor
+ factor
@@ -465,7 +1226,7 @@
For instance,
- element-factor
+ factor
factor-example
@@ -494,11 +1255,11 @@
-
- group-refactoring-transformation
+
+ refactoring-transformation
- element-deyaccify
+ deyaccify
Deyaccification uses several general patterns. Left recursion like this:
@@ -506,11 +1267,11 @@
- element-deyaccify
+ deyaccify
../../transformation/xbgf/tests/deyaccify_left.bgf
- element-deyaccify
+ deyaccify
Becomes:
@@ -518,11 +1279,11 @@
- element-deyaccify
+ deyaccify
../../transformation/xbgf/tests/deyaccify_left.baseline
- element-deyaccify
+ deyaccify
Right recursion like this:
@@ -530,11 +1291,11 @@
- element-deyaccify
+ deyaccify
../../transformation/xbgf/tests/deyaccify_right.bgf
- element-deyaccify
+ deyaccify
Becomes:
@@ -542,11 +1303,11 @@
- element-deyaccify
+ deyaccify
../../transformation/xbgf/tests/deyaccify_right.baseline
- element-deyaccify
+ deyaccify
In either case, it is checked if bar and wez are the same nonterminal.
@@ -555,13 +1316,13 @@
- element-deyaccify
+ deyaccify
../../transformation/xbgf/tests/deyaccify_right_plus.baseline
-
- group-refactoring-transformation
+
+ refactoring-transformation
@@ -583,7 +1344,7 @@
- element-yaccify
+ yaccify
@@ -591,7 +1352,7 @@
For instance, this piece of grammar:
- element-yaccify
+ yaccify
yaccify-example
@@ -641,8 +1402,8 @@
-
- group-refactoring-transformation
+
+ refactoring-transformation
@@ -650,7 +1411,7 @@
For instance,
- element-eliminate
+ eliminate
eliminate-example
@@ -679,8 +1440,8 @@
-
- group-refactoring-transformation
+
+ refactoring-transformation
@@ -688,7 +1449,7 @@
For instance,
- element-introduce
+ introduce
introduce-example
@@ -717,8 +1478,8 @@
-
- group-refactoring-transformation
+
+ refactoring-transformation
@@ -739,7 +1500,7 @@
- element-import
+ import
@@ -747,7 +1508,7 @@
For instance,
- element-import
+ import
import-example
@@ -776,8 +1537,8 @@
-
- group-refactoring-transformation
+
+ refactoring-transformation
@@ -785,7 +1546,7 @@
If the original production contained selectors:
- element-vertical
+ vertical
vertical-example
@@ -814,8 +1575,8 @@
-
- group-refactoring-transformation
+
+ refactoring-transformation
@@ -823,7 +1584,7 @@
If some or all of the original productions are labelled:
- element-horizontal
+ horizontal
horizontal-example
@@ -852,8 +1613,8 @@
-
- group-refactoring-transformation
+
+ refactoring-transformation
@@ -861,7 +1622,7 @@
For instance,
- element-rassoc
+ rassoc
rassoc-example
@@ -890,8 +1651,8 @@
-
- group-refactoring-transformation
+
+ refactoring-transformation
@@ -899,7 +1660,7 @@
For instance,
- element-lassoc
+ lassoc
lassoc-example
@@ -928,7 +1689,7 @@
- group-refactoring-transformation
+ refactoring-transformation
syntax
synopsis
diff --git a/topics/languedoc/xbgf/xldf/completeRevSections.xldf b/topics/languedoc/xbgf/xldf/completeRevSections.xldf
index 23212858..2e5d9d8d 100644
--- a/topics/languedoc/xbgf/xldf/completeRevSections.xldf
+++ b/topics/languedoc/xbgf/xldf/completeRevSections.xldf
@@ -7,7 +7,7 @@
- element-define
+ define
define
@@ -38,7 +38,7 @@
- element-inject
+ inject
inject
@@ -65,7 +65,7 @@
- element-project
+ project
project
@@ -92,7 +92,7 @@
- element-redefine
+ redefine
redefine
@@ -123,7 +123,7 @@
- element-replace
+ replace
replace
@@ -174,11 +174,11 @@
-
- group-concrete-revising-transformation
+
+ concrete-revising-transformation
- element-abstractize
+ abstractize
marked-production
@@ -194,7 +194,7 @@
Given the input:
- element-abstractize
+ abstractize
abstractize-example
@@ -223,11 +223,11 @@
-
- group-concrete-revising-transformation
+
+ concrete-revising-transformation
- element-concretize
+ concretize
marked-production
@@ -243,7 +243,7 @@
Given the input:
- element-concretize
+ concretize
concretize-example
@@ -272,8 +272,8 @@
-
- group-concrete-revising-transformation
+
+ concrete-revising-transformation
@@ -282,7 +282,7 @@
Given the input:
- element-permute
+ permute
permute-example
@@ -319,26 +319,26 @@
-
- group-abstract-revising-transformation
+
+ abstract-revising-transformation
-
- group-abstract-revising-transformation
+
+ abstract-revising-transformation
-
- group-abstract-revising-transformation
+
+ abstract-revising-transformation
-
- group-abstract-revising-transformation
+
+ abstract-revising-transformation
- element-inject
+ inject
marked-production
@@ -354,7 +354,7 @@
Given the input:
- element-inject
+ inject
inject-example
@@ -384,11 +384,11 @@
-
- group-abstract-revising-transformation
+
+ abstract-revising-transformation
- element-project
+ project
marked-production
@@ -404,7 +404,7 @@
Given the input:
- element-project
+ project
project-example
@@ -433,8 +433,8 @@
-
- group-abstract-revising-transformation
+
+ abstract-revising-transformation
@@ -446,7 +446,7 @@
- element-replace
+ replace
replace-example
@@ -475,12 +475,12 @@
- group-concrete-revising-transformation
+ concrete-revising-transformation
syntax
synopsis
- group-abstract-revising-transformation
+ abstract-revising-transformation
syntax
synopsis
diff --git a/topics/languedoc/xldf/xldf.xldf b/topics/languedoc/xldf/xldf.xldf
index 8435357d..d4adc10b 100644
--- a/topics/languedoc/xldf/xldf.xldf
+++ b/topics/languedoc/xldf/xldf.xldf
@@ -12,8 +12,8 @@
xldf/renameStr.xldf
-
- element-insert
+
+ insert
\ No newline at end of file
diff --git a/topics/languedoc/xldf/xldf/dropLdf.xldf b/topics/languedoc/xldf/xldf/dropLdf.xldf
index ce957544..a58f2ff9 100644
--- a/topics/languedoc/xldf/xldf/dropLdf.xldf
+++ b/topics/languedoc/xldf/xldf/dropLdf.xldf
@@ -3,82 +3,79 @@
xmlns:xldf="http://planet-sl.org/xldf">
-
+
- complexType-listOfInternalLinks
+
-
+
-
+
-
+
-
+
-
+
-
+
- complexType-simpleSection
+
- complexType-structuredSection
+
- group-structuredSectionElement
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
+
-
+
\ No newline at end of file
diff --git a/topics/languedoc/xldf/xldf/dropXbgf.xldf b/topics/languedoc/xldf/xldf/dropXbgf.xldf
index 1feb723c..e5b525ee 100644
--- a/topics/languedoc/xldf/xldf/dropXbgf.xldf
+++ b/topics/languedoc/xldf/xldf/dropXbgf.xldf
@@ -3,175 +3,175 @@
xmlns:xldf="http://planet-sl.org/xldf">
-
+
-
+
-
+
- group-folding-transformation
+
- group-refactoring-transformation
+ refactoring-transformation
- group-increasing-transformation
+ increasing-transformation
- group-decreasing-transformation
+ decreasing-transformation
- group-concrete-revising-transformation
+ concrete-revising-transformation
- group-abstract-revising-transformation
+ abstract-revising-transformation
- group-decorative-transformation
+ decorative-transformation
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
\ No newline at end of file
diff --git a/topics/languedoc/xldf/xldf/renameStr.xldf b/topics/languedoc/xldf/xldf/renameStr.xldf
index 047e435b..028aba89 100644
--- a/topics/languedoc/xldf/xldf/renameStr.xldf
+++ b/topics/languedoc/xldf/xldf/renameStr.xldf
@@ -5,7 +5,7 @@
xmlns:xldf="http://planet-sl.org/xldf">
- element-add-figure
+ add-figure
string
@@ -16,7 +16,7 @@
- element-add-subsection
+ add-subsection
string
@@ -27,7 +27,7 @@
- element-combine
+ combine
string
@@ -38,7 +38,7 @@
- element-drop
+ drop
string
@@ -49,7 +49,7 @@
- element-extract-subsection
+ extract-subsection
string
@@ -78,7 +78,7 @@
- element-import-grammar
+ import-grammar
@@ -99,7 +99,7 @@
- element-import-sample
+ import-sample
@@ -120,7 +120,7 @@
- element-place
+ place
string
@@ -131,7 +131,7 @@
- element-retitle
+ retitle
@@ -152,7 +152,7 @@
- element-remove-section
+ remove-section
string
@@ -163,7 +163,7 @@
- element-transform-grammar
+ transform-grammar
string
@@ -174,7 +174,7 @@
- group-relative
+ relative
string
@@ -187,8 +187,8 @@
-
- element-change-role
+
+ change-role
\ No newline at end of file