Skip to content

Commit

Permalink
splitting Java grammars: strictly one per directory
Browse files Browse the repository at this point in the history
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@1081 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information
grammarware committed Jun 1, 2011
1 parent 9750088 commit c50d456
Show file tree
Hide file tree
Showing 43 changed files with 143 additions and 44,348 deletions.
8 changes: 7 additions & 1 deletion topics/grammars/java-1/Makefile
@@ -1 +1,7 @@
include ../Makefile.language
include ../Makefile.language

get:
cat ready.lst | xargs -n1 -I _ make _.get

%.get:
cd $* && make get
8 changes: 8 additions & 0 deletions topics/grammars/java-1/jls-impl/Makefile
@@ -0,0 +1,8 @@
extract:
${tooldir}/html2bgf syntax.kw src.htm raw.bgf
${tooldir}/xbgf ../../../convergence/java/xbgf/correct-impl1.xbgf raw.bgf grammar.bgf

get:
curl -k http://java.sun.com/docs/books/jls/first_edition/html/19.doc.html > src.htm

include ../../Makefile.grammar
18 changes: 18 additions & 0 deletions topics/grammars/java-1/jls-impl/README.txt
@@ -0,0 +1,18 @@
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/19.doc.html

The grammar extraction/recovery scenario from this directory is based on all grammar productions that form a “more implementable” Java grammar, presented in §19 of the book.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions topics/grammars/java-1/jls-read/Makefile
@@ -0,0 +1,15 @@
extract:
${tooldir}/html2bgf collect.kw src.htm raw.bgf
${tooldir}/xbgf ../../../convergence/java/xbgf/correct-read1.xbgf raw.bgf grammar.bgf

get:
curl -k http://java.sun.com/docs/books/jls/first_edition/html/4.doc.html > src.htm
curl -k http://java.sun.com/docs/books/jls/first_edition/html/6.doc.html >> src.htm
curl -k http://java.sun.com/docs/books/jls/first_edition/html/7.doc.html >> src.htm
curl -k http://java.sun.com/docs/books/jls/first_edition/html/8.doc.html >> src.htm
curl -k http://java.sun.com/docs/books/jls/first_edition/html/9.doc.html >> src.htm
curl -k http://java.sun.com/docs/books/jls/first_edition/html/10.doc.html >> src.htm
curl -k http://java.sun.com/docs/books/jls/first_edition/html/14.doc.html >> src.htm
curl -k http://java.sun.com/docs/books/jls/first_edition/html/15.doc.html >> src.htm

include ../../Makefile.grammar
Expand Up @@ -14,3 +14,5 @@ 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

The grammar extraction/recovery scenario from this directory collects all grammar productions that form a “more readable” Java grammar, scattered all over the text of the book.
File renamed without changes.
File renamed without changes.
33 changes: 0 additions & 33 deletions topics/grammars/java-1/jls1/Makefile

This file was deleted.

0 comments on commit c50d456

Please sign in to comment.