I originally used JavaCC as a quick way to get an RCS archive parser. But the format 
of those archives is so simple that a hand-written parser would be more efficient, and 
wouldn't be hard to do. My experience with syntax directed lexical analysis makes me 
think that a hand-made parser would be smaller and faster.

I propose that the dependency on JavaCC be removed from JRCS. It doesn't have to be 
done right away, but it should be added to the TODO list.

+1

Points in favor of JavaCC: The current parser works and is very easy to understand.

Against JavaCC: The parser cannot be modified without JavaCC, a closed-source package. 
Developers need the package and knowledge about it to modify the parser. If JavaCC 
goes away, the parser would be pure Java and undertandable and modifyiable by all.

Juanco
--
Ing. Juancarlo A�ez
Modelistica
mailto:[EMAIL PROTECTED]
http://www.modelistica.com
telef: (412) 222-1160
       (212) 761-5432
--- 


Reply via email to