I want to write my action for rules and grammar in lex and yacc in c++. But I am not sure, whether flex and bison supports this. In case it does not support, what do i need to do, if i want to write my actions in c++ and C code. Do i need to change the source code in lex and yacc or just the the way and procedure of compilation like suppose i need to use flex++ instead of flex, do i need to just write flex++ during compilation instead of flex or do i need to change the coding in source files also(lex and yacc) ?
I read from man pages that there's flex++ also available for c++. But din't understand much as there was not much information given about that. So, I have posted this thread here.
I am using fedora core 2. So what should i do?
Hope to get a reply from you soon. Thank you.
Cheers
Ankit Parikh
