如何将正规语法转换为正则表达式? [英] How to convert a regular grammar to regular expression?

查看:179
本文介绍了如何将正规语法转换为正则表达式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有正规语法转换为正则表达式的算法或工具吗?

Is there an algorithm or tool to convert regular grammar to regular expression?

推荐答案

dalibocai

我的目标是将常规语法转换为DFA。最后,我找到了一个很棒的工具: JFLAP

My goal is to convert regular grammer to DFA. Finally, I found an excellent tool : JFLAP.

这篇关于如何将正规语法转换为正则表达式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆