Skip to content

Commit

Permalink
launch!
Browse files Browse the repository at this point in the history
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@1014 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information
grammarware committed Apr 14, 2011
1 parent 7f5fa0f commit 8ff16b1
Show file tree
Hide file tree
Showing 2 changed files with 129 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Makefile
Expand Up @@ -10,6 +10,10 @@ clean:
rm -f *~ zoo/*/*

build:
make zooprj
make testmatchprj

zooprj:
make -f _dev/Makefile.c.zoo
make -f _dev/Makefile.cpp.zoo
make -f _dev/Makefile.csharp.zoo
Expand All @@ -18,5 +22,12 @@ build:
xsltproc --stringparam date `date +"%d/%m/%Y"` ../shared/xsl/zoo2xhtml.xslt _dev/config.zoo > zoo/index.html
xsltproc ../shared/xsl/links2html.xslt _dev/java-grammars.xml | python ../shared/python/closemeta.py > zoo/java/links.html

testmatchprj:
bgf2html ../topics/testing/gbtf/tests/java/habelitz.bgf testmatch/habelitz.html
bgf2html ../topics/testing/gbtf/tests/java/parr.bgf testmatch/parr.html
bgf2html ../topics/testing/gbtf/tests/java/stahl.bgf testmatch/stahl.html
bgf2html ../topics/testing/gbtf/tests/java/studman.bgf testmatch/studman.html
#xsltproc ../shared/xsl/links2html.xslt _dev/testmatch.xml | python ../shared/python/closemeta.py > testmatch/index.html

test:
xmllint --noout --schema ../shared/xsd/links.xsd _dev/java-grammars.xml
xmllint --noout --schema ../shared/xsd/links.xsd _dev/*.xml
117 changes: 117 additions & 0 deletions testmatch/index.html
@@ -0,0 +1,117 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Software Language Processing Suite: TestMatch</title>
<link href="../slps.css" rel="stylesheet" type="text/css" />
</head>
<body style="background-color:#9C9;">
<h1>
Software Language Processing Suite
</h1>
<h2>
Comparison of Context-free Grammars<br/>
Based on Test-data Generation and Parsing<br/>
[page under construction]
</h2>
<ul>
<li>
ANTLR⇒BGF extraction:
<ul>
<li>
<a href="http://slps.svn.sourceforge.net/viewvc/slps/topics/extraction/antlr/ANTLR2.rsc?view=markup">ANTLR2 grammar</a> (Rascal)
</li>
<li>
<a href="http://slps.svn.sourceforge.net/viewvc/slps/topics/extraction/antlr/ANTLR3.rsc?view=markup">ANTLR3 grammar</a> (Rascal)
</li>
<li>
<a href="http://slps.svn.sourceforge.net/viewvc/slps/topics/extraction/antlr/antlrstrip.py?view=markup">ANTLR stripping transformation</a> (±legacy Python)
</li>
<li>
<a href="http://slps.svn.sourceforge.net/viewvc/slps/topics/extraction/antlr/antlrpp.py?view=markup">ANTLR pretty-printer</a> (Python)
</li>
<li>
<a href="http://slps.svn.sourceforge.net/viewvc/slps/topics/extraction/antlr/slps/antlr2bgf/StrippedANTLR.g?view=markup">Stripped ANTLR specification and its mapping to BGF</a> (ANTLR3)
</li>
</ul>
</li>
<li>
ANTLR Java 5 sources:
<dl>
<dt>Habelitz</dt>
<dd>
<ul>
<li>
<a href="http://www.antlr.org/grammar/1207932239307/Java1_5Grammars/Java.g">Original grammar by Dieter Habelitz</a>, ANTLR3, 2008
</li>
<li>
<a href="http://slps.svn.sourceforge.net/viewvc/slps/topics/grammars/java/antlr-java-5/habelitz/">Extraction directory</a>
</li>
<li>
<a href="http://slps.svn.sourceforge.net/viewvc/slps/topics/testing/gbtf/tests/java/habelitz.bgf?view=markup">Extracted grammar</a> (BGF)
</li>
<li>
<a href="habelitz.html">Extracted grammar</a> (browsable)
</li>
</ul>
</dd>
<dt>Parr</dt>
<dd>
<ul>
<li>
<a href="http://www.antlr.org/grammar/1152141644268/Java.g">Original grammar by Terence Parr</a>, ANTLR3, 2006
</li>
<li>
<a href="http://slps.svn.sourceforge.net/viewvc/slps/topics/grammars/java/antlr-java-5/parr/">Extraction directory</a>
</li>
<li>
<a href="http://slps.svn.sourceforge.net/viewvc/slps/topics/testing/gbtf/tests/java/parr.bgf?view=markup">Extracted grammar</a> (BGF)
</li>
<li>
<a href="parr.html">Extracted grammar</a> (browsable)
</li>
</ul>
</dd>
<dt>Stahl</dt>
<dd>
<ul>
<li>
<a href="http://www.antlr.org/grammar/1093454600181/java15-grammar.zip">Original grammar by Michael Stahl</a>, ANTLR2, 2004
</li>
<li>
<a href="http://slps.svn.sourceforge.net/viewvc/slps/topics/grammars/java/antlr-java-5/stahl/">Extraction directory</a>
</li>
<li>
<a href="http://slps.svn.sourceforge.net/viewvc/slps/topics/testing/gbtf/tests/java/stahl.bgf?view=markup">Extracted grammar</a> (BGF)
</li>
<li>
<a href="stahl.html">Extracted grammar</a> (browsable)
</li>
</ul>
</dd>
<dt>Studman</dt>
<dd>
<ul>
<li>
<a href="http://www.antlr.org/grammar/1090713067533/java15.g">Original grammar by Michael Studman</a>, ANTLR2, 2004
</li>
<li>
<a href="http://slps.svn.sourceforge.net/viewvc/slps/topics/grammars/java/antlr-java-5/studman/">Extraction directory</a>
</li>
<li>
<a href="http://slps.svn.sourceforge.net/viewvc/slps/topics/testing/gbtf/tests/java/studman.bgf?view=markup">Extracted grammar</a> (BGF)
</li>
<li>
<a href="studman.html">Extracted grammar</a> (browsable)
</li>
</ul>
</dd>
</dl>
</li>
<li>
<a href="#">...</a>
</li>
</ul>
<hr />
</body>
</html>

0 comments on commit 8ff16b1

Please sign in to comment.