What's the goto methodolgy of building out a parser in .NET

落花浮王杯 提交于 2019-12-06 08:16:23

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

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

Good luck!

GJ

http://blogs.msdn.com/b/ericlippert/archive/2010/04/19/every-binary-tree-there-is.aspx

Start here, there is a good handfull of posts on the subject it's a very good read.

-edit- hm this isnt exactly the start of the series, and it changes to "Every program there is"

I wonder if the whole thing is tagged or listed somewhere already...

Your post got my interest in this stuff started again, here's some more useful links. They're all in F# though. You mentioned .Net so it does fit the bill. Actually for this type of work F# is by far the best language to do it in.

http://www.quanttec.com/fparsec/

http://strangelights.com/blog/archive/2006/05/11/1302.aspx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!