running bison file in xcode C++

i have project in Xcode version 9.2 for "c++" , it uses binary decision diagram(bdd) from "BuDDy" library fine.

it consists of header file with some classes declaration and implementation file that define all functions of the classes . main file that run the program by calling all the functions



how can i add bison file to this project and run it ? do i need lexer file ?


do i need to link anything in the build setting ! i am really confused !

Bison and Flex are supported already in Xcode. There are several tutorials on how to use the built-in compilers on the Internet, including using later versions than the one supplied with Xcode. Search "Using bison with Xcode", for example.

ok .. how can i link it with specific function in my header file ?

running bison file in xcode C++
 
 
Q