Install Bison and Flex on the Mac computer by opening the Terminal and using the following commands:

  1. brew install bison
  2. brew install flex