Is there a valid ANTLR alternative written in C #?

ANTLR is excellent software, but, in my opinion, a little inconvenient for a C # programmer (C # porting is deprecated, antlr-3.1.3.jar parser requires java, etc.), I'm looking for โ€œmore C # native "language tool to parse a simple json-like grammar, any sentence?

+7
source share
2 answers

peg-sharp (C # packrat parser) is a simple but valid alternative.

+2
source

I used the GOLD Parser Generator, a free tool that you can use to determine BNF grammars, and then generate a parser in almost any target language, including C #. You can also change the way the C # code parser generator is generated by changing the text template.

http://www.devincook.com/goldparser/

+4
source

All Articles