help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: query : using BISON for static analysis engine


From: Hans Aberg
Subject: Re: query : using BISON for static analysis engine
Date: Sat, 8 May 2010 17:56:22 +0200

On 7 May 2010, at 13:00, <address@hidden> <address@hidden > wrote:

Am writing to you to check the applicability of BISON as a frontend to
our static analysis engine.

Please let us know if  BISON would be applicable to us. Also, if you
have any useful pointers in this regard, kindly share the same.

Your requirements are a bit conflicting: on the one hand, you want very exact parsing, which suggests using an open-source compiler like say GCC and modify it. On the other hand, you want to parse multiple dialects. You might write your own C/C++ parser using Yaccable grammars, which Bison would accept. Such are available here:
  http://www.quut.com/c/ANSI-C-grammar-y.html
  http://www.parashift.com/c++-faq-lite/compiler-dependencies.html#faq-38.11

You also ask in the Usenet newsgroup comp.compilers.

  Hans







reply via email to

[Prev in Thread] Current Thread [Next in Thread]