On Fri, Jan 19, 2007 at 01:58:06PM -0500, Joel Salomon wrote: > Has anyone had success with lexer-generators other than lex under Plan > 9? I'm taking a compilers class this semester and I'd like to do as > much work under Plan 9 as possible. > > I looked around online and found re2c, which looked interesting except > it's written in C++. > > For languages sufficiently like C, is regexp(2) suitable?
I think that most people roll their own lexical analyzers under Plan 9. That's typically not too hard to do, though. - Dan C.