tags:

views:

242

answers:

5

I'm looking for something simple to use where the grammar is easy to define.

+1  A: 

System.Text.RegularExpressions?

Jason Lepack
That's a pretty brave answer. There's some real Zealots who will only condone real parsers, and not using things like Regex for parsing code.
Kibbee
I'll take that as a valid answer since I didn't define my needs and there are cases where regular expressions are sufficient to define simple DSL.
Renaud Bompuis
+7  A: 

Although I've never used it before, ANTLR has C# runtime.

eed3si9n
+4  A: 

If you use F#, check out FParsec.

Brian
+1  A: 

Give a look to Coco/R for C#.

CMS
+1  A: 

Just found out about Irony. Used for writing DSL.
Thought I would add it to the list.

Renaud Bompuis