Is there a good yacc/bison type LALR parser generator for .NET? [closed]
Asked Answered
F

5

7

Is there a good yacc/bison type LALR parser generator for .NET ?

Failure answered 31/8, 2008 at 9:28 Comment(0)
S
5

Antlr supports C# code generation, though it is LL(k) not technically LALR. Its tree rewriting rules are an interesting feature though.

Stenotype answered 31/8, 2008 at 12:44 Comment(0)
O
5

SableCC can generate c# code. It's pretty good but you need a few days to figure out how it all works, because the documentation ist not that great

Oudh answered 31/8, 2008 at 9:35 Comment(0)
S
5

Antlr supports C# code generation, though it is LL(k) not technically LALR. Its tree rewriting rules are an interesting feature though.

Stenotype answered 31/8, 2008 at 12:44 Comment(0)
A
3

The Gardens Point Parser Generator looks good, however I've not had a chance to try it myself.

Alcoholometer answered 31/8, 2008 at 9:31 Comment(0)
B
0

Check out Gold. It is LALR compliant and supports lots of languages, if not the most. Gold can convert YACC and Bison type grammars.

If it does not suit your needs then check out this page.

Spirit is another LALR parser.

Also note that Mono created a variant of the Jay parser for their c# and .NET framework. Their c# compiler is, from what I can tell, production quality.

Bain answered 27/7, 2012 at 12:23 Comment(0)
S
0

Coco It's LL(k) but does a good job

Schramm answered 29/1, 2014 at 20:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.