Existing parsers in c# (BSD license or similar)
Posted
by Sylverdrag
on Stack Overflow
See other posts from Stack Overflow
or by Sylverdrag
Published on 2010-06-17T15:40:50Z
Indexed on
2010/06/17
15:43 UTC
Read the original article
Hit count: 296
I am looking for parsers (in C#) for a bunch of formats. (PHP, ASP, some XML based formats, HTML,...pretty much anything I can get my hands on.)
The purpose is to separate the text from the code and do some edits without messing up the code.
I had a look at ANTLR, but while it seems like the "right tool", there is just too much prior knowledge assumed. I have an easier time writing a parser from scratch than understanding how to "easily" generate parsers from ANTLR. (I wrote a small parser for a specific type of RTF files within a couple days, so the task is probably within my reach, but as I have no formal knowledge of parsing/lexing, I am at loss with ANTLR)
Then it occurred to me that there must existing parsers for many formats, so before I start writing yet another a brand new and potentially buggy version of the wheel, I figured I would check what parsers already exist and can be reused in a commercial product.
I could use parsers for just about every format in existence, so this question would be a good place to make a list of all existing free parsers written in C#, if there are any.
Thanks in advance for your suggestions
© Stack Overflow or respective owner