C++ and Bison
Hi all. I´m writing in English because i´m on a computer in the university. You can answer in hebrew. I asked this question in the Linux forum, but I think here is a more suitable place to put it. The deal´s like this, I´m going to write a compiler from a simple prog. language to a simple assembly using Bison. I want to combine c++ code. For instance I already have a tokenizer (lexer) in C++ and i also want to write the symbol table as an STL map or something similar, which will also require C++ code. I undestand there´s something called Bison++ or something similar, for such things, but I don´t wish to use that. What´s the best way to do what I want to do with using the regular bison? Thanks a lot!
Hi all. I´m writing in English because i´m on a computer in the university. You can answer in hebrew. I asked this question in the Linux forum, but I think here is a more suitable place to put it. The deal´s like this, I´m going to write a compiler from a simple prog. language to a simple assembly using Bison. I want to combine c++ code. For instance I already have a tokenizer (lexer) in C++ and i also want to write the symbol table as an STL map or something similar, which will also require C++ code. I undestand there´s something called Bison++ or something similar, for such things, but I don´t wish to use that. What´s the best way to do what I want to do with using the regular bison? Thanks a lot!