Friday, August 14, 2015

ANTLR4 installation in a visual studio project

ANTLR is a very interesting parser for writing custom compilers. After fumbling a bit on my own to install it in the dev, finally I could get it done after following steps in the post below. Though the post makes it very easy to install, understading how to write a compiler is significantly more complex.

https://groups.google.com/forum/#!topic/antlr-discussion/Gh_P6IiDrKU

To help us there are some good antlr projects available to download, one mentioned below is quite interesting

https://github.com/ChristianWulf/CSharpGrammar 

No comments:

Regex Email validation in c# dot net core

 Use this regex /^_?[a-zA-Z0-9]([a-zA-Z0-9]*[._+-])*[a-zA-Z0-9_]+@(?!-)[A-Za-z0-9-]{1,63}(?<!-)(\.(?!-)[A-Za-z0-9-]{1,63}(?<!-))*\.[A-...