View Full Version : Parser in Qt.... HELP!
deepusrp
22nd January 2007, 18:29
Helo everyone,
i am doing a project on some graphic tool using qt as
the front end. i am using lex and yacc as parser.
now i am facing a problem since yacc generates only c
code as i want to bring c++ features. so my request
is " is there any way that we can create parser in qt
itself or is there any method by which i can make a
c++ (yacc) Parser... "
please guide me its urgent...
deepu
jacek
22nd January 2007, 20:20
There is no problem in using C code in C++ application.
http://tldp.org/HOWTO/Lex-YACC-HOWTO-5.html
wysota
23rd January 2007, 09:02
Bison can generate C++ code as well.
deepusrp
23rd January 2007, 17:14
helo Mr.Jacek,
I have already tried the patch work that has described in the link given by you. Actually there was a reduction in the no., of errors... still it is stating some errors regarding the non availability of the function yyerror() to the compiler. can u please help me....
i am really thankful for ur precious help
regards
deepu
deepusrp
23rd January 2007, 17:16
helo sir,
i am not familiar with bison.... can u tell me is bison similar to yacc or do i have to learn bison...
wysota
23rd January 2007, 19:51
helo sir,
i am not familiar with bison.... can u tell me is bison similar to yacc or do i have to learn bison...
http://www.gnu.org/software/bison/
jacek
23rd January 2007, 21:18
still it is stating some errors regarding the non availability of the function yyerror() to the compiler.
Could you post the first error message?
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.