关于状态机优化和代码生成的参考?

发布于 2024-08-14 07:13:02 字数 690 浏览 3 评论 0原文

作为我的 状态机作为 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

泼猴你往哪里跑 2024-08-21 07:13:02

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.

萌无敌 2024-08-21 07:13:02

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".

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文