| « TechHeadBrothers.com kisses Euss | CodePlex - Microsoft open source projects platform » |
ANTLR v3.0b4
At last, ANTLR v3 is available with C# bindings. I tested it and it works fine. Moreover, the new functionnalities allow simpler grammar definitions together with a more powerfull LL(*) algorithm.
For those who don't even know what ANTLR is:
ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions.
With ANTLR you can define the grammar of any language, and get as a result a framework capable of analysing an entry in the language you described. For instance I use it to handle OPath expressions, and transform any OPath query in an object tree, easier then to handle than the original string.
Trackback address for this post
1 comment
We are currently using ANTLR 2.7.6 in Spring.NET and we are very happy with it.
http://springframework.net/doc/reference/html/expressions.html
http://opensource.atlassian.com/confluence/spring/display/NET/Validation+Framework
etc...
Comments are closed for this post.