質問

Possible Duplicate:
ANTLR 3.3 C# Tutorials?

I want to create grammar for C# application, but I don't know anything about ANTLR. Does anybody know any good tutorials about defining rules, and building them into .cs files?

役に立ちましたか?

解決

I think this one is the best book about ANTLR parser generator. I read this book, when i was writing my own MSIL compiler. You can also look at my compiler (it may be not working) for the .g grammar as an example.

p.s.

Official ANTLR project web-site share good samples about grammar rules and parser generating.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top