Permalink
Browse files

small fixes everywhere: cleaning up legacy!

git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@778 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information...
grammarware committed Feb 25, 2010
1 parent 03610f2 commit 92b35574c84dce5eb1301ec1e2a29ff1e5e2fb3e
@@ -182,9 +182,12 @@ guessLabel({cons(&I1)}) = <label>idcon2chardata(&I1)</label>
[cons-to-label-cons-etc]
guessLabel({cons(&I1),&Acs2}) = <label>idcon2chardata(&I1)</label>
[cons-to-label-empty]
[cons-to-label-empty-1]
guessLabel() =
[cons-to-label-empty-2]
guessLabel({}) =
[default-cons-to-label-no-cons]
guessLabel({&A1}) =
View
@@ -5,7 +5,6 @@ build:
test:
${tools}/lci fl.lcf architecture
@rm -f architecture*.dot
check:
${validator} lcf fl.lcf
@@ -1,14 +1,20 @@
validator = ../../../shared/tools/checkxml
build: tex
build: tex html
pdflatex -interaction=batchmode bgf
pdflatex -interaction=batchmode bgf
tex:
ldf:
../../../shared/tools/xsd2ldf ../../../shared/xsd/bgf.xsd bgf.ldf
../../../shared/tools/xldf bgf.xldf bgf.ldf bgf.ready.ldf
tex: ldf
../../../shared/tools/ldf2tex bgf.ready.ldf bgf.tex
html: ldf
../../../shared/tools/repp bgf.ready.ldf ../../../shared/tools/xbgf2html bgf.hyper.ldf
../../../shared/tools/ldf2html bgf.hyper.ldf bgf.html
rebuild:
make clean
make build
@@ -1,14 +1,20 @@
validator = ../../../shared/tools/checkxml
build: tex
build: tex html
pdflatex -interaction=batchmode lcf
pdflatex -interaction=batchmode lcf
tex:
ldf:
../../../shared/tools/xsd2ldf ../../../shared/xsd/lcf.xsd lcf.ldf
../../../shared/tools/xldf lcf.xldf lcf.ldf lcf.ready.ldf
tex: ldf
../../../shared/tools/ldf2tex lcf.ready.ldf lcf.tex
html: ldf
../../../shared/tools/repp lcf.ready.ldf ../../../shared/tools/xbgf2html lcf.hyper.ldf
../../../shared/tools/ldf2html lcf.hyper.ldf lcf.html
rebuild:
make clean
make build
@@ -29,7 +29,9 @@
<xbgf:unlabel>
<label>testset</label>
</xbgf:unlabel>
<xbgf:horizontal>definition</xbgf:horizontal>
<xbgf:horizontal>
<nonterminal>definition</nonterminal>
</xbgf:horizontal>
</xldf:transformGrammar>
<xldf:combine>
<section>definition</section>
@@ -1,14 +1,20 @@
validator = ../../../shared/tools/checkxml
build: tex
build: tex html
pdflatex -interaction=batchmode ldf
pdflatex -interaction=batchmode ldf
tex:
ldf:
../../../shared/tools/xsd2ldf ../../../shared/xsd/ldf.xsd ldf.ldf prepare.xbgf
../../../shared/tools/xldf ldf.xldf ldf.ldf ldf.ready.ldf
tex: ldf
../../../shared/tools/ldf2tex ldf.ready.ldf ldf.tex
html: ldf
../../../shared/tools/repp ldf.ready.ldf ../../../shared/tools/xbgf2html ldf.hyper.ldf
../../../shared/tools/ldf2html ldf.hyper.ldf ldf.html
rebuild:
make clean
make build
@@ -326,7 +326,7 @@
</xldf:importSample>
<xldf:addFigure>
<figure>
<shortcaption>Full convergence diagram for BNF and BGF.</shortcaption>
<shortcaption>Full convergence diagram for BNF and BGF</shortcaption>
<caption>
Full convergence diagram for BNF and BGF. The top nodes are sources, the bottom node
is the target, the arc labels are separate XBGF scripts, the nodes contain
@@ -1,14 +1,20 @@
validator = ../../../shared/tools/checkxml
build: tex
build: tex html
pdflatex -interaction=batchmode xldf
pdflatex -interaction=batchmode xldf
tex:
ldf:
../../../shared/tools/xsd2ldf ../../../shared/xsd/xldf.xsd xldf.ldf
../../../shared/tools/xldf xldf.xldf xldf.ldf xldf.ready.ldf
tex: ldf
../../../shared/tools/ldf2tex xldf.ready.ldf xldf.tex
html: ldf
../../../shared/tools/repp xldf.ready.ldf ../../../shared/tools/xbgf2html xldf.hyper.ldf
../../../shared/tools/ldf2html xldf.hyper.ldf xldf.html
rebuild:
make clean
make build
@@ -24,4 +24,8 @@ grammars/Final.lll: grammars/WithExpression.lll trafo/modularise.trafo
$(FST) trafo/modularise.trafo grammars/WithExpression.lll > $@
clean:
rm -f *.lll grammars/*.lll sdf/GEN-*.sdf doc/*.html
rm -f *.lll grammars/*.lll sdf/GEN-*.sdf doc/*.html
count:
@cat trafo/*.trafo | grep -v '#%' | grep -v '"%"' | grep -v "%to" | grep -c '%'
@@ -1,22 +1,21 @@
module ExpressionPriorities
imports GEN-csharp-Default
exports
context-free priorities
Unary-expression -> Expression >
{left: Expression "*" Expression -> Expression
Expression "/" Expression -> Expression
Expression "%" Expression -> Expression} >
{left: Expression Plus Expression -> Expression
Expression Minus Expression -> Expression} >
Expression Expression-shift-operator Expression -> Expression >
{Expression Expression-relational-operator Expression -> Expression
Expression "is" Built-in-type -> Expression} >
Expression Expression-equality-operator Expression -> Expression >
Expression Ampersand Expression -> Expression >
Expression "^" Expression -> Expression >
Expression Bar Expression -> Expression >
Expression "&&" Expression -> Expression >
Expression "||" Expression -> Expression >
Expression "?" Expression ":" Expression -> Expression
Unary-expression -> Expression >
{left: Expression "*" Expression -> Expression
Expression "/" Expression -> Expression
Expression "%" Expression -> Expression} >
{left: Expression Plus Expression -> Expression
Expression Minus Expression -> Expression} >
Expression Expression-shift-operator Expression -> Expression >
{Expression Expression-relational-operator Expression -> Expression
Expression "is" Built-in-type -> Expression} >
Expression Expression-equality-operator Expression -> Expression >
Expression Ampersand Expression -> Expression >
Expression "^" Expression -> Expression >
Expression Bar Expression -> Expression >
Expression "&&" Expression -> Expression >
Expression "||" Expression -> Expression >
Expression "?" Expression ":" Expression -> Expression
@@ -1,10 +1,10 @@
module UnaryExpressionPriorities
imports GEN-csharp-Default
exports
context-free priorities
Primary-expression -> Unary-expression >
{non-assoc: Expression-unary-operator Unary-expression -> Unary-expression
"(" Type ")" Unary-expression -> Unary-expression}
Primary-expression -> Unary-expression >
{non-assoc:
Expression-unary-operator Unary-expression -> Unary-expression
(" Type ")" Unary-expression -> Unary-expression}

0 comments on commit 92b3557

Please sign in to comment.