From: Sverker W. <sve...@sh...> - 2009-09-26 20:40:26
|
Hello, I'd like to rewrite the lircd parser/lexer in Bison/Flex. This would make it much easier to understand (and change if need be) than the current commingled parser/lexer used. Is there any reason not to? I searched the list archive, and found a suggestion from 2001 <http://sourceforge.net/mailarchive/message.php?msg_id=20010306213826.A15307%40hell.lnx.es> (complete with stale links to code ;), but little seems to have happened since then. I would expect to write for reasonably recent Bison/Flex versions (no problem to install an older version, as long as I can find it in the archives ;), but the only extension I really expect to need is the multiple-parser-support (the '-p PREFIX' flag); and that might be doable with some semi-ugly linker trickery instead, if I'm restricted to POSIX Yacc/Lex. Everything else is creature comforts. The generated .c/.h files would be included in the released tarball, so that Lirc can still be built without these tools --- I believe that Automake agrees with me on this point. So, would this be worth my while? /Sverker |