-3

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?

Community
  • 1
  • 1
Victor
  • 13,914
  • 19
  • 78
  • 147

1 Answers1

0

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.

Dzmitry Martavoi
  • 6,867
  • 6
  • 38
  • 59