I want to implement Top-Down Parsing by c# language is there any source to show me the way. I mean good method and description to implement or algorithms.
for example here are some steps to implement :
1- developing a Grammar
2- LL1 Parsing
3- Construct the parser.
These steps are in order and order is very important to give you correct answer.
Asked
Active
Viewed 2,985 times
1

Oak
- 26,231
- 8
- 93
- 152

kamiar3001
- 2,646
- 4
- 42
- 78
-
uh what? What is the question? – bobber205 May 30 '10 at 06:31
-
Question is How I can implement these steps (top-down parsing steps) in c# language as well ? is there any article or code for that or not ? – kamiar3001 May 30 '10 at 06:36
2 Answers
4
The following MSDN Article "Create a Language Compiler for the .NET Framework" covers the very basics of the steps you defined. And targets .NET/C#
For more detail on each area you should probably not be concerend about finding C# specific texts.

Chris Taylor
- 52,623
- 10
- 78
- 89
0
Top-down parsers are also called recursive descent parsers, you can search for that.
I wouldn't concentrate on searching for C# - as long as the examples and tutorials you find are in procedural languages, you shouldn't have too much difficulty translating them to C#.
Additionally, maybe take a look at these pair of short, but useful, articles:

Oak
- 26,231
- 8
- 93
- 152