Does C# have (direct) flex/yacc port? Or what lexer/parser people use for C#?

Posted by prosseek on Stack Overflow See other posts from Stack Overflow or by prosseek
Published on 2010-06-04T13:39:35Z Indexed on 2010/06/05 10:22 UTC
Read the original article Hit count: 262

Filed under:
|
|
|

I might be wrong, but it looks like that there's no direct flex/bison (lex/yacc) port for C#/.NET so far.

For LALR parser, I found GPPG/GPLEX, and for LL parser, there is the famous ANTLR. But, I want to reuse my flex/bison grammar as much as possible.

  • Is there any direct port of flex/bison for C#?
  • What lexer/parser people normally use for C#? Is there any reason for that choice?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET