From 2d094b9be9d148ffe7b14c0c5ba5d11c4e1c7fb8 Mon Sep 17 00:00:00 2001 From: grammarware Date: Wed, 6 Aug 2008 14:52:43 +0000 Subject: [PATCH] lift /configuration/source/extraction/arguments/argument* to /configuration/source/extraction/argument* git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@144 ab42f6e0-554d-0410-b580-99e487e6eeb2 --- shared/xsd/lcf.xsd | 16 ++----- topics/convergence/lci/lci.py | 2 +- topics/fl/lci/fl.lcf | 88 ++++++++++++++++------------------- 3 files changed, 45 insertions(+), 61 deletions(-) diff --git a/shared/xsd/lcf.xsd b/shared/xsd/lcf.xsd index 1e8398d9..26f8dd90 100644 --- a/shared/xsd/lcf.xsd +++ b/shared/xsd/lcf.xsd @@ -35,7 +35,7 @@ A shortcut in LCF is just a simple macro. If binds a longer definition to a concise name. For example, a path with long directory names that is used multiple times in the LCF document is a good shortcut. - + @@ -87,16 +87,10 @@ - - + + - - - - - - - + @@ -146,7 +140,7 @@ A performed action must reside in an external XBGF file that contains a sequence of atomic grammar transformations grouped by one theme. - + Performing a chain of actions is a way to get from sources and intermediate targets to one final target. diff --git a/topics/convergence/lci/lci.py b/topics/convergence/lci/lci.py index 134939cc..c0c5180c 100755 --- a/topics/convergence/lci/lci.py +++ b/topics/convergence/lci/lci.py @@ -35,7 +35,7 @@ def readxmlconfig (cfg): # sources for outline in config.findall('//source'): args = [expandxml(outline.findall('extraction/name')[0],{})] - for arg in outline.findall('extraction/arguments/argument'): + for arg in outline.findall('extraction/argument'): args.append(expandxml(arg,{})) sources[outline.findtext('name')]=args pcmd = ecmd = '' diff --git a/topics/fl/lci/fl.lcf b/topics/fl/lci/fl.lcf index 97abc7cd..9dcb4173 100644 --- a/topics/fl/lci/fl.lcf +++ b/topics/fl/lci/fl.lcf @@ -15,7 +15,7 @@ - + validation java -jar slps/download/msv/msv.jar slps/shared/xsd/bgf.xsd @@ -31,7 +31,7 @@ testset tools/ldf2samples fl/ldf/fl.ldf - + transformation @@ -39,21 +39,19 @@ tools/xbgf - + antlr tools/antlr2bgf - - - fl/java1/FL.g - - - antlr.bgf - - + + fl/java1/FL.g + + + antlr.bgf + @@ -72,14 +70,12 @@ tools/dcg2bgf - - - fl/prolog/Parser.pro - - - dcg.bgf - - + + fl/prolog/Parser.pro + + + dcg.bgf + @@ -98,17 +94,15 @@ tools/java2bgf - - - fl/java1 - - - types - - - om.bgf - - + + fl/java1 + + + types + + + om.bgf + @@ -117,14 +111,12 @@ tools/xsd2bgf - - - fl/xsd/fl.xsd - - - xsd.bgf - - + + fl/xsd/fl.xsd + + + xsd.bgf + @@ -133,17 +125,15 @@ tools/java2bgf - - - fl/java3 - - - fl - - - jaxb.bgf - - + + fl/java3 + + + fl + + + jaxb.bgf +