关于状态机优化和代码生成的参考?
作为我的 状态机作为 C++ 的后续-类似语言扩展问题,我需要更多帮助。
我的编译器已扩展为解析我的状态机扩展,现在我开始语义分析和代码生成。 此页面上有一个说明。
谁能向我指出有关状态机优化和代码生成的良好参考资料?
Edit:
我仍然没有找到任何具体的参考资料,但这是一个我不知道的有趣项目: http://echarts .org/
他们正在用 Java 语法做一些与我正在尝试做的事情非常相似的事情。显然这个项目起源于 AT&T:http://www.research.att.com/software_tools
As a follow-up to my state machines as a C++-like language extension question, I'd like some more help.
My compiler has been extended to parse my state machine extensions and now I'm beginning semantic analysis and code generation. There is a description on this page.
Can anyone point me to good references on state machine optimization and code generation?
Edit:
I still haven't found any specific references, but this is an interesting project that I didn't know about: http://echarts.org/
They are doing, in a Java syntax, something very similar to what I'm trying to do. Apparently this project originated at AT&T: http://www.research.att.com/software_tools
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Allen Hollub 的《C 语言编译器设计》一书中有一两章关于状态机的内容,其中还包含大量(恐怕是 C 语言)代码。这本书是关于编写编译器-编译器类型工具的,因此必须涵盖生成,尽管我已经读了几年了。
Theres a good chapter or two on state machines in Allen Hollub's book "Compiler Design In C", which also includes lots of (C I'm afraid) code. The book is about writing compiler-compiler type tools, so must cover generation, though it's a few years since I've read it.
comp.compilers usenet 小组提供了我需要的一些信息。我需要给谷歌提供“状态机减少”或“状态机最小化”,而不是“状态机优化”。
The comp.compilers usenet group came through with a bit of information I needed. Instead of "statemachine optimization" I needed to give google "statemachine reduction" or "statemachine minimization".