In order to get a complete solution for parsing and analysing an embedded sql code I'd like to know if it is possible to combine two lex|yacc solutions, one for Ansi C and the other for SQL, in the same program. I assume there will be a kind of orchestration between the two grammars.
Sorry if my idea is a little bit ambiguous; as far as proposals come I'll explain more my point of view.
So first of all, my question is: can a parsing solution(lex|yacc or flex|bison) contain more than one lex file and also the same question for a yacc file?