F#编译器文档和F#数据流分析库
我有两个问题:
我想知道是否有人知道 F# 编译器文档或相关资源(除了编译器源代码本身,我目前正在查看它) - 有关 AST 结构和附加函数的信息(如果有的话)对于解析和遍历树会很有帮助。
我还需要用于数据流分析的 F# 库,如果你们知道是否存在这样的库,请告诉我。
谢谢 :)
I have two questions:
I was wondering if someone is aware of F# Compiler documentation or related resources (except for the compiler source code itself, I am currently looking it) - Information about the structure of the AST and the additional functions (if any) for parsing and traversing the tree will be helpful.
I also need F# library for data flow analysis, if any of you have any idea if such exists, please let me know.
Thanks :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这不是最好的资源,但如果您只想解析并获取 AST,请参阅
http://orgonblog.wordpress.com/2010/11/21/source-code-for-f-depth-colorizer-extension/
和
https://github.com/brianmcn/FSharpDepthColorizer/blob/master/ParseTreeDepth /MyFSParser/MyParsing.fs
(查找“ParseOneInputFile”)作为“需要解析器的示例应用程序”的示例。
(关于数据流分析,我没有什么可提供的。)
This is not the best resource, but if you just want to parse and get the AST, see
http://lorgonblog.wordpress.com/2010/11/21/source-code-for-f-depth-colorizer-extension/
and
https://github.com/brianmcn/FSharpDepthColorizer/blob/master/ParseTreeDepth/MyFSParser/MyParsing.fs
(look for 'ParseOneInputFile') as an example of a 'sample app that needs the parser'.
(I don't have anything to offer regarding the dataflow analysis.)