c++ - 有限状态机编译器

标签 c++ compiler-construction state-machine

<分区>

可以生成 C++ 代码的最佳开源 FSM 编译器是什么?

最佳答案

我不知道最好的,但你可以看看Ragel :

Ragel compiles executable finite state machines from regular languages. Ragel targets C, C++, Objective-C, D, Java and Ruby. Ragel state machines can not only recognize byte sequences as regular expression machines do, but can also execute code at arbitrary points in the recognition of a regular language.

关于c++ - 有限状态机编译器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1013050/

相关文章:

c++ - 关于一个编译器同时执行多个任务

ruby - Ruby 中使用 Fibers 的状态机?

c# - 这是在滥用 IEnumerator 结构吗?

c++ - 如何在 C++ 中进行自动机/状态机编码?

c++ - 延迟抓帧opencv

c++ - GCC无法报告格式错误的constexpr lambda调用

java - 为什么不同的Java反编译器显示不同的源代码?

c++ - 创建模板嵌套类实例的语法?

c++ - vector vector 的段错误

c++强制编译器选择退出某些代码