Please don't laugh (at least not out loud). I've run into a situation where I really need to use a JavaCC generated parser on the client-side. The generated code is all simple Java, except for its use of java.io.InputStream and java.io.Reader.
Is it possible to implement additional GWT JRE objects as maybe a GWT module, or through various .gwt.xml directives? Basically, could support for those base classes be added without modifying the GWT source directly? If yes, is there a starting documentation page somewhere on the intertubes? ISTM that translating java.io.InputStream would be stupid simple, and then I could roll my own lame implementation that uses a java.lang.String as the backing store. In my case, I just need to parse user-typed strings. I've got no need to tie the InputStream to an HTTP response, for example. java.io.Reader might be a bit more difficult since it references stuff in java.nio, but I could probably work around that (even if I have to manually/programmatically hack the JavaCC generated parser source at build time). Anyways, any advice on where to begin implementing an additional GWT JRE object will be greatly appreciated. eric -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
