Skip to content

Commit

Permalink
updated sliced LCF for FL; foreword a bit extended in XBGF
Browse files Browse the repository at this point in the history
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@677 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information
grammarware committed Aug 9, 2009
1 parent eee74db commit d75988f
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 14 deletions.
6 changes: 5 additions & 1 deletion shared/xsd/xbgf.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
BGF transformation operator suite
</xsd:documentation>
<xsd:documentation>
This chapter describes the transformational suite for BGF and all the details about it.
This chapter describes the transformational suite for BGF and all the details about it.
Most of the information present here is located in the XML Schema definition of the
language, part of the SLPS project. The rest was introduced by the language documentation
transformation commands in the process of automated generation of the manual in its
present form.
</xsd:documentation>
</xsd:annotation>

Expand Down
80 changes: 67 additions & 13 deletions topics/fl/lci-sliced/fl.lcf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
<expand>slps</expand>/shared/wrappers
</expansion>
</shortcut>
<shortcut>
<name>generators</name>
<expansion>
<expand>slps</expand>/shared/generators
</expansion>
</shortcut>

<tool>
<name>validation</name>
Expand Down Expand Up @@ -50,19 +56,25 @@
<generator>
<name>case</name>
<command>
<expand>tools</expand>/casexbgf 3
<expand>generators</expand>/casexbgf 3
</command>
</generator>
<generator>
<name>stript</name>
<command>
<expand>tools</expand>/striptxbgf
<expand>generators</expand>/striptxbgf
</command>
</generator>
<generator>
<name>strips</name>
<command>
<expand>tools</expand>/stripsxbgf
<expand>generators</expand>/stripsxbgf
</command>
</generator>
<generator>
<name>reroot2top</name>
<command>
<expand>generators</expand>/reroot2top
</command>
</generator>

Expand Down Expand Up @@ -128,6 +140,37 @@
</testing>
</source>

<source>
<name>txl</name>
<grammar>
<extraction>
<expand>tools</expand>/txl2bgf <expand>fl</expand>/txl/FL.Txl
</extraction>
</grammar>
</source>

<source>
<name>ecore</name>
<grammar>
<extraction>
<expand>tools</expand>/ecore2bgf <expand>fl</expand>/emf1/fl.ecore
</extraction>
</grammar>
</source>

<source>
<name>ecore2</name>
<derived>
<from>xsd</from>
<using>xsd2ecore</using>
</derived>
<grammar>
<extraction>
<expand>tools</expand>/ecore2bgf <expand>fl</expand>/emf2/model/fl.ecore
</extraction>
</grammar>
</source>

<source>
<name>xsd</name>
<grammar>
Expand Down Expand Up @@ -162,6 +205,10 @@

<source>
<name>jaxb</name>
<derived>
<from>xsd</from>
<using>xjc</using>
</derived>
<grammar>
<extraction>
<expand>tools</expand>/java2bgf <expand>fl</expand>/java3 fl
Expand All @@ -171,19 +218,26 @@



<target><name>topdown</name>
<branch><input>dcg</input>
</branch><branch><input>antlr</input>
<normalizing><perform>normalize-antlr-topdown</perform></normalizing><structural-matching><perform>preferDcg-1</perform><perform>preferDcg-2</perform><perform>preferDcg-3</perform><perform>preferDcg-4</perform><perform>preferDcg-5</perform><perform>preferDcg-6</perform><perform>preferDcg-7</perform><perform>preferDcg-8</perform><perform>preferDcg-9</perform><perform>preferDcg-10</perform><perform>preferDcg-11</perform></structural-matching></branch></target><target><name>concrete</name>
<branch><input>topdown</input>
<structural-matching><perform>removeLayers-1</perform><perform>removeLayers-2</perform></structural-matching></branch><branch><input>sdf</input>
<normalizing><perform>normalize-sdf-concrete</perform></normalizing></branch></target><target><name>java</name>
<target><name>topdown</name>
<branch><input>dcg</input>
</branch><branch><input>antlr</input>
<normalizing><perform>normalize-antlr-topdown</perform></normalizing><structural-matching><perform>preferDcg-1</perform><perform>preferDcg-2</perform><perform>preferDcg-3</perform><perform>preferDcg-4</perform><perform>preferDcg-5</perform><perform>preferDcg-6</perform><perform>preferDcg-7</perform><perform>preferDcg-8</perform><perform>designateOps-1</perform><perform>designateOps-2</perform><perform>designateOps-3</perform></structural-matching></branch></target><target><name>xframeworks</name>
<branch><input>sdf</input>
<normalizing><perform>normalize-sdf-xframeworks</perform></normalizing></branch><branch><input>txl</input>
<normalizing><perform>normalize-txl-xframeworks</perform></normalizing><structural-matching><perform>preferSdf-1</perform><perform>preferSdf-2</perform><perform>preferSdf-3</perform><perform>preferSdf-4</perform><perform>preferSdf-5</perform><perform>preferSdf-6</perform><perform>preferSdf-7</perform><perform>designateOps-1</perform><perform>designateOps-2</perform><perform>designateOps-3</perform></structural-matching><relaxation><perform>multipleNewlines-1</perform></relaxation></branch></target><target><name>concrete</name>
<branch><input>topdown</input>
<structural-matching><perform>removeLayers-1</perform><perform>removeLayers-2</perform></structural-matching></branch><branch><input>xframeworks</input>
</branch></target><target><name>model</name>
<branch><input>ecore</input>
<normalizing><perform>normalize-ecore-model</perform></normalizing><structural-matching><perform>extractOps-1</perform><perform>extractOps-2</perform><perform>extractOps-3</perform><perform>extractOps-4</perform><perform>extractOps-5</perform><perform>extractOps-6</perform><perform>extractOps-7</perform><perform>extractOps-8</perform><perform>extractOps-9</perform></structural-matching><relaxation><perform>resolveAggregation-1</perform></relaxation></branch><branch><input>ecore2</input>
<normalizing><perform>normalize-ecore2-model</perform></normalizing></branch><branch><input>xsd</input>
<normalizing><perform>normalize-xsd-model</perform></normalizing></branch></target><target><name>java</name>
<branch><input>jaxb</input>
<normalizing><perform>normalize-jaxb-java</perform></normalizing></branch><branch><input>om</input>
<normalizing><perform>normalize-om-java</perform></normalizing></branch></target><target><name>abstract</name>
<branch><input>java</input>
<normalizing><perform>normalize-java-abstract</perform></normalizing><structural-matching><perform>unerase-1</perform><perform>unerase-2</perform><perform>unerase-3</perform><perform>unerase-4</perform><perform>unerase-5</perform><perform>unerase-6</perform></structural-matching></branch><branch><input>xsd</input>
<normalizing><perform>normalize-xsd-abstract</perform></normalizing><structural-matching><perform>massageXsd-1</perform><perform>massageXsd-2</perform><perform>massageXsd-3</perform></structural-matching></branch></target><target><name>limit</name>
<structural-matching><perform>unerase-1</perform><perform>unerase-2</perform><perform>unerase-3</perform><perform>unerase-4</perform><perform>unerase-5</perform><perform>unerase-6</perform><perform>reroot-lower-1</perform></structural-matching></branch><branch><input>model</input>
<normalizing><perform>normalize-model-abstract</perform></normalizing><structural-matching><perform>massage-model-1</perform><perform>massage-model-2</perform><perform>massage-model-3</perform></structural-matching></branch></target><target><name>limit</name>
<branch><input>concrete</input>
<normalizing><perform>normalize-concrete-limit</perform></normalizing><structural-matching><perform>defineLex-1</perform><perform>defineLex-2</perform><perform>defineLex-3</perform><perform>defineLex-4</perform><perform>stripTerminals-1</perform><perform>stripTerminals-2</perform><perform>stripTerminals-3</perform><perform>stripTerminals-4</perform><perform>stripTerminals-5</perform><perform>stripTerminals-6</perform><perform>stripNewline-1</perform><perform>stripNewline-2</perform><perform>permuteArgs-1</perform></structural-matching></branch><branch><input>abstract</input>
<structural-matching><perform>reroot-lower-1</perform><perform>defineLex-1</perform><perform>defineLex-2</perform><perform>defineLex-3</perform><perform>defineLex-4</perform><perform>stripTerminals-1</perform><perform>stripTerminals-2</perform><perform>stripTerminals-3</perform><perform>stripTerminals-4</perform><perform>stripTerminals-5</perform><perform>stripTerminals-6</perform><perform>stripNewline-1</perform><perform>stripNewline-2</perform><perform>permuteArgs-1</perform></structural-matching></branch><branch><input>abstract</input>
<structural-matching><perform>makeSignature-1</perform><perform>makeSignature-2</perform><perform>makeSignature-3</perform><perform>makeSignature-4</perform><perform>makeSignature-5</perform><perform>makeSignature-6</perform><perform>makeSignature-7</perform><perform>stripSelectors-1</perform><perform>stripSelectors-2</perform><perform>stripSelectors-3</perform><perform>stripSelectors-4</perform><perform>stripSelectors-5</perform><perform>stripSelectors-6</perform><perform>stripSelectors-7</perform></structural-matching></branch></target></lcf:configuration>

0 comments on commit d75988f

Please sign in to comment.