On Monday 14 February 2005 17:53, Jim Higson wrote:
If a Java parser is tried, this might be of interest:
an alternative might be ttp://www.antlr.org/ if someone would try to write a proper parser in java, i'd be glad to help.
It might be possible to adapt the Bison specs to work with javacc, although using the JNI to call the Bison generated C parser would be a lot simpler, depending on what the Java based parser is being used for.
not a good idea - one of the best things about java is that you can just throw in a jar file and it works on all supported platforms, if you do it right.
playing around with FUSE and java has tought me one thing: JNI is slow, clumsy and absolutely no fun. polluting your code with dependencies on native code leads to far too many problems.
i'd avoid it whenever possible.
daniel