Skip to content

Commit

Permalink
renewing the Zoo and the Tank
Browse files Browse the repository at this point in the history
  • Loading branch information
grammarware committed Dec 18, 2012
1 parent 92d9477 commit 6b0c596
Show file tree
Hide file tree
Showing 169 changed files with 808 additions and 1,696 deletions.
7 changes: 4 additions & 3 deletions slps.css
@@ -1,6 +1,8 @@
body {color:#033}
h1, h2, div.c {text-align:center}
h2 a, div.c em {font-size:small}
h2 a, div.c em, .date {font-size:small}
h2.src a {font-size:medium}
h1.l, h2.l {text-align:left}
a:hover {text-decoration:underline}
a:link, a:visited {color:#039}
a:link.red, a:visited.red {color:#933}
Expand All @@ -16,8 +18,7 @@ img {border:0}
.links a {text-decoration:none}
.label, .sel {color:green}
.marked {background-color:#FFE5B4}
.nt {color:blue; font-weight:bold}
.nt, a.nt {color:blue; font-weight:bold}
.t {color:red; font-style:italic}
.meta, .cmd {color:green; font-style:italic; font-family:serif}
.b {text-align:right; font-style:italic}
.date {font-size:small}
29 changes: 7 additions & 22 deletions tank/fl/antlr.html
@@ -1,31 +1,19 @@
<!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:bgf="http://planet-sl.org/bgf" xmlns:xbgf="http://planet-sl.org/xbgf" 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>Browsable FL Concrete Syntax Grammar</title><style type="text/css">
.label, .sel { color: green; }
.marked { background-color: #FFE5B4;}
.nt { color: blue; font-weight: bold; }
.t { color: red; font-style:italic; }
.meta { color: green; font-style:italic; font-family: Roman, "Times New Roman", serif; }
.b { text-align: right; font-style:italic;}
.date { font-size: small; }
pre
{
border: 1px solid black;
border-spacing: 2px;
border-collapse: collapse;
background-color: #ECECEC;
}
</style><script type="text/javascript">
<title>Browsable FL Concrete Syntax Grammar</title><link href="/slps.css" rel="stylesheet" type="text/css"></link><script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-3743366-5']);
_gaq.push(['_setAccount', 'UA-3743366-7']);
_gaq.push(['_setDomainName', 'github.com']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script></head><body><h1>Browsable FL Concrete Syntax Grammar</h1><a href="http://creativecommons.org/licenses/by/3.0/"><img src="http://i.creativecommons.org/l/by/3.0/88x31.png" alt="CC-BY"></img></a><p>Extracted and/or recovered by <strong><a href="http://grammarware.net">Vadim Zaytsev</a></strong>, see <a href="http://grammarware.github.com/tank/">Grammar Tank</a> for details. <br></br>Source used for this grammar: Ralf Lämmel, <code>FL.g</code> (17 May – 16 July 2008) </p><h2>Summary</h2><ul><li>Number of production rules: <strong>8</strong></li><li>Number of top alternatives: <strong>14</strong></li><li>Number of defined nonterminal symbols: <strong>8</strong></li><li>Root nonterminal symbols: —</li><li>Other top nonterminal symbols: <strong>1</strong>: <code><a href="#program" class="nt">program</a></code></li><li>Bottom nonterminal symbols: <strong>3</strong>: <code><a href="#ID" class="nt">ID</a>, <a href="#NEWLINE" class="nt">NEWLINE</a>, <a href="#INT" class="nt">INT</a></code></li><li>Number of used terminal symbols: <strong>9</strong></li><li>Special terminal symbols: <strong>6</strong>: <code class="t">"=", "(", ")", "==", "+", "-"</code></li><li>Keywords: <strong>3</strong>: <code class="t">"if", "then", "else"</code></li></ul><h2>Syntax</h2><pre><a class="nt" name="program">program</a>:

</script></head><body><h1 class="l">Browsable FL Concrete Syntax Grammar</h1><a href="http://creativecommons.org/licenses/by/3.0/"><img src="http://i.creativecommons.org/l/by/3.0/88x31.png" alt="CC-BY"></img></a><p>Extracted and/or recovered by <strong><a href="http://grammarware.net">Vadim Zaytsev</a></strong>, see <a href="http://slps.github.com/tank/">Grammar Tank</a> for details. <br></br>Source used for this grammar: <em>Ralf Lämmel, FL.g</em>, (17 May – 16 July 2008) </p><h2 class="l">Summary</h2><ul><li>Number of production rules: <strong>8</strong></li><li>Number of top alternatives: <strong>14</strong></li><li>Number of defined nonterminal symbols: <strong>8</strong></li><li>Root nonterminal symbols: —</li><li>Other top nonterminal symbols: <strong>1</strong>: <code><a href="#program" class="nt">program</a></code></li><li>Bottom nonterminal symbols: <strong>3</strong>: <code><a href="#ID" class="nt">ID</a>, <a href="#NEWLINE" class="nt">NEWLINE</a>, <a href="#INT" class="nt">INT</a></code></li><li>Number of used terminal symbols: <strong>9</strong></li><li>Special terminal symbols: <strong>6</strong>: <code class="t">"=", "(", ")", "==", "+", "-"</code></li><li>Keywords: <strong>3</strong>: <code class="t">"if", "then", "else"</code></li></ul><h2 class="l">Syntax</h2><pre><a class="nt" name="program">program</a>:
<span class="sel">f</span>::<a class="nt" href="#function">function</a><span class="meta">+</span>
</pre><pre><a class="nt" name="function">function</a>:
<span class="sel">n</span>::<span class="meta">id</span> <span class="sel">a</span>::<span class="meta">id</span><span class="meta">+</span> <span class="t">"="</span> <span class="sel">e</span>::<a class="nt" href="#expr">expr</a> <a class="nt" href="#NEWLINE">NEWLINE</a><span class="meta">+</span>
Expand All @@ -47,7 +35,4 @@
<span class="t">"=="</span>
<span class="t">"+"</span>
<span class="t">"-"</span>
</pre><hr></hr><div class="b">
Maintained by Dr. <a href="http://grammarware.net/">Vadim Zaytsev</a> a.k.a. @<a href="http://twitter.com/grammarware">grammarware</a>.
Last updated: 03/10/2012.
</div></body></html>
</pre><hr></hr><div class="b">Maintained by Dr. <a href="http://grammarware.net/">Vadim Zaytsev</a> a.k.a. @<a href="http://github.com/grammarware">grammarware</a>. Last updated: 18/12/2012.</div></body></html>
33 changes: 9 additions & 24 deletions tank/fl/dcg.html
@@ -1,33 +1,21 @@
<!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:bgf="http://planet-sl.org/bgf" xmlns:xbgf="http://planet-sl.org/xbgf" 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>Browsable FL Concrete Syntax Grammar</title><style type="text/css">
.label, .sel { color: green; }
.marked { background-color: #FFE5B4;}
.nt { color: blue; font-weight: bold; }
.t { color: red; font-style:italic; }
.meta { color: green; font-style:italic; font-family: Roman, "Times New Roman", serif; }
.b { text-align: right; font-style:italic;}
.date { font-size: small; }
pre
{
border: 1px solid black;
border-spacing: 2px;
border-collapse: collapse;
background-color: #ECECEC;
}
</style><script type="text/javascript">
<title>Browsable FL Concrete Syntax Grammar</title><link href="/slps.css" rel="stylesheet" type="text/css"></link><script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-3743366-5']);
_gaq.push(['_setAccount', 'UA-3743366-7']);
_gaq.push(['_setDomainName', 'github.com']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script></head><body><h1>Browsable FL Concrete Syntax Grammar</h1><a href="http://creativecommons.org/licenses/by/3.0/"><img src="http://i.creativecommons.org/l/by/3.0/88x31.png" alt="CC-BY"></img></a><p>Extracted and/or recovered by <strong><a href="http://grammarware.net">Vadim Zaytsev</a></strong>, see <a href="http://grammarware.github.com/tank/">Grammar Tank</a> for details. <br></br>Source used for this grammar:
Ralf Lämmel, <code>Parser.pro</code>
(28 July – 3 September 2008) </p><h2>Summary</h2><ul><li>Number of production rules: <strong>11</strong></li><li>Number of top alternatives: <strong>11</strong></li><li>Number of defined nonterminal symbols: <strong>5</strong></li><li>Root nonterminal symbols: —</li><li>Other top nonterminal symbols: <strong>1</strong>: <code><a href="#program" class="nt">program</a></code></li><li>Bottom nonterminal symbols: <strong>3</strong>: <code><a href="#name" class="nt">name</a>, <a href="#newline" class="nt">newline</a>, <a href="#int" class="nt">int</a></code></li><li>Number of used terminal symbols: <strong>9</strong></li><li>Special terminal symbols: <strong>6</strong>: <code class="t">"=", "(", ")", "==", "+", "-"</code></li><li>Keywords: <strong>3</strong>: <code class="t">"if", "then", "else"</code></li></ul><h2>Syntax</h2><pre><a class="nt" name="program">program</a>:

</script></head><body><h1 class="l">Browsable FL Concrete Syntax Grammar</h1><a href="http://creativecommons.org/licenses/by/3.0/"><img src="http://i.creativecommons.org/l/by/3.0/88x31.png" alt="CC-BY"></img></a><p>Extracted and/or recovered by <strong><a href="http://grammarware.net">Vadim Zaytsev</a></strong>, see <a href="http://slps.github.com/tank/">Grammar Tank</a> for details. <br></br>Source used for this grammar: <em>
Ralf Lämmel, Parser.pro
</em>, (28 July – 3 September 2008) </p><h2 class="l">Summary</h2><ul><li>Number of production rules: <strong>11</strong></li><li>Number of top alternatives: <strong>11</strong></li><li>Number of defined nonterminal symbols: <strong>5</strong></li><li>Root nonterminal symbols: —</li><li>Other top nonterminal symbols: <strong>1</strong>: <code><a href="#program" class="nt">program</a></code></li><li>Bottom nonterminal symbols: <strong>3</strong>: <code><a href="#name" class="nt">name</a>, <a href="#newline" class="nt">newline</a>, <a href="#int" class="nt">int</a></code></li><li>Number of used terminal symbols: <strong>9</strong></li><li>Special terminal symbols: <strong>6</strong>: <code class="t">"=", "(", ")", "==", "+", "-"</code></li><li>Keywords: <strong>3</strong>: <code class="t">"if", "then", "else"</code></li></ul><h2 class="l">Syntax</h2><pre><a class="nt" name="program">program</a>:
<a class="nt" href="#function">function</a><span class="meta">+</span>
</pre><pre><a class="nt" name="function">function</a>:
<a class="nt" href="#name">name</a> <a class="nt" href="#name">name</a><span class="meta">+</span> <span class="t">"="</span> <a class="nt" href="#expr">expr</a> <a class="nt" href="#newline">newline</a><span class="meta">+</span>
Expand All @@ -49,7 +37,4 @@
<span class="t">"+"</span>
</pre><pre>[<a class="label" name="minus">minus</a>] <a class="nt" name="ops">ops</a>:
<span class="t">"-"</span>
</pre><hr></hr><div class="b">
Maintained by Dr. <a href="http://grammarware.net/">Vadim Zaytsev</a> a.k.a. @<a href="http://twitter.com/grammarware">grammarware</a>.
Last updated: 03/10/2012.
</div></body></html>
</pre><hr></hr><div class="b">Maintained by Dr. <a href="http://grammarware.net/">Vadim Zaytsev</a> a.k.a. @<a href="http://github.com/grammarware">grammarware</a>. Last updated: 18/12/2012.</div></body></html>
29 changes: 7 additions & 22 deletions tank/fl/ecore.html
@@ -1,31 +1,19 @@
<!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:bgf="http://planet-sl.org/bgf" xmlns:xbgf="http://planet-sl.org/xbgf" 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>Browsable FL Abstract Syntax Grammar</title><style type="text/css">
.label, .sel { color: green; }
.marked { background-color: #FFE5B4;}
.nt { color: blue; font-weight: bold; }
.t { color: red; font-style:italic; }
.meta { color: green; font-style:italic; font-family: Roman, "Times New Roman", serif; }
.b { text-align: right; font-style:italic;}
.date { font-size: small; }
pre
{
border: 1px solid black;
border-spacing: 2px;
border-collapse: collapse;
background-color: #ECECEC;
}
</style><script type="text/javascript">
<title>Browsable FL Abstract Syntax Grammar</title><link href="/slps.css" rel="stylesheet" type="text/css"></link><script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-3743366-5']);
_gaq.push(['_setAccount', 'UA-3743366-7']);
_gaq.push(['_setDomainName', 'github.com']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script></head><body><h1>Browsable FL Abstract Syntax Grammar</h1><a href="http://creativecommons.org/licenses/by/3.0/"><img src="http://i.creativecommons.org/l/by/3.0/88x31.png" alt="CC-BY"></img></a><p>Extracted and/or recovered by <strong><a href="http://grammarware.net">Vadim Zaytsev</a></strong>, see <a href="http://grammarware.github.com/tank/">Grammar Tank</a> for details. <br></br>Source used for this grammar: Guido Wachsmuth, Vadim Zaytsev, <code>fl.ecore</code> (26 June 2008 – 28 May 2009) </p><h2>Summary</h2><ul><li>Number of production rules: <strong>12</strong></li><li>Number of top alternatives: <strong>18</strong></li><li>Number of defined nonterminal symbols: <strong>12</strong></li><li>Root nonterminal symbols: —</li><li>Other top nonterminal symbols: <strong>1</strong>: <code><a href="#Program" class="nt">Program</a></code></li><li>Bottom nonterminal symbols: —</li><li>Number of used terminal symbols: <strong></strong></li></ul><h2>Syntax</h2><pre><a class="nt" name="Program">Program</a>:

</script></head><body><h1 class="l">Browsable FL Abstract Syntax Grammar</h1><a href="http://creativecommons.org/licenses/by/3.0/"><img src="http://i.creativecommons.org/l/by/3.0/88x31.png" alt="CC-BY"></img></a><p>Extracted and/or recovered by <strong><a href="http://grammarware.net">Vadim Zaytsev</a></strong>, see <a href="http://slps.github.com/tank/">Grammar Tank</a> for details. <br></br>Source used for this grammar: <em>Guido Wachsmuth, Vadim Zaytsev, fl.ecore</em>, (26 June 2008 – 28 May 2009) </p><h2 class="l">Summary</h2><ul><li>Number of production rules: <strong>12</strong></li><li>Number of top alternatives: <strong>18</strong></li><li>Number of defined nonterminal symbols: <strong>12</strong></li><li>Root nonterminal symbols: —</li><li>Other top nonterminal symbols: <strong>1</strong>: <code><a href="#Program" class="nt">Program</a></code></li><li>Bottom nonterminal symbols: —</li><li>Number of used terminal symbols: <strong></strong></li></ul><h2 class="l">Syntax</h2><pre><a class="nt" name="Program">Program</a>:
<span class="sel">function</span>::<a class="nt" href="#Function">Function</a><span class="meta">+</span>
</pre><pre><a class="nt" name="Function">Function</a>:
<span class="sel">name</span>::<span class="meta">string</span> <span class="sel">argument</span>::<a class="nt" href="#Argument">Argument</a><span class="meta">+</span> <span class="sel">definition</span>::<a class="nt" href="#Exp">Exp</a>
Expand Down Expand Up @@ -55,7 +43,4 @@
<span class="sel">left</span>::<a class="nt" href="#Exp">Exp</a> <span class="sel">right</span>::<a class="nt" href="#Exp">Exp</a>
</pre><pre><a class="nt" name="EqualExp">EqualExp</a>:
<span class="sel">left</span>::<a class="nt" href="#Exp">Exp</a> <span class="sel">right</span>::<a class="nt" href="#Exp">Exp</a>
</pre><hr></hr><div class="b">
Maintained by Dr. <a href="http://grammarware.net/">Vadim Zaytsev</a> a.k.a. @<a href="http://twitter.com/grammarware">grammarware</a>.
Last updated: 03/10/2012.
</div></body></html>
</pre><hr></hr><div class="b">Maintained by Dr. <a href="http://grammarware.net/">Vadim Zaytsev</a> a.k.a. @<a href="http://github.com/grammarware">grammarware</a>. Last updated: 18/12/2012.</div></body></html>

0 comments on commit 6b0c596

Please sign in to comment.