Directory groovy/jsr/ideas/parsers/bpwj/src/com/javanicus/bpwj/

Directory Created:
2004-11-29 16:21
Total Files:
9
Deleted Files:
0
Lines of Code:
3296

Browse with ViewVC

[root]/groovy/jsr/ideas/parsers/bpwj/src/com/javanicus/bpwj

Lines of Code

groovy/jsr/ideas/parsers/bpwj/src/com/javanicus/bpwj/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
jez 18 (100.0%) 5149 (100.0%) 286.0

Most Recent Commits

jez 2004-12-06 22:41

* Added a 'logging' subclass of the Java Parser, to assist visualization

of what the parser is doing during the matching phase

516 lines of code changed in:

jez 2004-12-02 18:56

* Added a command line wrapper for the parser



* to create wrapper run 'ant standalone', which creates standalone/parser.jar



* You can now invoke java -jar parser.jar <MyFile.java>



* Enjoy...



(It _still_ doesn't work properly though :-) )

69 lines of code changed in:

jez 2004-12-02 09:03

* introduced instance variables into parser, to provide a singleton for each

subparser. This allows the parser to be created.



* fixed some typos mostly with pluralisation of LHS names

1208 lines of code changed in:

jez 2004-11-29 20:51

* refactored the method implementations, adding a top level temporary variable per method,

so that it is easier to watch the parser being assembled using a debugger.



* this will aid finding left recusion issues present during construction of the parser.

795 lines of code changed in:

  • groovy/jsr/ideas/parsers/bpwj/src/com/javanicus/bpwj: JavaParser.java (+795 -755)
jez 2004-11-29 16:21

* Added a first pass at a Java1.5 parser based entirely on the draft specification

grammar in the Java Language Specification (3rd Edition draft)

* The grammar is built primarily from Chapter 18, but unfortunately they still

reference the exposition grammar in the book, so Chapter 18 cannot stand on its own

* All of the exposition grammar is towards the end of JavaParser.java, and I've

included references back to the origin in the JLSv3 spec

* The parser toolkit used is written by Steve Metsker, and further details can be found

at http://bpwj.javanicus.com



* Oh, and it doesn't work at the moment :-)

* There are some circular dependancies that need to be resolved in JavaParser.java

2561 lines of code changed in:

Generated by StatSVN 0.3.2-SNAPSHOT