cppncss-user Mailing List for CppNcss
Status: Beta
Brought to you by:
mat007
You can subscribe to this list here.
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
From: Mathieu C. <m.c...@fr...> - 2014-09-24 09:16:17
|
On 23/09/2014 11:48, Victor Cuteanu wrote: > Dear Team / Members, > > Since I would like to generate an c++ parser, I was searching in internet about tools and corresponding grammar files. > So I have found the CppNcss project , which uses the JJTree and JavaCC to generate a java parser for c++ files. > After trying to obtain the parser based on the jjt file, I got some problems: a) the generated files are a little bit different, and the parsing seems to not fetch all information ( tokes ) for larger file. However this problem seems to not be present within the CppNcss tool. > Therefore I would like to ask You, which JavaCC and JJTree (version) you have used, and which option you gave. Also I have observed that there ar more versions of the c++ grammar file. > con some one support me in solving this issue ? > > Thank You Very Much > Best Regards > Victor Cuteanu > Hi Victor, Sorry I don't have much recollection of how the project was built as it's been years the last time I had a look. The parser is very incomplete and does not support all valid C++03 (not even speaking of C++1x's). I would suggest you instead take a look at CLang and LLVM for the task you're aiming at. I hope this helps, MAT. |
From: Victor C. <vic...@ya...> - 2014-09-23 09:49:00
|
Dear Team / Members, Since I would like to generate an c++ parser, I was searching in internet about tools and corresponding grammar files. So I have found the CppNcss project , which uses the JJTree and JavaCC to generate a java parser for c++ files. After trying to obtain the parser based on the jjt file, I got some problems: a) the generated files are a little bit different, and the parsing seems to not fetch all information ( tokes ) for larger file. However this problem seems to not be present within the CppNcss tool. Therefore I would like to ask You, which JavaCC and JJTree (version) you have used, and which option you gave. Also I have observed that there ar more versions of the c++ grammar file. con some one support me in solving this issue ? Thank You Very Much Best Regards Victor Cuteanu |
From: Carina S. P. M. <car...@ga...> - 2013-05-15 09:38:19
|
Hi, I have a project written in C++ with embedded SQL that I want to analyze. I'm trying to use CppNCss: cppncss -r -v -x -k -f=CppNcssReport.xml . But most of my files are being skipped. I'm getting several errors like these: Skipping path\to\file1.h : Parse error (line 11, column 14) EXEC SQL BEGIN DECLARE SECTION; ^ Skipping path\to\file1.h : Parse error (line 11, column 16) EXEC SQL INCLUDE "SUMCON_BASE.h"; ^ I have to discard SQL sections from CppNCss analysis. I'm hoping someone can help me. Thank you, Carina Moura ________________________________ O conte?do desta mensagem de correio eletr?nico e seus anexos ? confidencial e de uso reservado. Se n?o ? o destinat?rio, n?o a guarde, n?o a reenvie a terceiros, nem fa?a qualquer uso da informa??o nela contida. Por favor, apague-a e informe de imediato o remetente. A Internet n?o garante a confidencialidade e a entrega correta de mensagens de correio eletr?nico. A Galp Energia n?o aceita responsabilidade por danos causados pela rece??o incorreta desta mensagem. Apesar de esta mensagem ter sido verificada pelo nosso sistema de antiv?rus, n?o podemos garantir que n?o contenha v?rus inform?ticos e n?o aceitamos qualquer responsabilidade por danos causados por v?rus que possam estar contidos nesta mensagem. Para informa??es sobre a Galp Energia visite o nosso website em http://www.galpenergia.com. This e-mail and related attachments contain confidential and legally privileged information. If you are not the intended recipient you must not keep it in your records or forward it to any third parties, nor use the information contained in it. Please delete it and notify by return Email. Internet email does not guarantee the confidentiality or the proper receipt of messages sent. Galp Energia declines any liability for damages caused by improper receipt of this message. Our own virus checking system has swept this e-mail and its attachments. However, we cannot guarantee that it is v?rus-free and cannot take responsibility for any virus which may be present. For further information about Galp Energia please visit our website at http://www.galpenergia.com. |