Alex Rivera | Logout

Good parser generator (think lex/yacc or antlr) for .NET? Build time only?

Asked 2009-08-10T21:18:43.117
21

Is there a good parser generator (think lex/yacc or antlr) for .NET? Any that have a license that would not scare lawyers? Lot’s of LGPL but I am working on embedded components and some organizations are not comfortable with me taking an LGPL dependency.

I've heard that Oslo may provide this functionality but I'm not sure if it's a build time dependency or also a runtime dependency. Can anyone clarify what Oslo will provide?

UPDATE
What I would really like is a parser generator that is a build time only dependency. It looks like ANTLR has a runtime component.

Edit
Report

1 Answer

3

ANTLR has a runtime component, but you can always take the few classes it uses and include them in your project, at which point you no longer need to reference the runtime assembly. It's licensed under the BSD license - 3 clause for the C# 3 target and 4 clause for the C# 2 target.

answered 2009-08-10T22:01:15.637

Your Answer