I want to create parser which will validate the syntax of program .You only need to consider the program syntax that can be generated from the grammar given below: I have some grammar here.Check code line by line and output show this line is correct or not correct according to rule mention in program.How can i do this in c# asp.net. Please suggest me some links or provided materials or examples which may help me out..Thanks I don't know how can i do it.please help me.Thanks
Asked
Active
Viewed 52 times
0
-
Sorry but this both way too broad and off topic for SO. Google will help you netter.. – TaW Jan 14 '16 at 14:27
-
Use a parser framework or write your own. – Lex Li Jan 14 '16 at 14:28
-
I try google but i can't found specific and related info. – Asher Khan Jan 14 '16 at 14:28
-
It's not broad question,its just simple check the given program file according to grammar syntax – Asher Khan Jan 14 '16 at 14:29
-
_I try google_ Try harder! Also read the [SO help pages](http://stackoverflow.com/help/on-topic) – TaW Jan 14 '16 at 14:34
-
@TaW how can i search on google?I mean how can i search on this topic? – Asher Khan Jan 14 '16 at 14:39
-
One good idea is to get the spelling right..: [c# grammar parser](https://www.google.com/search?q=c%23+grammar+parser&ie=utf-8&oe=utf-8&gws_rd=cr&ei=q7iXVoznHMeqPs6qrdAJ) – TaW Jan 14 '16 at 15:04
-
Check out Irony.Net here: http://irony.codeplex.com/ – Pieter Geerkens Jan 14 '16 at 15:06