C#中的自顶向下解析实现 [英] Top-Down Parsing Implement in c#
问题描述
我想通过c#语言实现自上而下的解析,是否有任何资料可以向我展示方法.我的意思是要实现或算法良好的方法和描述.
例如,以下是一些实现步骤:
1-开发语法
2- LL1解析
3-构造解析器.
这些步骤是有序的,而顺序对于给您正确的答案非常重要.
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.
推荐答案
以下MSDN文章涵盖了您定义的步骤的基本知识.并针对.NET/C#
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#
有关每个区域的更多详细信息,您可能不应该对查找C#特定文本感到困惑.
For more detail on each area you should probably not be concerend about finding C# specific texts.
这篇关于C#中的自顶向下解析实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!