Flex / Bison IDE? [英] Flex/Bison IDE?

查看:237
本文介绍了Flex / Bison IDE?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个良好的开发环境,可以在flex或bison或两者上工作。

I'm looking for a good development environment in which to work on flex or bison or both.

是否有任何具有这些功能的IDE和/或适合这个吗?

Are there any IDE's that have these capabilities and/or are suitable for this?

(如果不是下一个最常见的问题是带有IDE的词法分析器/解析器生成器吗?)

(If not the next most general question is are there lexer/parser generators with IDE's?)

谢谢
~Alex

Thanks ~Alex

推荐答案

ANTLR 有几个 IDE ,包括我写的一个。根据用户数量, ANTLRWorks 可能是最常用的。我的整体功能较少,但我广泛使用它,因为它与我的Visual Studio工作完全集成。 ANTLR的语法语法干净且功能强大,为许多语言生成代码,其生成的词法分析器/解析器是干净的,可调试的代码。

ANTLR has several IDEs available, including one I wrote. By user count, ANTLRWorks is probably the most used. Mine has fewer overall features, but I use it extensively because it integrates so cleanly with my Visual Studio work. ANTLR's grammar syntax is clean and very powerful, generates code for many languages, and its generated lexers/parsers are clean, debuggable code.

编辑以解决注释中的问题:

Edit to address concerns in the comments:

  • Commercial documentation for ANTLR exists and is recommended by many, but is certainly not required. The nFringe IDE product (commercial/closed source) I worked on uses ANTLR extensively and was developed completely without the aid of the ANTLR reference book.
  • ANTLRWorks 1.x development is slow, but not stopped. There are currently no open issues, and two significant issues have been fixed since the latest 1.5 release.
  • ANTLRWorks 2 is a completely different product and was written from scratch. A separate issue tracker is available for this product.

这篇关于Flex / Bison IDE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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