Skip to content

Commit

Permalink
adding lacking Read Me files and connecting them all to the Grammar Zoo
Browse files Browse the repository at this point in the history
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@1040 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information
grammarware committed May 20, 2011
1 parent bfc7339 commit 5b63ad8
Show file tree
Hide file tree
Showing 8 changed files with 234 additions and 52 deletions.
17 changes: 10 additions & 7 deletions topics/grammars/csharp/iso-23270-2003/README.txt
@@ -1,14 +1,17 @@
$ checkbgf iso-cs-1-original.bgf
Productions: 240
Top alternatives: 583
Nonterminals defined: 240
unique: 242
bottom: 2 ( identifier, literal )
top: 1 ( compilation-unit )
bottom: 2 (identifier, literal)
root: 0
dead top: 1 (compilation-unit)
Terminals used: 127

$ checkbgf iso-cs-1-browsable.bgf
Productions: 145
Top alternatives: 418
Nonterminals defined: 145
unique: 153
bottom: 8 ( lex-csharp-extra/ampersand, lex-csharp-extra/bar, lex-csharp-extra/greater-than, lex-csharp-extra/less-than, lex-csharp-extra/minus, lex-csharp-extra/plus, lex-csharp/identifier, lex-csharp/literal )
top: 1 ( compilation-unit )

bottom: 8 (lex-csharp-extra/plus, lex-csharp-extra/minus, lex-csharp-extra/less-than, lex-csharp-extra/greater-than, lex-csharp/literal, lex-csharp/identifier, lex-csharp-extra/bar, lex-csharp-extra/ampersand)
root: 0
dead top: 2 (compilation-unit, struct-member-declarations)
Terminals used: 121
16 changes: 16 additions & 0 deletions topics/grammars/java/jls1/README.txt
@@ -0,0 +1,16 @@
The Java Language
Specification

James Gosling
Bill Joy
Guy Steele

NOTE - This is the First Edition of the JLS.

This document (particularly chapters 20-22) has not been updated to include changes to the specification for Java 1.1. For a list of changes, see Changes for Java 1.1, originally published as Appendix D from The Java Programming Language by Ken Arnold.

Java Language Specification (HTML generated by Suzette Pelouch on April 03, 1998)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved

http://java.sun.com/docs/books/jls/
http://java.sun.com/docs/books/jls/first_edition/html/index.html
12 changes: 12 additions & 0 deletions topics/grammars/java/jls2/README.txt
@@ -0,0 +1,12 @@
The Java Language Specification
Second Edition

James Gosling
Bill Joy
Guy Steele
Gilad Bracha

Copyright © 2000 Sun Microsystems, Inc. All rights reserved

http://java.sun.com/docs/books/jls/
http://java.sun.com/docs/books/jls/second_edition/html/j.title.doc.html
6 changes: 6 additions & 0 deletions topics/grammars/java/jls3/README.txt
@@ -0,0 +1,6 @@
The Java Language Specification, Third Edition

Copyright 1996-2005 Sun Microsystems, Inc. All rights reserved.

http://java.sun.com/docs/books/jls/
http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html
19 changes: 19 additions & 0 deletions topics/grammars/xpath/README.txt
@@ -0,0 +1,19 @@
XML Path Language (XPath)
Version 1.0
W3C Recommendation 16 November 1999

This version:
http://www.w3.org/TR/1999/REC-xpath-19991116
(available in XML or HTML)
Latest version:
http://www.w3.org/TR/xpath
Previous versions:
http://www.w3.org/TR/1999/PR-xpath-19991008
http://www.w3.org/1999/08/WD-xpath-19990813
http://www.w3.org/1999/07/WD-xpath-19990709
http://www.w3.org/TR/1999/WD-xslt-19990421
Editors:
James Clark <jjc@jclark.com>
Steve DeRose (Inso Corp. and Brown University) <Steven_DeRose@Brown.edu>

Copyright © 1999 W3C® (MIT, INRIA, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply.
38 changes: 26 additions & 12 deletions www/_dev/listgrammars.xslt
Expand Up @@ -143,7 +143,7 @@
<li>
<xsl:text>BNF-like Grammar Format:</xsl:text>
<span class="links">
[<a href="http://slps.svn.sourceforge.net/viewvc/slps/shared/xsd/bgf.xsd">Schema</a>]
[<a href="http://slps.svn.sourceforge.net/viewvc/slps/shared/xsd/bgf.xsd?view=markup">Schema</a>]
[<a href="http://www.w3.org/TR/xml/">W3C XML Rec</a>]
[<a href="http://www.w3.org/TR/xmlschema11-1/">W3C XSD WD 1</a>]
[<a href="http://www.w3.org/TR/xmlschema11-2/">W3C XSD WD 2</a>]
Expand Down Expand Up @@ -195,7 +195,9 @@
<xsl:value-of select="$date"/>
</em>
<br/>
<img src="http://i.creativecommons.org/l/by/3.0/88x31.png" alt="CC-BY"/>
<a href="http://creativecommons.org/licenses/by/3.0/">
<img src="http://i.creativecommons.org/l/by/3.0/88x31.png" alt="CC-BY"/>
</a>
<a href="http://validator.w3.org/check/referer">
<img src="../img/vxhtml.png" alt="XHTML 1.0"/>
</a>
Expand All @@ -217,16 +219,28 @@
</xsl:template>
<xsl:template match="link">
<xsl:text> [</xsl:text>
<xsl:if test="uri">
<a xmlns="http://www.w3.org/1999/xhtml" href="{uri}">
<xsl:value-of select="name"/>
</a>
</xsl:if>
<xsl:if test="mu">
<a xmlns="http://www.w3.org/1999/xhtml" href="http://slps.svn.sourceforge.net/viewvc/slps/{mu}?view=markup">
<xsl:value-of select="name"/>
</a>
</xsl:if>
<xsl:choose>
<xsl:when test="uri">
<a xmlns="http://www.w3.org/1999/xhtml" href="{uri}">
<xsl:value-of select="name"/>
</a>
</xsl:when>
<xsl:when test="mu">
<a xmlns="http://www.w3.org/1999/xhtml" href="http://slps.svn.sourceforge.net/viewvc/slps/{mu}?view=markup">
<xsl:value-of select="name"/>
</a>
</xsl:when>
<xsl:when test="slps">
<a xmlns="http://www.w3.org/1999/xhtml" href="http://slps.svn.sourceforge.net/viewvc/slps/{slps}">
<xsl:value-of select="name"/>
</a>
</xsl:when>
<xsl:when test="doi">
<a xmlns="http://www.w3.org/1999/xhtml" href="http://dx.doi.org/{doi}">
<xsl:value-of select="name"/>
</a>
</xsl:when>
</xsl:choose>
<xsl:text>] </xsl:text>
</xsl:template>
<xsl:template match="source">
Expand Down

0 comments on commit 5b63ad8

Please sign in to comment.