Skip to content

Commit

Permalink
all Python code together
Browse files Browse the repository at this point in the history
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@612 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information
grammarware committed Apr 27, 2009
1 parent cf17e9b commit 08e98db
Show file tree
Hide file tree
Showing 8 changed files with 509 additions and 512 deletions.
File renamed without changes.
507 changes: 13 additions & 494 deletions shared/python/xldf.py

Large diffs are not rendered by default.

480 changes: 480 additions & 0 deletions shared/python/xldfCommands.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion shared/tools/extractover
Expand Up @@ -7,5 +7,5 @@ cd ../..
SLPS=${PWD}
cd ${LOCAL1}

python ${SLPS}/topics/presentation/metrics/extractor_overview.py $1 $2 `dirname $1`
python ${SLPS}/shared/python/extractor_overview.py $1 $2 `dirname $1`
rm -f *.data
9 changes: 0 additions & 9 deletions topics/presentation/ldf2pdf/Makefile

This file was deleted.

2 changes: 0 additions & 2 deletions topics/presentation/ldf2pdf/README.txt

This file was deleted.

9 changes: 9 additions & 0 deletions topics/presentation/prettyprint/README.txt
@@ -0,0 +1,9 @@
The actual pretty-printer is located at:
(SLPS)/shared/xsl/bgf2bnf.xslt core for BGF pretty-printer
(SLPS)/shared/xsl/xbgf2xbnf.xslt core for XBGF pretty-printer
(SLPS)/shared/xsl/ldf2tex.xslt core for LDF pretty-printer
(SLPS)/shared/python/pp_pp.py pretty-printer post-processor
(SLPS)/shared/xsl/ldf2xhtml.xslt obsolete part for pretty-printing to HTML
(SLPS)/shared/xsl/xhtml2fo.xslt obsolete way to make an ugly PDF out of HTML

This directory contains a set up for converging the concrete syntax of the pretty-printer's output format with the abstract syntax of BGF schema.
12 changes: 6 additions & 6 deletions topics/presentation/prettyprint/bnf.lcf
Expand Up @@ -65,24 +65,24 @@
<name>grammarFormat</name>
<branch>
<input>bgf</input>
<synchronization>
<namematching>
<perform>renameBgf</perform>
</synchronization>
<transformation>
</namematching>
<relaxation>
<perform>preferBnf</perform>
</transformation>
</relaxation>
</branch>
<branch>
<input>bnf</input>
<transformation>
<refactoring>
<perform>stripWhitespace</perform>
<perform>designate</perform>
<automated>
<method>stript</method>
<result>stripTerminals</result>
</automated>
<perform>refactorBnf</perform>
</transformation>
</refactoring>
</branch>
</target>

Expand Down

0 comments on commit 08e98db

Please sign in to comment.