语法写作工具 [英] Grammar Writing Tools
问题描述
我正在尝试用EBNF编写语法(除非有一个很好的理由,它一定是EBNF),并且正在寻找一些实用程序-如果有一个可以创建一个的GUI界面,那就太好了,但我最想找的东西是可以检查语法的东西,例如查看它是否为LALR( n ),如果是,则 n <的值是什么/em>是.是否存在这样的实用程序?还有其他我应该知道的有用的语法编写工具(我不是在寻找解析器生成器).
I am trying to write a grammar in EBNF (barring a really good reason, it has to be EBNF) and am looking for a couple of utilities for it - if there's a GUI interface that can make one, that would be great, but the thing I'm looking for most is something that can check the grammar, for instance to see if it is LALR(n), and if so, what the value of n is. Do such utilities exist? Are there any other useful grammar-writing tools I should know about (I'm not looking for parser generators).
推荐答案
再加上史蒂文·迪(Steven Dee)的建议,您可能想看看
Taking Steven Dee's suggestion one step further, you might want to check out ANTLRWorks, which is an interactive GUI development tool for ANTLR grammars.
这篇关于语法写作工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!