什么是构建了一个解析器在.NET中的GOTO methodolgyNET、GOTO、methodolgy

2023-09-03 22:45:14 作者:孤城残梦

一个语法为好。

如果一个人从地面接近通用的解析器了如何将一去吗? 我看着ANTLR和讽刺,但它们比方法更多的工具。 有哪些步骤应该解决的里程碑成就是什么?

If one were to approach a generic parser from the ground up how would one go about it? I've looked at ANTLR and Irony, but they are more tools than methodologies. What are the steps one should tackle and the milestones for accomplishment?

推荐答案

大话题我的朋友。如果您想了解该理论最想去的地方是龙书:的http://www.amazon.com/Compilers-Principles-Techniques-Tools-Gradiance/dp/0321547985/ref=sr_1_2?s=books&ie=UTF8&qid=1297801900&sr=1-2

Large topic my friend. If you want to learn about the theory the best place to go is 'the Dragon Book': http://www.amazon.com/Compilers-Principles-Techniques-Tools-Gradiance/dp/0321547985/ref=sr_1_2?s=books&ie=UTF8&qid=1297801900&sr=1-2

另外一个不错的开端,如果你想devlope对于.NET是F#电源组。这包含fsLex和fsYacc。

Another good place to look if you want to devlope for .Net is the F# power pack. THis contains fsLex and fsYacc.

祝你好运!

GJ